On 05/30/11 12:53:10, Bruce Jackson wrote:
> [...] I have been unable to come up with an easy way to have
> one equation markup generate properly in both HTML and PDF output
> formats.
[...]
> Surely there is a simpler way that lets me use one latex markup style
> but supports both soft and hardcopy output formats. Also, is there
> some way the source document can know at processing time which output
> it is intended for, if a2x is used instead of asciidoc?

Bruce, we're grappling with a similar issue, and hope that
a workable solution/suggestion will be provided.  One thing that
might work is to issue some to of command/shell escape (plugin?)
that sends back the appropriate verbage back to asciidoc based upon
the current configuration.  If such a method is available, it
would make the multiplexing transparent to asciidoc.

On a related note, I found this tool, written by the
venerable John Walker, that translates Latex to GIF.

http://www.fourmilab.ch/webtools/textogif/textogif.html

   [...] If you want to convert an entire LaTeX document into HTML, use
   LaTeX2HTML, by Nikos Drakos. But if you just want to typeset some
   equations for a new Web document, it's cumbersome to first write your
   document in LaTeX, convert it into HTML, then add links and additional
   functionality in the HTML text. Also, it's nice to be able to control
   the size of an equation image and the resolution with which it's
   rendered equation-by-equation; this isn't possible with a bulk document
   translator such as LaTeX2HTML.

   Textogif is a simple Perl program which uses the same software tools
   employed by LaTeX2HTML to compile individual equations in short LaTeX
   files into images suitable for embedding in Web documents.

This 1996 (yikes) article offers some ideas for pre-processing .html-like
files into .html, converting Latex formulae into graphics inserts as it goes.
ftp://ftp.colorado.edu/cuboulder/econ/public_html/HTeX/htex.htm

-- 
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