Hi all,

In section A.7.7 of my new book there's a sentence with lots of charcode 
character style mixed with normal type. Charcode is just monofont. This was 
using LyX 1.5.3.

In order to create a tiny example of this problem, I reproduced the sentence, 
using LyX's typewriter font (from the Edit->Text_style menu item), in LyX 
1.4.2. The problem was identical, so the problem concerns monofont, not the 
implementation of monofont in my character style. It probably also spans LyX 
versions, and I have a hunch it's a LaTeX problem.

Attached to this email is a tiny LyX document illustrating the problem 
(sentence with several monofont words going past the right margin and walking 
right off the page), a PDF produced by that LyX document (regular, not 
pdflatex), and a LaTeX file exported from the LyX document. Could someone 
please take a look and suggest ways I can stop this from happening. As a last 
resort I could fine-tune newlines into my document, but that would be 
incredibly ugly.

Thanks

SteveT

Steve Litt
Books written in LyX:
        Troubleshooting Techniques of the Successful Technologist
        Twenty Eight Tales of Troubleshooting
        Troubleshooting: Just the Facts

Attachment: marginbug.lyx
Description: application/lyx

Attachment: marginbug.pdf
Description: Adobe PDF document

%% LyX 1.4.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,oneside,english]{book}
\usepackage{newcent}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\makeatletter
\usepackage{babel}
\makeatother
\begin{document}
Perhaps you have an \texttt{id\_sender}, an \texttt{id\_accounting\_app},
an \texttt{id\_human\_resources\_app}, and an \texttt{id\_administration},
all of which are listed in the remote computer's \texttt{authorized\_keys}.
Without arguments, an \texttt{ssh} call will use the first one that
works, leaving the result in the hands of the order in which they
happened to be placed.
\end{document}

Reply via email to