Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
What about excluding most tempting locations instead?
I pushed a change, mixing this suggestion and the suggestion
to be more explicit about where it is allowed:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=343a6dd0
Luke, let's
Luke Crook l...@balooga.com writes:
I tried creating a custom class and then tried creating a custom style. But
I found the easiest to be the following;
#+AUTHOR: author
#+LATEX_HEADER: \newcommand{\orgauthor}{author}
[...]
Works very well, apart from the duplication of author, email,
Eric S Fraga e.fr...@ucl.ac.uk writes:
Luke Crook l...@balooga.com writes:
I tried creating a custom class and then tried creating a custom style. But
I found the easiest to be the following;
#+AUTHOR: author
#+LATEX_HEADER: \newcommand{\orgauthor}{author}
[...]
Works very well,
Hi Nicolas,
thanks for the thorough answer, I agree.
Can we sum it up as Macros are only available in headlines and
paragraphs, for the sake of clarifying the Macro section in the
manual?
Also, it seems that macros are only fontified in headlines and
paragraphs, which matches the short
Bastien b...@gnu.org writes:
thanks for the thorough answer, I agree.
Champagne! ;)
Can we sum it up as Macros are only available in headlines and
paragraphs, for the sake of clarifying the Macro section in the
manual?
The manual states:
in paragraphs, verse blocks, table cells and some
Nicolas Goaziou n.goaz...@gmail.com writes:
Bastien b...@gnu.org writes:
thanks for the thorough answer, I agree.
Champagne! ;)
Hehe.
Can we sum it up as Macros are only available in headlines and
paragraphs, for the sake of clarifying the Macro section in the
manual?
The manual
Rasmus rasmus at gmx.us writes:
I've used this snip to recover such fields
\makeatletter
\let\Title\ at title
\let\Author\ at author
\let\Date\ at date
\makeatother
Obviously, this is only good for LaTeX.
How would I implement this? Is including in the .tex file sufficient?
Eric S Fraga e.fraga at ucl.ac.uk writes:
You could always use the new command in the org directive, assuming you
only use LaTeX export:
#+LATEX_HEADER: \newcommand{\orgauthor}{author}
#+AUTHOR: \orgauthor
This would avoid duplication.
Brilliant!! Thank you.
Bastien b...@altern.org writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
As you noticed, secondary strings are omitted in the manual, but still
valid locations: titles in headlines or inlinetasks, inline footnotes,
and plain list item tags.
Any reason not to mention secondary strings?
Luke Crook l...@balooga.com writes:
Rasmus rasmus at gmx.us writes:
I've used this snip to recover such fields
\makeatletter
\let\Title\ at title
\let\Author\ at author
\let\Date\ at date
\makeatother
Obviously, this is only good for LaTeX.
How would I implement this? Is
Hi Luke,
Luke Crook l...@balooga.com writes:
#+LATEX_HEADER: \newcommand{\orgtitle}TITLE
My understanding is that Org's macros cannot be used
within #+... options.
HTH,
--
Bastien
Bastien bzg at gnu.org writes:
Hi Luke,
Luke Crook luke at balooga.com writes:
#+LATEX_HEADER: \newcommand{\orgtitle}TITLE
My understanding is that Org's macros cannot be used
within #+... options.
HTH,
Bastien, thanks. That would certainly explain it. I think I
I tried creating a custom class and then tried creating a custom style. But
I found the easiest to be the following;
#+AUTHOR: author
#+LATEX_HEADER: \newcommand{\orgauthor}{author}
#+EMAIL: email
#+LATEX_HEADER: \newcommand{\orgemail}{email}
#+TITLE: Title
#+LATEX_HEADER:
Luke Crook l...@balooga.com writes:
It would be great if org-mode added support for substitution to the #+
fields.
Nicolas, what do you think?
--
Bastien
I'm looking for a quick and dirty way to use the org-mode variables within
Latex.
I thought the following might work;
#+TITLE: A nice title
#+LATEX_HEADER: \newcommand{\orgtitle}TITLE
And then in the .tex file;
\orgtitle{}
Suggestions?
Thanks
15 matches
Mail list logo