emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Fail to compile a file's LaTeX export


From: David Maus
Subject: Re: [Orgmode] Re: Fail to compile a file's LaTeX export
Date: Sat, 20 Mar 2010 22:40:30 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/24.0.50 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Leo wrote:
>On 2010-03-20 20:29 +0000, Leo wrote:
>> Hello,
>>
>> While taking some common lisp notes, I found compiling the following org
>> file's LaTeX output fails.
>>
>> --------------------------------
>> #+title: test file
>>
>> * one
>>   1. (char "string" 2) => #\r
>>   2. define-modify-macro
>>   3. (code-char 66) => #\B and (char-code #\B) => 66
>>   4. terpri and fresh-line
>>   5. "~n&" print a new line if not at the beginning of a line and then n-1 
>> new lines.
>> --------------------------------
>>
>> Leo

>BTW, this was tested with the devel version of org.

Can confirm this for

Org-mode version 6.34trans (release_6.34c.225.g1576)

on

GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.7) of
 2010-03-11 on elegiac, modified by Debian

Exporting to LaTeX works fine but compiling the LaTeX file errors out
with:

,----
| ERROR: LaTeX Error: Something's wrong--perhaps a missing \item.
|
| --- TeX said ---
|
| See the LaTeX manual or LaTeX Companion for explanation.
| Type  H <return>  for immediate help.
|  ...
|
| l.37 \item
|            define-modify-macro
| --- HELP ---
| The most probable cause is an omitted \item command in a list-making
| environment. It is also caused by forgetting the argument of a
| thebibliography environment.
`----

Where the LaTeX code for the enumerate environment reads:

,----
| \begin{enumerate}
| \item (char ``string'' 2) => \#\r
| \item define-modify-macro
| \item (code-char 66) => \#\B and (char-code \#\B) => 66
| \item terpri and fresh-line
| \item ``\~{}n\&'' print a new line if not at the beginning of a line and then 
n-1 new lines.
| \end{enumerate}
`----

I suppose the \#\r is the problematic piece, will look into it tomorow.

HTH
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpJP4cKwTzrp.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]