>>>>> "Jules" == Jules Bean <[EMAIL PROTECTED]> writes:
Jules> On 3 Dec 1999, Lars Gullik Bjønnes wrote:
>> Jules Bean <[EMAIL PROTECTED]> writes:
>>
>> | E.g. you can't put ' inside a '-string: | | sh-2.02$ echo
>> 'as\'ds'
>>
>> perhaps a reason to use "" instead
Jules> Perhaps.
Jules> But the escaping rules for "" are even more complex. You have
Jules> to escape, backslashes, $, etc...
Hmm, obviously I should have read sh man page first :) What is in the
`etc' for what has to be escaped? All I can think about now is ", \
and $. Are there others? I'll have a look at the man page.
Jules> It's easier (IMO) to use the exec calls.
Yes, if you can find a way which makes it as configurable as what we
have now. Example (from lyxrc.example):
# Define which program to use to translate latex to HTML.
# You should include options. The default is autodetected: the programs
# checked are tth, latex2html and hevea, and the default command lines
# used are:
#\html_command "tth -t < '$$FName' > '$$OutName'"
#\html_command "latex2html -no_subdir -split 0 -show_section_numbers '$$FName'"
#\html_command "hevea -s '$$FName'"
# The variable name $$FName is replaced with the name of the .tex
# file, and $$OutName is replaced with the name of the html file.
# Example: use this to let math be italic with tth.
#\html_command "tth -t -i < '$$FName' > '$$OutName'"
How would you do that?
JMarc