Re: Inline listings trouble

2007-05-25 Thread Herbert Voss
Bo Peng wrote: >> you cannot export \lstinline{foo}, ist must be something of >> \lstinlinefoo >> where is a free choosen delimiter. Otherwise you cannot write >> something like \lstinline{\textbf{foo}}. Must be >> \lstinline|\textbf{foo}| or any other character than |. > > The listings manual sa

Re: Inline listings trouble

2007-05-24 Thread Bo Peng
you cannot export \lstinline{foo}, ist must be something of \lstinlinefoo where is a free choosen delimiter. Otherwise you cannot write something like \lstinline{\textbf{foo}}. Must be \lstinline|\textbf{foo}| or any other character than |. The listings manual says: An experimental implementat

Re: Inline listings trouble

2007-05-24 Thread Herbert Voss
Bo Peng wrote: > On 5/24/07, Helge Hafting > <[EMAIL PROTECTED]> wrote: >> A lyx file and the resulting tex file. >> >> latexing this: >> No file listinginline.aux. >> ) >> Runaway argument? >> {test}^^M\end{document}^^M >> ! File ended while scanning use of [EMAIL PROTECTED] >> >>

Re: Inline listings trouble

2007-05-24 Thread Uwe Stöhr
Bo Peng schrieb: I can open and compile your test file perfectly. Maybe your listings package is too old? Uwe, can you open it there? For me it also works fine. regards Uwe

Re: Inline listings trouble

2007-05-24 Thread Herbert Voss
Helge Hafting wrote: > %% LyX 1.5.0svn created this file. For more info, see http://www.lyx.org/. > %% Do not edit unless you really know what you are doing. > \documentclass[a4paper,twoside,norsk,smallheadings]{article} > \usepackage[T1]{fontenc} > \usepackage[latin9]{inputenc} > \usepackage{fan

Re: Inline listings trouble

2007-05-24 Thread Bo Peng
On 5/24/07, Helge Hafting <[EMAIL PROTECTED]> wrote: A lyx file and the resulting tex file. latexing this: No file listinginline.aux. ) Runaway argument? {test}^^M\end{document}^^M ! File ended while scanning use of [EMAIL PROTECTED] \par <*> listinginline.tex I can open and

Re: Inline listings trouble

2007-05-24 Thread Helge Hafting
Bo Peng wrote: On 5/24/07, Helge Hafting <[EMAIL PROTECTED]> wrote: I don't know how "inline listing" is supposed to work. My guess would be typesetting of things like "int i;" in the middle of a text line. Everytime I turn "inline listing" on I get some kind of latex error though. Typing s

Re: Inline listings trouble

2007-05-24 Thread Bo Peng
On 5/24/07, Helge Hafting <[EMAIL PROTECTED]> wrote: I don't know how "inline listing" is supposed to work. My guess would be typesetting of things like "int i;" in the middle of a text line. Everytime I turn "inline listing" on I get some kind of latex error though. Typing stuff in the box tend

Inline listings trouble

2007-05-24 Thread Helge Hafting
I don't know how "inline listing" is supposed to work. My guess would be typesetting of things like "int i;" in the middle of a text line. Everytime I turn "inline listing" on I get some kind of latex error though. Typing stuff in the box tend to make it worse - especially braces. Helge Hafting