What these internal export functions do is export VERBATIM. They don't and 
aren't meant to run the stuff through LaTeX first.

If, however, you want to do this, then you can use the new, customisable 
export facility of LyX 1.1.6pre3.

If you're not familiar with the process, here's how:

Open the Edit->Preferences dialog and bring up the Converters->Format tabbed 
folder

It should have formats defined like ASCII, PDF etc

Define a new format, textprocessed

Format: textprocessed
GUI name: ASCII(processed)
Extension: txt

Press the Add button on the tabbed folder and then the Apply button on the 
main form.

Now open the Converters->Converters tabbed folder. Create a new converter
From: PDF (pdflatex)
To: ASCII(processed)
Converter: pdflatex $$i $$o

Again press Add and then Apply. (The comments should help you through the 
process). If you want to save this new stuff permanently, press Save, 
otherwise Cancel.

Now you should be able to export the processed ASCII text from 
File->Export->ASCII(processed).

See! Simple! A great reason to upgrade! (Note of course that this is a pre- 
version so ALWAYS back up before using it.)

Angus

On Tuesday 09 January 2001 18:56, Ronald Florence wrote:
> Brian Lavender wrote:
>   > How do I get the table of contents generated with ascii text
>
> and quoted part of the output of an attempted conversion to ascii, the
>
> familiar LyX credo:
>   >    The basic philosophy of LyX is that you should worry about the
>   > content of what you're writing and not the form.
>
> Herbert Voss then suggested
>
>   you can export to pdf or ps and than with
>   pdftotext  or  ps2ascii
>
> Herbert's suggestion is, as usual, timely and correct.  But I wonder:
> if the philosopy of LyX is that the user should worry about content
> and not the form of what is being written, shouldn't the user be able
> to export to commonly used formats, like ascii without the gyrations
> of converting to pdf or ps and then to ascii?  I've seen comparably
> complicated recommendations for getting a word-count and other
> operations that shouldn't require the user to look up the procedure
> and revert to an xterm and a shell to run off scripts and pipelines.
>
> I'm a staunch advocate of LyX.  I admire and appreciate the
> hard-working individuals who have been refining LyX and adding new
> features.  I just hope that as LyX evolves, and more features are
> added, we don't lose sight of the original philosophy, and that the
> KISS principle (Keep It Simple Stupid) continues to apply to the user
> interface as well as the WYSIWYM concept.

Reply via email to