Re: Copying From PDF

2011-01-06 Thread Guenter Milde
On 2011-01-06, Paul Johnson wrote:

 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.

The ViewSource window can be of help here. It shows the latex source
(i.e. what LyX would export to LaTeX) and hence all formatting.

Günter



Re: Copying From PDF

2011-01-06 Thread Guenter Milde
On 2011-01-06, Paul Johnson wrote:

 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.

The ViewSource window can be of help here. It shows the latex source
(i.e. what LyX would export to LaTeX) and hence all formatting.

Günter



Re: Copying From PDF

2011-01-06 Thread Guenter Milde
On 2011-01-06, Paul Johnson wrote:

> 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.

The View>Source window can be of help here. It shows the latex source
(i.e. what LyX would export to LaTeX) and hence all formatting.

Günter



Re: Copying From PDF

2011-01-05 Thread Paul Johnson
On Tue, Jan 4, 2011 at 8:48 AM, Bruce Pourciau
bruce.h.pourc...@lawrence.edu 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


Re: Copying From PDF

2011-01-05 Thread Paul Johnson
On Tue, Jan 4, 2011 at 8:48 AM, Bruce Pourciau
bruce.h.pourc...@lawrence.edu 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


Re: Copying From PDF

2011-01-05 Thread Paul Johnson
On Tue, Jan 4, 2011 at 8:48 AM, Bruce Pourciau
 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


Copying From PDF

2011-01-04 Thread Bruce Pourciau
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?




Re: Copying From PDF

2011-01-04 Thread Liviu Andronic
On Tue, Jan 4, 2011 at 3:48 PM, Bruce Pourciau
bruce.h.pourc...@lawrence.edu 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?

Try to first convert to an ordinary word processor. See this [1] for example.
Liviu

[1] http://www.pdftoword.com/







-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Copying From PDF

2011-01-04 Thread Paul A . Rubin
Bruce Pourciau bruce.h.pourciau at lawrence.edu writes:

 
 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?

You could try pdftotext to convert to plain text.

/Paul



Copying From PDF

2011-01-04 Thread Bruce Pourciau
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?




Re: Copying From PDF

2011-01-04 Thread Liviu Andronic
On Tue, Jan 4, 2011 at 3:48 PM, Bruce Pourciau
bruce.h.pourc...@lawrence.edu 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?

Try to first convert to an ordinary word processor. See this [1] for example.
Liviu

[1] http://www.pdftoword.com/







-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Copying From PDF

2011-01-04 Thread Paul A . Rubin
Bruce Pourciau bruce.h.pourciau at lawrence.edu writes:

 
 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?

You could try pdftotext to convert to plain text.

/Paul



Copying From PDF

2011-01-04 Thread Bruce Pourciau
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?




Re: Copying From PDF

2011-01-04 Thread Liviu Andronic
On Tue, Jan 4, 2011 at 3:48 PM, Bruce Pourciau
 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?
>
Try to first convert to an ordinary word processor. See this [1] for example.
Liviu

[1] http://www.pdftoword.com/


>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Copying From PDF

2011-01-04 Thread Paul A . Rubin
Bruce Pourciau  lawrence.edu> writes:

> 
> 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?

You could try pdftotext to convert to plain text.

/Paul