Re: /tmp/lyx..../file_name_ with underscore conflicts with underscore.sty

2006-01-30 Thread Bo Peng
> \newcommand\UnderscoreCommands{\do\includegraphics} > \usepackage[strings]{underscore} This one works. Thanks. BTW, maybe we should use 0-directory-filename instead of 0_directory_filename? This problem may or may not qualify as a bug but the fact is that a latex file that can be compiled direc

Re: /tmp/lyx..../file_name_ with underscore conflicts with underscore.sty

2006-01-30 Thread Herbert Voss
Bo Peng wrote: And with \usepackage[strings]{underscore}? \newcommand\UnderscoreCommands{\do\includegraphics} \usepackage[strings]{underscore} Herbert

Re: /tmp/lyx..../file_name_ with underscore conflicts with underscore.sty

2006-01-30 Thread Bo Peng
> And with \usepackage[strings]{underscore}? Does not work for my suggested example. Despite the manual: You must avoid "_" in file names and in cite or ref tags, or you must use the babel package, with its active-character controls, or you must give the [strings] option, which attempts to redefi

Re: /tmp/lyx..../file_name_ with underscore conflicts with underscore.sty

2006-01-30 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> Dear list, Just let you know that underscore.sty has a problem Bo> that causes \includegraphics{"filename_with_underscore"} to fail. Bo> Try it by Bo> 1. lyx->new document 2. preamble add 'usepackage{underscore} 3. Bo> insert a figure, compile

Re: /tmp/lyx..../file_name_ with underscore conflicts with underscore.sty

2006-01-30 Thread Herbert Voss
Bo Peng wrote: Just let you know that underscore.sty has a problem that causes \includegraphics{"filename_with_underscore"} to fail. Try it by read the documentation of underscore.sty! Even if a latex file can be compiled directly, it will fail under lyx because of the way lyx handles figure

/tmp/lyx..../file_name_ with underscore conflicts with underscore.sty

2006-01-30 Thread Bo Peng
Dear list, Just let you know that underscore.sty has a problem that causes \includegraphics{"filename_with_underscore"} to fail. Try it by 1. lyx->new document 2. preamble add 'usepackage{underscore} 3. insert a figure, compile. Even if a latex file can be compiled directly, it will fail under l