Re: enumerated environment in beamer: is it possible?

2009-04-01 Thread Jürgen Spitzmüller
李猛 wrote:

 In the enumerate environment, I want to continue the number of order from
 last frame. like:
 Slide
 1.
 2.
 New slide
 3.
 4.
 how can I do this?
 The \setcounter{enumi}{3} don't work in lyx?

\setcounter must be inside the enumeration. The following should do:

Slide
1.
2.
New slide
3.ERT[3.]\setcounter{enumi}{3}/ERT
4.

HTH,
Jürgen




Re: quoting an enumerated environment: is it possible?

2009-04-01 Thread Jürgen Spitzmüller
Stefano Franchi wrote:

 Thanks a lot Jürgen. Now it is all clear and I can already start using yor
 suggestions as well as  tweaking them to fit my needs.
 I must say, the trick that fools LyX with an empty ERT box is pretty
 slick!

Actually, this is the evil trick area, not really nice. But it works.

Jürgen




Re: quoting an enumerated environment: is it possible?

2009-04-01 Thread Guenter Milde
On 2009-03-31, Jürgen Spitzmüller wrote:

 I have inserted an empty ERT into a quote environment (this is the red 
 rectangle). Its purpose is only to keep the environment (if the quote 
 paragraph was empty, LyX would just delete it). A note inset would
 probably do as well.

In my view, a note inset would even do better: While both will keep the
Environment open in LyX, the LyX-note shows that this is a something to
solve a LyX specific problem that is not related to raw LaTeX. (You
can even write this into the note.)

For me this little change makes the difference between an evil hack and
an acceptable workaround.

Günter



Re: How to mark text for operations in 1.6.2?

2009-04-01 Thread Guenter Milde
On 2009-03-31, rgheck wrote:
 Guenter Milde wrote:
 On 2009-03-31, Anthony Campbell wrote:

 In earlier versions of lyx I could mark lines or longer sections of text
 using Shift+Right-arrow. This no longer works in 1.6.2 
...

 I think this has been seen before when people upgraded from 1.5.x. If 
 so, then delete (or move) you LyX configuration directory ($HOME/.lyx/ 
 on LinuX) and restart. It's a binding conflict of some sort.

It should suffice to (re)set the bind file in ToolsSettings Keybindings
to one of the standard files that come with LyX.

Günter



Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-03-23, Piero Faustini wrote:

 I have a doubt, although it's regarding more the LaTeX-LilyPond integration: 
 lily-book knows how to break music lines (or pages) in a given latex 
 environment, 

Are you sure? 

As I understand the docs of lilypond-book, it is a preprocessor that
works by extracting snippets of lilypond notation, transforming them to
EPS or PDF graphics and inserting a graphic-loading command in their
place.

 but it can't guess if this environment will change after LaTeX 
 compile. I mean: I'm writing a komascript book using some packages
 which can alter heavily the shape of the text, such as BibLaTeX, by
 adding more text.  This is the reason why my LyX's LaTeX run up to 4
 times when compiling, and everything works ok. Can lilypond-book give
 instructions at the beginning of this process? 

No.

But if used according to its specification (small musical examples in a
book), LaTeX should handle them nice. If I remember right, you can also
place the lilypond snipped inside a flaot.

 Can it be run more than once between Latex runs just to refine 
 the process? 

Not that I know of.


Günter



Problem with text overlapping header

2009-04-01 Thread Benjamin K
Dear Lyx users

I have a problem with my text overlapping my custom made header (with my
schools logo).
How can i solve this?

I use lyx 1.6.2

I have attached the image (png), the lyx document and the pdf.

This is in my preamble:

\usepackage{fancyhdr}

\usepackage{graphics}

\usepackage{graphicx}

\pagestyle{fancy}

\lhead{What ever you want to have here}

\chead{Centered in the header}

\rhead{\includegraphics{IHK_Logo.png}}

\lfoot{The left side of the footer}

\cfoot{The center of the footer}

\rfoot{The right side of the footer}


Thankyou for any help
Regards
Benjamin


Lyx_IHK_Template.rar
Description: Binary data


Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-03-23, Helge Hafting wrote:

 I don't know if it's possible, but the ideal solution (for me) would be 
 some kind of lilypond environment (somewhat like the math environment), 
 where you can type in your lilypond code directly. 

This could be done, best in a lilypond.module.

 After leaving this environment, the graphic is rendered and put into
 place in the LyX document. If you need to change it, you just click on
 the graphic and the code environment pops up again.

This is rather hard. With lilypond-book, you will have to live with
the source code in LyX.

 Support for lilypond-book would be interesting. And sure - if you 
 volunteer to do some work then you will get it faster.

 This process can be divided into several steps, you won't have to do it 
 all at once.

 1. Work on the support for lilypond-book.
 This will have LyX create latex output as usual,
 then, add code to run lilypond-book on the produced file
 Finally, let LyX run latex/pdflatex on the file produced, as usual.
 So this step is mostly about inserting an invocation
 of lilypond-book into the existing workflow.

We have an example of latex-preprocessing with the literate
programming (noweb) support. It is already (ab)used for R code with
sweave. I would very much like a generalisation, where a module could
trigger such preprocessing an set the preprocessor. 

Idea:

In the module:

  Style Lilypond
...
ExportsTo  lilytex
  End  

- Would call the created LaTeX source filename.lilytex.

In the Converters:

   LilyTeX - LaTeX (plain):  lilypond-book $$i $$a
   
 At this point, use a new document settings to decide whether
 lyx should do this lilypond-book step or not. Many lyx documents
 have no lilypond content, and many lyx users don't have lilypond.

This is why I want to define the Lilypond style in a module. This
would also allow combination with any (?) document class.


 2. With lilypond-book working, start on the lilypond environment.
 first figure out if it ought to be a inset, a layout module, or
 whatever. I guess an inset will be the way.
 Then add the rule about how LyX produces latex code when processing
 a lilypond inset. This is easy - just output \begin{lilypond}
 followed by the inset contents, followed by \end{lilypond}

 At this point, you have working lilypond-book!

This step can even be tried before the first step -- if you export to
latex and run lilypond-book and latex by hand.

 3. Some fine-tuning. Remove the document setting that specifies if this
 is a lilypond document. Instead, add logic so that LyX will run
 lilypond-book whenever the document contains a lilypond inset.
 You can perhaps make use of similiar logic that add latex packages
 on an as-needed basis.

As stated above, I would prefer a generalization of the code for
literate programming.

 4. The preview. Arrange so Lyx runs the inset content through
 lilypond, and display the resulting .png if this succeeds.
 I am not sure how to do this part, but look at how it is done
 for math and graphichs insets.

If a preview is important, it might be simpler to go a completely
different route: amend the external inset so that it allows in-place
editing of the source instead of relying on an external file.

Günter



Re: Lilypond integration

2009-04-01 Thread Jürgen Spitzmüller
Guenter Milde wrote:

 After leaving this environment, the graphic is rendered and put into
 place in the LyX document. If you need to change it, you just click on
 the graphic and the code environment pops up again.
 
 This is rather hard. With lilypond-book, you will have to live with
 the source code in LyX.

Actually, I think implementing instant preview to InsetFlex (and make it 
customizable by a layout flag) should not be too hard, and it would be a 
valuable goal also for other custom inset (think of a tipa inset).

Jürgen




Re: interface questions: navigator and view source

2009-04-01 Thread Guenter Milde
On 2009-03-31, Richard Talley wrote:
 Running Lyx 1.6.2 on OS X 10.4.11 PPC.

 1. When I first launched Lyx 1.6.2, the view source window was at the
 bottom of the main Lyx window. I clicked on the button to make it move
 to its own separate window. Now I'd like the view source window to
 move back into the main LyX window, but I can't find a way to do that.

Click again on the same button? (Works here with 1.6.2 on Linux.)

 2. The navigator panel pops out to the right by doing something like
 Navigate - List of Figures - Open Navigator...
 I can't find a way to make the panel go away without closing and
 re-opening Lyx. Is there an easy way to do this, particularly are
 there any keyboard shortcuts to make the navigator panel appear and
 disappear?

I use Alt-O G for DokumentGliederung, so it should be something like
Alt-d-o for DocumentOutline in English.

Günter



Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-04-01, Jürgen Spitzmüller wrote:
 Guenter Milde wrote:

 After leaving this environment, the graphic is rendered and put into
 place in the LyX document. If you need to change it, you just click on
 the graphic and the code environment pops up again.

 This is rather hard. With lilypond-book, you will have to live with
 the source code in LyX.

 Actually, I think implementing instant preview to InsetFlex (and make it 
 customizable by a layout flag) should not be too hard, and it would be a 
 valuable goal also for other custom inset (think of a tipa inset).

The problem here is that the preview has to be generated with lilypond,
not LaTeX. This is usually the realm of the external inset.

However, the user wanted to edit the source code inside LyX instead of an
external file. Maybe it is simpler to allow inline source in an
external inset than external preview in an InsetFlex.

Günter



Re: Problem with text overlapping header

2009-04-01 Thread Siegfried Meunier-Guttin-Cluzel
Title: MEUNIER-GUTTIN-CLUZEL




In the Document  settings, I changed the margins
Top 6 cm
Headings 4 cm

I obtained this :

Hope it helps,
Siegfried.
-- 



Siegfried MEUNIER-GUTTIN-CLUZEL
Matre de confrence  l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tl. 02 32 95 37 46 (CORIA)
 02 32 95 97 76 ( INSA )



CNRS UMR 6614 - CORIA
Universit de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tl. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr







Re: interface questions: navigator and view source

2009-04-01 Thread Richard Talley
1. When I first launched Lyx 1.6.2, the view source window
was at the bottom of the main Lyx window. I clicked on the
button to make it move to its own separate window. Now I'd
like the view source window to move back into the main LyX
window, but I can't find a way to do that.

 It should dock automatically when you move it close to a border of the
 LyX window.

 That doesn't work, at least not in my installation on OS X.

 Hmm It works for me (OS X 10.5, Intel). Are you sure?

Yes, absolutely. I've dragged the View Source window all over the
place. The only way to get it to dock back into the main lyx window on
my installation (OS X 10.4.11 PPC) is to double-click on the title
bar.


 What about toolbars: you should be able to grab them and move them
 around the window -- to the top, bottom, left, and right sides, or
 drag them off the window to be a floating palette. Does that work?

Yes. There is a little do-hickey with dots on the far left (or top,
when vertical) of the toobars. Using that, I can grab and move them
exactly as you have described.

 Bennett

-- Rich


Re: interface questions: navigator and view source

2009-04-01 Thread Richard Talley
On Wed, Apr 1, 2009 at 3:08 AM, Guenter Milde mi...@users.berlios.de wrote:
 On 2009-03-31, Richard Talley wrote:
 Running Lyx 1.6.2 on OS X 10.4.11 PPC.

 1. When I first launched Lyx 1.6.2, the view source window was at the
 bottom of the main Lyx window. I clicked on the button to make it move
 to its own separate window. Now I'd like the view source window to
 move back into the main LyX window, but I can't find a way to do that.

 Click again on the same button? (Works here with 1.6.2 on Linux.)

No. The button does not appear in my installation when the View Source
window is a free floating window.

 2. The navigator panel pops out to the right by doing something like
 Navigate - List of Figures - Open Navigator...
 I can't find a way to make the panel go away without closing and
 re-opening Lyx. Is there an easy way to do this, particularly are
 there any keyboard shortcuts to make the navigator panel appear and
 disappear?

 I use Alt-O G for DokumentGliederung, so it should be something like
 Alt-d-o for DocumentOutline in English.

No, Alt-d-o doesn't work but I'll experiment with different
combinations. Thanks.

 Günter


-- Rich


Xetex error

2009-04-01 Thread KO

Hi,

I'm trying to make Xetex work with Lyx under Win XP.

I've tried to add the following to the preamble :

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}


But the Lyx PDF compiler answers :

This package currently works only with xetex
with some info about fonts which aren't loadable


What can I do to make the thing work ?



Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Xetex-error-tp2569165p2569165.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Xetex error

2009-04-01 Thread Helge Hafting

KO wrote:

Hi,

I'm trying to make Xetex work with Lyx under Win XP.

I've tried to add the following to the preamble :

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}


But the Lyx PDF compiler answers :

This package currently works only with xetex
with some info about fonts which aren't loadable


What can I do to make the thing work ?



This happens because you use a package made for xetex (as the message 
points out) but you aren't actually using xetex. You use latex or 
pdflatex, and they can't use this xetex package.


Lyx is currently not able to invoke xetex on its own. It invokes latex 
or pdflatex.


What you can do, is to use export-latex. LyX will produce a file with 
the same name as the .lyx file, but the ending .tex.  Then, run xetex on 
that file. The command will be something like:


xetex filename.tex

Also see http://wiki.lyx.org/ that has some information on using xetex 
with LyX


Helge Hafting


Underlining of copied text

2009-04-01 Thread Hubert Christiaen
I made some supplementary text in a separate Lyx window and copied it later in 
the destination file. All this copied text is underlined in blue in the final 
file. How do I get rid of that underlining? Or what did I wrong?The 
underlining is not taken over in the pdf output, it's clearly some editorial 
mark-up.

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


RE: Underlining of copied text

2009-04-01 Thread Vincent van Ravesteijn - TNW
 

I made some supplementary text in a separate Lyx window and
copied it later in the destination file. All this copied text
is underlined in blue in the final file. How do I get rid of
that underlining? Or what did I wrong?The underlining is not
taken over in the pdf output, it's clearly some editorial
mark-up.

The pasted text has probably a different language than the language of
your target document. This might for example happen when you copy text
from an English document into a new document which has the language set
to belgisch(;) (which might be your default).

To remove this, select the text and choose Language: Reset from the
Text Style dialog.

Sincerely,
Hubert

Vincent


Re: Where is the standard installerfür Lyx 1.6.2-1?

2009-04-01 Thread Reuven Segev
Jürgen Spitzmüller sp...@... writes:

 
 Matthias Schmidt wrote:
  plaese  where  can  I  find  the  standard  installer  für Lyx 1.6.2-1
  (LyX-1.6.2-1-Installer.exe, 20  MB).  I tried it with the link in the
  lyx-wiki  on http://wiki.lyx.org/Windows/Windows. There I get an error
  message 550 LyX-1.6.2-1-Installer.exe: No such file or directory.
 
 There are (again) some problems with the server. The installer is ready and 
 should appear on the server sometimes today.
 
 Jürgen
 
 

Hi,
As far as I can tell, the standard installer is still unavailable, or do I
miss something? 

I was looking at ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/.

Reuven




Re: Where is the standard installerfür Lyx 1.6.2-1?

2009-04-01 Thread Jürgen Spitzmüller
Reuven Segev wrote:

 As far as I can tell, the standard installer is still unavailable, or do
 I miss something?
 
 I was looking at ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/.

It is available in principle, but the server (ftp://ftp.lyx.org) is not 
updated properly (we have contacted the maintainers).

Jürgen




Re: [BUG] 1.6.2 handling of graphics paths

2009-04-01 Thread Uwe Stöhr

Jason K Howlett schrieb:

Thanks for the replay. Corporate firewall stripped your attachments, but 
I copied dv2dt and dt2dv from my LyX 1.6.1 install, did a Reconfigure, 
and everything works great now. Thanks!


OK, so it was indeed my fault. I'll provide a new installer the next days.

thanks and regards
Uwe


Fedora 10 and Lyx

2009-04-01 Thread Dr. Gyorgy Pota

Dear Members,

In Fedora 10 the Hungarian hyphenation does not work in Texlive when the 
professional magyar.ldf file is used instead of the old version shipped 
with Texlive. Thus, Lyx, the otherwise excellent program, is momentarily 
useless for a fairly large group of people. I have already tried a 
number of ideas found in the internet. Although this seems to be a Latex 
problem, do you have any special advice?


Fortunately, the Windows Miktex+Lyx still can be applied in Hungarian. 
At least now...


With best wishes,

Gyorgy

--

Dr. Gyorgy Pota
associate professor
Institute of Physical Chemistry
University of Debrecen
H-4010 Debrecen, P. O. Box 7,
Hungary
Tel.: (36) 52-512-90022383
Fax: (36) 52-512-915
homepage: http://dragon.unideb.hu/~wwwphch/potae.htm
private homepage: http://puma.unideb.hu/~potagy




Re: Underlining of copied text

2009-04-01 Thread john
Hubert Christiaen wrote:
 I made some supplementary text in a separate Lyx window and copied it later 
 in 
 the destination file. All this copied text is underlined in blue in the final 
 file. How do I get rid of that underlining? Or what did I wrong?The 
 underlining is not taken over in the pdf output, it's clearly some editorial 
   
ah ha! This happened to me and took me weeks to find.


In my case, the problem was Language.
My document was british, the insert was english.
The problem seemed harmless (I don't use spellcheck on technical documents).

I fixed it by dashing off a sed command to delete all the \language
english lines from the LyX file.
Something like:
sed '/\language english/d' botched.lyx  good.lyx

John O'Gorman

 mark-up.

 Sincerely,
 Hubert

   



Line spacing in listings

2009-04-01 Thread Sven Grüner

Hi,

I'm trying to enbed some code into my document by using the 
subdocument,type=listing way.
First I was surprised that the text wasn't automatically set to a 
typewriter font. But basicstyle=\ttfamily fixed this though I'm not 
totally certain how.


My current problem is how to set the line spacing in the listings to 
singlespace which is set to onehalfspace for the whole document.


I wonder if there is a smarter way than placing /singlespace before each 
listing?


Thanks for your help.

regards, Sven


Re: Splash Screen from 1.5

2009-04-01 Thread Pavel Sanda
Yury Davidouski wrote:
 Is there a way to get the splash screen from 1.5 (with the rabbit) back in 
 1.6?

either by recompilation of 1.6 and reverting important parts of
http://www.lyx.org/trac/changeset/24148

or more easy in 1.6.3 if this bug is going to be resolved
http://www.lyx.org/trac/ticket/5812

pavel


Re: Line spacing in listings

2009-04-01 Thread Nikos Alexandris

Sven:
 Hi,
 
 I'm trying to enbed some code into my document by using the 
 subdocument,type=listing way.
 First I was surprised that the text wasn't automatically set to a 
 typewriter font. But basicstyle=\ttfamily fixed this though I'm not 
 totally certain how.
 
 My current problem is how to set the line spacing in the listings to 
 singlespace which is set to onehalfspace for the whole document.
 
 I wonder if there is a smarter way than placing /singlespace before each 
 listing?

Sven, I bet the answer is in the listing package documentation [1].
There numerous parameters with which you can do magic :-)

Cheers, Nikos



Re: Line spacing in listings

2009-04-01 Thread Nikos Alexandris
  I wonder if there is a smarter way than placing /singlespace before each 
  listing?

 Sven, I bet the answer is in the listing package documentation [1].
 There numerous parameters with which you can do magic :-)

[1] http://www.ctan.org/get/macros/latex/contrib/listings/listings.ins



Re: changing fontsize of quotation environment

2009-04-01 Thread Piero Faustini
Piero Faustini pierofaust...@... writes:

 
 Guenter Milde mi...@... writes:
 
   \newcommand*{\OriginalQuotation}{}
   \let\OriginalQuotation\quotation
   \renewcommand*{\quotation}{\OriginalQuotation\small}
  
  ... and use a command provided by the package relsize for relative size
  change (as requested by the OP) instead of \small ...
 
 i.e.: \relsize{-1} and me too I'm happy!!! Thanks all, I needed this. My book 
 seems very professional!
 
 

Ok, to be perfect \quote paragraph would just need to reduce paragraph-
separation-vertical-space to a value proportional to the context environment 
(e.g. footnotes), because if not it could be huge in comparison! How to achieve 
this? Not manually, I mean.
But don't get an headache, it's just for the sake of perfection.
Piero





Re: Line spacing in listings

2009-04-01 Thread Sven Grüner

Nikos Alexandris schrieb:
I wonder if there is a smarter way than placing /singlespace before each 
listing?


Sven, I bet the answer is in the listing package documentation [1].
There numerous parameters with which you can do magic :-)


I spent hours with that DOC but was always looking for spacing. Now I 
took another look and within seconds found lineskip.


The magic in this case was: lineskip={-5pt}

Tanks into the Breisgau!


Re: Underlining of copied text

2009-04-01 Thread Doug Laidlaw
On Thursday 02 April 2009 7:05:53 am john wrote:
 Hubert Christiaen wrote:
  I made some supplementary text in a separate Lyx window and copied it
  later in the destination file. All this copied text is underlined in blue
  in the final file. How do I get rid of that underlining? Or what did I
  wrong?The underlining is not taken over in the pdf output, it's clearly
  some editorial

 ah ha! This happened to me and took me weeks to find.


 In my case, the problem was Language.
 My document was british, the insert was english.
 The problem seemed harmless (I don't use spellcheck on technical
 documents).

 I fixed it by dashing off a sed command to delete all the \language
 english lines from the LyX file.
 Something like:
 sed '/\language english/d' botched.lyx  good.lyx

 John O'Gorman

  mark-up.
 
  Sincerely,
  Hubert

That shows how useful it is to be familiar with the Linux tools.  But 
according to Vincent, you could have fixed it with a menu choice, which is 
easier for most of us.  I have been using Linux for only a few years, since 
there were KDE and GNOME.  I like using the command line, but not for an easy 
fix like that.

Doug.

Doug.



Re: LyX Forum?

2009-04-01 Thread Paul A. Rubin

Rich Shepard wrote:



  More to the point, with a forum you have to go to it and pull then
information to your machine; with a mail list, the information is pushed to
your machine and all you need do is handle it as you wish.



Not necessarily.  I'm subscribed to a few forums via RSS.  Posts are 
pushed to my mail client (Thunderbird).  If I want to reply, though, I 
have to go the forum in a web browser (typically by clicking a link in 
the RSS message) and, if it doesn't remember me, log in.  So posting is 
not as easy as with a mailing list (I get most of my mailing lists as 
news feeds), but (repeating myself) I can usually skim the content of an 
entire thread on one web page in a forum, which is much easier than with 
news feeds.  (I handle this list, for example, essentially by skipping 
all lengthy threads unless the subject line is *really* compelling.)


I wonder if anyone has software that can integrate a forum with an 
existing mail list (or news feed)?


/Paul



Re: 1.6.2 handling of graphics paths changed from 1.6.1.

2009-04-01 Thread Paul A. Rubin

Jason K Howlett wrote:
I have a LyX document that includes graphics in the header, i.e., 
ERT:\lhead{\includegraphics{mypic.eps}}. In LyX 1.6.1 this worked 
perfectly when producing DVI. I recently upgraded to 1.6.2 (on Windows) 
and the graphic no longer is displayed in the DVI. I used the LyX 
mechanism for inserting the graphic in the document body and it shows up 
fine. When I inspect the generated DVI I see the following differences:


For the file in the header with the manual includegraphics: 
PSfile=C:/Documents and Settings/xx/Desktop/mypaper//mypic.eps
For the file inserted with the LyX dialog: 
PSfile=0C__Documents_and_Settings_xx_Desktop_mypaper_mypic.eps


I understand the issue with DVI and quoted paths and the need to run 
clean_dvi.py, but I don't understand why this worked fine with 1.6.1 and 
now doesn't with 1.6.2. If I export Latex code and run pplatex on it 
manually the results are just fine. In fact, the resulting DVI doesn't 
have any path information at all. It is just PSfile=mypic.eps.



For comparison, when I use LyX 1.6.1 the DVI has the following:

For the file in the header with the manual includegraphics: 
PSfile=C:/Documents and Settings/xx/Desktop/mypaper//mypic.eps
For the file inserted with the LyX dialog: 
PSfile=0C__Documents_and_Settings_xx_Desktop_mypaper_mypic.eps


The quotes are not around the path. Why has this behavior changed and how 
can I work around the problem?




Shooting from the hip (I don't have 1.6.2 yet, and since I'm in the 
middle of a LyX-heavy critical project I'm not going to install it for a 
while), have you tried putting the full path to the graphic file 
(suitably quoted) in the includegraphics command in the header as a 
workaround?


/Paul



Re: enumerated environment in beamer: is it possible?

2009-04-01 Thread Jürgen Spitzmüller
李猛 wrote:

 In the enumerate environment, I want to continue the number of order from
 last frame. like:
 Slide
 1.
 2.
 New slide
 3.
 4.
 how can I do this?
 The \setcounter{enumi}{3} don't work in lyx?

\setcounter must be inside the enumeration. The following should do:

Slide
1.
2.
New slide
3.ERT[3.]\setcounter{enumi}{3}/ERT
4.

HTH,
Jürgen




Re: quoting an enumerated environment: is it possible?

2009-04-01 Thread Jürgen Spitzmüller
Stefano Franchi wrote:

 Thanks a lot Jürgen. Now it is all clear and I can already start using yor
 suggestions as well as  tweaking them to fit my needs.
 I must say, the trick that fools LyX with an empty ERT box is pretty
 slick!

Actually, this is the evil trick area, not really nice. But it works.

Jürgen




Re: quoting an enumerated environment: is it possible?

2009-04-01 Thread Guenter Milde
On 2009-03-31, Jürgen Spitzmüller wrote:

 I have inserted an empty ERT into a quote environment (this is the red 
 rectangle). Its purpose is only to keep the environment (if the quote 
 paragraph was empty, LyX would just delete it). A note inset would
 probably do as well.

In my view, a note inset would even do better: While both will keep the
Environment open in LyX, the LyX-note shows that this is a something to
solve a LyX specific problem that is not related to raw LaTeX. (You
can even write this into the note.)

For me this little change makes the difference between an evil hack and
an acceptable workaround.

Günter



Re: How to mark text for operations in 1.6.2?

2009-04-01 Thread Guenter Milde
On 2009-03-31, rgheck wrote:
 Guenter Milde wrote:
 On 2009-03-31, Anthony Campbell wrote:

 In earlier versions of lyx I could mark lines or longer sections of text
 using Shift+Right-arrow. This no longer works in 1.6.2 
...

 I think this has been seen before when people upgraded from 1.5.x. If 
 so, then delete (or move) you LyX configuration directory ($HOME/.lyx/ 
 on LinuX) and restart. It's a binding conflict of some sort.

It should suffice to (re)set the bind file in ToolsSettings Keybindings
to one of the standard files that come with LyX.

Günter



Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-03-23, Piero Faustini wrote:

 I have a doubt, although it's regarding more the LaTeX-LilyPond integration: 
 lily-book knows how to break music lines (or pages) in a given latex 
 environment, 

Are you sure? 

As I understand the docs of lilypond-book, it is a preprocessor that
works by extracting snippets of lilypond notation, transforming them to
EPS or PDF graphics and inserting a graphic-loading command in their
place.

 but it can't guess if this environment will change after LaTeX 
 compile. I mean: I'm writing a komascript book using some packages
 which can alter heavily the shape of the text, such as BibLaTeX, by
 adding more text.  This is the reason why my LyX's LaTeX run up to 4
 times when compiling, and everything works ok. Can lilypond-book give
 instructions at the beginning of this process? 

No.

But if used according to its specification (small musical examples in a
book), LaTeX should handle them nice. If I remember right, you can also
place the lilypond snipped inside a flaot.

 Can it be run more than once between Latex runs just to refine 
 the process? 

Not that I know of.


Günter



Problem with text overlapping header

2009-04-01 Thread Benjamin K
Dear Lyx users

I have a problem with my text overlapping my custom made header (with my
schools logo).
How can i solve this?

I use lyx 1.6.2

I have attached the image (png), the lyx document and the pdf.

This is in my preamble:

\usepackage{fancyhdr}

\usepackage{graphics}

\usepackage{graphicx}

\pagestyle{fancy}

\lhead{What ever you want to have here}

\chead{Centered in the header}

\rhead{\includegraphics{IHK_Logo.png}}

\lfoot{The left side of the footer}

\cfoot{The center of the footer}

\rfoot{The right side of the footer}


Thankyou for any help
Regards
Benjamin


Lyx_IHK_Template.rar
Description: Binary data


Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-03-23, Helge Hafting wrote:

 I don't know if it's possible, but the ideal solution (for me) would be 
 some kind of lilypond environment (somewhat like the math environment), 
 where you can type in your lilypond code directly. 

This could be done, best in a lilypond.module.

 After leaving this environment, the graphic is rendered and put into
 place in the LyX document. If you need to change it, you just click on
 the graphic and the code environment pops up again.

This is rather hard. With lilypond-book, you will have to live with
the source code in LyX.

 Support for lilypond-book would be interesting. And sure - if you 
 volunteer to do some work then you will get it faster.

 This process can be divided into several steps, you won't have to do it 
 all at once.

 1. Work on the support for lilypond-book.
 This will have LyX create latex output as usual,
 then, add code to run lilypond-book on the produced file
 Finally, let LyX run latex/pdflatex on the file produced, as usual.
 So this step is mostly about inserting an invocation
 of lilypond-book into the existing workflow.

We have an example of latex-preprocessing with the literate
programming (noweb) support. It is already (ab)used for R code with
sweave. I would very much like a generalisation, where a module could
trigger such preprocessing an set the preprocessor. 

Idea:

In the module:

  Style Lilypond
...
ExportsTo  lilytex
  End  

- Would call the created LaTeX source filename.lilytex.

In the Converters:

   LilyTeX - LaTeX (plain):  lilypond-book $$i $$a
   
 At this point, use a new document settings to decide whether
 lyx should do this lilypond-book step or not. Many lyx documents
 have no lilypond content, and many lyx users don't have lilypond.

This is why I want to define the Lilypond style in a module. This
would also allow combination with any (?) document class.


 2. With lilypond-book working, start on the lilypond environment.
 first figure out if it ought to be a inset, a layout module, or
 whatever. I guess an inset will be the way.
 Then add the rule about how LyX produces latex code when processing
 a lilypond inset. This is easy - just output \begin{lilypond}
 followed by the inset contents, followed by \end{lilypond}

 At this point, you have working lilypond-book!

This step can even be tried before the first step -- if you export to
latex and run lilypond-book and latex by hand.

 3. Some fine-tuning. Remove the document setting that specifies if this
 is a lilypond document. Instead, add logic so that LyX will run
 lilypond-book whenever the document contains a lilypond inset.
 You can perhaps make use of similiar logic that add latex packages
 on an as-needed basis.

As stated above, I would prefer a generalization of the code for
literate programming.

 4. The preview. Arrange so Lyx runs the inset content through
 lilypond, and display the resulting .png if this succeeds.
 I am not sure how to do this part, but look at how it is done
 for math and graphichs insets.

If a preview is important, it might be simpler to go a completely
different route: amend the external inset so that it allows in-place
editing of the source instead of relying on an external file.

Günter



Re: Lilypond integration

2009-04-01 Thread Jürgen Spitzmüller
Guenter Milde wrote:

 After leaving this environment, the graphic is rendered and put into
 place in the LyX document. If you need to change it, you just click on
 the graphic and the code environment pops up again.
 
 This is rather hard. With lilypond-book, you will have to live with
 the source code in LyX.

Actually, I think implementing instant preview to InsetFlex (and make it 
customizable by a layout flag) should not be too hard, and it would be a 
valuable goal also for other custom inset (think of a tipa inset).

Jürgen




Re: interface questions: navigator and view source

2009-04-01 Thread Guenter Milde
On 2009-03-31, Richard Talley wrote:
 Running Lyx 1.6.2 on OS X 10.4.11 PPC.

 1. When I first launched Lyx 1.6.2, the view source window was at the
 bottom of the main Lyx window. I clicked on the button to make it move
 to its own separate window. Now I'd like the view source window to
 move back into the main LyX window, but I can't find a way to do that.

Click again on the same button? (Works here with 1.6.2 on Linux.)

 2. The navigator panel pops out to the right by doing something like
 Navigate - List of Figures - Open Navigator...
 I can't find a way to make the panel go away without closing and
 re-opening Lyx. Is there an easy way to do this, particularly are
 there any keyboard shortcuts to make the navigator panel appear and
 disappear?

I use Alt-O G for DokumentGliederung, so it should be something like
Alt-d-o for DocumentOutline in English.

Günter



Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-04-01, Jürgen Spitzmüller wrote:
 Guenter Milde wrote:

 After leaving this environment, the graphic is rendered and put into
 place in the LyX document. If you need to change it, you just click on
 the graphic and the code environment pops up again.

 This is rather hard. With lilypond-book, you will have to live with
 the source code in LyX.

 Actually, I think implementing instant preview to InsetFlex (and make it 
 customizable by a layout flag) should not be too hard, and it would be a 
 valuable goal also for other custom inset (think of a tipa inset).

The problem here is that the preview has to be generated with lilypond,
not LaTeX. This is usually the realm of the external inset.

However, the user wanted to edit the source code inside LyX instead of an
external file. Maybe it is simpler to allow inline source in an
external inset than external preview in an InsetFlex.

Günter



Re: Problem with text overlapping header

2009-04-01 Thread Siegfried Meunier-Guttin-Cluzel
Title: MEUNIER-GUTTIN-CLUZEL




In the Document  settings, I changed the margins
Top 6 cm
Headings 4 cm

I obtained this :

Hope it helps,
Siegfried.
-- 



Siegfried MEUNIER-GUTTIN-CLUZEL
Matre de confrence  l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tl. 02 32 95 37 46 (CORIA)
 02 32 95 97 76 ( INSA )



CNRS UMR 6614 - CORIA
Universit de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tl. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr







Re: interface questions: navigator and view source

2009-04-01 Thread Richard Talley
1. When I first launched Lyx 1.6.2, the view source window
was at the bottom of the main Lyx window. I clicked on the
button to make it move to its own separate window. Now I'd
like the view source window to move back into the main LyX
window, but I can't find a way to do that.

 It should dock automatically when you move it close to a border of the
 LyX window.

 That doesn't work, at least not in my installation on OS X.

 Hmm It works for me (OS X 10.5, Intel). Are you sure?

Yes, absolutely. I've dragged the View Source window all over the
place. The only way to get it to dock back into the main lyx window on
my installation (OS X 10.4.11 PPC) is to double-click on the title
bar.


 What about toolbars: you should be able to grab them and move them
 around the window -- to the top, bottom, left, and right sides, or
 drag them off the window to be a floating palette. Does that work?

Yes. There is a little do-hickey with dots on the far left (or top,
when vertical) of the toobars. Using that, I can grab and move them
exactly as you have described.

 Bennett

-- Rich


Re: interface questions: navigator and view source

2009-04-01 Thread Richard Talley
On Wed, Apr 1, 2009 at 3:08 AM, Guenter Milde mi...@users.berlios.de wrote:
 On 2009-03-31, Richard Talley wrote:
 Running Lyx 1.6.2 on OS X 10.4.11 PPC.

 1. When I first launched Lyx 1.6.2, the view source window was at the
 bottom of the main Lyx window. I clicked on the button to make it move
 to its own separate window. Now I'd like the view source window to
 move back into the main LyX window, but I can't find a way to do that.

 Click again on the same button? (Works here with 1.6.2 on Linux.)

No. The button does not appear in my installation when the View Source
window is a free floating window.

 2. The navigator panel pops out to the right by doing something like
 Navigate - List of Figures - Open Navigator...
 I can't find a way to make the panel go away without closing and
 re-opening Lyx. Is there an easy way to do this, particularly are
 there any keyboard shortcuts to make the navigator panel appear and
 disappear?

 I use Alt-O G for DokumentGliederung, so it should be something like
 Alt-d-o for DocumentOutline in English.

No, Alt-d-o doesn't work but I'll experiment with different
combinations. Thanks.

 Günter


-- Rich


Xetex error

2009-04-01 Thread KO

Hi,

I'm trying to make Xetex work with Lyx under Win XP.

I've tried to add the following to the preamble :

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}


But the Lyx PDF compiler answers :

This package currently works only with xetex
with some info about fonts which aren't loadable


What can I do to make the thing work ?



Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Xetex-error-tp2569165p2569165.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Xetex error

2009-04-01 Thread Helge Hafting

KO wrote:

Hi,

I'm trying to make Xetex work with Lyx under Win XP.

I've tried to add the following to the preamble :

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}


But the Lyx PDF compiler answers :

This package currently works only with xetex
with some info about fonts which aren't loadable


What can I do to make the thing work ?



This happens because you use a package made for xetex (as the message 
points out) but you aren't actually using xetex. You use latex or 
pdflatex, and they can't use this xetex package.


Lyx is currently not able to invoke xetex on its own. It invokes latex 
or pdflatex.


What you can do, is to use export-latex. LyX will produce a file with 
the same name as the .lyx file, but the ending .tex.  Then, run xetex on 
that file. The command will be something like:


xetex filename.tex

Also see http://wiki.lyx.org/ that has some information on using xetex 
with LyX


Helge Hafting


Underlining of copied text

2009-04-01 Thread Hubert Christiaen
I made some supplementary text in a separate Lyx window and copied it later in 
the destination file. All this copied text is underlined in blue in the final 
file. How do I get rid of that underlining? Or what did I wrong?The 
underlining is not taken over in the pdf output, it's clearly some editorial 
mark-up.

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


RE: Underlining of copied text

2009-04-01 Thread Vincent van Ravesteijn - TNW
 

I made some supplementary text in a separate Lyx window and
copied it later in the destination file. All this copied text
is underlined in blue in the final file. How do I get rid of
that underlining? Or what did I wrong?The underlining is not
taken over in the pdf output, it's clearly some editorial
mark-up.

The pasted text has probably a different language than the language of
your target document. This might for example happen when you copy text
from an English document into a new document which has the language set
to belgisch(;) (which might be your default).

To remove this, select the text and choose Language: Reset from the
Text Style dialog.

Sincerely,
Hubert

Vincent


Re: Where is the standard installerfür Lyx 1.6.2-1?

2009-04-01 Thread Reuven Segev
Jürgen Spitzmüller sp...@... writes:

 
 Matthias Schmidt wrote:
  plaese  where  can  I  find  the  standard  installer  für Lyx 1.6.2-1
  (LyX-1.6.2-1-Installer.exe, 20  MB).  I tried it with the link in the
  lyx-wiki  on http://wiki.lyx.org/Windows/Windows. There I get an error
  message 550 LyX-1.6.2-1-Installer.exe: No such file or directory.
 
 There are (again) some problems with the server. The installer is ready and 
 should appear on the server sometimes today.
 
 Jürgen
 
 

Hi,
As far as I can tell, the standard installer is still unavailable, or do I
miss something? 

I was looking at ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/.

Reuven




Re: Where is the standard installerfür Lyx 1.6.2-1?

2009-04-01 Thread Jürgen Spitzmüller
Reuven Segev wrote:

 As far as I can tell, the standard installer is still unavailable, or do
 I miss something?
 
 I was looking at ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/.

It is available in principle, but the server (ftp://ftp.lyx.org) is not 
updated properly (we have contacted the maintainers).

Jürgen




Re: [BUG] 1.6.2 handling of graphics paths

2009-04-01 Thread Uwe Stöhr

Jason K Howlett schrieb:

Thanks for the replay. Corporate firewall stripped your attachments, but 
I copied dv2dt and dt2dv from my LyX 1.6.1 install, did a Reconfigure, 
and everything works great now. Thanks!


OK, so it was indeed my fault. I'll provide a new installer the next days.

thanks and regards
Uwe


Fedora 10 and Lyx

2009-04-01 Thread Dr. Gyorgy Pota

Dear Members,

In Fedora 10 the Hungarian hyphenation does not work in Texlive when the 
professional magyar.ldf file is used instead of the old version shipped 
with Texlive. Thus, Lyx, the otherwise excellent program, is momentarily 
useless for a fairly large group of people. I have already tried a 
number of ideas found in the internet. Although this seems to be a Latex 
problem, do you have any special advice?


Fortunately, the Windows Miktex+Lyx still can be applied in Hungarian. 
At least now...


With best wishes,

Gyorgy

--

Dr. Gyorgy Pota
associate professor
Institute of Physical Chemistry
University of Debrecen
H-4010 Debrecen, P. O. Box 7,
Hungary
Tel.: (36) 52-512-90022383
Fax: (36) 52-512-915
homepage: http://dragon.unideb.hu/~wwwphch/potae.htm
private homepage: http://puma.unideb.hu/~potagy




Re: Underlining of copied text

2009-04-01 Thread john
Hubert Christiaen wrote:
 I made some supplementary text in a separate Lyx window and copied it later 
 in 
 the destination file. All this copied text is underlined in blue in the final 
 file. How do I get rid of that underlining? Or what did I wrong?The 
 underlining is not taken over in the pdf output, it's clearly some editorial 
   
ah ha! This happened to me and took me weeks to find.


In my case, the problem was Language.
My document was british, the insert was english.
The problem seemed harmless (I don't use spellcheck on technical documents).

I fixed it by dashing off a sed command to delete all the \language
english lines from the LyX file.
Something like:
sed '/\language english/d' botched.lyx  good.lyx

John O'Gorman

 mark-up.

 Sincerely,
 Hubert

   



Line spacing in listings

2009-04-01 Thread Sven Grüner

Hi,

I'm trying to enbed some code into my document by using the 
subdocument,type=listing way.
First I was surprised that the text wasn't automatically set to a 
typewriter font. But basicstyle=\ttfamily fixed this though I'm not 
totally certain how.


My current problem is how to set the line spacing in the listings to 
singlespace which is set to onehalfspace for the whole document.


I wonder if there is a smarter way than placing /singlespace before each 
listing?


Thanks for your help.

regards, Sven


Re: Splash Screen from 1.5

2009-04-01 Thread Pavel Sanda
Yury Davidouski wrote:
 Is there a way to get the splash screen from 1.5 (with the rabbit) back in 
 1.6?

either by recompilation of 1.6 and reverting important parts of
http://www.lyx.org/trac/changeset/24148

or more easy in 1.6.3 if this bug is going to be resolved
http://www.lyx.org/trac/ticket/5812

pavel


Re: Line spacing in listings

2009-04-01 Thread Nikos Alexandris

Sven:
 Hi,
 
 I'm trying to enbed some code into my document by using the 
 subdocument,type=listing way.
 First I was surprised that the text wasn't automatically set to a 
 typewriter font. But basicstyle=\ttfamily fixed this though I'm not 
 totally certain how.
 
 My current problem is how to set the line spacing in the listings to 
 singlespace which is set to onehalfspace for the whole document.
 
 I wonder if there is a smarter way than placing /singlespace before each 
 listing?

Sven, I bet the answer is in the listing package documentation [1].
There numerous parameters with which you can do magic :-)

Cheers, Nikos



Re: Line spacing in listings

2009-04-01 Thread Nikos Alexandris
  I wonder if there is a smarter way than placing /singlespace before each 
  listing?

 Sven, I bet the answer is in the listing package documentation [1].
 There numerous parameters with which you can do magic :-)

[1] http://www.ctan.org/get/macros/latex/contrib/listings/listings.ins



Re: changing fontsize of quotation environment

2009-04-01 Thread Piero Faustini
Piero Faustini pierofaust...@... writes:

 
 Guenter Milde mi...@... writes:
 
   \newcommand*{\OriginalQuotation}{}
   \let\OriginalQuotation\quotation
   \renewcommand*{\quotation}{\OriginalQuotation\small}
  
  ... and use a command provided by the package relsize for relative size
  change (as requested by the OP) instead of \small ...
 
 i.e.: \relsize{-1} and me too I'm happy!!! Thanks all, I needed this. My book 
 seems very professional!
 
 

Ok, to be perfect \quote paragraph would just need to reduce paragraph-
separation-vertical-space to a value proportional to the context environment 
(e.g. footnotes), because if not it could be huge in comparison! How to achieve 
this? Not manually, I mean.
But don't get an headache, it's just for the sake of perfection.
Piero





Re: Line spacing in listings

2009-04-01 Thread Sven Grüner

Nikos Alexandris schrieb:
I wonder if there is a smarter way than placing /singlespace before each 
listing?


Sven, I bet the answer is in the listing package documentation [1].
There numerous parameters with which you can do magic :-)


I spent hours with that DOC but was always looking for spacing. Now I 
took another look and within seconds found lineskip.


The magic in this case was: lineskip={-5pt}

Tanks into the Breisgau!


Re: Underlining of copied text

2009-04-01 Thread Doug Laidlaw
On Thursday 02 April 2009 7:05:53 am john wrote:
 Hubert Christiaen wrote:
  I made some supplementary text in a separate Lyx window and copied it
  later in the destination file. All this copied text is underlined in blue
  in the final file. How do I get rid of that underlining? Or what did I
  wrong?The underlining is not taken over in the pdf output, it's clearly
  some editorial

 ah ha! This happened to me and took me weeks to find.


 In my case, the problem was Language.
 My document was british, the insert was english.
 The problem seemed harmless (I don't use spellcheck on technical
 documents).

 I fixed it by dashing off a sed command to delete all the \language
 english lines from the LyX file.
 Something like:
 sed '/\language english/d' botched.lyx  good.lyx

 John O'Gorman

  mark-up.
 
  Sincerely,
  Hubert

That shows how useful it is to be familiar with the Linux tools.  But 
according to Vincent, you could have fixed it with a menu choice, which is 
easier for most of us.  I have been using Linux for only a few years, since 
there were KDE and GNOME.  I like using the command line, but not for an easy 
fix like that.

Doug.

Doug.



Re: LyX Forum?

2009-04-01 Thread Paul A. Rubin

Rich Shepard wrote:



  More to the point, with a forum you have to go to it and pull then
information to your machine; with a mail list, the information is pushed to
your machine and all you need do is handle it as you wish.



Not necessarily.  I'm subscribed to a few forums via RSS.  Posts are 
pushed to my mail client (Thunderbird).  If I want to reply, though, I 
have to go the forum in a web browser (typically by clicking a link in 
the RSS message) and, if it doesn't remember me, log in.  So posting is 
not as easy as with a mailing list (I get most of my mailing lists as 
news feeds), but (repeating myself) I can usually skim the content of an 
entire thread on one web page in a forum, which is much easier than with 
news feeds.  (I handle this list, for example, essentially by skipping 
all lengthy threads unless the subject line is *really* compelling.)


I wonder if anyone has software that can integrate a forum with an 
existing mail list (or news feed)?


/Paul



Re: 1.6.2 handling of graphics paths changed from 1.6.1.

2009-04-01 Thread Paul A. Rubin

Jason K Howlett wrote:
I have a LyX document that includes graphics in the header, i.e., 
ERT:\lhead{\includegraphics{mypic.eps}}. In LyX 1.6.1 this worked 
perfectly when producing DVI. I recently upgraded to 1.6.2 (on Windows) 
and the graphic no longer is displayed in the DVI. I used the LyX 
mechanism for inserting the graphic in the document body and it shows up 
fine. When I inspect the generated DVI I see the following differences:


For the file in the header with the manual includegraphics: 
PSfile=C:/Documents and Settings/xx/Desktop/mypaper//mypic.eps
For the file inserted with the LyX dialog: 
PSfile=0C__Documents_and_Settings_xx_Desktop_mypaper_mypic.eps


I understand the issue with DVI and quoted paths and the need to run 
clean_dvi.py, but I don't understand why this worked fine with 1.6.1 and 
now doesn't with 1.6.2. If I export Latex code and run pplatex on it 
manually the results are just fine. In fact, the resulting DVI doesn't 
have any path information at all. It is just PSfile=mypic.eps.



For comparison, when I use LyX 1.6.1 the DVI has the following:

For the file in the header with the manual includegraphics: 
PSfile=C:/Documents and Settings/xx/Desktop/mypaper//mypic.eps
For the file inserted with the LyX dialog: 
PSfile=0C__Documents_and_Settings_xx_Desktop_mypaper_mypic.eps


The quotes are not around the path. Why has this behavior changed and how 
can I work around the problem?




Shooting from the hip (I don't have 1.6.2 yet, and since I'm in the 
middle of a LyX-heavy critical project I'm not going to install it for a 
while), have you tried putting the full path to the graphic file 
(suitably quoted) in the includegraphics command in the header as a 
workaround?


/Paul



Re: enumerated environment in beamer: is it possible?

2009-04-01 Thread Jürgen Spitzmüller
李猛 wrote:

> In the enumerate environment, I want to continue the number of order from
> last frame. like:
> Slide
> 1.
> 2.
> New slide
> 3.
> 4.
> how can I do this?
> The \setcounter{enumi}{3} don't work in lyx?

\setcounter must be inside the enumeration. The following should do:

Slide
1.
2.
New slide
3.[3.]\setcounter{enumi}{3}
4.

HTH,
Jürgen




Re: quoting an enumerated environment: is it possible?

2009-04-01 Thread Jürgen Spitzmüller
Stefano Franchi wrote:

> Thanks a lot Jürgen. Now it is all clear and I can already start using yor
> suggestions as well as  tweaking them to fit my needs.
> I must say, the trick that fools LyX with an empty ERT box is pretty
> slick!

Actually, this is the "evil trick" area, not really nice. But it works.

Jürgen




Re: quoting an enumerated environment: is it possible?

2009-04-01 Thread Guenter Milde
On 2009-03-31, Jürgen Spitzmüller wrote:

> I have inserted an empty ERT into a quote environment (this is the red 
> rectangle). Its purpose is only to keep the environment (if the quote 
> paragraph was empty, LyX would just delete it). A note inset would
> probably do as well.

In my view, a note inset would even do better: While both will keep the
Environment open in LyX, the LyX-note shows that this is a something to
solve a LyX specific problem that is not related to raw LaTeX. (You
can even write this into the note.)

For me this little change makes the difference between an "evil" hack and
an acceptable workaround.

Günter



Re: How to mark text for operations in 1.6.2?

2009-04-01 Thread Guenter Milde
On 2009-03-31, rgheck wrote:
> Guenter Milde wrote:
>> On 2009-03-31, Anthony Campbell wrote:

>>> In earlier versions of lyx I could mark lines or longer sections of text
>>> using Shift+Right-arrow. This no longer works in 1.6.2 
...

> I think this has been seen before when people upgraded from 1.5.x. If 
> so, then delete (or move) you LyX configuration directory ($HOME/.lyx/ 
> on LinuX) and restart. It's a binding conflict of some sort.

It should suffice to (re)set the bind file in Tools>Settings Keybindings
to one of the standard files that come with LyX.

Günter



Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-03-23, Piero Faustini wrote:

> I have a doubt, although it's regarding more the LaTeX-LilyPond integration: 
> lily-book knows how to break music lines (or pages) in a given latex 
> environment, 

Are you sure? 

As I understand the docs of lilypond-book, it is a preprocessor that
works by extracting snippets of lilypond notation, transforming them to
EPS or PDF graphics and inserting a graphic-loading command in their
place.

> but it can't guess if this environment will change after LaTeX 
> compile. I mean: I'm writing a komascript book using some packages
> which can alter heavily the shape of the text, such as BibLaTeX, by
> adding more text.  This is the reason why my LyX's LaTeX run up to 4
> times when compiling, and everything works ok. Can lilypond-book give
> instructions at the beginning of this process? 

No.

But if used according to its specification (small musical examples in a
book), LaTeX should handle them nice. If I remember right, you can also
place the lilypond snipped inside a flaot.

> Can it be run more than once between Latex runs just to refine 
> the process? 

Not that I know of.


Günter



Problem with text overlapping header

2009-04-01 Thread Benjamin K
Dear Lyx users

I have a problem with my text overlapping my custom made header (with my
schools logo).
How can i solve this?

I use lyx 1.6.2

I have attached the image (png), the lyx document and the pdf.

This is in my preamble:

\usepackage{fancyhdr}

\usepackage{graphics}

\usepackage{graphicx}

\pagestyle{fancy}

\lhead{What ever you want to have here}

\chead{Centered in the header}

\rhead{\includegraphics{IHK_Logo.png}}

\lfoot{The left side of the footer}

\cfoot{The center of the footer}

\rfoot{The right side of the footer}


Thankyou for any help
Regards
Benjamin


Lyx_IHK_Template.rar
Description: Binary data


Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-03-23, Helge Hafting wrote:

>> I don't know if it's possible, but the ideal solution (for me) would be 
>> some kind of lilypond environment (somewhat like the math environment), 
>> where you can type in your lilypond code directly. 

This could be done, best in a "lilypond.module".

>> After leaving this environment, the graphic is rendered and put into
>> place in the LyX document. If you need to change it, you just click on
>> the graphic and the code environment pops up again.

This is rather hard. With lilypond-book, you will have to live with
the source code in LyX.

> Support for lilypond-book would be interesting. And sure - if you 
> volunteer to do some work then you will get it faster.

> This process can be divided into several steps, you won't have to do it 
> all at once.

> 1. Work on the support for lilypond-book.
> This will have LyX create latex output as usual,
> then, add code to run lilypond-book on the produced file
> Finally, let LyX run latex/pdflatex on the file produced, as usual.
> So this step is mostly about inserting an invocation
> of "lilypond-book" into the existing workflow.

We have an example of "latex-preprocessing" with the literate
programming (noweb) support. It is already (ab)used for R code with
sweave. I would very much like a generalisation, where a module could
trigger such preprocessing an set the preprocessor. 

Idea:

In the module:

  Style Lilypond
...
ExportsTo  lilytex
  End  

-> Would call the created LaTeX source .

In the Converters:

   LilyTeX -> LaTeX (plain):  lilypond-book $$i $$a
   
> At this point, use a new document settings to decide whether
> lyx should do this lilypond-book step or not. Many lyx documents
> have no lilypond content, and many lyx users don't have lilypond.

This is why I want to define the Lilypond style in a module. This
would also allow combination with any (?) document class.


> 2. With lilypond-book working, start on the lilypond environment.
> first figure out if it ought to be a inset, a layout module, or
> whatever. I guess an inset will be the way.
> Then add the rule about how LyX produces latex code when processing
> a lilypond inset. This is easy - just output \begin{lilypond}
> followed by the inset contents, followed by \end{lilypond}

> At this point, you have working lilypond-book!

This step can even be tried before the first step -- if you export to
latex and run lilypond-book and latex by hand.

> 3. Some fine-tuning. Remove the document setting that specifies if this
> is a lilypond document. Instead, add logic so that LyX will run
> lilypond-book whenever the document contains a lilypond inset.
> You can perhaps make use of similiar logic that add latex packages
> on an as-needed basis.

As stated above, I would prefer a generalization of the code for
literate programming.

> 4. The preview. Arrange so Lyx runs the inset content through
> lilypond, and display the resulting .png if this succeeds.
> I am not sure how to do this part, but look at how it is done
> for math and graphichs insets.

If a preview is important, it might be simpler to go a completely
different route: amend the external inset so that it allows in-place
editing of the source instead of relying on an external file.

Günter



Re: Lilypond integration

2009-04-01 Thread Jürgen Spitzmüller
Guenter Milde wrote:

>>> After leaving this environment, the graphic is rendered and put into
>>> place in the LyX document. If you need to change it, you just click on
>>> the graphic and the code environment pops up again.
> 
> This is rather hard. With lilypond-book, you will have to live with
> the source code in LyX.

Actually, I think implementing instant preview to InsetFlex (and make it 
customizable by a layout flag) should not be too hard, and it would be a 
valuable goal also for other custom inset (think of a tipa inset).

Jürgen




Re: interface questions: navigator and view source

2009-04-01 Thread Guenter Milde
On 2009-03-31, Richard Talley wrote:
> Running Lyx 1.6.2 on OS X 10.4.11 PPC.

> 1. When I first launched Lyx 1.6.2, the view source window was at the
> bottom of the main Lyx window. I clicked on the button to make it move
> to its own separate window. Now I'd like the view source window to
> move back into the main LyX window, but I can't find a way to do that.

Click again on the same button? (Works here with 1.6.2 on Linux.)

> 2. The navigator panel pops out to the right by doing something like
> Navigate -> List of Figures -> Open Navigator...
> I can't find a way to make the panel go away without closing and
> re-opening Lyx. Is there an easy way to do this, particularly are
> there any keyboard shortcuts to make the navigator panel appear and
> disappear?

I use Alt-O G for Dokument>Gliederung, so it should be something like
Alt-d-o for Document>Outline in English.

Günter



Re: Lilypond integration

2009-04-01 Thread Guenter Milde
On 2009-04-01, Jürgen Spitzmüller wrote:
> Guenter Milde wrote:

 After leaving this environment, the graphic is rendered and put into
 place in the LyX document. If you need to change it, you just click on
 the graphic and the code environment pops up again.

>> This is rather hard. With lilypond-book, you will have to live with
>> the source code in LyX.

> Actually, I think implementing instant preview to InsetFlex (and make it 
> customizable by a layout flag) should not be too hard, and it would be a 
> valuable goal also for other custom inset (think of a tipa inset).

The problem here is that the preview has to be generated with lilypond,
not LaTeX. This is usually the realm of the external inset.

However, the user wanted to edit the source code inside LyX instead of an
external file. Maybe it is simpler to allow "inline source" in an
external inset than "external preview" in an InsetFlex.

Günter



Re: Problem with text overlapping header

2009-04-01 Thread Siegfried Meunier-Guttin-Cluzel
Title: MEUNIER-GUTTIN-CLUZEL




In the Document > settings, I changed the margins
Top 6 cm
Headings 4 cm

I obtained this :

Hope it helps,
Siegfried.
-- 



Siegfried MEUNIER-GUTTIN-CLUZEL
Maître de conférence à l'INSA de Rouen
Fax. 33 (0)2 32 95 37 94
Tél. 02 32 95 37 46 (CORIA)
   02 32 95 97 76 ( INSA )



CNRS UMR 6614 - CORIA
Université de Rouen
Site Universitaire du Madrillet - BP 12
76801 Saint Etienne du Rouvray cedex
Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85
www.coria.fr







Re: interface questions: navigator and view source

2009-04-01 Thread Richard Talley
1. When I first launched Lyx 1.6.2, the view source window
was at the bottom of the main Lyx window. I clicked on the
button to make it move to its own separate window. Now I'd
like the view source window to move back into the main LyX
window, but I can't find a way to do that.
>>>
>>> It should dock automatically when you move it close to a border of the
>>> LyX window.
>>
>> That doesn't work, at least not in my installation on OS X.
>
> Hmm It works for me (OS X 10.5, Intel). Are you sure?

Yes, absolutely. I've dragged the View Source window all over the
place. The only way to get it to dock back into the main lyx window on
my installation (OS X 10.4.11 PPC) is to double-click on the title
bar.

>
> What about toolbars: you should be able to grab them and move them
> around the window -- to the top, bottom, left, and right sides, or
> drag them off the window to be a floating palette. Does that work?

Yes. There is a little do-hickey with dots on the far left (or top,
when vertical) of the toobars. Using that, I can grab and move them
exactly as you have described.

> Bennett

-- Rich


Re: interface questions: navigator and view source

2009-04-01 Thread Richard Talley
On Wed, Apr 1, 2009 at 3:08 AM, Guenter Milde  wrote:
> On 2009-03-31, Richard Talley wrote:
>> Running Lyx 1.6.2 on OS X 10.4.11 PPC.
>
>> 1. When I first launched Lyx 1.6.2, the view source window was at the
>> bottom of the main Lyx window. I clicked on the button to make it move
>> to its own separate window. Now I'd like the view source window to
>> move back into the main LyX window, but I can't find a way to do that.
>
> Click again on the same button? (Works here with 1.6.2 on Linux.)

No. The button does not appear in my installation when the View Source
window is a free floating window.

>> 2. The navigator panel pops out to the right by doing something like
>> Navigate -> List of Figures -> Open Navigator...
>> I can't find a way to make the panel go away without closing and
>> re-opening Lyx. Is there an easy way to do this, particularly are
>> there any keyboard shortcuts to make the navigator panel appear and
>> disappear?
>
> I use Alt-O G for Dokument>Gliederung, so it should be something like
> Alt-d-o for Document>Outline in English.

No, Alt-d-o doesn't work but I'll experiment with different
combinations. Thanks.

> Günter
>

-- Rich


Xetex error

2009-04-01 Thread KO

Hi,

I'm trying to make Xetex work with Lyx under Win XP.

I've tried to add the following to the preamble :

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}


But the Lyx PDF compiler answers :

"This package currently works only with xetex"
with some info about fonts which aren't "loadable"


What can I do to make the thing work ?



Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Xetex-error-tp2569165p2569165.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Xetex error

2009-04-01 Thread Helge Hafting

KO wrote:

Hi,

I'm trying to make Xetex work with Lyx under Win XP.

I've tried to add the following to the preamble :

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}


But the Lyx PDF compiler answers :

"This package currently works only with xetex"
with some info about fonts which aren't "loadable"


What can I do to make the thing work ?



This happens because you use a package made for xetex (as the message 
points out) but you aren't actually using xetex. You use latex or 
pdflatex, and they can't use this xetex package.


Lyx is currently not able to invoke xetex on its own. It invokes latex 
or pdflatex.


What you can do, is to use export->latex. LyX will produce a file with 
the same name as the .lyx file, but the ending .tex.  Then, run xetex on 
that file. The command will be something like:


xetex filename.tex

Also see http://wiki.lyx.org/ that has some information on using xetex 
with LyX


Helge Hafting


Underlining of copied text

2009-04-01 Thread Hubert Christiaen
I made some supplementary text in a separate Lyx window and copied it later in 
the destination file. All this copied text is underlined in blue in the final 
file. How do I get rid of that underlining? Or what did I wrong?The 
underlining is not taken over in the pdf output, it's clearly some editorial 
mark-up.

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


RE: Underlining of copied text

2009-04-01 Thread Vincent van Ravesteijn - TNW
 

>I made some supplementary text in a separate Lyx window and
>copied it later in the destination file. All this copied text
>is underlined in blue in the final file. How do I get rid of
>that underlining? Or what did I wrong?The underlining is not
>taken over in the pdf output, it's clearly some editorial
>mark-up.

The pasted text has probably a different language than the language of
your target document. This might for example happen when you copy text
from an English document into a new document which has the language set
to belgisch(;) (which might be your default).

To remove this, select the text and choose "Language: Reset" from the
Text Style dialog.

>Sincerely,
>Hubert

Vincent


Re: Where is the standard installerfür Lyx 1.6.2-1?

2009-04-01 Thread Reuven Segev
Jürgen Spitzmüller  writes:

> 
> Matthias Schmidt wrote:
> > plaese  where  can  I  find  the  standard  installer  für Lyx 1.6.2-1
> > (LyX-1.6.2-1-Installer.exe, 20  MB).  I tried it with the link in the
> > lyx-wiki  on http://wiki.lyx.org/Windows/Windows. There I get an error
> > message "550 LyX-1.6.2-1-Installer.exe: No such file or directory".
> 
> There are (again) some problems with the server. The installer is ready and 
> should appear on the server sometimes today.
> 
> Jürgen
> 
> 

Hi,
As far as I can tell, the "standard" installer is still unavailable, or do I
miss something? 

I was looking at ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/.

Reuven




Re: Where is the standard installerfür Lyx 1.6.2-1?

2009-04-01 Thread Jürgen Spitzmüller
Reuven Segev wrote:

> As far as I can tell, the "standard" installer is still unavailable, or do
> I miss something?
> 
> I was looking at ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/.

It is available in principle, but the server (ftp://ftp.lyx.org) is not 
updated properly (we have contacted the maintainers).

Jürgen




Re: [BUG] 1.6.2 handling of graphics paths

2009-04-01 Thread Uwe Stöhr

Jason K Howlett schrieb:

Thanks for the replay. Corporate firewall stripped your attachments, but 
I copied dv2dt and dt2dv from my LyX 1.6.1 install, did a Reconfigure, 
and everything works great now. Thanks!


OK, so it was indeed my fault. I'll provide a new installer the next days.

thanks and regards
Uwe


Fedora 10 and Lyx

2009-04-01 Thread Dr. Gyorgy Pota

Dear Members,

In Fedora 10 the Hungarian hyphenation does not work in Texlive when the 
professional magyar.ldf file is used instead of the old version shipped 
with Texlive. Thus, Lyx, the otherwise excellent program, is momentarily 
useless for a fairly large group of people. I have already tried a 
number of ideas found in the internet. Although this seems to be a Latex 
problem, do you have any special advice?


Fortunately, the Windows Miktex+Lyx still can be applied in Hungarian. 
At least now...


With best wishes,

Gyorgy

--

Dr. Gyorgy Pota
associate professor
Institute of Physical Chemistry
University of Debrecen
H-4010 Debrecen, P. O. Box 7,
Hungary
Tel.: (36) 52-512-90022383
Fax: (36) 52-512-915
homepage: http://dragon.unideb.hu/~wwwphch/potae.htm
private homepage: http://puma.unideb.hu/~potagy




Re: Underlining of copied text

2009-04-01 Thread john
Hubert Christiaen wrote:
> I made some supplementary text in a separate Lyx window and copied it later 
> in 
> the destination file. All this copied text is underlined in blue in the final 
> file. How do I get rid of that underlining? Or what did I wrong?The 
> underlining is not taken over in the pdf output, it's clearly some editorial 
>   
ah ha! This happened to me and took me weeks to find.


In my case, the problem was Language.
My document was british, the insert was english.
The problem seemed harmless (I don't use spellcheck on technical documents).

I fixed it by dashing off a sed command to delete all the \language
english lines from the LyX file.
Something like:
sed '/\language english/d' botched.lyx > good.lyx

John O'Gorman

> mark-up.
>
> Sincerely,
> Hubert
>
>   



Line spacing in listings

2009-04-01 Thread Sven Grüner

Hi,

I'm trying to enbed some code into my document by using the 
subdocument,type=listing way.
First I was surprised that the text wasn't automatically set to a 
typewriter font. But basicstyle=\ttfamily fixed this though I'm not 
totally certain how.


My current problem is how to set the line spacing in the listings to 
singlespace which is set to onehalfspace for the whole document.


I wonder if there is a smarter way than placing /singlespace before each 
listing?


Thanks for your help.

regards, Sven


Re: Splash Screen from 1.5

2009-04-01 Thread Pavel Sanda
Yury Davidouski wrote:
> Is there a way to get the splash screen from 1.5 (with the rabbit) back in 
> 1.6?

either by recompilation of 1.6 and reverting important parts of
http://www.lyx.org/trac/changeset/24148

or more easy in 1.6.3 if this bug is going to be resolved
http://www.lyx.org/trac/ticket/5812

pavel


Re: Line spacing in listings

2009-04-01 Thread Nikos Alexandris

Sven:
> Hi,
> 
> I'm trying to enbed some code into my document by using the 
> subdocument,type=listing way.
> First I was surprised that the text wasn't automatically set to a 
> typewriter font. But basicstyle=\ttfamily fixed this though I'm not 
> totally certain how.
> 
> My current problem is how to set the line spacing in the listings to 
> singlespace which is set to onehalfspace for the whole document.
> 
> I wonder if there is a smarter way than placing /singlespace before each 
> listing?

Sven, I bet the answer is in the listing package documentation [1].
There numerous parameters with which you can do magic :-)

Cheers, Nikos



Re: Line spacing in listings

2009-04-01 Thread Nikos Alexandris
> > I wonder if there is a smarter way than placing /singlespace before each 
> > listing?

> Sven, I bet the answer is in the listing package documentation [1].
> There numerous parameters with which you can do magic :-)

[1] http://www.ctan.org/get/macros/latex/contrib/listings/listings.ins



Re: changing fontsize of quotation environment

2009-04-01 Thread Piero Faustini
Piero Faustini  writes:

> 
> Guenter Milde  writes:
> 
> > > \newcommand*{\OriginalQuotation}{}
> > > \let\OriginalQuotation\quotation
> > > \renewcommand*{\quotation}{\OriginalQuotation\small}
> > 
> > ... and use a command provided by the package relsize for relative size
> > change (as requested by the OP) instead of \small ...
> 
> i.e.: \relsize{-1} and me too I'm happy!!! Thanks all, I needed this. My book 
> seems very professional!
> 
> 

Ok, to be perfect \quote paragraph would just need to reduce paragraph-
separation-vertical-space to a value proportional to the context environment 
(e.g. footnotes), because if not it could be huge in comparison! How to achieve 
this? Not manually, I mean.
But don't get an headache, it's just for the sake of perfection.
Piero





Re: Line spacing in listings

2009-04-01 Thread Sven Grüner

Nikos Alexandris schrieb:
I wonder if there is a smarter way than placing /singlespace before each 
listing?


Sven, I bet the answer is in the listing package documentation [1].
There numerous parameters with which you can do magic :-)


I spent hours with that DOC but was always looking for "spacing". Now I 
took another look and within seconds found lineskip.


The magic in this case was: lineskip={-5pt}

Tanks into the Breisgau!


Re: Underlining of copied text

2009-04-01 Thread Doug Laidlaw
On Thursday 02 April 2009 7:05:53 am john wrote:
> Hubert Christiaen wrote:
> > I made some supplementary text in a separate Lyx window and copied it
> > later in the destination file. All this copied text is underlined in blue
> > in the final file. How do I get rid of that underlining? Or what did I
> > wrong?The underlining is not taken over in the pdf output, it's clearly
> > some editorial
>
> ah ha! This happened to me and took me weeks to find.
>
>
> In my case, the problem was Language.
> My document was british, the insert was english.
> The problem seemed harmless (I don't use spellcheck on technical
> documents).
>
> I fixed it by dashing off a sed command to delete all the \language
> english lines from the LyX file.
> Something like:
> sed '/\language english/d' botched.lyx > good.lyx
>
> John O'Gorman
>
> > mark-up.
> >
> > Sincerely,
> > Hubert

That shows how useful it is to be familiar with the Linux tools.  But 
according to Vincent, you could have fixed it with a menu choice, which is 
easier for most of us.  I have been using Linux for only a few years, since 
there were KDE and GNOME.  I like using the command line, but not for an easy 
fix like that.

Doug.

Doug.



Re: LyX Forum?

2009-04-01 Thread Paul A. Rubin

Rich Shepard wrote:



  More to the point, with a forum you have to go to it and pull then
information to your machine; with a mail list, the information is pushed to
your machine and all you need do is handle it as you wish.



Not necessarily.  I'm subscribed to a few forums via RSS.  Posts are 
pushed to my mail client (Thunderbird).  If I want to reply, though, I 
have to go the forum in a web browser (typically by clicking a link in 
the RSS message) and, if it doesn't remember me, log in.  So posting is 
not as easy as with a mailing list (I get most of my mailing lists as 
news feeds), but (repeating myself) I can usually skim the content of an 
entire thread on one web page in a forum, which is much easier than with 
news feeds.  (I handle this list, for example, essentially by skipping 
all lengthy threads unless the subject line is *really* compelling.)


I wonder if anyone has software that can integrate a forum with an 
existing mail list (or news feed)?


/Paul



Re: 1.6.2 handling of graphics paths changed from 1.6.1.

2009-04-01 Thread Paul A. Rubin

Jason K Howlett wrote:
I have a LyX document that includes graphics in the header, i.e., 
ERT:\lhead{\includegraphics{mypic.eps}}. In LyX 1.6.1 this worked 
perfectly when producing DVI. I recently upgraded to 1.6.2 (on Windows) 
and the graphic no longer is displayed in the DVI. I used the LyX 
mechanism for inserting the graphic in the document body and it shows up 
fine. When I inspect the generated DVI I see the following differences:


For the file in the header with the manual includegraphics: 
PSfile=""C:/Documents and Settings/xx/Desktop/mypaper/"/mypic.eps"
For the file inserted with the LyX dialog: 
PSfile="0C__Documents_and_Settings_xx_Desktop_mypaper_mypic.eps"


I understand the issue with DVI and quoted paths and the need to run 
clean_dvi.py, but I don't understand why this worked fine with 1.6.1 and 
now doesn't with 1.6.2. If I export Latex code and run pplatex on it 
manually the results are just fine. In fact, the resulting DVI doesn't 
have any path information at all. It is just PSfile="mypic.eps".



For comparison, when I use LyX 1.6.1 the DVI has the following:

For the file in the header with the manual includegraphics: 
PSfile="C:/Documents and Settings/xx/Desktop/mypaper//mypic.eps"
For the file inserted with the LyX dialog: 
PSfile="0C__Documents_and_Settings_xx_Desktop_mypaper_mypic.eps"


The quotes are not around the path. Why has this behavior changed and how 
can I work around the problem?




Shooting from the hip (I don't have 1.6.2 yet, and since I'm in the 
middle of a LyX-heavy critical project I'm not going to install it for a 
while), have you tried putting the full path to the graphic file 
(suitably quoted) in the includegraphics command in the header as a 
workaround?


/Paul