Re: Lyx 1.6.4, pdfpages, when clicking on view PDF, either embedded pdfs aren't found or 100% cpu from pdflatex ???

2009-12-08 Thread Jürgen Spitzmüller
Niklas Huldén wrote:
 I can confirm the latter also on OpenSuSE 11.2 (LyX 1.6.4.2). Imbedded 
 pdf:s show up in LyX but compiling the document fails after not finding 
 the pdf-files in the temporary directory. Manually exporting to tex and 
 compiling works.

This has been fixed in 1.6.5.

Jürgen


Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

0.38 seems to have the same bug as 0.37 on my machine: it does not 
copy the images to the html folder anymore.


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5. There is 
nothing in the release notes of elyxer that says it needs 1.6.5 by the 
way. Copying the images worked perfectly well with 1.6.4 up to elyxer 0.36.


Regards,

Olivier



regards Uwe





Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
 Uwe Stöhr wrote:
 0.38 seems to have the same bug as 0.37 on my machine: it does not copy 
 the images to the html folder anymore. Perhaps you should wait for 0.39 ?

The html seems to get copied correctly for me on my test LyX documents; it just
does not get copied for the UserGuide.  But I believe this is because I do not
have write permissions to the UserGuide folder as I am running LyX as a XP
Limited User.






Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
 I've just installed it and images are absent also with 1.6.5. There is 
 nothing in the release notes of elyxer that says it needs 1.6.5 by the 
 way. Copying the images worked perfectly well with 1.6.4 up to elyxer 0.36.

Oops. Please ignore my last post; I just noticed you were referring to moving
images.




Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
 The problem you have is that your system action for python files is to 
 open them in notepad++. I have the same, esp. since I do not have python 
 installed on my machine.
 
 What happens if you add python to the path (the system one, not the lyx 
 one) ?
 
 To go around this issue (which hopefully is fixed in 1.6.5 just 
 released), I set my LyX-HTML converter command to:
 python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o

My solution was to do the Elegant installation and to use:
python -m elyxer --debug --directory $$r $$i $$o

This calls elyxer correctly.  The problem I am now experiencing appears to be a
bug in the processing of my bibtex file.  I have started a bug report at:
http://savannah.nongnu.org/bugs/?28220

Perhaps someone with a better/functioning installation should start a bug report
for the issue where images do not copy correctly.

-Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Ken wrote:
The problem you have is that your system action for python files is to 
open them in notepad++. I have the same, esp. since I do not have python 
installed on my machine.


What happens if you add python to the path (the system one, not the lyx 
one) ?


To go around this issue (which hopefully is fixed in 1.6.5 just 
released), I set my LyX-HTML converter command to:

python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o


My solution was to do the Elegant installation and to use:
python -m elyxer --debug --directory $$r $$i $$o

This calls elyxer correctly.  The problem I am now experiencing appears to be a
bug in the processing of my bibtex file.  I have started a bug report at:
http://savannah.nongnu.org/bugs/?28220


I would strongly advise you to install 1.6.5 if you can. It should have 
a working elyxer integration for machines without python installations. 
And bug-fixes, etc.



Perhaps someone with a better/functioning installation should start a bug report
for the issue where images do not copy correctly.


I have been communicating with email with Alex successfully in the past 
months (image size has not been a bed of roses since 0.34) and it has 
always productive. I'm not really willing to open yet-another bugzilla 
account, if the good-old email works.


Best regards,

Olivier



-Ken






Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Jean-Marc Lasgouttes

Le 07/12/2009 18:38, Abhishek Dasgupta a écrit :

2009/12/7 Abhishek Dasguptaabh...@gmail.com:

Hi,

I started using Lyx yesterday and was typing out some math stuff.
Today, I discovered that typing Alt-M in the math mode no longer
works. So I've got to type the TeX codes manually. All other
keyboard shortcuts work (typesetting, saving document, even
entering the math mode with Ctrl-M). In math mode, the status bar
shows Type: Simple which was not shown before.



It's working now but only when Caps is turned on. Is this expected behaviour?


This is very strange. What is your OS? What is the language of the 
interface?


JMarc


Re: Mac option characters in folder names

2009-12-08 Thread Jean-Marc Lasgouttes

Le 08/12/2009 06:14, humanengr a écrit :

I tracked several recent crashes to use of an option character (such as
opt; for ...) in a folder name.

I don't see any related caveats in the documentation. Should this be
addressed as a feature request or as a note in the documentation?


LyX should not crash anyway. File this as a bug.

JMarc


Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Abhishek Dasgupta
2009/12/8 Jean-Marc Lasgouttes lasgout...@lyx.org:
 Le 07/12/2009 18:38, Abhishek Dasgupta a écrit :

 2009/12/7 Abhishek Dasguptaabh...@gmail.com:

 Hi,

 I started using Lyx yesterday and was typing out some math stuff.
 Today, I discovered that typing Alt-M in the math mode no longer
 works. So I've got to type the TeX codes manually. All other
 keyboard shortcuts work (typesetting, saving document, even
 entering the math mode with Ctrl-M). In math mode, the status bar
 shows Type: Simple which was not shown before.


 It's working now but only when Caps is turned on. Is this expected
 behaviour?

 This is very strange. What is your OS? What is the language of the
 interface?


It's working now without the Caps on as well. I've no idea what had
happened then. I'm using English (UK) interface in Ubuntu 9.10.

Abhishek


LyX + JabRef

2009-12-08 Thread Ken
The release notes for 1.6.5 read:
The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well).

How does one implement this in Windows?  Is this related to a lyxpipe?  If so,
perhaps an update is needed to the end of page
http://wiki.lyx.org/LyX/LyXServer
which reads:
The lyxserver does not work on Windows as it is implemented in a unix-specific
way.


Regards,
Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Alex Fernandez
Hi,

On Tue, Dec 8, 2009 at 11:58 AM, Olivier Ripoll
durocortorum73-gm...@yahoo.fr wrote:
 I have been communicating with email with Alex successfully in the past
 months (image size has not been a bed of roses since 0.34) and it has always
 productive. I'm not really willing to open yet-another bugzilla account, if
 the good-old email works.

Sure, I am aware of the problem now and will start working on it as
soon as possible -- today is a national Holiday here in Spain so I had
an extended weekend afk. No need to track this particular bug.

Alex.


Re: LyX + JabRef

2009-12-08 Thread rgheck

On 12/08/2009 09:35 AM, Ken wrote:

The release notes for 1.6.5 read:
The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well).

   
You have to define the path to the LyX pipe in ToolsPreferencesPaths, 
then let JabRef know where it is, too.



How does one implement this in Windows?  Is this related to a lyxpipe?  If so,
perhaps an update is needed to the end of page
http://wiki.lyx.org/LyX/LyXServer
which reads:
The lyxserver does not work on Windows as it is implemented in a unix-specific
way.

   

This should be changed.

rh



Re: Question integrating elyxer into LyX

2009-12-08 Thread Uwe Stöhr

Olivier Ripoll schrieb:


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5.


You installed LyX 1.6.5 using my Windows installer? If so what exactly doesn't work? You don't see 
images in the HTML when exporting or also when only viewing as HTML? What image types are affected? 
Have you installed Python or not? If yes, what version? (The LyX installer comes with a 
stripped-down Python version so you don't need to have Python installed when you don't like to.) Do 
you have a small example LyX file?


In oder to get it work, can you try to
1. uninstall LyX
2. uninstall eLyXer
3. reinstall LyX 1.6.5

I hope it then works.

There is 
nothing in the release notes of elyxer that says it needs 1.6.5 by the 
way.


There were bugs in the LyX script that copies the images to the correct place when exporting a file 
to HTML. A fixed version of this script is included in LyX 1.6.5 and also in the alternative Windows 
installer version 4.21 that installed LyX 1.6.4.


regards Uwe


Re: Question integrating elyxer into LyX

2009-12-08 Thread Uwe Stöhr

Ken schrieb:


The html seems to get copied correctly for me on my test LyX documents; it just
does not get copied for the UserGuide.  But I believe this is because I do not
have write permissions to the UserGuide folder as I am running LyX as a XP
Limited User.


Yes, in this case the images cannot be copied. But you can copy the UserGuide and the images and 
clipart folder to a folder where you have write permissions. Then it should work.


regards Uwe


Re: LyX + JabRef

2009-12-08 Thread Jürgen Spitzmüller
Ken wrote:

 The release comes with many fixes and improvements. A number of newly
 reported crashes were fixed, new layouts and modules were included and
 some long-standing requests were implemented (e.g., a working LyX
 server on the Windows OS, finally enabling the communication with other
 applications such as JabRef on this platform as well).
 
 How does one implement this in Windows?  Is this related to a lyxpipe?

Yes. The process is described in chapter 4 of the Help  Additional 
Features.

Feel free to ask on the list if the explanations are unclear or do not work.

Jürgen



Re: LyX + JabRef

2009-12-08 Thread Ken
 You have to define the path to the LyX pipe in ToolsPreferencesPaths, 
 then let JabRef know where it is, too.

I set the LyXserver pipe to:
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

However, when I restart LyX with debugging I get the error message:

Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.

LyXComm: Closing connection



Do I need to create a file or do more than simply define the path?

Thanks,
Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5.


You installed LyX 1.6.5 using my Windows installer?
yes. I unsinstalled my 1.6.4 (including prefs) and installed 1.6.5. Then 
I re-customised it in my user profile (layout modules, icons, Maxima in 
math context menu, default template).



If so what exactly doesn't work?
When exporting to HTML, the HTML is produced in the subfolder of the 
folder where the lyx file and related data stands. Up to elyxer 0.36 (I 
test every elyxer version, and sometimes even pre-versions), the images 
needed by the HTMl were also copied in that folder. Not any more.


You don't see images in the HTML when exporting or also 
when only viewing as HTML? What image types are affected?


I only use PNG (screenshots) and pdf (vectorial). Both are affected (of 
course, pdf used to be converted to PNG for HTML).

Same for exporting and viewing.


Have you installed Python or not?


No. With LyX 1.6.x, x5, I had to copy elyxer to LyX resources script 
folder, and I used a custom call for elyxer (you can see the command up 
in the thread). With 1.6.5, that step is not needed (thanks to you and 
Alex for that by the way). So I do not have any standalone elyxer 
version nor python.


If yes, what version? (The LyX installer comes 
with a stripped-down Python version so you don't need to have Python 
installed when you don't like to.) Do you have a small example LyX file?


I attach one of the simple test cases I used in the past when discussing 
with Alex.



In oder to get it work, can you try to
1. uninstall LyX
2. uninstall eLyXer
3. reinstall LyX 1.6.5

I hope it then works.


As I never installed eLyXer, that's how I installed 1.6.5: uninstalled 
1.6.4, installed 1.6.5


There is nothing in the release notes of elyxer that says it needs 
1.6.5 by the way.


There were bugs in the LyX script that copies the images to the correct 
place when exporting a file to HTML. A fixed version of this script is 
included in LyX 1.6.5 and also in the alternative Windows installer 
version 4.21 that installed LyX 1.6.4.


As I said, I used elyxer from Alex directly in 1.6.4 and it copied the 
images fine up to 2 versions ago.



regards Uwe


Regards,

Olivier



subfloat html example.lyx
Description: application/lyx
inline: lyx.png

Re: LyX + JabRef

2009-12-08 Thread Ken
Jürgen Spitzmüller sp...@... writes:

 
 Ken wrote:
 
  The release comes with many fixes and improvements. A number of newly
  reported crashes were fixed, new layouts and modules were included and
  some long-standing requests were implemented (e.g., a working LyX
  server on the Windows OS, finally enabling the communication with other
  applications such as JabRef on this platform as well).
  
  How does one implement this in Windows?  Is this related to a lyxpipe?
 
 Yes. The process is described in chapter 4 of the Help  Additional 
 Features.

Hi. Thanks for the reply.  I looked at the Additional Features, Section 4.2, 4.2
Starting the LyX Server.  I am confused by whether in the path, in my case
something like
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
the final lyxpipe reference is to a folder or a file?

I created an empty folder
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
and defined the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
but when I ran LyX received the debug messages:
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

I then tried naming the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe\lyxpipe
but the error was
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Any suggestions on where I might be going wrong?

Thanks,
Ken



Predefined options

2009-12-08 Thread Ehud Kaplan
What causes a checkmark to appear in the Predefined checkbox in Document 
Class?
I have no predefined options, as far as I can tell, and it only appears 
in some files but not in others.

EK



Re: Predefined options

2009-12-08 Thread Uwe Stöhr

Ehud Kaplan schrieb:

What causes a checkmark to appear in the Predefined checkbox in Document 
Class?


This appears when the document class layout file uses dome document class 
options by default.

regards Uwe


Re: LyX + JabRef

2009-12-08 Thread Pavel Sanda
Ken wrote:
 LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
 Data\lyx16\lyxpipe\lyxpipe.in
 LyXComm: The filename, directory name, or volume label syntax is incorrect.
 LyXComm: Closing connection
 
 Any suggestions on where I might be going wrong?

just shooting in the dark, what if you specify the path without space?
pavek


Re: LyX + JabRef

2009-12-08 Thread rgheck

On 12/08/2009 12:38 PM, Ken wrote:

Jürgen Spitzmüllersp...@...  writes:

   

Ken wrote:

 

The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well).

How does one implement this in Windows?  Is this related to a lyxpipe?
   

Yes. The process is described in chapter 4 of the Help  Additional
Features.
 

Hi. Thanks for the reply.  I looked at the Additional Features, Section 4.2, 4.2
Starting the LyX Server.  I am confused by whether in the path, in my case
something like
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
the final lyxpipe reference is to a folder or a file?

I created an empty folder
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
and defined the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

   
You don't need (or want) to create the folder. LyX wants to create two 
files: lyxpipe.in and lyxpipe.out. What you're telling LyX is the full 
pathname, minus the extensions.


Still


but when I ran LyX received the debug messages:
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

I then tried naming the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe\lyxpipe
but the error was
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

   
that shouldn't have prevented the creation of the pipes. As Pavel 
suggested, try using something with no space. Maybe just c:\lyxpipe


rh



Re: LyX + JabRef

2009-12-08 Thread Ken
Pavel Sanda sa...@... writes:

 
 Ken wrote:
  LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
  Data\lyx16\lyxpipe\lyxpipe.in
  LyXComm: The filename, directory name, or volume label syntax is incorrect.
  LyXComm: Closing connection
  
  Any suggestions on where I might be going wrong?
 
 just shooting in the dark, what if you specify the path without space?
 pavek
 
 

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited Windows XP user).
In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the LyX 
server?

Thanks,
Ken





LyX Server on XP?

2009-12-08 Thread rgheck

On 12/08/2009 02:26 PM, Ken wrote:

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited Windows XP user).
In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the LyX 
server?

   
No, we're both on Linux. But Vincent uses Windows (at least some of the 
time), so maybe he can check this out.


rh



Re: Question integrating elyxer into LyX

2009-12-08 Thread Alex Fernandez
On Tue, Dec 8, 2009 at 5:33 PM, Uwe Stöhr uwesto...@web.de wrote:
 The html seems to get copied correctly for me on my test LyX documents; it
 just
 does not get copied for the UserGuide.  But I believe this is because I do
 not
 have write permissions to the UserGuide folder as I am running LyX as a XP
 Limited User.

 Yes, in this case the images cannot be copied. But you can copy the
 UserGuide and the images and clipart folder to a folder where you have write
 permissions. Then it should work.

With the images there is an additional problem, as Olivier has
explained very well: eLyXer 0.37+ does not copy PNG images. I have to
study the problem more carefully, since usually you don't want eLyXer
to rescale them, just use them from the original location -- but
sometimes you do want a rescale. I will try to solve this issue for
0.39.

Alex.


Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Jean-Marc Lasgouttes

It's working now without the Caps on as well. I've no idea what had
happened then. I'm using English (UK) interface in Ubuntu 9.10.


Fine, then.

JMarc


eLyXer status update

2009-12-08 Thread Alex Fernandez
Hi folks,

eLyXer is a LyX-to-HTML direct converter that can be used from within
LyX. It came out of my own needs to publish both to PDF and HTML
formats; LyX looked like a great fit for PDF but HTML export was
rather poor. Thanks to the support of many LyX developers I published
it for others to use; and unlike other similar tools it is actively
maintained and getting better all the time.

You have probably not heard from eLyXer for a long time (or at all)
unless you are subscribed to the lyx-devel list. Well, in this
interval it has improved a lot, as you can see in the change log for
0.38 (just released):
  http://www.nongnu.org/elyxer/changelog.html
It translates correctly most documents, even those with symbols and
equations, and produces acceptable output for most uses. The official
LyX documentation (User Guide, Math Guide and Embedded Objects Guide)
can be converted with minimal loss of format and content. The future
roadmap has a lot of interesting milestones like splitting the output
by chapters or sections, or full conversion of the LyX documentation.

If you want to try it out and you are on Debian testing you have it
easy: eLyXer is just an
  # apt-get install elyxer
away. On Windows you can try the alternate installer, which has just
been published recently for 1.6.5:
  http://wiki.lyx.org/Windows/LyXWinInstaller
It includes the latest version of eLyXer. On a different platform, or
just to try out a particular version, just download it from the
project download area:
  https://savannah.nongnu.org/files/?group=elyxer
and follow the instructions on the user guide:
  http://www.nongnu.org/elyxer/userguide.html#toc-Subsection-1.2

If you have a document which comes out all wrong please send it my
way, either confidentially or lorem-ipsumized; I will do my best to
make it work. Also send bug reports, feature requests and whatever
crosses your mind. Thanks to you eLyXer is improving outside my
(rather narrow) needs.

Thanks,

Alex Fernández.


Re: Printing book on two-sided document

2009-12-08 Thread John Kane


--- On Sun, 12/6/09, Jürgen Spitzmüller sp...@lyx.org wrote:

 From: Jürgen Spitzmüller sp...@lyx.org
 Subject: Re: Printing book on two-sided document
 To: lyx-users@lists.lyx.org
 Received: Sunday, December 6, 2009, 8:33 AM
 Luca Carlon wrote:
  Hi! Tomorrow I will have to print my final thesis, and
 I'll have it 
  binded. So, I checked in LyX the two-sided document
 checkbox, to have 
  it on the two sides to create the book, but I noticed
 something strange. 
  I suppose this is not LyX related, but I don't know:
 the created 
  document is, of course, different when the page is on
 the right side or 
  on the left side, but I noticed as well that the
 column is not centered, 
  and that the wider free space is on the side of the
 page that will be 
  binded. I mean, if the page is a right page, the wider
 free space is on 
  the right, and the column with the text is moved a
 little on the left. 
  Isn't this strange? Shouldn't the wider free space of
 the page be on the 
  side of the page that is going to be bided? Is this
 correct or maybe 
  I've done something wrong?
 
 It's correct. Remember that the inner space in double-side
 layout is the *sum* 
 of both the inner margin of the left and the right page, so
 the inner margin 
 of each individual page has to be narrower than the outer
 margin.
 
 Jürgen


Of course!  That has been bugging me for a long time and the explanation is so 
obvious!  Thanks



  __
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. 
Optimized for Yahoo! Get it Now for Free! at 
http://downloads.yahoo.com/ca/internetexplorer/


How to remove the path prefix before image files?

2009-12-08 Thread Yihui Xie
Hi,

When we insert a graph into a Lyx document, say, test.pdf, and compile
the lyx document using pdfLaTeX, Lyx will first copy the graph to a
temporary directory and change the file name by adding a path prefix
before the original file name, e.g. 0E_user_document_test.pdf
(original file is under E:/user/document/). My question is, how to let
Lyx copy the file without changing its name? Thanks!

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA


Re: How to remove the path prefix before image files?

2009-12-08 Thread Vincent van Ravesteijn

Yihui Xie schreef:

Hi,

When we insert a graph into a Lyx document, say, test.pdf, and compile
the lyx document using pdfLaTeX, Lyx will first copy the graph to a
temporary directory and change the file name by adding a path prefix
before the original file name, e.g. 0E_user_document_test.pdf
(original file is under E:/user/document/). My question is, how to let
Lyx copy the file without changing its name? Thanks!

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
  

that's not possible I guess.

Why do you want that ?

Vincent


Re: LyX Server on XP?

2009-12-08 Thread Vincent van Ravesteijn

rgheck schreef:

On 12/08/2009 02:26 PM, Ken wrote:

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited 
Windows XP user).

In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is 
incorrect.

LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the 
LyX server?


   
No, we're both on Linux. But Vincent uses Windows (at least some of 
the time), so maybe he can check this out.


rh


I guess it should work if you use \\.\pipe\lyxpipe as the LyXServer pipe.

Vincent


Re: How to remove the path prefix before image files?

2009-12-08 Thread Yihui Xie
well, because what I'm writing is a dynamic document (with literate
programming); I have some code in the Lyx document which can produce
PDF graphs with fixed names, and I can choose to run the code or not
to run. In order to save time, I choose not to reproduce the figures
(i.e. not to run the code), but just insert static figures there whose
file names are the same as what the figures produced by my code.
However, other uses might want to modify my code and compile the whole
document again. In this case, I hope the file names can be kept the
same so that LaTeX can receive new figures produced by the code.

Regards,
Yihui


On Tue, Dec 8, 2009 at 6:57 PM, Vincent van Ravesteijn
v.f.vanraveste...@tudelft.nl wrote:
 Yihui Xie schreef:

 Hi,

 When we insert a graph into a Lyx document, say, test.pdf, and compile
 the lyx document using pdfLaTeX, Lyx will first copy the graph to a
 temporary directory and change the file name by adding a path prefix
 before the original file name, e.g. 0E_user_document_test.pdf
 (original file is under E:/user/document/). My question is, how to let
 Lyx copy the file without changing its name? Thanks!

 Regards,
 Yihui
 --
 Yihui Xie xieyi...@gmail.com
 Phone: 515-294-6609 Web: http://yihui.name
 Department of Statistics, Iowa State University
 3211 Snedecor Hall, Ames, IA


 that's not possible I guess.

 Why do you want that ?

 Vincent



Re: LyX + JabRef

2009-12-08 Thread Enrico Forestieri
Ken writes:

 I set the LyXserver pipe to:
 C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

This does not work on Windows. As explained in a footnote in Section 4.2
of the Additional Features manual, on Windows, local named pipes are special
objects located in \\.\pipe. Maybe this info should be made more explicit.
So, any of the following paths will work:

\\.\pipe\lyxpipe
\\.\pipe\something\thelyxpipe
\\.\pipe\first dir\second dir\mypipe
\\.\pipe\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

I think you now get the idea.

-- 
Enrico



Re: Lyx 1.6.4, pdfpages, when clicking on view PDF, either embedded pdfs aren't found or 100% cpu from pdflatex ???

2009-12-08 Thread Jürgen Spitzmüller
Niklas Huldén wrote:
 I can confirm the latter also on OpenSuSE 11.2 (LyX 1.6.4.2). Imbedded 
 pdf:s show up in LyX but compiling the document fails after not finding 
 the pdf-files in the temporary directory. Manually exporting to tex and 
 compiling works.

This has been fixed in 1.6.5.

Jürgen


Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

0.38 seems to have the same bug as 0.37 on my machine: it does not 
copy the images to the html folder anymore.


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5. There is 
nothing in the release notes of elyxer that says it needs 1.6.5 by the 
way. Copying the images worked perfectly well with 1.6.4 up to elyxer 0.36.


Regards,

Olivier



regards Uwe





Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
 Uwe Stöhr wrote:
 0.38 seems to have the same bug as 0.37 on my machine: it does not copy 
 the images to the html folder anymore. Perhaps you should wait for 0.39 ?

The html seems to get copied correctly for me on my test LyX documents; it just
does not get copied for the UserGuide.  But I believe this is because I do not
have write permissions to the UserGuide folder as I am running LyX as a XP
Limited User.






Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
 I've just installed it and images are absent also with 1.6.5. There is 
 nothing in the release notes of elyxer that says it needs 1.6.5 by the 
 way. Copying the images worked perfectly well with 1.6.4 up to elyxer 0.36.

Oops. Please ignore my last post; I just noticed you were referring to moving
images.




Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
 The problem you have is that your system action for python files is to 
 open them in notepad++. I have the same, esp. since I do not have python 
 installed on my machine.
 
 What happens if you add python to the path (the system one, not the lyx 
 one) ?
 
 To go around this issue (which hopefully is fixed in 1.6.5 just 
 released), I set my LyX-HTML converter command to:
 python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o

My solution was to do the Elegant installation and to use:
python -m elyxer --debug --directory $$r $$i $$o

This calls elyxer correctly.  The problem I am now experiencing appears to be a
bug in the processing of my bibtex file.  I have started a bug report at:
http://savannah.nongnu.org/bugs/?28220

Perhaps someone with a better/functioning installation should start a bug report
for the issue where images do not copy correctly.

-Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Ken wrote:
The problem you have is that your system action for python files is to 
open them in notepad++. I have the same, esp. since I do not have python 
installed on my machine.


What happens if you add python to the path (the system one, not the lyx 
one) ?


To go around this issue (which hopefully is fixed in 1.6.5 just 
released), I set my LyX-HTML converter command to:

python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o


My solution was to do the Elegant installation and to use:
python -m elyxer --debug --directory $$r $$i $$o

This calls elyxer correctly.  The problem I am now experiencing appears to be a
bug in the processing of my bibtex file.  I have started a bug report at:
http://savannah.nongnu.org/bugs/?28220


I would strongly advise you to install 1.6.5 if you can. It should have 
a working elyxer integration for machines without python installations. 
And bug-fixes, etc.



Perhaps someone with a better/functioning installation should start a bug report
for the issue where images do not copy correctly.


I have been communicating with email with Alex successfully in the past 
months (image size has not been a bed of roses since 0.34) and it has 
always productive. I'm not really willing to open yet-another bugzilla 
account, if the good-old email works.


Best regards,

Olivier



-Ken






Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Jean-Marc Lasgouttes

Le 07/12/2009 18:38, Abhishek Dasgupta a écrit :

2009/12/7 Abhishek Dasguptaabh...@gmail.com:

Hi,

I started using Lyx yesterday and was typing out some math stuff.
Today, I discovered that typing Alt-M in the math mode no longer
works. So I've got to type the TeX codes manually. All other
keyboard shortcuts work (typesetting, saving document, even
entering the math mode with Ctrl-M). In math mode, the status bar
shows Type: Simple which was not shown before.



It's working now but only when Caps is turned on. Is this expected behaviour?


This is very strange. What is your OS? What is the language of the 
interface?


JMarc


Re: Mac option characters in folder names

2009-12-08 Thread Jean-Marc Lasgouttes

Le 08/12/2009 06:14, humanengr a écrit :

I tracked several recent crashes to use of an option character (such as
opt; for ...) in a folder name.

I don't see any related caveats in the documentation. Should this be
addressed as a feature request or as a note in the documentation?


LyX should not crash anyway. File this as a bug.

JMarc


Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Abhishek Dasgupta
2009/12/8 Jean-Marc Lasgouttes lasgout...@lyx.org:
 Le 07/12/2009 18:38, Abhishek Dasgupta a écrit :

 2009/12/7 Abhishek Dasguptaabh...@gmail.com:

 Hi,

 I started using Lyx yesterday and was typing out some math stuff.
 Today, I discovered that typing Alt-M in the math mode no longer
 works. So I've got to type the TeX codes manually. All other
 keyboard shortcuts work (typesetting, saving document, even
 entering the math mode with Ctrl-M). In math mode, the status bar
 shows Type: Simple which was not shown before.


 It's working now but only when Caps is turned on. Is this expected
 behaviour?

 This is very strange. What is your OS? What is the language of the
 interface?


It's working now without the Caps on as well. I've no idea what had
happened then. I'm using English (UK) interface in Ubuntu 9.10.

Abhishek


LyX + JabRef

2009-12-08 Thread Ken
The release notes for 1.6.5 read:
The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well).

How does one implement this in Windows?  Is this related to a lyxpipe?  If so,
perhaps an update is needed to the end of page
http://wiki.lyx.org/LyX/LyXServer
which reads:
The lyxserver does not work on Windows as it is implemented in a unix-specific
way.


Regards,
Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Alex Fernandez
Hi,

On Tue, Dec 8, 2009 at 11:58 AM, Olivier Ripoll
durocortorum73-gm...@yahoo.fr wrote:
 I have been communicating with email with Alex successfully in the past
 months (image size has not been a bed of roses since 0.34) and it has always
 productive. I'm not really willing to open yet-another bugzilla account, if
 the good-old email works.

Sure, I am aware of the problem now and will start working on it as
soon as possible -- today is a national Holiday here in Spain so I had
an extended weekend afk. No need to track this particular bug.

Alex.


Re: LyX + JabRef

2009-12-08 Thread rgheck

On 12/08/2009 09:35 AM, Ken wrote:

The release notes for 1.6.5 read:
The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well).

   
You have to define the path to the LyX pipe in ToolsPreferencesPaths, 
then let JabRef know where it is, too.



How does one implement this in Windows?  Is this related to a lyxpipe?  If so,
perhaps an update is needed to the end of page
http://wiki.lyx.org/LyX/LyXServer
which reads:
The lyxserver does not work on Windows as it is implemented in a unix-specific
way.

   

This should be changed.

rh



Re: Question integrating elyxer into LyX

2009-12-08 Thread Uwe Stöhr

Olivier Ripoll schrieb:


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5.


You installed LyX 1.6.5 using my Windows installer? If so what exactly doesn't work? You don't see 
images in the HTML when exporting or also when only viewing as HTML? What image types are affected? 
Have you installed Python or not? If yes, what version? (The LyX installer comes with a 
stripped-down Python version so you don't need to have Python installed when you don't like to.) Do 
you have a small example LyX file?


In oder to get it work, can you try to
1. uninstall LyX
2. uninstall eLyXer
3. reinstall LyX 1.6.5

I hope it then works.

There is 
nothing in the release notes of elyxer that says it needs 1.6.5 by the 
way.


There were bugs in the LyX script that copies the images to the correct place when exporting a file 
to HTML. A fixed version of this script is included in LyX 1.6.5 and also in the alternative Windows 
installer version 4.21 that installed LyX 1.6.4.


regards Uwe


Re: Question integrating elyxer into LyX

2009-12-08 Thread Uwe Stöhr

Ken schrieb:


The html seems to get copied correctly for me on my test LyX documents; it just
does not get copied for the UserGuide.  But I believe this is because I do not
have write permissions to the UserGuide folder as I am running LyX as a XP
Limited User.


Yes, in this case the images cannot be copied. But you can copy the UserGuide and the images and 
clipart folder to a folder where you have write permissions. Then it should work.


regards Uwe


Re: LyX + JabRef

2009-12-08 Thread Jürgen Spitzmüller
Ken wrote:

 The release comes with many fixes and improvements. A number of newly
 reported crashes were fixed, new layouts and modules were included and
 some long-standing requests were implemented (e.g., a working LyX
 server on the Windows OS, finally enabling the communication with other
 applications such as JabRef on this platform as well).
 
 How does one implement this in Windows?  Is this related to a lyxpipe?

Yes. The process is described in chapter 4 of the Help  Additional 
Features.

Feel free to ask on the list if the explanations are unclear or do not work.

Jürgen



Re: LyX + JabRef

2009-12-08 Thread Ken
 You have to define the path to the LyX pipe in ToolsPreferencesPaths, 
 then let JabRef know where it is, too.

I set the LyXserver pipe to:
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

However, when I restart LyX with debugging I get the error message:

Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.

LyXComm: Closing connection



Do I need to create a file or do more than simply define the path?

Thanks,
Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5.


You installed LyX 1.6.5 using my Windows installer?
yes. I unsinstalled my 1.6.4 (including prefs) and installed 1.6.5. Then 
I re-customised it in my user profile (layout modules, icons, Maxima in 
math context menu, default template).



If so what exactly doesn't work?
When exporting to HTML, the HTML is produced in the subfolder of the 
folder where the lyx file and related data stands. Up to elyxer 0.36 (I 
test every elyxer version, and sometimes even pre-versions), the images 
needed by the HTMl were also copied in that folder. Not any more.


You don't see images in the HTML when exporting or also 
when only viewing as HTML? What image types are affected?


I only use PNG (screenshots) and pdf (vectorial). Both are affected (of 
course, pdf used to be converted to PNG for HTML).

Same for exporting and viewing.


Have you installed Python or not?


No. With LyX 1.6.x, x5, I had to copy elyxer to LyX resources script 
folder, and I used a custom call for elyxer (you can see the command up 
in the thread). With 1.6.5, that step is not needed (thanks to you and 
Alex for that by the way). So I do not have any standalone elyxer 
version nor python.


If yes, what version? (The LyX installer comes 
with a stripped-down Python version so you don't need to have Python 
installed when you don't like to.) Do you have a small example LyX file?


I attach one of the simple test cases I used in the past when discussing 
with Alex.



In oder to get it work, can you try to
1. uninstall LyX
2. uninstall eLyXer
3. reinstall LyX 1.6.5

I hope it then works.


As I never installed eLyXer, that's how I installed 1.6.5: uninstalled 
1.6.4, installed 1.6.5


There is nothing in the release notes of elyxer that says it needs 
1.6.5 by the way.


There were bugs in the LyX script that copies the images to the correct 
place when exporting a file to HTML. A fixed version of this script is 
included in LyX 1.6.5 and also in the alternative Windows installer 
version 4.21 that installed LyX 1.6.4.


As I said, I used elyxer from Alex directly in 1.6.4 and it copied the 
images fine up to 2 versions ago.



regards Uwe


Regards,

Olivier



subfloat html example.lyx
Description: application/lyx
inline: lyx.png

Re: LyX + JabRef

2009-12-08 Thread Ken
Jürgen Spitzmüller sp...@... writes:

 
 Ken wrote:
 
  The release comes with many fixes and improvements. A number of newly
  reported crashes were fixed, new layouts and modules were included and
  some long-standing requests were implemented (e.g., a working LyX
  server on the Windows OS, finally enabling the communication with other
  applications such as JabRef on this platform as well).
  
  How does one implement this in Windows?  Is this related to a lyxpipe?
 
 Yes. The process is described in chapter 4 of the Help  Additional 
 Features.

Hi. Thanks for the reply.  I looked at the Additional Features, Section 4.2, 4.2
Starting the LyX Server.  I am confused by whether in the path, in my case
something like
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
the final lyxpipe reference is to a folder or a file?

I created an empty folder
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
and defined the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
but when I ran LyX received the debug messages:
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

I then tried naming the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe\lyxpipe
but the error was
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Any suggestions on where I might be going wrong?

Thanks,
Ken



Predefined options

2009-12-08 Thread Ehud Kaplan
What causes a checkmark to appear in the Predefined checkbox in Document 
Class?
I have no predefined options, as far as I can tell, and it only appears 
in some files but not in others.

EK



Re: Predefined options

2009-12-08 Thread Uwe Stöhr

Ehud Kaplan schrieb:

What causes a checkmark to appear in the Predefined checkbox in Document 
Class?


This appears when the document class layout file uses dome document class 
options by default.

regards Uwe


Re: LyX + JabRef

2009-12-08 Thread Pavel Sanda
Ken wrote:
 LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
 Data\lyx16\lyxpipe\lyxpipe.in
 LyXComm: The filename, directory name, or volume label syntax is incorrect.
 LyXComm: Closing connection
 
 Any suggestions on where I might be going wrong?

just shooting in the dark, what if you specify the path without space?
pavek


Re: LyX + JabRef

2009-12-08 Thread rgheck

On 12/08/2009 12:38 PM, Ken wrote:

Jürgen Spitzmüllersp...@...  writes:

   

Ken wrote:

 

The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well).

How does one implement this in Windows?  Is this related to a lyxpipe?
   

Yes. The process is described in chapter 4 of the Help  Additional
Features.
 

Hi. Thanks for the reply.  I looked at the Additional Features, Section 4.2, 4.2
Starting the LyX Server.  I am confused by whether in the path, in my case
something like
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
the final lyxpipe reference is to a folder or a file?

I created an empty folder
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
and defined the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

   
You don't need (or want) to create the folder. LyX wants to create two 
files: lyxpipe.in and lyxpipe.out. What you're telling LyX is the full 
pathname, minus the extensions.


Still


but when I ran LyX received the debug messages:
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

I then tried naming the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe\lyxpipe
but the error was
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

   
that shouldn't have prevented the creation of the pipes. As Pavel 
suggested, try using something with no space. Maybe just c:\lyxpipe


rh



Re: LyX + JabRef

2009-12-08 Thread Ken
Pavel Sanda sa...@... writes:

 
 Ken wrote:
  LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
  Data\lyx16\lyxpipe\lyxpipe.in
  LyXComm: The filename, directory name, or volume label syntax is incorrect.
  LyXComm: Closing connection
  
  Any suggestions on where I might be going wrong?
 
 just shooting in the dark, what if you specify the path without space?
 pavek
 
 

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited Windows XP user).
In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the LyX 
server?

Thanks,
Ken





LyX Server on XP?

2009-12-08 Thread rgheck

On 12/08/2009 02:26 PM, Ken wrote:

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited Windows XP user).
In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the LyX 
server?

   
No, we're both on Linux. But Vincent uses Windows (at least some of the 
time), so maybe he can check this out.


rh



Re: Question integrating elyxer into LyX

2009-12-08 Thread Alex Fernandez
On Tue, Dec 8, 2009 at 5:33 PM, Uwe Stöhr uwesto...@web.de wrote:
 The html seems to get copied correctly for me on my test LyX documents; it
 just
 does not get copied for the UserGuide.  But I believe this is because I do
 not
 have write permissions to the UserGuide folder as I am running LyX as a XP
 Limited User.

 Yes, in this case the images cannot be copied. But you can copy the
 UserGuide and the images and clipart folder to a folder where you have write
 permissions. Then it should work.

With the images there is an additional problem, as Olivier has
explained very well: eLyXer 0.37+ does not copy PNG images. I have to
study the problem more carefully, since usually you don't want eLyXer
to rescale them, just use them from the original location -- but
sometimes you do want a rescale. I will try to solve this issue for
0.39.

Alex.


Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Jean-Marc Lasgouttes

It's working now without the Caps on as well. I've no idea what had
happened then. I'm using English (UK) interface in Ubuntu 9.10.


Fine, then.

JMarc


eLyXer status update

2009-12-08 Thread Alex Fernandez
Hi folks,

eLyXer is a LyX-to-HTML direct converter that can be used from within
LyX. It came out of my own needs to publish both to PDF and HTML
formats; LyX looked like a great fit for PDF but HTML export was
rather poor. Thanks to the support of many LyX developers I published
it for others to use; and unlike other similar tools it is actively
maintained and getting better all the time.

You have probably not heard from eLyXer for a long time (or at all)
unless you are subscribed to the lyx-devel list. Well, in this
interval it has improved a lot, as you can see in the change log for
0.38 (just released):
  http://www.nongnu.org/elyxer/changelog.html
It translates correctly most documents, even those with symbols and
equations, and produces acceptable output for most uses. The official
LyX documentation (User Guide, Math Guide and Embedded Objects Guide)
can be converted with minimal loss of format and content. The future
roadmap has a lot of interesting milestones like splitting the output
by chapters or sections, or full conversion of the LyX documentation.

If you want to try it out and you are on Debian testing you have it
easy: eLyXer is just an
  # apt-get install elyxer
away. On Windows you can try the alternate installer, which has just
been published recently for 1.6.5:
  http://wiki.lyx.org/Windows/LyXWinInstaller
It includes the latest version of eLyXer. On a different platform, or
just to try out a particular version, just download it from the
project download area:
  https://savannah.nongnu.org/files/?group=elyxer
and follow the instructions on the user guide:
  http://www.nongnu.org/elyxer/userguide.html#toc-Subsection-1.2

If you have a document which comes out all wrong please send it my
way, either confidentially or lorem-ipsumized; I will do my best to
make it work. Also send bug reports, feature requests and whatever
crosses your mind. Thanks to you eLyXer is improving outside my
(rather narrow) needs.

Thanks,

Alex Fernández.


Re: Printing book on two-sided document

2009-12-08 Thread John Kane


--- On Sun, 12/6/09, Jürgen Spitzmüller sp...@lyx.org wrote:

 From: Jürgen Spitzmüller sp...@lyx.org
 Subject: Re: Printing book on two-sided document
 To: lyx-users@lists.lyx.org
 Received: Sunday, December 6, 2009, 8:33 AM
 Luca Carlon wrote:
  Hi! Tomorrow I will have to print my final thesis, and
 I'll have it 
  binded. So, I checked in LyX the two-sided document
 checkbox, to have 
  it on the two sides to create the book, but I noticed
 something strange. 
  I suppose this is not LyX related, but I don't know:
 the created 
  document is, of course, different when the page is on
 the right side or 
  on the left side, but I noticed as well that the
 column is not centered, 
  and that the wider free space is on the side of the
 page that will be 
  binded. I mean, if the page is a right page, the wider
 free space is on 
  the right, and the column with the text is moved a
 little on the left. 
  Isn't this strange? Shouldn't the wider free space of
 the page be on the 
  side of the page that is going to be bided? Is this
 correct or maybe 
  I've done something wrong?
 
 It's correct. Remember that the inner space in double-side
 layout is the *sum* 
 of both the inner margin of the left and the right page, so
 the inner margin 
 of each individual page has to be narrower than the outer
 margin.
 
 Jürgen


Of course!  That has been bugging me for a long time and the explanation is so 
obvious!  Thanks



  __
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. 
Optimized for Yahoo! Get it Now for Free! at 
http://downloads.yahoo.com/ca/internetexplorer/


How to remove the path prefix before image files?

2009-12-08 Thread Yihui Xie
Hi,

When we insert a graph into a Lyx document, say, test.pdf, and compile
the lyx document using pdfLaTeX, Lyx will first copy the graph to a
temporary directory and change the file name by adding a path prefix
before the original file name, e.g. 0E_user_document_test.pdf
(original file is under E:/user/document/). My question is, how to let
Lyx copy the file without changing its name? Thanks!

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA


Re: How to remove the path prefix before image files?

2009-12-08 Thread Vincent van Ravesteijn

Yihui Xie schreef:

Hi,

When we insert a graph into a Lyx document, say, test.pdf, and compile
the lyx document using pdfLaTeX, Lyx will first copy the graph to a
temporary directory and change the file name by adding a path prefix
before the original file name, e.g. 0E_user_document_test.pdf
(original file is under E:/user/document/). My question is, how to let
Lyx copy the file without changing its name? Thanks!

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
  

that's not possible I guess.

Why do you want that ?

Vincent


Re: LyX Server on XP?

2009-12-08 Thread Vincent van Ravesteijn

rgheck schreef:

On 12/08/2009 02:26 PM, Ken wrote:

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited 
Windows XP user).

In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is 
incorrect.

LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the 
LyX server?


   
No, we're both on Linux. But Vincent uses Windows (at least some of 
the time), so maybe he can check this out.


rh


I guess it should work if you use \\.\pipe\lyxpipe as the LyXServer pipe.

Vincent


Re: How to remove the path prefix before image files?

2009-12-08 Thread Yihui Xie
well, because what I'm writing is a dynamic document (with literate
programming); I have some code in the Lyx document which can produce
PDF graphs with fixed names, and I can choose to run the code or not
to run. In order to save time, I choose not to reproduce the figures
(i.e. not to run the code), but just insert static figures there whose
file names are the same as what the figures produced by my code.
However, other uses might want to modify my code and compile the whole
document again. In this case, I hope the file names can be kept the
same so that LaTeX can receive new figures produced by the code.

Regards,
Yihui


On Tue, Dec 8, 2009 at 6:57 PM, Vincent van Ravesteijn
v.f.vanraveste...@tudelft.nl wrote:
 Yihui Xie schreef:

 Hi,

 When we insert a graph into a Lyx document, say, test.pdf, and compile
 the lyx document using pdfLaTeX, Lyx will first copy the graph to a
 temporary directory and change the file name by adding a path prefix
 before the original file name, e.g. 0E_user_document_test.pdf
 (original file is under E:/user/document/). My question is, how to let
 Lyx copy the file without changing its name? Thanks!

 Regards,
 Yihui
 --
 Yihui Xie xieyi...@gmail.com
 Phone: 515-294-6609 Web: http://yihui.name
 Department of Statistics, Iowa State University
 3211 Snedecor Hall, Ames, IA


 that's not possible I guess.

 Why do you want that ?

 Vincent



Re: LyX + JabRef

2009-12-08 Thread Enrico Forestieri
Ken writes:

 I set the LyXserver pipe to:
 C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

This does not work on Windows. As explained in a footnote in Section 4.2
of the Additional Features manual, on Windows, local named pipes are special
objects located in \\.\pipe. Maybe this info should be made more explicit.
So, any of the following paths will work:

\\.\pipe\lyxpipe
\\.\pipe\something\thelyxpipe
\\.\pipe\first dir\second dir\mypipe
\\.\pipe\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

I think you now get the idea.

-- 
Enrico



Re: Lyx 1.6.4, pdfpages, when clicking on view PDF, either embedded pdfs aren't found or 100% cpu from pdflatex ???

2009-12-08 Thread Jürgen Spitzmüller
Niklas Huldén wrote:
> I can confirm the latter also on OpenSuSE 11.2 (LyX 1.6.4.2). Imbedded 
> pdf:s show up in LyX but compiling the document fails after not finding 
> the pdf-files in the temporary directory. Manually exporting to tex and 
> compiling works.

This has been fixed in 1.6.5.

Jürgen


Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

0.38 seems to have the same bug as 0.37 on my machine: it does not 
copy the images to the html folder anymore.


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5. There is 
nothing in the release notes of elyxer that says it needs 1.6.5 by the 
way. Copying the images worked perfectly well with 1.6.4 up to elyxer 0.36.


Regards,

Olivier



regards Uwe





Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
> Uwe Stöhr wrote:
> 0.38 seems to have the same bug as 0.37 on my machine: it does not copy 
> the images to the html folder anymore. Perhaps you should wait for 0.39 ?

The html seems to get copied correctly for me on my test LyX documents; it just
does not get copied for the UserGuide.  But I believe this is because I do not
have write permissions to the UserGuide folder as I am running LyX as a XP
Limited User.






Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
> I've just installed it and images are absent also with 1.6.5. There is 
> nothing in the release notes of elyxer that says it needs 1.6.5 by the 
> way. Copying the images worked perfectly well with 1.6.4 up to elyxer 0.36.

Oops. Please ignore my last post; I just noticed you were referring to moving
"images".




Re: Question integrating elyxer into LyX

2009-12-08 Thread Ken
> The problem you have is that your system action for python files is to 
> open them in notepad++. I have the same, esp. since I do not have python 
> installed on my machine.
> 
> What happens if you add python to the path (the system one, not the lyx 
> one) ?
> 
> To go around this issue (which hopefully is fixed in 1.6.5 just 
> released), I set my LyX->HTML converter command to:
> python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o

My solution was to do the "Elegant" installation and to use:
python -m elyxer --debug --directory $$r $$i $$o

This calls elyxer correctly.  The problem I am now experiencing appears to be a
bug in the processing of my bibtex file.  I have started a bug report at:
http://savannah.nongnu.org/bugs/?28220

Perhaps someone with a better/functioning installation should start a bug report
for the issue where images do not copy correctly.

-Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Ken wrote:
The problem you have is that your system action for python files is to 
open them in notepad++. I have the same, esp. since I do not have python 
installed on my machine.


What happens if you add python to the path (the system one, not the lyx 
one) ?


To go around this issue (which hopefully is fixed in 1.6.5 just 
released), I set my LyX->HTML converter command to:

python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o


My solution was to do the "Elegant" installation and to use:
python -m elyxer --debug --directory $$r $$i $$o

This calls elyxer correctly.  The problem I am now experiencing appears to be a
bug in the processing of my bibtex file.  I have started a bug report at:
http://savannah.nongnu.org/bugs/?28220


I would strongly advise you to install 1.6.5 if you can. It should have 
a working elyxer integration for machines without python installations. 
And bug-fixes, etc.



Perhaps someone with a better/functioning installation should start a bug report
for the issue where images do not copy correctly.


I have been communicating with email with Alex successfully in the past 
months (image size has not been a bed of roses since 0.34) and it has 
always productive. I'm not really willing to open yet-another bugzilla 
account, if the "good-old" email works.


Best regards,

Olivier



-Ken






Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Jean-Marc Lasgouttes

Le 07/12/2009 18:38, Abhishek Dasgupta a écrit :

2009/12/7 Abhishek Dasgupta:

Hi,

I started using Lyx yesterday and was typing out some math stuff.
Today, I discovered that typing Alt-M in the math mode no longer
works. So I've got to type the TeX codes manually. All other
keyboard shortcuts work (typesetting, saving document, even
entering the math mode with Ctrl-M). In math mode, the status bar
shows "Type: Simple" which was not shown before.



It's working now but only when Caps is turned on. Is this expected behaviour?


This is very strange. What is your OS? What is the language of the 
interface?


JMarc


Re: Mac option characters in folder names

2009-12-08 Thread Jean-Marc Lasgouttes

Le 08/12/2009 06:14, humanengr a écrit :

I tracked several recent crashes to use of an option character (such as
";" for "...") in a folder name.

I don't see any related caveats in the documentation. Should this be
addressed as a feature request or as a note in the documentation?


LyX should not crash anyway. File this as a bug.

JMarc


Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Abhishek Dasgupta
2009/12/8 Jean-Marc Lasgouttes :
> Le 07/12/2009 18:38, Abhishek Dasgupta a écrit :
>>
>> 2009/12/7 Abhishek Dasgupta:
>>>
>>> Hi,
>>>
>>> I started using Lyx yesterday and was typing out some math stuff.
>>> Today, I discovered that typing Alt-M in the math mode no longer
>>> works. So I've got to type the TeX codes manually. All other
>>> keyboard shortcuts work (typesetting, saving document, even
>>> entering the math mode with Ctrl-M). In math mode, the status bar
>>> shows "Type: Simple" which was not shown before.
>>>
>>
>> It's working now but only when Caps is turned on. Is this expected
>> behaviour?
>
> This is very strange. What is your OS? What is the language of the
> interface?
>

It's working now without the Caps on as well. I've no idea what had
happened then. I'm using English (UK) interface in Ubuntu 9.10.

Abhishek


LyX + JabRef

2009-12-08 Thread Ken
The release notes for 1.6.5 read:
"The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well)."

How does one implement this in Windows?  Is this related to a "lyxpipe"?  If so,
perhaps an update is needed to the end of page
http://wiki.lyx.org/LyX/LyXServer
which reads:
"The lyxserver does not work on Windows as it is implemented in a unix-specific
way."


Regards,
Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Alex Fernandez
Hi,

On Tue, Dec 8, 2009 at 11:58 AM, Olivier Ripoll
 wrote:
> I have been communicating with email with Alex successfully in the past
> months (image size has not been a bed of roses since 0.34) and it has always
> productive. I'm not really willing to open yet-another bugzilla account, if
> the "good-old" email works.

Sure, I am aware of the problem now and will start working on it as
soon as possible -- today is a national Holiday here in Spain so I had
an extended weekend afk. No need to track this particular bug.

Alex.


Re: LyX + JabRef

2009-12-08 Thread rgheck

On 12/08/2009 09:35 AM, Ken wrote:

The release notes for 1.6.5 read:
"The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well)."

   
You have to define the path to the LyX pipe in Tools>Preferences>Paths, 
then let JabRef know where it is, too.



How does one implement this in Windows?  Is this related to a "lyxpipe"?  If so,
perhaps an update is needed to the end of page
http://wiki.lyx.org/LyX/LyXServer
which reads:
"The lyxserver does not work on Windows as it is implemented in a unix-specific
way."

   

This should be changed.

rh



Re: Question integrating elyxer into LyX

2009-12-08 Thread Uwe Stöhr

Olivier Ripoll schrieb:


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5.


You installed LyX 1.6.5 using my Windows installer? If so what exactly doesn't work? You don't see 
images in the HTML when exporting or also when only viewing as HTML? What image types are affected? 
Have you installed Python or not? If yes, what version? (The LyX installer comes with a 
stripped-down Python version so you don't need to have Python installed when you don't like to.) Do 
you have a small example LyX file?


In oder to get it work, can you try to
1. uninstall LyX
2. uninstall eLyXer
3. reinstall LyX 1.6.5

I hope it then works.

There is 
nothing in the release notes of elyxer that says it needs 1.6.5 by the 
way.


There were bugs in the LyX script that copies the images to the correct place when exporting a file 
to HTML. A fixed version of this script is included in LyX 1.6.5 and also in the alternative Windows 
installer version 4.21 that installed LyX 1.6.4.


regards Uwe


Re: Question integrating elyxer into LyX

2009-12-08 Thread Uwe Stöhr

Ken schrieb:


The html seems to get copied correctly for me on my test LyX documents; it just
does not get copied for the UserGuide.  But I believe this is because I do not
have write permissions to the UserGuide folder as I am running LyX as a XP
Limited User.


Yes, in this case the images cannot be copied. But you can copy the UserGuide and the images and 
clipart folder to a folder where you have write permissions. Then it should work.


regards Uwe


Re: LyX + JabRef

2009-12-08 Thread Jürgen Spitzmüller
Ken wrote:

> "The release comes with many fixes and improvements. A number of newly
> reported crashes were fixed, new layouts and modules were included and
> some long-standing requests were implemented (e.g., a working LyX
> server on the Windows OS, finally enabling the communication with other
> applications such as JabRef on this platform as well)."
> 
> How does one implement this in Windows?  Is this related to a "lyxpipe"?

Yes. The process is described in chapter 4 of the Help > Additional 
Features.

Feel free to ask on the list if the explanations are unclear or do not work.

Jürgen



Re: LyX + JabRef

2009-12-08 Thread Ken
> You have to define the path to the LyX pipe in Tools>Preferences>Paths, 
> then let JabRef know where it is, too.

I set the LyXserver pipe to:
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

However, when I restart LyX with debugging I get the error message:

Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.

LyXComm: Closing connection



Do I need to create a file or do more than simply define the path?

Thanks,
Ken



Re: Question integrating elyxer into LyX

2009-12-08 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:


You need LyX 1.6.5 for this feature.


I've just installed it and images are absent also with 1.6.5.


You installed LyX 1.6.5 using my Windows installer?
yes. I unsinstalled my 1.6.4 (including prefs) and installed 1.6.5. Then 
I re-customised it in my user profile (layout modules, icons, Maxima in 
math context menu, default template).



If so what exactly doesn't work?
When exporting to HTML, the HTML is produced in the subfolder of the 
folder where the lyx file and related data stands. Up to elyxer 0.36 (I 
test every elyxer version, and sometimes even pre-versions), the images 
needed by the HTMl were also copied in that folder. Not any more.


You don't see images in the HTML when exporting or also 
when only viewing as HTML? What image types are affected?


I only use PNG (screenshots) and pdf (vectorial). Both are affected (of 
course, pdf used to be converted to PNG for HTML).

Same for exporting and viewing.


Have you installed Python or not?


No. With LyX 1.6.x, x<5, I had to copy elyxer to LyX resources script 
folder, and I used a custom call for elyxer (you can see the command up 
in the thread). With 1.6.5, that step is not needed (thanks to you and 
Alex for that by the way). So I do not have any standalone elyxer 
version nor python.


If yes, what version? (The LyX installer comes 
with a stripped-down Python version so you don't need to have Python 
installed when you don't like to.) Do you have a small example LyX file?


I attach one of the simple test cases I used in the past when discussing 
with Alex.



In oder to get it work, can you try to
1. uninstall LyX
2. uninstall eLyXer
3. reinstall LyX 1.6.5

I hope it then works.


As I never installed eLyXer, that's how I installed 1.6.5: uninstalled 
1.6.4, installed 1.6.5


There is nothing in the release notes of elyxer that says it needs 
1.6.5 by the way.


There were bugs in the LyX script that copies the images to the correct 
place when exporting a file to HTML. A fixed version of this script is 
included in LyX 1.6.5 and also in the alternative Windows installer 
version 4.21 that installed LyX 1.6.4.


As I said, I used elyxer from Alex directly in 1.6.4 and it copied the 
images fine up to 2 versions ago.



regards Uwe


Regards,

Olivier



subfloat html example.lyx
Description: application/lyx
<>

Re: LyX + JabRef

2009-12-08 Thread Ken
Jürgen Spitzmüller  writes:

> 
> Ken wrote:
> 
> > "The release comes with many fixes and improvements. A number of newly
> > reported crashes were fixed, new layouts and modules were included and
> > some long-standing requests were implemented (e.g., a working LyX
> > server on the Windows OS, finally enabling the communication with other
> > applications such as JabRef on this platform as well)."
> > 
> > How does one implement this in Windows?  Is this related to a "lyxpipe"?
> 
> Yes. The process is described in chapter 4 of the Help > Additional 
> Features.

Hi. Thanks for the reply.  I looked at the Additional Features, Section 4.2, 4.2
Starting the LyX Server.  I am confused by whether in the path, in my case
something like
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
the final "lyxpipe" reference is to a folder or a file?

I created an empty folder
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
and defined the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
but when I ran LyX received the debug messages:
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

I then tried naming the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe\lyxpipe
but the error was
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Any suggestions on where I might be going wrong?

Thanks,
Ken



Predefined options

2009-12-08 Thread Ehud Kaplan
What causes a checkmark to appear in the Predefined checkbox in Document 
Class?
I have no predefined options, as far as I can tell, and it only appears 
in some files but not in others.

EK



Re: Predefined options

2009-12-08 Thread Uwe Stöhr

Ehud Kaplan schrieb:

What causes a checkmark to appear in the Predefined checkbox in Document 
Class?


This appears when the document class layout file uses dome document class 
options by default.

regards Uwe


Re: LyX + JabRef

2009-12-08 Thread Pavel Sanda
Ken wrote:
> LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
> Data\lyx16\lyxpipe\lyxpipe.in
> LyXComm: The filename, directory name, or volume label syntax is incorrect.
> LyXComm: Closing connection
> 
> Any suggestions on where I might be going wrong?

just shooting in the dark, what if you specify the path without space?
pavek


Re: LyX + JabRef

2009-12-08 Thread rgheck

On 12/08/2009 12:38 PM, Ken wrote:

Jürgen Spitzmüller  writes:

   

Ken wrote:

 

"The release comes with many fixes and improvements. A number of newly
reported crashes were fixed, new layouts and modules were included and
some long-standing requests were implemented (e.g., a working LyX
server on the Windows OS, finally enabling the communication with other
applications such as JabRef on this platform as well)."

How does one implement this in Windows?  Is this related to a "lyxpipe"?
   

Yes. The process is described in chapter 4 of the Help>  Additional
Features.
 

Hi. Thanks for the reply.  I looked at the Additional Features, Section 4.2, 4.2
Starting the LyX Server.  I am confused by whether in the path, in my case
something like
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
the final "lyxpipe" reference is to a folder or a file?

I created an empty folder
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe
and defined the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

   
You don't need (or want) to create the folder. LyX wants to create two 
files: lyxpipe.in and lyxpipe.out. What you're telling LyX is the full 
pathname, minus the extensions.


Still


but when I ran LyX received the debug messages:
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

I then tried naming the path as
C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe\lyxpipe
but the error was
Setting debug level to 0
LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
Data\lyx16\lyxpipe\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

   
that shouldn't have prevented the creation of the pipes. As Pavel 
suggested, try using something with no space. Maybe just c:\lyxpipe


rh



Re: LyX + JabRef

2009-12-08 Thread Ken
Pavel Sanda  writes:

> 
> Ken wrote:
> > LyXComm: Could not create pipe C:\Documents and Settings\Ken\Application
> > Data\lyx16\lyxpipe\lyxpipe.in
> > LyXComm: The filename, directory name, or volume label syntax is incorrect.
> > LyXComm: Closing connection
> > 
> > Any suggestions on where I might be going wrong?
> 
> just shooting in the dark, what if you specify the path without space?
> pavek
> 
> 

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited Windows XP user).
In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the LyX 
server?

Thanks,
Ken





LyX Server on XP?

2009-12-08 Thread rgheck

On 12/08/2009 02:26 PM, Ken wrote:

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited Windows XP user).
In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is incorrect.
LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the LyX 
server?

   
No, we're both on Linux. But Vincent uses Windows (at least some of the 
time), so maybe he can check this out.


rh



Re: Question integrating elyxer into LyX

2009-12-08 Thread Alex Fernandez
On Tue, Dec 8, 2009 at 5:33 PM, Uwe Stöhr  wrote:
>> The html seems to get copied correctly for me on my test LyX documents; it
>> just
>> does not get copied for the UserGuide.  But I believe this is because I do
>> not
>> have write permissions to the UserGuide folder as I am running LyX as a XP
>> Limited User.
>
> Yes, in this case the images cannot be copied. But you can copy the
> UserGuide and the images and clipart folder to a folder where you have write
> permissions. Then it should work.

With the images there is an additional problem, as Olivier has
explained very well: eLyXer 0.37+ does not copy PNG images. I have to
study the problem more carefully, since usually you don't want eLyXer
to rescale them, just use them from the original location -- but
sometimes you do want a rescale. I will try to solve this issue for
0.39.

Alex.


Re: Math mode shortcuts not working (1.6.4)

2009-12-08 Thread Jean-Marc Lasgouttes

It's working now without the Caps on as well. I've no idea what had
happened then. I'm using English (UK) interface in Ubuntu 9.10.


Fine, then.

JMarc


eLyXer status update

2009-12-08 Thread Alex Fernandez
Hi folks,

eLyXer is a LyX-to-HTML direct converter that can be used from within
LyX. It came out of my own needs to publish both to PDF and HTML
formats; LyX looked like a great fit for PDF but HTML export was
rather poor. Thanks to the support of many LyX developers I published
it for others to use; and unlike other similar tools it is actively
maintained and getting better all the time.

You have probably not heard from eLyXer for a long time (or at all)
unless you are subscribed to the lyx-devel list. Well, in this
interval it has improved a lot, as you can see in the change log for
0.38 (just released):
  http://www.nongnu.org/elyxer/changelog.html
It translates correctly most documents, even those with symbols and
equations, and produces acceptable output for most uses. The official
LyX documentation (User Guide, Math Guide and Embedded Objects Guide)
can be converted with minimal loss of format and content. The future
roadmap has a lot of interesting milestones like splitting the output
by chapters or sections, or full conversion of the LyX documentation.

If you want to try it out and you are on Debian testing you have it
easy: eLyXer is just an
  # apt-get install elyxer
away. On Windows you can try the alternate installer, which has just
been published recently for 1.6.5:
  http://wiki.lyx.org/Windows/LyXWinInstaller
It includes the latest version of eLyXer. On a different platform, or
just to try out a particular version, just download it from the
project download area:
  https://savannah.nongnu.org/files/?group=elyxer
and follow the instructions on the user guide:
  http://www.nongnu.org/elyxer/userguide.html#toc-Subsection-1.2

If you have a document which comes out all wrong please send it my
way, either confidentially or lorem-ipsumized; I will do my best to
make it work. Also send bug reports, feature requests and whatever
crosses your mind. Thanks to you eLyXer is improving outside my
(rather narrow) needs.

Thanks,

Alex Fernández.


Re: Printing book on two-sided document

2009-12-08 Thread John Kane


--- On Sun, 12/6/09, Jürgen Spitzmüller  wrote:

> From: Jürgen Spitzmüller 
> Subject: Re: Printing book on two-sided document
> To: lyx-users@lists.lyx.org
> Received: Sunday, December 6, 2009, 8:33 AM
> Luca Carlon wrote:
> > Hi! Tomorrow I will have to print my final thesis, and
> I'll have it 
> > binded. So, I checked in LyX the "two-sided document"
> checkbox, to have 
> > it on the two sides to create the book, but I noticed
> something strange. 
> > I suppose this is not LyX related, but I don't know:
> the created 
> > document is, of course, different when the page is on
> the right side or 
> > on the left side, but I noticed as well that the
> column is not centered, 
> > and that the wider free space is on the side of the
> page that will be 
> > binded. I mean, if the page is a right page, the wider
> free space is on 
> > the right, and the column with the text is moved a
> little on the left. 
> > Isn't this strange? Shouldn't the wider free space of
> the page be on the 
> > side of the page that is going to be bided? Is this
> correct or maybe 
> > I've done something wrong?
> 
> It's correct. Remember that the inner space in double-side
> layout is the *sum* 
> of both the inner margin of the left and the right page, so
> the inner margin 
> of each individual page has to be narrower than the outer
> margin.
> 
> Jürgen


Of course!  That has been bugging me for a long time and the explanation is so 
obvious!  Thanks



  __
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. 
Optimized for Yahoo! Get it Now for Free! at 
http://downloads.yahoo.com/ca/internetexplorer/


How to remove the path prefix before image files?

2009-12-08 Thread Yihui Xie
Hi,

When we insert a graph into a Lyx document, say, test.pdf, and compile
the lyx document using pdfLaTeX, Lyx will first copy the graph to a
temporary directory and change the file name by adding a path prefix
before the original file name, e.g. 0E_user_document_test.pdf
(original file is under E:/user/document/). My question is, how to let
Lyx copy the file without changing its name? Thanks!

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA


Re: How to remove the path prefix before image files?

2009-12-08 Thread Vincent van Ravesteijn

Yihui Xie schreef:

Hi,

When we insert a graph into a Lyx document, say, test.pdf, and compile
the lyx document using pdfLaTeX, Lyx will first copy the graph to a
temporary directory and change the file name by adding a path prefix
before the original file name, e.g. 0E_user_document_test.pdf
(original file is under E:/user/document/). My question is, how to let
Lyx copy the file without changing its name? Thanks!

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
  

that's not possible I guess.

Why do you want that ?

Vincent


Re: LyX Server on XP?

2009-12-08 Thread Vincent van Ravesteijn

rgheck schreef:

On 12/08/2009 02:26 PM, Ken wrote:

Still no luck :(

I created the folder:
C:\pipes
and added Full Permissions to this folder to myself (a limited 
Windows XP user).

In the preferences I set the LyXServer pipe to:
C:\pipes\lyxpipe

Again, when I restarted LyX I had no luck:
Setting debug level to 0
LyXComm: Could not create pipe C:\pipes\lyxpipe.in
LyXComm: The filename, directory name, or volume label syntax is 
incorrect.

LyXComm: Closing connection

Pavel and rh, do either of you use LyX on Windows XP?  Do you use the 
LyX server?


   
No, we're both on Linux. But Vincent uses Windows (at least some of 
the time), so maybe he can check this out.


rh


I guess it should work if you use "\\.\pipe\lyxpipe" as the LyXServer pipe.

Vincent


Re: How to remove the path prefix before image files?

2009-12-08 Thread Yihui Xie
well, because what I'm writing is a dynamic document (with literate
programming); I have some code in the Lyx document which can produce
PDF graphs with fixed names, and I can choose to run the code or not
to run. In order to save time, I choose not to reproduce the figures
(i.e. not to run the code), but just insert static figures there whose
file names are the same as what the figures produced by my code.
However, other uses might want to modify my code and compile the whole
document again. In this case, I hope the file names can be kept the
same so that LaTeX can receive new figures produced by the code.

Regards,
Yihui


On Tue, Dec 8, 2009 at 6:57 PM, Vincent van Ravesteijn
 wrote:
> Yihui Xie schreef:
>>
>> Hi,
>>
>> When we insert a graph into a Lyx document, say, test.pdf, and compile
>> the lyx document using pdfLaTeX, Lyx will first copy the graph to a
>> temporary directory and change the file name by adding a path prefix
>> before the original file name, e.g. 0E_user_document_test.pdf
>> (original file is under E:/user/document/). My question is, how to let
>> Lyx copy the file without changing its name? Thanks!
>>
>> Regards,
>> Yihui
>> --
>> Yihui Xie 
>> Phone: 515-294-6609 Web: http://yihui.name
>> Department of Statistics, Iowa State University
>> 3211 Snedecor Hall, Ames, IA
>>
>
> that's not possible I guess.
>
> Why do you want that ?
>
> Vincent
>


Re: LyX + JabRef

2009-12-08 Thread Enrico Forestieri
Ken writes:

> I set the LyXserver pipe to:
> C:\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

This does not work on Windows. As explained in a footnote in Section 4.2
of the Additional Features manual, on Windows, local named pipes are special
objects located in \\.\pipe. Maybe this info should be made more explicit.
So, any of the following paths will work:

\\.\pipe\lyxpipe
\\.\pipe\something\thelyxpipe
\\.\pipe\first dir\second dir\mypipe
\\.\pipe\Documents and Settings\Ken\Application Data\lyx16\lyxpipe

I think you now get the idea.

-- 
Enrico