[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC expo
From: |
Eric S Fraga |
Subject: |
Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code) |
Date: |
Wed, 22 Jun 2011 09:43:48 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Eric S Fraga <address@hidden> writes:
>
>> Very true. I missed this. Given the indentation, the listing should
>> indeed belong to the enumeration item.
>>
>> Nicolas?
>
> If I export this:
>
> -----
> * Test
> 1. Try and use =org-export-as-latex=, it will produce error segment.
> #+BEGIN_SRC C
> MODULE m_global_precision
> IMPLICIT NONE
> INTEGER, PARAMETER :: SP = SELECTED_REAL_KIND(6,30)
> END MODULE m_global_precision
> #+END_SRC
> -----
>
> I get this:
>
> #+begin_src latex
> \section{Test}
> \label{sec-1}
>
>
> \begin{enumerate}
> \item Try and use \texttt{org-export-as-latex}, it will produce error segment.
> \lstset{language=C}
> \begin{lstlisting}
> MODULE m_global_precision
> IMPLICIT NONE
> INTEGER, PARAMETER :: SP = SELECTED_REAL_KIND(6,30)
> END MODULE m_global_precision
> \end{lstlisting}
> \end{enumerate}
> #+end_src
>
> It looks ok, or am I missing something?
>
> Regards,
Nicolas,
It does look okay but that's not what I get; same input, I get:
--8<---------------cut here---------------start------------->8---
\section{Test}
\label{sec-1}
\begin{enumerate}
\item Try and use \verb=org-export-as-latex=, it will produce error segment.
\end{enumerate}
\lstset{language=C}
\begin{lstlisting}
MODULE m_global_precision
IMPLICIT NONE
INTEGER, PARAMETER :: SP = SELECTED_REAL_KIND(6,30)
END MODULE m_global_precision
\end{lstlisting}
ORG-LIST-END-MARKER
\end{document}
--8<---------------cut here---------------end--------------->8---
I guess I have some variable set that you do not or vice versa. For
instance, I have org-list-end-marker set to 'both. Are there any
variable settings you need to know to figure out why my behaviour is
different? I'm at git head.
Thanks,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.418.ge860.dirty)
- [O] Problem with BEGIN_SRC export-as-latex and FORTRAN code, Nick Papior Andersen, 2011/06/21
- [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Eric S Fraga, 2011/06/21
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Nick Papior Andersen, 2011/06/21
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Eric S Fraga, 2011/06/21
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Nick Papior Andersen, 2011/06/21
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Eric Schulte, 2011/06/21
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Nicolas Goaziou, 2011/06/21
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code),
Eric S Fraga <=
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Nicolas Goaziou, 2011/06/22
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Eric S Fraga, 2011/06/22
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Nick Dokos, 2011/06/22
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Eric S Fraga, 2011/06/22
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Nicolas Goaziou, 2011/06/23
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Nicolas Goaziou, 2011/06/22
- Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code), Nick Dokos, 2011/06/22
Re: [O] Problem with BEGIN_SRC export-as-latex and FORTRAN code, Eric Schulte, 2011/06/21