Hi Martin

Nice to hear the LaTeX backend seems to be working for you.  The LaTeX
backend hasn't had any love for a long time (see
http://www.methods.co.nz/asciidoc/#X1). It is still tagged
experimental and is currently unsupported.

I'm a long time LaTeX admirer (the example PDFs on the tufte-latex
website are impressive) but don't currently use it and don't have the
time or expertise to maintain the LaTeX backend, but would love to see
it become a first-class AsciiDoc backend or a backend plugin.

If you have any documented patches please post them and I'll update
latex.conf, and please let us know if you have any other questions or
suggestions that would help you improve LaTeX support. The good news
is that AsciiDoc is now mature so there hopefully won't be much in the
way of breaking changes to conf files or syntax in future releases.


Cheers, Stuart


On 26/08/12 08:03, Martin Horauer wrote:
Using the LaTeX backend I try to mimic the latex-tufte style. To that end I want
to place admonitions in the margins which can be quite easily accomplished by
editing the latex.conf configuration file. What's tricky, however, is to control
the vertical placement of individual admonitions within the margin. One idea
that came to my mind is to add an additional option in the asciidoc markup and
process this information within the configuration file. For example in my
tufte.txt asciidoc source file I'd like to write:

[Note, -10mm]
Shift this note in the margin upwards by 10mm.

And in the latex.conf backend I'd like to process this with something similar 
like:

[admonitionblock]
\marginnote[{offset}]\{\raisebox\{-0.2\height\}\{\includegraphics[width=5mm]\{{icon={iconsdir}/{name}.pdf}\}\}|\}

Here {offset} should be substituted with -10mm. Is this somehow possible? Need I
edit asciidoc.conf and add a posattrs=style,offset somewhere?

Thanks,
Martin

--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/asciidoc/-/IX4fU3NdlHMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to