all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-time-stamp-custom-formats: change the default <> not suited for LaTeX export
@ 2016-03-03 11:21 Uwe Brauer
  2016-03-03 11:29 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2016-03-03 11:21 UTC (permalink / raw)
  To: emacs-orgmode

Hi

A week ago I asked how to change the format of org-time-stamp since the
default format is not suited when exporting to LaTeX, the problem are
the <> 

I'd prefer the format

    -   «24-02-2016 Wed»

I set org-display-custom-times to t
and then did 
(customize-option (quote org-time-stamp-custom-formats))
and set it to

("$«%d-%m-%Y %a»$" . "$«%d-%m-%Y %a %H:%M»$")

but I cannot get rid of the < >

Any comments?

Thanks

Uwe Brauer 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-time-stamp-custom-formats: change the default <> not suited for LaTeX export
  2016-03-03 11:21 org-time-stamp-custom-formats: change the default <> not suited for LaTeX export Uwe Brauer
@ 2016-03-03 11:29 ` Nicolas Goaziou
  2016-03-03 11:56   ` Uwe Brauer
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-03-03 11:29 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Uwe Brauer <oub@mat.ucm.es> writes:

> A week ago I asked how to change the format of org-time-stamp since the
> default format is not suited when exporting to LaTeX, the problem are
> the <> 
>
> I'd prefer the format
>
>     -   «24-02-2016 Wed»
>
> I set org-display-custom-times to t
> and then did 
> (customize-option (quote org-time-stamp-custom-formats))
> and set it to
>
> ("$«%d-%m-%Y %a»$" . "$«%d-%m-%Y %a %H:%M»$")
>
> but I cannot get rid of the < >

I cannot reproduce it. I get

  \textit{\$«03-03-2016 jeu.»\$}.

The "\\textit{%s}" comes from `org-latex-active-timestamp-format'.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-time-stamp-custom-formats: change the default <> not suited for LaTeX export
  2016-03-03 11:29 ` Nicolas Goaziou
@ 2016-03-03 11:56   ` Uwe Brauer
  0 siblings, 0 replies; 3+ messages in thread
From: Uwe Brauer @ 2016-03-03 11:56 UTC (permalink / raw)
  To: emacs-orgmode


    > Hello,
    > Uwe Brauer <oub@mat.ucm.es> writes:


    > I cannot reproduce it. I get

    >   \textit{\$«03-03-2016 jeu.»\$}.

    > The "\\textit{%s}" comes from `org-latex-active-timestamp-format'.

You are right, I was in a latex file, using
orgtbl-insert-table-or-matrix and did not realise the change in the
latex part. I thought it would happen already in the org-table! Thanks
very much this is very nifty!

Uwe 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-03 11:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03 11:21 org-time-stamp-custom-formats: change the default <> not suited for LaTeX export Uwe Brauer
2016-03-03 11:29 ` Nicolas Goaziou
2016-03-03 11:56   ` Uwe Brauer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.