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: Nicolas Goaziou
Subject: Re: [O] [ANN] ASCII back-end for new export engine
Date: Wed, 25 Jan 2012 18:41:24 +0100

Hello,

address@hidden (Thomas S. Dye) writes:

> I think that your understanding of the new exporter architecture is
> intimate and secure.  I'm happy to follow your lead here.

I know for sure my way around the new exporter, but my LaTeX skills
aren't on par with that knowledge.

Anyway, I've pushed a commit which tries to create smart links.

Basically, links without a description pointing to an headline will be
turned into \ref{headline-label}, unless headline's numbering is off, in
which case they become \hyperref[headline-label]{headline-title}.

Nothing is changed for links providing their own description, and links
not pointing to headlines.

That should remove the need for a variable.

What do you think about it?

> It looks like a terrific example of the power of your parser.

No, its (albeit useless) power is revealed by the fact that "\n:t" is
now supported in LaTeX (and ASCII). Such a feat was close to impossible
with the previous engine.

More seriously, being recursive, the new engine can export thinks like
"some *text /with nested/ emphasis*" and even "*/important/*".

And, more importantly, it is mostly made of independent parts, for
easier maintenance. For example, if I want to fix or improve links in
e-latex back-end, I know I have to start diving in
`org-e-latex-link'. That function may call other internal functions,
but, at least, I have a starting point. That will also be true for any
other back-end to come.


Regards,

-- 
Nicolas Goaziou



reply via email to

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