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 stuff in the box tend to make it worse - especially braces.

Please send me a test file. It works fine here.

Cheers,
Bo
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]
<inserted text>
               \par
<*> listinginline.tex
?
! Emergency stop.
<inserted text>
               \par
<*> listinginline.tex
No pages of output.
Transcript written on listinginline.log.

Helge Hafting

Attachment: listinginline.lyx
Description: application/lyx

%% 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{fancyhdr}
\pagestyle{fancy}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{listings}

\makeatletter
\usepackage{babel}
\makeatother
\begin{document}
test

\lstinline{test}
\end{document}

Reply via email to