On Tue, Jan 4, 2011 at 8:48 AM, Bruce Pourciau
<[email protected]> wrote:
> I have copied some passages from a pdf and pasted them into a LyX document.
> When I view this LyX document, the pasted in passages display some odd
> formatting: some lines extend beyond the margins and there seem to be extra
> spaces between some words. And the pasted in passages resist fixing.
>
> Any advice?
>

Others suggest doing more work to prepare the input material, but I'd
suggest you go in the other direction.

Close lyx.  make a copy of your lyx document.   Then:

Open that lyx file in an editor like Emacs, (any pure text editor will
do, Eclipse, Programmer's File editor, Notepad++, you get the idea?)
and you will be able to see that the funny formatting and other flaws
are caused by formatting markup that came in with your paste.  Quite
often, when I paste into LyX from other programs, there are all kinds
of set language and font commands.  If you look at a "normal" Lyx
paragraph, you will easily see what you have to do to fix the troubled
PDF part.  Just trim down to a working paragraph format, save, open
the document in LyX. And live happily ever after.

In times like this, it would be nice if LyX had an old-fashioned
"reveal codes" window like Word Perfect used to have.  When text comes
out funny, it is almost always because of some hidden formatting that
you didn't realize was there.



-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

Reply via email to