emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [ANN] ASCII back-end for new export engine


From: Thomas S. Dye
Subject: Re: [O] [ANN] ASCII back-end for new export engine
Date: Mon, 23 Jan 2012 11:33:13 -1000

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> address@hidden (Thomas S. Dye) writes:
>
>> A quick question and a couple of comments on the LaTeX exporter.
>>
>> With the old exporter I set (setq org-export-latex-hyperref-format
>> "\\ref{%s}") so a link to a headline would cross reference properly in
>> LaTeX.  How do I achieve this with the new exporter?  I want my text to
>> read, e.g., "In section 1 ..."  So far with the new exporter, I've only
>> been able to get "In section First headline ..."
>
> Indeed, it seems that I forgot to create that variable in the new
> exporter. I don't mind adding it, but I'm not sure about where it should
> apply.
>
> At the moment, "\\hyperref[%s]{%s}" format string is applied to id,
> custom-id, target, radio, fuzzy/target and fuzzy/headline links.
> Changing all those links with just a single variable seems wrong to me.
>
> Maybe it should replace the default value only for id, custom-id and
> fuzzy/headline. And since it would only apply to headlines, it could be
> renamed `org-e-latex-link-to-headline-format' or something alike.
>
> What do you think about all of this?
>
>> My initial impression is the new exporter is extremely fast.
>
> Unfortunately, it's only an impression. It will be slower than the
> current exporter in most cases.
>
> Oh, by the way, it reminds me that I implemented something in the LaTeX
> back-end that you had asked for a while ago. If you didn't notice it,
> you can try a LaTeX export on the following test buffer:
>
> #+latex_header: \usepackage{paralist}
>
> * Head 1
>
>   Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
>   eiusmod tempor incididunt ut labore et dolore magna aliqua.
>   #+attr_latex: inparaenum i.
>   - item 1
>   - item 2
>   Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
>   eiusmod tempor incididunt ut labore et dolore magna aliqua.
>
> There is support for the following keywords: inparaenum, asparaenum,
> inparaitem, asparaitem, inparadesc, asparadesc, all accepting an
> optional bullet argument.

I've given the paralist facility a test run and it seems to work like a
charm.  Thanks very much for augmenting the LaTeX exporter.  This will
be a big help.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

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