On Tue, Jan 04, 2005 at 08:00:08PM -0700, Scott Paul Robertson wrote:
> On Mon, Jan 03, 2005 at 11:18:35PM -0700, Soren Harward wrote:
> > "gv" "latex2html" "xdvik" and "lyx" are also useful for working with LaTeX
> > and its output
> > 
> latex2html sounds cool, but little do many people know that you can
> write web pages in straight LaTeX. LaTeX will be able to produce
> these documents both as pdfs (nice looking), and html (not so great,
> but works). I ran across it in working on hyperlinks in pdfs via
> LaTeX. Same packages provide the requirements. I might be able to
> dig up the site if anyone is interested.

For any document I intend on publishing, I write it in LaTeX, and I
have a makefile along these lines (could use a bit of
parameterization and gpg wrapping):

document.tar.gz: document.pdf document.pdf.asc document.html document.html.asc
        tar czf document.tar.gz document.pdf document.pdf.asc document.html 
document.html.asc

document.pdf.asc: document.pdf
        gpg -b --armour document.pdf

document.html.asc: document.html
        gpg -b --armour document.html

document.pdf: document.ps
        ps2pdf document.ps

document.ps: document.dvi
        dvips document.dvi

document.html: document.tex
        latex2html -split 0 -nonavigation -notop_navigation -noinfo document.tex
        cp document/document.html .

document.dvi: document.tex
        latex document.tex
        latex document.tex

install: document.tar.gz
        scp document.tar.gz server:public_html/docs/document.tar.gz
        scp document.pdf server:public_html/docs/document.pdf
        scp document.pdf.asc server:public_html/docs/document.pdf.asc
        scp document/document.html server:public_html/docs/document.html
        scp document.html.asc server:public_html/docs/document.html.asc
        scp document/document.css

Mike
.___________________________________________________________________.

"Religion turns poetry into prose."
 - Joseph Campbell

Attachment: signature.asc
Description: Digital signature

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to