* \\ in headlines
@ 2015-05-06 11:58 Vikas Rawal
2015-05-06 16:14 ` Ken Mankoff
2015-05-06 16:39 ` Rasmus
0 siblings, 2 replies; 6+ messages in thread
From: Vikas Rawal @ 2015-05-06 11:58 UTC (permalink / raw)
To: org-mode mailing list
Isn’t \\ in headlines expected to cause a line break?
It gets exported in LaTeX to $\backslash$
Is this intended behaviour?
Thanks,
Vikas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \\ in headlines
2015-05-06 11:58 \\ in headlines Vikas Rawal
@ 2015-05-06 16:14 ` Ken Mankoff
2015-05-06 16:39 ` Rasmus
2015-05-06 23:59 ` Vikas Rawal
2015-05-06 16:39 ` Rasmus
1 sibling, 2 replies; 6+ messages in thread
From: Ken Mankoff @ 2015-05-06 16:14 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list
Recent update means you have to put it in a macro...
#+TITLE: Foo @@latex:\\@@ Bar
Or:
#+MACRO: NEWLINE @@latex:\\@@ @@html:<br>@@
#+TITLE: Foo {{{NEWLINE}}} Bar
https://emacs.stackexchange.com/questions/255/new-line-in-title-of-an-org-mode-exported-html-document
-k.
On 2015-05-06 at 07:58, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
> Isn’t \\ in headlines expected to cause a line break?
>
> It gets exported in LaTeX to $\backslash$
>
> Is this intended behaviour?
>
> Thanks,
>
> Vikas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \\ in headlines
2015-05-06 11:58 \\ in headlines Vikas Rawal
2015-05-06 16:14 ` Ken Mankoff
@ 2015-05-06 16:39 ` Rasmus
2015-05-06 22:09 ` Nicolas Goaziou
1 sibling, 1 reply; 6+ messages in thread
From: Rasmus @ 2015-05-06 16:39 UTC (permalink / raw)
To: emacs-orgmode
Vikas Rawal <vikaslists@agrarianresearch.org> writes:
> Isn’t \\ in headlines expected to cause a line break?
(member 'line-break (org-element-restriction 'headline)) => nil
I don't know the rational.
—Rasmus
--
May the Force be with you
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \\ in headlines
2015-05-06 16:39 ` Rasmus
@ 2015-05-06 22:09 ` Nicolas Goaziou
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2015-05-06 22:09 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
Hello,
Rasmus <rasmus@gmx.us> writes:
> Vikas Rawal <vikaslists@agrarianresearch.org> writes:
>
>> Isn’t \\ in headlines expected to cause a line break?
>
> (member 'line-break (org-element-restriction 'headline)) => nil
>
> I don't know the rational.
Because, in Org, line breaks can only happen at the end of line, and
headlines are only 1 line long.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-06 23:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 11:58 \\ in headlines Vikas Rawal
2015-05-06 16:14 ` Ken Mankoff
2015-05-06 16:39 ` Rasmus
2015-05-06 23:59 ` Vikas Rawal
2015-05-06 16:39 ` Rasmus
2015-05-06 22:09 ` Nicolas Goaziou
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.