Re: Problem with hyphenated words.

2010-11-27 Thread Liviu Andronic
Hello

On Sat, Nov 27, 2010 at 5:15 AM, John Culleton  wrote:
> Here is a problem posed by a Lyx novice. I know how to fix it in plain
> pdftex etc. but I don't use Lyx and am stumped about what to tell him.
> Here is his problem
> ---
> I have just installed Lyx on a MacBook and have tried to format some
> test
> copy. Everything is fine except that whenever a hyphenated word appears
> at
> the end of a line it is not properly justified. The hyphenated word
> just
> hangs out in the margin.
> 
> On further discussion this is beyond hanging punctuation. Apparently
> the entire word fragment sticks out in the margin.
>
Perhaps it is a case of a word that LaTeX doesn't know how to
hyphenate. You can try to Insert > Formatting > Hyphenation point.
Best would be to post somewhere an example of the problem.

Regards
Liviu



> --
> John Culleton, Wexford Press
> "Create Book Covers with Scribus" $5.95 at
> http://www.booklocker.com/books/4055.html
>
> Free eps format barcode: http://www.tux.org/~milgram/bookland/
>
>



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


Converting Doc file to Lyx

2010-11-27 Thread Frederick Noronha
I know this might be asking for a bit much, but could someone help me
with converting a Doc file to Lyx? I know there are ways of doing
this, but don't have the right software tools on my comp (and can't
understand the complex instructions for installing the same).

If you agree, I will email you the doc file, and really appreciate if
it could be converted to Lyx.In particular, I need to retain the
italicisation of the text. Thanks! FN

Frederick Noronha :: +91-9822122436 :: +91-832-2409490


Re: Converting Doc file to Lyx

2010-11-27 Thread Jim Oldfield
One way would be to open the file in Word and from there save it as an HTML 
file.  Then in LyX import that HTML file.  I doubt the results would be very 
good, but they would probably at least preserve the italics.

Jim


- Original Message 
> From: Frederick Noronha 
> To: lyx-users@lists.lyx.org
> Sent: Sat, 27 November, 2010 13:53:20
> Subject: Converting Doc file to Lyx
> 
> I know this might be asking for a bit much, but could someone help me
> with  converting a Doc file to Lyx? I know there are ways of doing
> this, but don't  have the right software tools on my comp (and can't
> understand the complex  instructions for installing the same).
> 
> If you agree, I will email you the  doc file, and really appreciate if
> it could be converted to Lyx.In  particular, I need to retain the
> italicisation of the text. Thanks!  FN
> 
> Frederick Noronha :: +91-9822122436 :: +91-832-2409490
> 





Re: csv import causes python error

2010-11-27 Thread Rich Talley
On Sat, Nov 27, 2010 at 3:31 PM, Kelly Kearney wrote:

>
> So far, I haven't been able to figure out how to run Mac Lyx from the
> command
> line.  Any pointers?
>
>
>
>
Sure. In OS X, applications appear to the GUI as a single object but are
actually special folders. You can examine their contents in the Finder by
right-clicking on the app and choosing 'Show Package Contents'.

Working from the terminal, and assuming you installed Lyx in the
Applications folder, the path to the executable is:

/Applications/Lyx.app/Contents/MacOS/Lyx

The path to the man pages directory is:

/Applications/LyX.app/Contents/Resources/man/man1

On my machine, rather than adding that path to my MANPATH, I copied the man
pages to /usr/local/share/man/man1, but you have to become root to do that.

Two utilities I find useful when doing this sort of work in OS X:

Bwana allows you to view man pages in your web browser.
http://www.bruji.com/bwana/

Add a button to your Finder toolbar to open a terminal window & change
directory to your current Finder location:
http://maururu.net/2007/enhanced-open-terminal-here-for-leopard/

-- Rich


Re: csv import causes python error

2010-11-27 Thread Kelly Kearney
Rich Talley  unm.edu> writes:

> 
> 
> On Sat, Nov 27, 2010 at 3:31 PM, Kelly Kearney  princeton.edu>
wrote:
> So far, I haven't been able to figure out how to run Mac Lyx from the command
> line.  Any pointers?
> 
> 
> Sure. In OS X, applications appear to the GUI as a single object but are
actually special folders. You can examine their contents in the Finder by
right-clicking on the app and choosing 'Show Package Contents'.
> 
> Working from the terminal, and assuming you installed Lyx in the Applications
folder, the path to the executable is:
> 
> /Applications/Lyx.app/Contents/MacOS/Lyx
> 

Thanks for the info, but I was actually wondering how to run the executable. 
Though I can locate it, I'm not sure how to get it to run outside of the .app
package.  Simply trying to issue the "lyx" command in a terminal results in a
command not found error, even when issuing said command from
/Applications/LyX.app/Contents/MacOS.

Thanks for your patience,
Kelly







Re: csv import causes python error

2010-11-27 Thread Rich Talley
On Sat, Nov 27, 2010 at 6:08 PM, Kelly Kearney wrote:

>
>
> Thanks for the info, but I was actually wondering how to run the
> executable.
> Though I can locate it, I'm not sure how to get it to run outside of the
> .app
> package.  Simply trying to issue the "lyx" command in a terminal results in
> a
> command not found error, even when issuing said command from
> /Applications/LyX.app/Contents/MacOS.
>
> Thanks for your patience,
> Kelly
>
>
Oh, that's because that directory isn't part of your PATH, so you have to
tell OS X (or any other Unix-style OS) to run the command in the directory
you're in (your current working directory).

So, when you are in /Applications/LyX.app/Contents/MacOS in the terminal use
this command:

./lyx

(that's a period followed by a slash followed by the name of the executable)

This often trips up people who aren't experienced at the command line. There
are good technical reasons, including security, that the system works this
way. I won't go into them.

-- Rich


Re: csv import causes python error

2010-11-27 Thread Kelly Kearney

> 
> So, when you are in /Applications/LyX.app/Contents/MacOS in the terminal use
this command:
> 
> ./lyx
> 
> (that's a period followed by a slash followed by the name of the executable)
> 
*facepalm*  I always forget that.  Command line working fine now, and I was able
to diagnose the csv import issue.  The problem was due to the carriage returns 
in
 the .csv file (which was exported from Excel, and therefore had carriage 
returns
 rather than newlines at the end of each row). Replaced the \r's with \n's, and
 now the import seems to work fine. 

The error message (below, seen trying to import the uncorrected file) seems to
 indicate that there would be a way to open the file such that the \r would be
 interpreted as newline when running csv2lyx.py.  For future reference, is 
there a
 way to force this mode in Lyx when importing csv's, or is replacing all \r's 
the
 better option?


The error message:


$ lyx -i csv manualParameters.csv
Traceback (most recent call last):
  File "/Applications/Lyx.app/Contents/Resources/scripts/csv2lyx.py", line 164,
in 
for row in reader:
_csv.Error: new-line character seen in unquoted field - do you need to open the
file in universal-newline mode?
Error: Cannot convert file

An error occurred whilst running python -tt
 '/Applications/Lyx.app/Contents/Resourc


Thanks again,
Kelly



Integral sign stretch/expand to fit integrand

2010-11-27 Thread Gustavo Goretkin
How could I make an integral sign stretch so that its height is close to 
the height of the integrand?


For example, see http://oi51.tinypic.com/qnpedi.jpg

Thank you,
Gustavo


[sweave] additional LaTeX package needed, but which one?

2010-11-27 Thread Jannick Asmus

Hi,

loading the beamer sweave template shipped with LyX 2.0 beta 1 (on 
WinVista) LyX prompts that sweave needs an additional LaTeX package not 
installed by MikTeX. How can I find out which package is missing?


Thanks as always.

/J.