Re: [Orgmode] Latex enumerate item problem
Hi Flavio, there is no very good solution to this, but the following works. * Blablablbalbala 1) Blablablbalbala 2) Blablablbalbala : sudo apt-get install openoffice.org-java-common 3) Blablablbalbala 4) Blablablbalbala 5) Blablablbalbala HTH - Carsten When I export to latex I got two enumerated lists instead of only one. See how the code will look: \begin{enumerate} \item Blablablbalbala \item Blablablbalbala \end{enumerate} \begin{verbatim} sudo apt-get install openoffice.org-java-common \end{verbatim} \begin{enumerate} \item Blablablbalbala \item Blablablbalbala \item Blablablbalbala \end{enumerate} Then I need to fix it by deleting the \end and \begin that apperead in the wrong lines. Regards, -- Flávio de Souza flavio...@gmail.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Latex enumerate item problem
HI Flavio (?), Lists are made from indentation in the first place, I think. Hence the #+BEGIN_EXAMPLE breaks the list. It would be OK to export it like that, since, funny enough, a `' element is indeed allowed inside an `' element in XHTML (it is _not_ allowed in a element _and_ a element is _not_ allowed inside a ). To check the validity of XHTML fragments, goto http://validator.w3.org/#validate_by_input+with_options ensure that `Validate HTML fragment' is checked (under `Options') and choose org's DOCTYPE (XHTML 1.0). Finally put this into the textarea on top before you submit: blabllabla function lowerThan(a,b){return (a < b); } As a second test remove the element: blabllabla function lowerThan(a,b){return (a < b); } flavio...@gmail.com (Flávio de Souza) writes: > I think I found a problem when exporting to Latex. > > If my org file is like this: > > * Blablablbalbala > > 1) Blablablbalbala > > 2) Blablablbalbala > > #+BEGIN_EXAMPLE > > sudo apt-get install openoffice.org-java-common > > #+END_EXAMPLE > > 3) Blablablbalbala > > 4) Blablablbalbala > > 5) Blablablbalbala > > When I export to latex I got two enumerated lists instead of only one. See > how the code will look: > > \begin{enumerate} > \item Blablablbalbala > \item Blablablbalbala > \end{enumerate} > > \begin{verbatim} > > sudo apt-get install openoffice.org-java-common > > \end{verbatim} > > > \begin{enumerate} > \item Blablablbalbala > \item Blablablbalbala > \item Blablablbalbala > \end{enumerate} > > Then I need to fix it by deleting the \end and \begin that apperead in the > wrong lines. > > Regards, -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Latex enumerate item problem
I think I found a problem when exporting to Latex. If my org file is like this: * Blablablbalbala 1) Blablablbalbala 2) Blablablbalbala #+BEGIN_EXAMPLE sudo apt-get install openoffice.org-java-common #+END_EXAMPLE 3) Blablablbalbala 4) Blablablbalbala 5) Blablablbalbala When I export to latex I got two enumerated lists instead of only one. See how the code will look: \begin{enumerate} \item Blablablbalbala \item Blablablbalbala \end{enumerate} \begin{verbatim} sudo apt-get install openoffice.org-java-common \end{verbatim} \begin{enumerate} \item Blablablbalbala \item Blablablbalbala \item Blablablbalbala \end{enumerate} Then I need to fix it by deleting the \end and \begin that apperead in the wrong lines. Regards, -- Flávio de Souza flavio...@gmail.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode