[nycbug-talk] getting txt files from tex
George Georgalis
george at galis.org
Thu Sep 7 15:18:22 EDT 2006
On Thu, Sep 07, 2006 at 11:19:08AM -0700, Peter Wright wrote:
>
>> On Thu, Sep 07, 2006 at 10:15:59AM -0700, Peter Wright wrote:
>>>
>>>> I've written some some tex files and makefiles to produce pdf and
>>>> html output, but today I was asked for text output.... how is that
>>>> done?
>>>>
>>>belive texi2html and texi2pdf should work, i know they are part of our
>>>stock Irix and RHELinux builds...not sure if it's part of the freebsd
>>>ports.
>>
>> they don't seem to have text output options.
>> Yusuke's suggestion:
>>
>> lynx -dump file.html > file.txt
>>
>> seems the best. but it does not generate 'finished' docs.
>>
>> The docbook standard for linux seems to have macros
>> to generate text output (eg an option for HOWTOs)
>> but that doesn't not seem a standard output for tex
>> processors. a collection of macros:
>>
>> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=toascii
>>
>> the txt sty can be used for rfc generation...
>>
>> but, I find it odd that there is no mature tex2txt program,
>> eg something more than stripping out latex commands.
>>
>
>sure there is, i think it's called awk/sed/perl ;^)
That's pretty funny, Pete... like the whole world is just waiting
for full justification.
// George
--
George Georgalis, systems architect, administrator <IXOYE><
More information about the talk
mailing list