2009/12/9 Nicolas Girard <[email protected]>:
> 2009/12/9 Carsten Dominik <[email protected]>:
>> Hi Nicolas,
>>
>> I need additional information with respect to this patch:
>>
>
>>> diff --git a/lisp/org-latex.el b/lisp/org-latex.el
>>> index ce697a3..18c2183 100644
>>> --- a/lisp/org-latex.el
>>> +++ b/lisp/org-latex.el
>>> @@ -877,7 +877,7 @@ If NUM, export sections as numerical sections."
>>> (delete-region (point-at-bol 0) (point))
>>> (insert (format "\\begin{%s}\n"
>>> (symbol-name org-export-latex-low-levels))))
>>> - (insert (format "\n\\item %s\\\\\n%s\n"
>>> + (insert (format "\\item %s\n%s"
>>> heading
>>> (if label (format "\\label{%s}" label) "")))
>>> (insert (org-export-latex-content content))
>>
>> Why would you like to remove the "\\" as well? When itemize lists are used
>> to format headlines, I think there should be a line break after the end of
>> the original headline. Otherwise the text below the headline will flow into
>> the headline. Or am I missing something here?
>
> I think you're right ; I may have been abused by what Adobe Reader
> displayed when performing my tests, as I just discovered that, for
> whatever reason, it doesn't always reload the pdf file when using
> <Ctrl-r>
>
Actually I do remember why I considered removing the '\\' : take this document:
#=============
Level 1
** Level 2
*** Level 3
**** Level 4
- itemized
- list
#=============
Since "Level 4" is expressed as an item, the only way of getting the
correct output is *not* to have any '\\' between "Level 4" and
"itemized". That is, in LaTeX, not to have '\\' between
\item Level 4
and
\begin{itemize} \item itemized \item list \end{itemize}
--
Nicolas
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode