[announce] Windows development snaphot for LyX 1.5 (09-04-2007)

2007-04-10 Thread Uwe Stöhr

Hello LyXers,

the last week we made big efforts towards the LyX 1.5.0 release. To test the new features, dialog 
cleanups and bugfixes I've published a new development snapshot of LyX 1.5svn:


https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12620

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

The most important changes since LyX 1.5svn-30-03-2007 are:

Version LyX 1.5svn-09-04-2007

- LyX 1.5svn from 09-04-2007
  - CJK fixes
  - keyboard maps are now working
  - InstantPreview is working again
  - new layout and template files for the g-brief2 letter class and the
moderncv and europecv curriculum vitae classes
  - reworked BibTeX file parser
  - reworked graphics, glossary, and  math delimiter dialog
  - new Spanish translation of the Extended manual
  - many other bugfixes

Installer changes:
- updated Readme files
- NSIS 2.25 is now required to compile the installer

--- disclaimer ---
LyX 1.5svn test builds are for testers and interested LyXers to see the new
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5svn is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn for production!

happy testing and best regards
Uwe




Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
Hello,

i'm trying to include a pdf file in a large document, a paper that was 
published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this with 
pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed to get 
this to work, with an ERT command with the rather obscure but somehow necessary 
path format:

\includepdf[pages=1-6]{//./c:/dir/pdffile}

without the .pdf extension. So far so good. However, for this to work i have to 
use pdflatex instead of one of the other formats. Now my problem is, i get 
error messages when using pdflatex. For all my .eps figures, the following 
error message appears:

An error occurred whilst running epstopdf 
--outfile=3D__dirigent_verslag_verslagdi

And with a similar error for all .eps figures. All other figures and the pdf 
file include just fine. The error message seems to get cut off at the end. Does 
anyone have an idea what could be wrong and how to fix it?

I tried an alternative to pdfpages, by just converting the pdf file to ps with 
the pdf2ps command, then using psselect to get the separate pages and including 
those into Lyx. However, this doesn't work either. The pages i need to include 
do appear in the Lyx user interface, however not in any output format. If i try 
to include a pdf directly lyx says there is no converter to convert a pdf file 
to the eps format.

So, does anyone have a solution for me? If all else fails i can just combine 
the pdf file with the pdf file of the thesis later, but i'd like it to work 
directly.

Regards,

Pieter


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
I should add that running eps2pdf on my eps files exported from coreldraw 
gives the following error:


epstopdf: Not a valid EPS file.

They open just fine in ghostview.

Pieter

- Original Message - 
From: Pieter Bos

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 1:55 PM
Subject: Problem with pdflatex and including a pdf file


Hello,

i'm trying to include a pdf file in a large document, a paper that was 
published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this 
with pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed 
to get this to work, with an ERT command with the rather obscure but somehow 
necessary path format:


\includepdf[pages=1-6]{//./c:/dir/pdffile}

without the .pdf extension. So far so good. However, for this to work i have 
to use pdflatex instead of one of the other formats. Now my problem is, i 
get error messages when using pdflatex. For all my .eps figures, the 
following error message appears:


An error occurred whilst running 
epstopdf --outfile=3D__dirigent_verslag_verslagdi


And with a similar error for all .eps figures. All other figures and the pdf 
file include just fine. The error message seems to get cut off at the end. 
Does anyone have an idea what could be wrong and how to fix it?


I tried an alternative to pdfpages, by just converting the pdf file to ps 
with the pdf2ps command, then using psselect to get the separate pages and 
including those into Lyx. However, this doesn't work either. The pages i 
need to include do appear in the Lyx user interface, however not in any 
output format. If i try to include a pdf directly lyx says there is no 
converter to convert a pdf file to the eps format.


So, does anyone have a solution for me? If all else fails i can just combine 
the pdf file with the pdf file of the thesis later, but i'd like it to work 
directly.


Regards,

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Jeremy Johnson
On Tuesday 10 April 2007, Pieter Bos wrote:
 Hello,

 i'm trying to include a pdf file in a large document, a paper that was
 published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this
 with pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed
 to get this to work, with an ERT command with the rather obscure but
 somehow necessary path format:

 \includepdf[pages=1-6]{//./c:/dir/pdffile}

 without the .pdf extension. So far so good. However, for this to work i
 have to use pdflatex instead of one of the other formats. Now my problem
 is, i get error messages when using pdflatex. For all my .eps figures, the
 following error message appears:

 An error occurred whilst running epstopdf
 --outfile=3D__dirigent_verslag_verslagdi

 And with a similar error for all .eps figures. All other figures and the
 pdf file include just fine. The error message seems to get cut off at the
 end. Does anyone have an idea what could be wrong and how to fix it?

 I tried an alternative to pdfpages, by just converting the pdf file to ps
 with the pdf2ps command, then using psselect to get the separate pages and
 including those into Lyx. However, this doesn't work either. The pages i
 need to include do appear in the Lyx user interface, however not in any
 output format. If i try to include a pdf directly lyx says there is no
 converter to convert a pdf file to the eps format.

 So, does anyone have a solution for me? If all else fails i can just
 combine the pdf file with the pdf file of the thesis later, but i'd like it
 to work directly.

 Regards,

 Pieter

Did you use the epsfig package for pdflatex?

% Encapsulated PostScript figures
\usepackage{epsfig}


pgp9cs5vOCIdc.pgp
Description: PGP signature


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
How exactly do i use epsfig? Lyx will still try to convert them to pdf and 
fail unless i manually specify it should use epsfig with an ERT command for 
each figure?


I did find some sort of solution: using acrobat distiller to convert the eps 
files to pdf files, then include those. Running distiller as a converter in 
Lyx seems to be a problem because it requires absolute path names and lyx 
does not give those when i use the $$o and $$i in the preferences.


also imagemagick can be used to convert, but it'll create raster images, 
which look very ugly.


It would be nice to find a solution for including both eps and pdf files in 
lyx that works regardless of which latex version i use...


regards,

Pieter

- Original Message - 
From: Jeremy Johnson [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 3:33 PM
Subject: Re: Problem with pdflatex and including a pdf file




Re: Table of Contents formatting

2007-04-10 Thread John Hughes
With the help of your example, I now understand the documentation much 
better! Thanks!


John


From: Bob Lounsbury [EMAIL PROTECTED]
To: John Hughes [EMAIL PROTECTED],LyX 
lyx-users@lists.lyx.org

Subject: Re: Table of Contents formatting
Date: Tue, 03 Apr 2007 11:03:58 -0600

On 4/3/07 7:05 AM, John Hughes [EMAIL PROTECTED] wrote:




 From: Bob Lounsbury [EMAIL PROTECTED]
 To: John Hughes [EMAIL PROTECTED],LyX
 lyx-users@lists.lyx.org
 Subject: Re: Table of Contents formatting
 Date: Mon, 02 Apr 2007 16:18:44 -0600

 On 4/2/07 9:48 AM, John Hughes [EMAIL PROTECTED] wrote:

 By default, the highest level entries in the table of contents are set
 to
 bold, which matches the default heading font. However, if I change the
 default heading font to, for example, medium series small caps (using
 sectsty), how can I change the highest level entries in the table of
 contents to match?

 Thanks

 John

 _
 Solve the Conspiracy and win fantastic prizes.
 http://www.theconspiracygame.co.uk/


 Check out the tocloft package to modify the toc, lof, or lot.

 Regards,
 Bob Lounsbury


 I've checked the documentation for that package and I'm still not sure 
how

 to change the font of the entries at one level. I've tried entering:

 \makeatletter
 [EMAIL PROTECTED]
 \makeatother

 which doesn't use tocloft, but it doesn't seem to work. If anyone's had 
any
 luck changing the font of table of contents entries with or without 
tocloft,

 please let me know.

 Thanks.

 John

 _
 MSN Hotmail is evolving - check out the new Windows Live Mail.
 http://ideas.live.co.uk/


Here's a simple example of how to change the font using the tocloft 
package.

Look at section 2.3 of the tocloft package documentation for further
discussion.

Regards,
Bob Lounsbury





 tocloft-sample.lyx 


_
Solve the Conspiracy and win fantastic prizes.  
http://www.theconspiracygame.co.uk/




Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
- Original Message - 
From: Pieter Bos [EMAIL PROTECTED]

To: [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 3:51 PM
Subject: Re: Problem with pdflatex and including a pdf file

I did find some sort of solution: using acrobat distiller to convert the 
eps files to pdf files, then include those. Running distiller as a 
converter in Lyx seems to be a problem because it requires absolute path 
names and lyx does not give those when i use the $$o and $$i in the 
preferences.




Running distiller on the eps files produces great looking pdf files. 
However, running pdflatex including those pdf files produces horrible 
looking rasterized low-resolution images.


Anyone else with a solution?

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread William Adams
On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:

 Running distiller on the eps files produces great looking pdf  
 files. However, running pdflatex including those pdf files produces  
 horrible looking rasterized low-resolution images.

?!?

The placed .pdf files should be wholly enclosed in the pdflatex  
generated .pdf at their original quality and w/ no changes ---  
what .pdf viewing program are you using?

 Anyone else with a solution?

That is the solution, and one which I've used often and w/ good results.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: William Adams [EMAIL PROTECTED]

To: LyX Users lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 4:14 PM
Subject: Re: Problem with pdflatex and including a pdf file



On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:


Running distiller on the eps files produces great looking pdf
files. However, running pdflatex including those pdf files produces
horrible looking rasterized low-resolution images.


?!?

The placed .pdf files should be wholly enclosed in the pdflatex
generated .pdf at their original quality and w/ no changes ---
what .pdf viewing program are you using?



That is what i was thinking. I'm using acrobat professional 8.
However, check http://pieter.student.utwente.nl/lyx/ . There's the original 
pdf file (beatdetectoropdeling.pdf), a very small lyx file (test.lyx) and 
the resulting pdf file (test.pdf)


I think lyx might be for some reason calling a convertor. When i run 
pdflatex manually on the exported tex file this small test file works great.


Any ideas?

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread William Adams
On Apr 10, 2007, at 10:33 AM, Pieter Bos wrote:

 I think lyx might be for some reason calling a convertor. When i  
 run pdflatex manually on the exported tex file this small test file  
 works great.

Correct.

For some reason the nice vector / text .pdf you have  
(beatdetectoropdeling.pdf) is converted into an RGB bitmap.

Are you sure you've got LyX set to call pdflatex to make a .pdf? I  
thought the default was latex-dvi-dvips-ghostscript which would  
yield the result you have belike.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
Ok, i tried exporting a larger file to pdflatex. It will create a png file 
for each .pdf file i try to include. When i delete them and run pdflatex 
manually, everything works just as it should.


That's not right, is it? There aren't any converters from pdf to png present 
in the preferences window. Any idea on how to stop Lyx from doing this?


Pieter

- Original Message - 
From: William Adams [EMAIL PROTECTED]

To: LyX Users lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 4:14 PM
Subject: Re: Problem with pdflatex and including a pdf file



On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:


Running distiller on the eps files produces great looking pdf
files. However, running pdflatex including those pdf files produces
horrible looking rasterized low-resolution images.


?!?

The placed .pdf files should be wholly enclosed in the pdflatex
generated .pdf at their original quality and w/ no changes ---
what .pdf viewing program are you using?


Anyone else with a solution?


That is the solution, and one which I've used often and w/ good results.

William

--
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender. 




Re[2]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
 Running distiller on the eps files produces great looking pdf files. 
 However, running pdflatex including those pdf files produces horrible 
 looking rasterized low-resolution images. 
 Anyone else with a solution? 

Sounds like an odd problem, and possibly wrongly described.
But in any case, dvipdfm works *great* including EPS files.

Cheers,
Alan Isaac






Re: Re[2]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: Alan G Isaac [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 4:53 PM
Subject: Re[2]: Problem with pdflatex and including a pdf file



On Tue, 10 Apr 2007, Pieter Bos apparently wrote:

Running distiller on the eps files produces great looking pdf files.
However, running pdflatex including those pdf files produces horrible
looking rasterized low-resolution images.
Anyone else with a solution?


Sounds like an odd problem, and possibly wrongly described.
But in any case, dvipdfm works *great* including EPS files.



Fixed it!

Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm after 
even more googling. Deleted the lyxrc.dist file and now it works.


Pieter 



Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-10 Thread Enrico Forestieri
Yu, James writes:
 Abdelrazak Younes wrote:
  The solution is just to replace our handmade socket (or pipe) layer 
  with a portable one.
 
  It should not be very hard to implement even for a newcomer in the LyX 
  project. If someone's interested, comesee us at the devel list 
 
  Another solution for you James is to use Enrico's mixed windows/cygwin 
  version. Could you confirm that it works Enrico?

Yes, but if you want that functionality from a native Windows app you
have to use a workaround. See below.

 If I was not wrong, it did not work in cygwin!

It works if you use cygwin apps. Native windows apps know nothing about
named pipes. However, there's a workaround. Windows provides file change
notifications, so you can tell a native app to use a given file as the
lyxpipe. Then you monitor such file with a small program, and when the app
writes to the file you receive a notification. So you simply copy what was
written to the file to the real lyxpipe using a cygwin program (a bash
script, for example).

I wrote such watcher utility by modifying the example provided at
http://www.relisoft.com/win32/watcher.html
and it works very well. I can push citations from JabRef directly into LyX
without problems. You need the cygwin version of LyX, of course.
The only nuisance is that you have to remember to launch the watcher
program in addition to LyX and JabRef.

-- 
Enrico



Bibliography problems

2007-04-10 Thread Julio Rojas

Hi, my tutor wants a bibliographic style similar to APAlike:

cite[1], book[2]

[1] Lastname, Name (year): Article Name, Journal Name
[2] Lastname, Name (year): Book Name, Publisher, Address

The problem is that when I try to use the apacite bibliographic
style on a plain article, a group of Undefined control sequence
errors appear, like the following:

Gil-Aluja1987}
  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

\APACinsertmetastar
   {%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

\newblock{}\BBOP
{}1987\BBCP{}.
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Any idea on how to solve this problem?

--
-
Julio Rojas
[EMAIL PROTECTED]


Re[4]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
 Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm after 
 even more googling. Deleted the lyxrc.dist file and now it works. 

Good.
What is your LyX version?

Cheers,
Alan Isaac






Re: Re[4]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: Alan G Isaac [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 6:19 PM
Subject: Re[4]: Problem with pdflatex and including a pdf file



On Tue, 10 Apr 2007, Pieter Bos apparently wrote:
Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm 
after

even more googling. Deleted the lyxrc.dist file and now it works.


Good.
What is your LyX version?


Version 1.4.4 (Sat Feb 17 11:37:59 2007)

Pieter 



Re[6]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
 Version 1.4.4 (Sat Feb 17 11:37:59 2007) 

Then either
- Georg and JMarc did not fix the 1.4 installer, or
- they fixed it after this date (unlikely?)

http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm

Cheers,
Alan Isaac






Re: Re[6]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Georg Baum
Am Dienstag, 10. April 2007 20:50 schrieb Alan G Isaac:
 On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
  Version 1.4.4 (Sat Feb 17 11:37:59 2007) 
 
 Then either
 - Georg and JMarc did not fix the 1.4 installer, or
 - they fixed it after this date (unlikely?)

No. Neither of us fixed it, AFAIK it is still broken. I don't maintain the 
windows installer, I don't know how the lyxrc.dist is generated and I 
pointed out several times that it needs to be changed. This is all that I 
can do.


Georg




Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Jeremy Johnson
On Tuesday 10 April 2007, Pieter Bos wrote:
 How exactly do i use epsfig? Lyx will still try to convert them to pdf and
 fail unless i manually specify it should use epsfig with an ERT command for
 each figure?

 I did find some sort of solution: using acrobat distiller to convert the
 eps files to pdf files, then include those. Running distiller as a
 converter in Lyx seems to be a problem because it requires absolute path
 names and lyx does not give those when i use the $$o and $$i in the
 preferences.

 also imagemagick can be used to convert, but it'll create raster images,
 which look very ugly.

 It would be nice to find a solution for including both eps and pdf files in
 lyx that works regardless of which latex version i use...

 regards,

 Pieter

 - Original Message -
 From: Jeremy Johnson [EMAIL PROTECTED]
 To: lyx-users@lists.lyx.org
 Sent: Tuesday, April 10, 2007 3:33 PM
 Subject: Re: Problem with pdflatex and including a pdf file


I mostly use LaTeX, but sometimes LyX as well.
Usually you can include CTAN packages in the 
LyX - Document Settings - Latex Preamble

e.g.
\usepackage{epsfig}

Sometimes LyX conflicts with certain packages.


Jabref Meta comments showing up in my citation list (1.4.4)

2007-04-10 Thread Stacia Hartleben

Hi, I don't know if this is fixed in 1.5.0, but I've always been
annoyed that the JabReb meta comments show up in the citation
box...Does this only happen to me or does it happen to other people as
well, and does anyone know the status of it? If not I'm gonna bug it
on bugzilla.


Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-10 Thread James Yu

Hi, Enrico,
Great you have tried something and succeeded.
Will you share with us the utility?
Thanks,
James

On 4/10/07, Enrico Forestieri [EMAIL PROTECTED] wrote:


Yu, James writes:
 Abdelrazak Younes wrote:
  The solution is just to replace our handmade socket (or pipe) layer
  with a portable one.
 
  It should not be very hard to implement even for a newcomer in the LyX
  project. If someone's interested, comesee us at the devel list
 
  Another solution for you James is to use Enrico's mixed windows/cygwin
  version. Could you confirm that it works Enrico?

Yes, but if you want that functionality from a native Windows app you
have to use a workaround. See below.

 If I was not wrong, it did not work in cygwin!

It works if you use cygwin apps. Native windows apps know nothing about
named pipes. However, there's a workaround. Windows provides file change
notifications, so you can tell a native app to use a given file as the
lyxpipe. Then you monitor such file with a small program, and when the app
writes to the file you receive a notification. So you simply copy what was
written to the file to the real lyxpipe using a cygwin program (a bash
script, for example).

I wrote such watcher utility by modifying the example provided at
http://www.relisoft.com/win32/watcher.html
and it works very well. I can push citations from JabRef directly into LyX
without problems. You need the cygwin version of LyX, of course.
The only nuisance is that you have to remember to launch the watcher
program in addition to LyX and JabRef.

--
Enrico




Re: Updating index

2007-04-10 Thread Lennart
Frederick FN Noronha [EMAIL PROTECTED] writes:

 
 How do I update the index of a Lyx-generated book? I made a number of
 changes in the index, but these don't seem to show up. FN


Just regenerate the pdf or dvi then the index should be updated..



How to insert a blank page

2007-04-10 Thread Lennart
Hey,

I have a document written in the book class. I want a white blank page after 
the title page. So that the table of contents isn't printed on the back of the 
title page when I print it double sided.  I know it's against the lyx 
philosofy and I know how to fix it outside lyx. But I think it could be also 
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works. 
How do I insert a blank page?



Lyx 144 on Intel Mac: problems with large documents

2007-04-10 Thread Robert Neumann
Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening and 
working on a document with 40 pages was no problem (well scrolling up 
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx 
hangs itself at the first attempt. At the second it opened the document 
but when I tried the pdf-preview I had to close Lyx after waiting for 3 
minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on 
windows  than on linux but I thought with OS X beeing close to linux it 
would be as fast as with linux...
regards
robert



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-10 Thread Bob Lounsbury
On 4/10/07 2:28 PM, Robert Neumann [EMAIL PROTECTED] wrote:

 Hello,
 I just installed lyx 144 sucessfully on a macbook core duo. Opening and
 working on a document with 40 pages was no problem (well scrolling up
 and down was a bit sluggish...)
 But when I opened a document with 290 pages and about 80 figures lyx
 hangs itself at the first attempt. At the second it opened the document
 but when I tried the pdf-preview I had to close Lyx after waiting for 3
 minutes with the fan running like a hair blower.
 Is this a known issue for the mac? I know that lyx is much slower on
 windows  than on linux but I thought with OS X beeing close to linux it
 would be as fast as with linux...
 regards
 robert 

I have LyX 1.4.4 on a 600Mhz iBook and I can open and view a pdf of a 25
page document with 11 figures in roughly 30 seconds.

So, something must be going on with your installation. Unfortunately, I
wouldn't have the first clue as to what the problem might be. I'll leave
that to the LyXperts on this mailing list.

Regards,
Bob Lounsbury




Re: How to insert a blank page

2007-04-10 Thread Paul Smith

On 4/10/07, Lennart [EMAIL PROTECTED] wrote:

I have a document written in the book class. I want a white blank page after
the title page. So that the table of contents isn't printed on the back of the
title page when I print it double sided.  I know it's against the lyx
philosofy and I know how to fix it outside lyx. But I think it could be also
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works.
How do I insert a blank page?


Insert -- Special formatting -- Page break.

Paul


Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-10 Thread Enrico Forestieri
On Tue, Apr 10, 2007 at 01:11:53PM -0700, James Yu wrote:

 Hi, Enrico,
 Great you have tried something and succeeded.
 Will you share with us the utility?

No problem. Please find attached a tar archive containing an executable
and a bash script. You can put LyXPipeWatcher.exe wherever you want, but
it is mandatory that you copy the script to the cygwin /usr/local/bin
directory.

I don't know if I am allowed to redistribute modified sources from
http://www.relisoft.com/win32/watcher.html
so I am not including them. The sources are copyrighted but I could
not find anything about redistribution.

Usage is as follows.

Prerequisites:

 - Cygwin version of LyX (either the official one using Qt3/X11
   or mine own build using Qt3/Win will do).

 - Make sure that you have the cygwin bin directory in your system PATH.
   Most probably this is c:\cygwin\bin and you should add it to the Path
   variable in the System properties/Advanced/Environment variables
   panel (on Win2k I get it by choosing Properties after right clicking
   on the My Computer icon). You need admin privileges to do this.

 - Once you are in the previous panel, make sure that a variable named
   HOME is set, pointing to your cygwin home directory. For example,
   this could be c:\cygwin\home\James (use the Windows syntax here).

Usage with JabRef:

 - Set the lyxpipe path in LyX. You should set this path in the LyXServer
   pipe: entry you see after Tools-Preferences-Paths. Use the cygwin
   syntax here. Under the hypothesis that your cygwin home directory is
   c:\cygwin\home\James, I suggest using something like /home/.lyx/lyxpipe.
   Save the preferences and restart LyX.

 - Set the lyxpipe path in JabRef. Use whatever path you like here but
   make sure that it is *different* from the previous one.

 - Launch LyXpipeWatcher.exe specifying on the command line (or in a
   shortcut) the same lyxpipe path you gave to JabRef (the bash script
   will figure out by itself what is the real lyxpipe path).

 - Once you have LyX, JabRef and LyXpipeWatcher running, try pushing a
   reference to LyX. You should see a console window flashing briefly and
   then the reference should appear in LyX.

-- 
Enrico


LyXPipeWatcher.tar.gz
Description: application/tar-gz


[announce] Windows development snaphot for LyX 1.5 (09-04-2007)

2007-04-10 Thread Uwe Stöhr

Hello LyXers,

the last week we made big efforts towards the LyX 1.5.0 release. To test the new features, dialog 
cleanups and bugfixes I've published a new development snapshot of LyX 1.5svn:


https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12620

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

The most important changes since LyX 1.5svn-30-03-2007 are:

Version LyX 1.5svn-09-04-2007

- LyX 1.5svn from 09-04-2007
  - CJK fixes
  - keyboard maps are now working
  - InstantPreview is working again
  - new layout and template files for the g-brief2 letter class and the
moderncv and europecv curriculum vitae classes
  - reworked BibTeX file parser
  - reworked graphics, glossary, and  math delimiter dialog
  - new Spanish translation of the Extended manual
  - many other bugfixes

Installer changes:
- updated Readme files
- NSIS 2.25 is now required to compile the installer

--- disclaimer ---
LyX 1.5svn test builds are for testers and interested LyXers to see the new
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5svn is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn for production!

happy testing and best regards
Uwe




Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
Hello,

i'm trying to include a pdf file in a large document, a paper that was 
published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this with 
pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed to get 
this to work, with an ERT command with the rather obscure but somehow necessary 
path format:

\includepdf[pages=1-6]{//./c:/dir/pdffile}

without the .pdf extension. So far so good. However, for this to work i have to 
use pdflatex instead of one of the other formats. Now my problem is, i get 
error messages when using pdflatex. For all my .eps figures, the following 
error message appears:

An error occurred whilst running epstopdf 
--outfile=3D__dirigent_verslag_verslagdi

And with a similar error for all .eps figures. All other figures and the pdf 
file include just fine. The error message seems to get cut off at the end. Does 
anyone have an idea what could be wrong and how to fix it?

I tried an alternative to pdfpages, by just converting the pdf file to ps with 
the pdf2ps command, then using psselect to get the separate pages and including 
those into Lyx. However, this doesn't work either. The pages i need to include 
do appear in the Lyx user interface, however not in any output format. If i try 
to include a pdf directly lyx says there is no converter to convert a pdf file 
to the eps format.

So, does anyone have a solution for me? If all else fails i can just combine 
the pdf file with the pdf file of the thesis later, but i'd like it to work 
directly.

Regards,

Pieter


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
I should add that running eps2pdf on my eps files exported from coreldraw 
gives the following error:


epstopdf: Not a valid EPS file.

They open just fine in ghostview.

Pieter

- Original Message - 
From: Pieter Bos

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 1:55 PM
Subject: Problem with pdflatex and including a pdf file


Hello,

i'm trying to include a pdf file in a large document, a paper that was 
published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this 
with pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed 
to get this to work, with an ERT command with the rather obscure but somehow 
necessary path format:


\includepdf[pages=1-6]{//./c:/dir/pdffile}

without the .pdf extension. So far so good. However, for this to work i have 
to use pdflatex instead of one of the other formats. Now my problem is, i 
get error messages when using pdflatex. For all my .eps figures, the 
following error message appears:


An error occurred whilst running 
epstopdf --outfile=3D__dirigent_verslag_verslagdi


And with a similar error for all .eps figures. All other figures and the pdf 
file include just fine. The error message seems to get cut off at the end. 
Does anyone have an idea what could be wrong and how to fix it?


I tried an alternative to pdfpages, by just converting the pdf file to ps 
with the pdf2ps command, then using psselect to get the separate pages and 
including those into Lyx. However, this doesn't work either. The pages i 
need to include do appear in the Lyx user interface, however not in any 
output format. If i try to include a pdf directly lyx says there is no 
converter to convert a pdf file to the eps format.


So, does anyone have a solution for me? If all else fails i can just combine 
the pdf file with the pdf file of the thesis later, but i'd like it to work 
directly.


Regards,

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Jeremy Johnson
On Tuesday 10 April 2007, Pieter Bos wrote:
 Hello,

 i'm trying to include a pdf file in a large document, a paper that was
 published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this
 with pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed
 to get this to work, with an ERT command with the rather obscure but
 somehow necessary path format:

 \includepdf[pages=1-6]{//./c:/dir/pdffile}

 without the .pdf extension. So far so good. However, for this to work i
 have to use pdflatex instead of one of the other formats. Now my problem
 is, i get error messages when using pdflatex. For all my .eps figures, the
 following error message appears:

 An error occurred whilst running epstopdf
 --outfile=3D__dirigent_verslag_verslagdi

 And with a similar error for all .eps figures. All other figures and the
 pdf file include just fine. The error message seems to get cut off at the
 end. Does anyone have an idea what could be wrong and how to fix it?

 I tried an alternative to pdfpages, by just converting the pdf file to ps
 with the pdf2ps command, then using psselect to get the separate pages and
 including those into Lyx. However, this doesn't work either. The pages i
 need to include do appear in the Lyx user interface, however not in any
 output format. If i try to include a pdf directly lyx says there is no
 converter to convert a pdf file to the eps format.

 So, does anyone have a solution for me? If all else fails i can just
 combine the pdf file with the pdf file of the thesis later, but i'd like it
 to work directly.

 Regards,

 Pieter

Did you use the epsfig package for pdflatex?

% Encapsulated PostScript figures
\usepackage{epsfig}


pgp9cs5vOCIdc.pgp
Description: PGP signature


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
How exactly do i use epsfig? Lyx will still try to convert them to pdf and 
fail unless i manually specify it should use epsfig with an ERT command for 
each figure?


I did find some sort of solution: using acrobat distiller to convert the eps 
files to pdf files, then include those. Running distiller as a converter in 
Lyx seems to be a problem because it requires absolute path names and lyx 
does not give those when i use the $$o and $$i in the preferences.


also imagemagick can be used to convert, but it'll create raster images, 
which look very ugly.


It would be nice to find a solution for including both eps and pdf files in 
lyx that works regardless of which latex version i use...


regards,

Pieter

- Original Message - 
From: Jeremy Johnson [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 3:33 PM
Subject: Re: Problem with pdflatex and including a pdf file




Re: Table of Contents formatting

2007-04-10 Thread John Hughes
With the help of your example, I now understand the documentation much 
better! Thanks!


John


From: Bob Lounsbury [EMAIL PROTECTED]
To: John Hughes [EMAIL PROTECTED],LyX 
lyx-users@lists.lyx.org

Subject: Re: Table of Contents formatting
Date: Tue, 03 Apr 2007 11:03:58 -0600

On 4/3/07 7:05 AM, John Hughes [EMAIL PROTECTED] wrote:




 From: Bob Lounsbury [EMAIL PROTECTED]
 To: John Hughes [EMAIL PROTECTED],LyX
 lyx-users@lists.lyx.org
 Subject: Re: Table of Contents formatting
 Date: Mon, 02 Apr 2007 16:18:44 -0600

 On 4/2/07 9:48 AM, John Hughes [EMAIL PROTECTED] wrote:

 By default, the highest level entries in the table of contents are set
 to
 bold, which matches the default heading font. However, if I change the
 default heading font to, for example, medium series small caps (using
 sectsty), how can I change the highest level entries in the table of
 contents to match?

 Thanks

 John

 _
 Solve the Conspiracy and win fantastic prizes.
 http://www.theconspiracygame.co.uk/


 Check out the tocloft package to modify the toc, lof, or lot.

 Regards,
 Bob Lounsbury


 I've checked the documentation for that package and I'm still not sure 
how

 to change the font of the entries at one level. I've tried entering:

 \makeatletter
 [EMAIL PROTECTED]
 \makeatother

 which doesn't use tocloft, but it doesn't seem to work. If anyone's had 
any
 luck changing the font of table of contents entries with or without 
tocloft,

 please let me know.

 Thanks.

 John

 _
 MSN Hotmail is evolving - check out the new Windows Live Mail.
 http://ideas.live.co.uk/


Here's a simple example of how to change the font using the tocloft 
package.

Look at section 2.3 of the tocloft package documentation for further
discussion.

Regards,
Bob Lounsbury





 tocloft-sample.lyx 


_
Solve the Conspiracy and win fantastic prizes.  
http://www.theconspiracygame.co.uk/




Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
- Original Message - 
From: Pieter Bos [EMAIL PROTECTED]

To: [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 3:51 PM
Subject: Re: Problem with pdflatex and including a pdf file

I did find some sort of solution: using acrobat distiller to convert the 
eps files to pdf files, then include those. Running distiller as a 
converter in Lyx seems to be a problem because it requires absolute path 
names and lyx does not give those when i use the $$o and $$i in the 
preferences.




Running distiller on the eps files produces great looking pdf files. 
However, running pdflatex including those pdf files produces horrible 
looking rasterized low-resolution images.


Anyone else with a solution?

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread William Adams
On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:

 Running distiller on the eps files produces great looking pdf  
 files. However, running pdflatex including those pdf files produces  
 horrible looking rasterized low-resolution images.

?!?

The placed .pdf files should be wholly enclosed in the pdflatex  
generated .pdf at their original quality and w/ no changes ---  
what .pdf viewing program are you using?

 Anyone else with a solution?

That is the solution, and one which I've used often and w/ good results.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: William Adams [EMAIL PROTECTED]

To: LyX Users lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 4:14 PM
Subject: Re: Problem with pdflatex and including a pdf file



On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:


Running distiller on the eps files produces great looking pdf
files. However, running pdflatex including those pdf files produces
horrible looking rasterized low-resolution images.


?!?

The placed .pdf files should be wholly enclosed in the pdflatex
generated .pdf at their original quality and w/ no changes ---
what .pdf viewing program are you using?



That is what i was thinking. I'm using acrobat professional 8.
However, check http://pieter.student.utwente.nl/lyx/ . There's the original 
pdf file (beatdetectoropdeling.pdf), a very small lyx file (test.lyx) and 
the resulting pdf file (test.pdf)


I think lyx might be for some reason calling a convertor. When i run 
pdflatex manually on the exported tex file this small test file works great.


Any ideas?

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread William Adams
On Apr 10, 2007, at 10:33 AM, Pieter Bos wrote:

 I think lyx might be for some reason calling a convertor. When i  
 run pdflatex manually on the exported tex file this small test file  
 works great.

Correct.

For some reason the nice vector / text .pdf you have  
(beatdetectoropdeling.pdf) is converted into an RGB bitmap.

Are you sure you've got LyX set to call pdflatex to make a .pdf? I  
thought the default was latex-dvi-dvips-ghostscript which would  
yield the result you have belike.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
Ok, i tried exporting a larger file to pdflatex. It will create a png file 
for each .pdf file i try to include. When i delete them and run pdflatex 
manually, everything works just as it should.


That's not right, is it? There aren't any converters from pdf to png present 
in the preferences window. Any idea on how to stop Lyx from doing this?


Pieter

- Original Message - 
From: William Adams [EMAIL PROTECTED]

To: LyX Users lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 4:14 PM
Subject: Re: Problem with pdflatex and including a pdf file



On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:


Running distiller on the eps files produces great looking pdf
files. However, running pdflatex including those pdf files produces
horrible looking rasterized low-resolution images.


?!?

The placed .pdf files should be wholly enclosed in the pdflatex
generated .pdf at their original quality and w/ no changes ---
what .pdf viewing program are you using?


Anyone else with a solution?


That is the solution, and one which I've used often and w/ good results.

William

--
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender. 




Re[2]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
 Running distiller on the eps files produces great looking pdf files. 
 However, running pdflatex including those pdf files produces horrible 
 looking rasterized low-resolution images. 
 Anyone else with a solution? 

Sounds like an odd problem, and possibly wrongly described.
But in any case, dvipdfm works *great* including EPS files.

Cheers,
Alan Isaac






Re: Re[2]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: Alan G Isaac [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 4:53 PM
Subject: Re[2]: Problem with pdflatex and including a pdf file



On Tue, 10 Apr 2007, Pieter Bos apparently wrote:

Running distiller on the eps files produces great looking pdf files.
However, running pdflatex including those pdf files produces horrible
looking rasterized low-resolution images.
Anyone else with a solution?


Sounds like an odd problem, and possibly wrongly described.
But in any case, dvipdfm works *great* including EPS files.



Fixed it!

Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm after 
even more googling. Deleted the lyxrc.dist file and now it works.


Pieter 



Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-10 Thread Enrico Forestieri
Yu, James writes:
 Abdelrazak Younes wrote:
  The solution is just to replace our handmade socket (or pipe) layer 
  with a portable one.
 
  It should not be very hard to implement even for a newcomer in the LyX 
  project. If someone's interested, comesee us at the devel list 
 
  Another solution for you James is to use Enrico's mixed windows/cygwin 
  version. Could you confirm that it works Enrico?

Yes, but if you want that functionality from a native Windows app you
have to use a workaround. See below.

 If I was not wrong, it did not work in cygwin!

It works if you use cygwin apps. Native windows apps know nothing about
named pipes. However, there's a workaround. Windows provides file change
notifications, so you can tell a native app to use a given file as the
lyxpipe. Then you monitor such file with a small program, and when the app
writes to the file you receive a notification. So you simply copy what was
written to the file to the real lyxpipe using a cygwin program (a bash
script, for example).

I wrote such watcher utility by modifying the example provided at
http://www.relisoft.com/win32/watcher.html
and it works very well. I can push citations from JabRef directly into LyX
without problems. You need the cygwin version of LyX, of course.
The only nuisance is that you have to remember to launch the watcher
program in addition to LyX and JabRef.

-- 
Enrico



Bibliography problems

2007-04-10 Thread Julio Rojas

Hi, my tutor wants a bibliographic style similar to APAlike:

cite[1], book[2]

[1] Lastname, Name (year): Article Name, Journal Name
[2] Lastname, Name (year): Book Name, Publisher, Address

The problem is that when I try to use the apacite bibliographic
style on a plain article, a group of Undefined control sequence
errors appear, like the following:

Gil-Aluja1987}
  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

\APACinsertmetastar
   {%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

\newblock{}\BBOP
{}1987\BBCP{}.
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Any idea on how to solve this problem?

--
-
Julio Rojas
[EMAIL PROTECTED]


Re[4]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
 Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm after 
 even more googling. Deleted the lyxrc.dist file and now it works. 

Good.
What is your LyX version?

Cheers,
Alan Isaac






Re: Re[4]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: Alan G Isaac [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 6:19 PM
Subject: Re[4]: Problem with pdflatex and including a pdf file



On Tue, 10 Apr 2007, Pieter Bos apparently wrote:
Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm 
after

even more googling. Deleted the lyxrc.dist file and now it works.


Good.
What is your LyX version?


Version 1.4.4 (Sat Feb 17 11:37:59 2007)

Pieter 



Re[6]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
 Version 1.4.4 (Sat Feb 17 11:37:59 2007) 

Then either
- Georg and JMarc did not fix the 1.4 installer, or
- they fixed it after this date (unlikely?)

http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm

Cheers,
Alan Isaac






Re: Re[6]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Georg Baum
Am Dienstag, 10. April 2007 20:50 schrieb Alan G Isaac:
 On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
  Version 1.4.4 (Sat Feb 17 11:37:59 2007) 
 
 Then either
 - Georg and JMarc did not fix the 1.4 installer, or
 - they fixed it after this date (unlikely?)

No. Neither of us fixed it, AFAIK it is still broken. I don't maintain the 
windows installer, I don't know how the lyxrc.dist is generated and I 
pointed out several times that it needs to be changed. This is all that I 
can do.


Georg




Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Jeremy Johnson
On Tuesday 10 April 2007, Pieter Bos wrote:
 How exactly do i use epsfig? Lyx will still try to convert them to pdf and
 fail unless i manually specify it should use epsfig with an ERT command for
 each figure?

 I did find some sort of solution: using acrobat distiller to convert the
 eps files to pdf files, then include those. Running distiller as a
 converter in Lyx seems to be a problem because it requires absolute path
 names and lyx does not give those when i use the $$o and $$i in the
 preferences.

 also imagemagick can be used to convert, but it'll create raster images,
 which look very ugly.

 It would be nice to find a solution for including both eps and pdf files in
 lyx that works regardless of which latex version i use...

 regards,

 Pieter

 - Original Message -
 From: Jeremy Johnson [EMAIL PROTECTED]
 To: lyx-users@lists.lyx.org
 Sent: Tuesday, April 10, 2007 3:33 PM
 Subject: Re: Problem with pdflatex and including a pdf file


I mostly use LaTeX, but sometimes LyX as well.
Usually you can include CTAN packages in the 
LyX - Document Settings - Latex Preamble

e.g.
\usepackage{epsfig}

Sometimes LyX conflicts with certain packages.


Jabref Meta comments showing up in my citation list (1.4.4)

2007-04-10 Thread Stacia Hartleben

Hi, I don't know if this is fixed in 1.5.0, but I've always been
annoyed that the JabReb meta comments show up in the citation
box...Does this only happen to me or does it happen to other people as
well, and does anyone know the status of it? If not I'm gonna bug it
on bugzilla.


Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-10 Thread James Yu

Hi, Enrico,
Great you have tried something and succeeded.
Will you share with us the utility?
Thanks,
James

On 4/10/07, Enrico Forestieri [EMAIL PROTECTED] wrote:


Yu, James writes:
 Abdelrazak Younes wrote:
  The solution is just to replace our handmade socket (or pipe) layer
  with a portable one.
 
  It should not be very hard to implement even for a newcomer in the LyX
  project. If someone's interested, comesee us at the devel list
 
  Another solution for you James is to use Enrico's mixed windows/cygwin
  version. Could you confirm that it works Enrico?

Yes, but if you want that functionality from a native Windows app you
have to use a workaround. See below.

 If I was not wrong, it did not work in cygwin!

It works if you use cygwin apps. Native windows apps know nothing about
named pipes. However, there's a workaround. Windows provides file change
notifications, so you can tell a native app to use a given file as the
lyxpipe. Then you monitor such file with a small program, and when the app
writes to the file you receive a notification. So you simply copy what was
written to the file to the real lyxpipe using a cygwin program (a bash
script, for example).

I wrote such watcher utility by modifying the example provided at
http://www.relisoft.com/win32/watcher.html
and it works very well. I can push citations from JabRef directly into LyX
without problems. You need the cygwin version of LyX, of course.
The only nuisance is that you have to remember to launch the watcher
program in addition to LyX and JabRef.

--
Enrico




Re: Updating index

2007-04-10 Thread Lennart
Frederick FN Noronha [EMAIL PROTECTED] writes:

 
 How do I update the index of a Lyx-generated book? I made a number of
 changes in the index, but these don't seem to show up. FN


Just regenerate the pdf or dvi then the index should be updated..



How to insert a blank page

2007-04-10 Thread Lennart
Hey,

I have a document written in the book class. I want a white blank page after 
the title page. So that the table of contents isn't printed on the back of the 
title page when I print it double sided.  I know it's against the lyx 
philosofy and I know how to fix it outside lyx. But I think it could be also 
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works. 
How do I insert a blank page?



Lyx 144 on Intel Mac: problems with large documents

2007-04-10 Thread Robert Neumann
Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening and 
working on a document with 40 pages was no problem (well scrolling up 
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx 
hangs itself at the first attempt. At the second it opened the document 
but when I tried the pdf-preview I had to close Lyx after waiting for 3 
minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on 
windows  than on linux but I thought with OS X beeing close to linux it 
would be as fast as with linux...
regards
robert



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-10 Thread Bob Lounsbury
On 4/10/07 2:28 PM, Robert Neumann [EMAIL PROTECTED] wrote:

 Hello,
 I just installed lyx 144 sucessfully on a macbook core duo. Opening and
 working on a document with 40 pages was no problem (well scrolling up
 and down was a bit sluggish...)
 But when I opened a document with 290 pages and about 80 figures lyx
 hangs itself at the first attempt. At the second it opened the document
 but when I tried the pdf-preview I had to close Lyx after waiting for 3
 minutes with the fan running like a hair blower.
 Is this a known issue for the mac? I know that lyx is much slower on
 windows  than on linux but I thought with OS X beeing close to linux it
 would be as fast as with linux...
 regards
 robert 

I have LyX 1.4.4 on a 600Mhz iBook and I can open and view a pdf of a 25
page document with 11 figures in roughly 30 seconds.

So, something must be going on with your installation. Unfortunately, I
wouldn't have the first clue as to what the problem might be. I'll leave
that to the LyXperts on this mailing list.

Regards,
Bob Lounsbury




Re: How to insert a blank page

2007-04-10 Thread Paul Smith

On 4/10/07, Lennart [EMAIL PROTECTED] wrote:

I have a document written in the book class. I want a white blank page after
the title page. So that the table of contents isn't printed on the back of the
title page when I print it double sided.  I know it's against the lyx
philosofy and I know how to fix it outside lyx. But I think it could be also
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works.
How do I insert a blank page?


Insert -- Special formatting -- Page break.

Paul


Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-10 Thread Enrico Forestieri
On Tue, Apr 10, 2007 at 01:11:53PM -0700, James Yu wrote:

 Hi, Enrico,
 Great you have tried something and succeeded.
 Will you share with us the utility?

No problem. Please find attached a tar archive containing an executable
and a bash script. You can put LyXPipeWatcher.exe wherever you want, but
it is mandatory that you copy the script to the cygwin /usr/local/bin
directory.

I don't know if I am allowed to redistribute modified sources from
http://www.relisoft.com/win32/watcher.html
so I am not including them. The sources are copyrighted but I could
not find anything about redistribution.

Usage is as follows.

Prerequisites:

 - Cygwin version of LyX (either the official one using Qt3/X11
   or mine own build using Qt3/Win will do).

 - Make sure that you have the cygwin bin directory in your system PATH.
   Most probably this is c:\cygwin\bin and you should add it to the Path
   variable in the System properties/Advanced/Environment variables
   panel (on Win2k I get it by choosing Properties after right clicking
   on the My Computer icon). You need admin privileges to do this.

 - Once you are in the previous panel, make sure that a variable named
   HOME is set, pointing to your cygwin home directory. For example,
   this could be c:\cygwin\home\James (use the Windows syntax here).

Usage with JabRef:

 - Set the lyxpipe path in LyX. You should set this path in the LyXServer
   pipe: entry you see after Tools-Preferences-Paths. Use the cygwin
   syntax here. Under the hypothesis that your cygwin home directory is
   c:\cygwin\home\James, I suggest using something like /home/.lyx/lyxpipe.
   Save the preferences and restart LyX.

 - Set the lyxpipe path in JabRef. Use whatever path you like here but
   make sure that it is *different* from the previous one.

 - Launch LyXpipeWatcher.exe specifying on the command line (or in a
   shortcut) the same lyxpipe path you gave to JabRef (the bash script
   will figure out by itself what is the real lyxpipe path).

 - Once you have LyX, JabRef and LyXpipeWatcher running, try pushing a
   reference to LyX. You should see a console window flashing briefly and
   then the reference should appear in LyX.

-- 
Enrico


LyXPipeWatcher.tar.gz
Description: application/tar-gz


[announce] Windows development snaphot for LyX 1.5 (09-04-2007)

2007-04-10 Thread Uwe Stöhr

Hello LyXers,

the last week we made big efforts towards the LyX 1.5.0 release. To test the new features, dialog 
cleanups and bugfixes I've published a new development snapshot of LyX 1.5svn:


https://developer.berlios.de/project/showfiles.php?group_id=5117_id=12620

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

The most important changes since LyX 1.5svn-30-03-2007 are:

Version LyX 1.5svn-09-04-2007

- LyX 1.5svn from 09-04-2007
  - CJK fixes
  - keyboard maps are now working
  - InstantPreview is working again
  - new layout and template files for the g-brief2 letter class and the
moderncv and europecv curriculum vitae classes
  - reworked BibTeX file parser
  - reworked graphics, glossary, and  math delimiter dialog
  - new Spanish translation of the Extended manual
  - many other bugfixes

Installer changes:
- updated Readme files
- NSIS 2.25 is now required to compile the installer

--- disclaimer ---
LyX 1.5svn test builds are for testers and interested LyXers to see the new
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5svn is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn for production!

happy testing and best regards
Uwe




Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
Hello,

i'm trying to include a pdf file in a large document, a paper that was 
published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this with 
pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed to get 
this to work, with an ERT command with the rather obscure but somehow necessary 
path format:

\includepdf[pages=1-6]{//./c:/dir/pdffile}

without the .pdf extension. So far so good. However, for this to work i have to 
use pdflatex instead of one of the other formats. Now my problem is, i get 
error messages when using pdflatex. For all my .eps figures, the following 
error message appears:

An error occurred whilst running epstopdf 
--outfile="3D__dirigent_verslag_verslagdi

And with a similar error for all .eps figures. All other figures and the pdf 
file include just fine. The error message seems to get cut off at the end. Does 
anyone have an idea what could be wrong and how to fix it?

I tried an alternative to pdfpages, by just converting the pdf file to ps with 
the pdf2ps command, then using psselect to get the separate pages and including 
those into Lyx. However, this doesn't work either. The pages i need to include 
do appear in the Lyx user interface, however not in any output format. If i try 
to include a pdf directly lyx says there is no converter to convert a pdf file 
to the eps format.

So, does anyone have a solution for me? If all else fails i can just combine 
the pdf file with the pdf file of the thesis later, but i'd like it to work 
directly.

Regards,

Pieter


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
I should add that running eps2pdf on my eps files exported from coreldraw 
gives the following error:


epstopdf: Not a valid EPS file.

They open just fine in ghostview.

Pieter

- Original Message - 
From: Pieter Bos

To: lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 1:55 PM
Subject: Problem with pdflatex and including a pdf file


Hello,

i'm trying to include a pdf file in a large document, a paper that was 
published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this 
with pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed 
to get this to work, with an ERT command with the rather obscure but somehow 
necessary path format:


\includepdf[pages=1-6]{//./c:/dir/pdffile}

without the .pdf extension. So far so good. However, for this to work i have 
to use pdflatex instead of one of the other formats. Now my problem is, i 
get error messages when using pdflatex. For all my .eps figures, the 
following error message appears:


An error occurred whilst running 
epstopdf --outfile="3D__dirigent_verslag_verslagdi


And with a similar error for all .eps figures. All other figures and the pdf 
file include just fine. The error message seems to get cut off at the end. 
Does anyone have an idea what could be wrong and how to fix it?


I tried an alternative to pdfpages, by just converting the pdf file to ps 
with the pdf2ps command, then using psselect to get the separate pages and 
including those into Lyx. However, this doesn't work either. The pages i 
need to include do appear in the Lyx user interface, however not in any 
output format. If i try to include a pdf directly lyx says there is no 
converter to convert a pdf file to the eps format.


So, does anyone have a solution for me? If all else fails i can just combine 
the pdf file with the pdf file of the thesis later, but i'd like it to work 
directly.


Regards,

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Jeremy Johnson
On Tuesday 10 April 2007, Pieter Bos wrote:
> Hello,
>
> i'm trying to include a pdf file in a large document, a paper that was
> published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this
> with pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed
> to get this to work, with an ERT command with the rather obscure but
> somehow necessary path format:
>
> \includepdf[pages=1-6]{//./c:/dir/pdffile}
>
> without the .pdf extension. So far so good. However, for this to work i
> have to use pdflatex instead of one of the other formats. Now my problem
> is, i get error messages when using pdflatex. For all my .eps figures, the
> following error message appears:
>
> An error occurred whilst running epstopdf
> --outfile="3D__dirigent_verslag_verslagdi
>
> And with a similar error for all .eps figures. All other figures and the
> pdf file include just fine. The error message seems to get cut off at the
> end. Does anyone have an idea what could be wrong and how to fix it?
>
> I tried an alternative to pdfpages, by just converting the pdf file to ps
> with the pdf2ps command, then using psselect to get the separate pages and
> including those into Lyx. However, this doesn't work either. The pages i
> need to include do appear in the Lyx user interface, however not in any
> output format. If i try to include a pdf directly lyx says there is no
> converter to convert a pdf file to the eps format.
>
> So, does anyone have a solution for me? If all else fails i can just
> combine the pdf file with the pdf file of the thesis later, but i'd like it
> to work directly.
>
> Regards,
>
> Pieter

Did you use the epsfig package for pdflatex?

% Encapsulated PostScript figures
\usepackage{epsfig}


pgp9cs5vOCIdc.pgp
Description: PGP signature


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
How exactly do i use epsfig? Lyx will still try to convert them to pdf and 
fail unless i manually specify it should use epsfig with an ERT command for 
each figure?


I did find some sort of solution: using acrobat distiller to convert the eps 
files to pdf files, then include those. Running distiller as a converter in 
Lyx seems to be a problem because it requires absolute path names and lyx 
does not give those when i use the $$o and $$i in the preferences.


also imagemagick can be used to convert, but it'll create raster images, 
which look very ugly.


It would be nice to find a solution for including both eps and pdf files in 
lyx that works regardless of which latex version i use...


regards,

Pieter

- Original Message - 
From: "Jeremy Johnson" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, April 10, 2007 3:33 PM
Subject: Re: Problem with pdflatex and including a pdf file




Re: Table of Contents formatting

2007-04-10 Thread John Hughes
With the help of your example, I now understand the documentation much 
better! Thanks!


John


From: Bob Lounsbury <[EMAIL PROTECTED]>
To: John Hughes <[EMAIL PROTECTED]>,LyX 


Subject: Re: Table of Contents formatting
Date: Tue, 03 Apr 2007 11:03:58 -0600

On 4/3/07 7:05 AM, "John Hughes" <[EMAIL PROTECTED]> wrote:

>
>
>
>> From: Bob Lounsbury <[EMAIL PROTECTED]>
>> To: John Hughes <[EMAIL PROTECTED]>,LyX
>> 
>> Subject: Re: Table of Contents formatting
>> Date: Mon, 02 Apr 2007 16:18:44 -0600
>>
>> On 4/2/07 9:48 AM, "John Hughes" <[EMAIL PROTECTED]> wrote:
>>
>>> By default, the highest level entries in the table of contents are set
>> to
>>> bold, which matches the default heading font. However, if I change the
>>> default heading font to, for example, medium series small caps (using
>>> sectsty), how can I change the highest level entries in the table of
>>> contents to match?
>>>
>>> Thanks
>>>
>>> John
>>>
>>> _
>>> Solve the Conspiracy and win fantastic prizes.
>>> http://www.theconspiracygame.co.uk/
>>>
>>
>> Check out the tocloft package to modify the toc, lof, or lot.
>>
>> Regards,
>> Bob Lounsbury
>>
>
> I've checked the documentation for that package and I'm still not sure 
how

> to change the font of the entries at one level. I've tried entering:
>
> \makeatletter
> [EMAIL PROTECTED]
> \makeatother
>
> which doesn't use tocloft, but it doesn't seem to work. If anyone's had 
any
> luck changing the font of table of contents entries with or without 
tocloft,

> please let me know.
>
> Thanks.
>
> John
>
> _
> MSN Hotmail is evolving - check out the new Windows Live Mail.
> http://ideas.live.co.uk/
>

Here's a simple example of how to change the font using the tocloft 
package.

Look at section 2.3 of the tocloft package documentation for further
discussion.

Regards,
Bob Lounsbury





<< tocloft-sample.lyx >>


_
Solve the Conspiracy and win fantastic prizes.  
http://www.theconspiracygame.co.uk/




Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
- Original Message - 
From: "Pieter Bos" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>; 
Sent: Tuesday, April 10, 2007 3:51 PM
Subject: Re: Problem with pdflatex and including a pdf file

I did find some sort of solution: using acrobat distiller to convert the 
eps files to pdf files, then include those. Running distiller as a 
converter in Lyx seems to be a problem because it requires absolute path 
names and lyx does not give those when i use the $$o and $$i in the 
preferences.




Running distiller on the eps files produces great looking pdf files. 
However, running pdflatex including those pdf files produces horrible 
looking rasterized low-resolution images.


Anyone else with a solution?

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread William Adams
On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:

> Running distiller on the eps files produces great looking pdf  
> files. However, running pdflatex including those pdf files produces  
> horrible looking rasterized low-resolution images.

?!?

The placed .pdf files should be wholly enclosed in the pdflatex  
generated .pdf at their original quality and w/ no changes ---  
what .pdf viewing program are you using?

> Anyone else with a solution?

That is the solution, and one which I've used often and w/ good results.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: "William Adams" <[EMAIL PROTECTED]>

To: "LyX Users" 
Sent: Tuesday, April 10, 2007 4:14 PM
Subject: Re: Problem with pdflatex and including a pdf file



On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:


Running distiller on the eps files produces great looking pdf
files. However, running pdflatex including those pdf files produces
horrible looking rasterized low-resolution images.


?!?

The placed .pdf files should be wholly enclosed in the pdflatex
generated .pdf at their original quality and w/ no changes ---
what .pdf viewing program are you using?



That is what i was thinking. I'm using acrobat professional 8.
However, check http://pieter.student.utwente.nl/lyx/ . There's the original 
pdf file (beatdetectoropdeling.pdf), a very small lyx file (test.lyx) and 
the resulting pdf file (test.pdf)


I think lyx might be for some reason calling a convertor. When i run 
pdflatex manually on the exported tex file this small test file works great.


Any ideas?

Pieter 



Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread William Adams
On Apr 10, 2007, at 10:33 AM, Pieter Bos wrote:

> I think lyx might be for some reason calling a convertor. When i  
> run pdflatex manually on the exported tex file this small test file  
> works great.

Correct.

For some reason the nice vector / text .pdf you have  
(beatdetectoropdeling.pdf) is converted into an RGB bitmap.

Are you sure you've got LyX set to call pdflatex to make a .pdf? I  
thought the default was latex->dvi->dvips->ghostscript which would  
yield the result you have belike.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos
Ok, i tried exporting a larger file to pdflatex. It will create a png file 
for each .pdf file i try to include. When i delete them and run pdflatex 
manually, everything works just as it should.


That's not right, is it? There aren't any converters from pdf to png present 
in the preferences window. Any idea on how to stop Lyx from doing this?


Pieter

- Original Message - 
From: "William Adams" <[EMAIL PROTECTED]>

To: "LyX Users" 
Sent: Tuesday, April 10, 2007 4:14 PM
Subject: Re: Problem with pdflatex and including a pdf file



On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote:


Running distiller on the eps files produces great looking pdf
files. However, running pdflatex including those pdf files produces
horrible looking rasterized low-resolution images.


?!?

The placed .pdf files should be wholly enclosed in the pdflatex
generated .pdf at their original quality and w/ no changes ---
what .pdf viewing program are you using?


Anyone else with a solution?


That is the solution, and one which I've used often and w/ good results.

William

--
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender. 




Re[2]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
> Running distiller on the eps files produces great looking pdf files. 
> However, running pdflatex including those pdf files produces horrible 
> looking rasterized low-resolution images. 
> Anyone else with a solution? 

Sounds like an odd problem, and possibly wrongly described.
But in any case, dvipdfm works *great* including EPS files.

Cheers,
Alan Isaac






Re: Re[2]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: "Alan G Isaac" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, April 10, 2007 4:53 PM
Subject: Re[2]: Problem with pdflatex and including a pdf file



On Tue, 10 Apr 2007, Pieter Bos apparently wrote:

Running distiller on the eps files produces great looking pdf files.
However, running pdflatex including those pdf files produces horrible
looking rasterized low-resolution images.
Anyone else with a solution?


Sounds like an odd problem, and possibly wrongly described.
But in any case, dvipdfm works *great* including EPS files.



Fixed it!

Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm after 
even more googling. Deleted the lyxrc.dist file and now it works.


Pieter 



Re: Is there any way to make "JabRef push to LyX" work in Windows XP?

2007-04-10 Thread Enrico Forestieri
Yu, James writes:
> Abdelrazak Younes wrote:
> > The solution is "just" to replace our handmade socket (or pipe) layer 
> > with a portable one.
> >
> > It should not be very hard to implement even for a newcomer in the LyX 
> > project. If someone's interested, come us at the devel list 
> >
> > Another solution for you James is to use Enrico's mixed windows/cygwin 
> > version. Could you confirm that it works Enrico?

Yes, but if you want that functionality from a native Windows app you
have to use a workaround. See below.

> If I was not wrong, it did not work in cygwin!

It works if you use cygwin apps. Native windows apps know nothing about
named pipes. However, there's a workaround. Windows provides file change
notifications, so you can tell a native app to use a given file as the
lyxpipe. Then you monitor such file with a small program, and when the app
writes to the file you receive a notification. So you simply copy what was
written to the file to the real lyxpipe using a cygwin program (a bash
script, for example).

I wrote such "watcher" utility by modifying the example provided at
http://www.relisoft.com/win32/watcher.html
and it works very well. I can push citations from JabRef directly into LyX
without problems. You need the cygwin version of LyX, of course.
The only nuisance is that you have to remember to launch the watcher
program in addition to LyX and JabRef.

-- 
Enrico



Bibliography problems

2007-04-10 Thread Julio Rojas

Hi, my tutor wants a bibliographic style similar to APAlike:

cite[1], book[2]

[1] Lastname, Name (year): Article Name, Journal Name
[2] Lastname, Name (year): Book Name, Publisher, Address

The problem is that when I try to use the "apacite" bibliographic
style on a "plain" article, a group of "Undefined control sequence"
errors appear, like the following:

Gil-Aluja1987}
  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

\APACinsertmetastar
   {%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

\newblock{}\BBOP
{}1987\BBCP{}.
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Any idea on how to solve this problem?

--
-
Julio Rojas
[EMAIL PROTECTED]


Re[4]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
> Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm after 
> even more googling. Deleted the lyxrc.dist file and now it works. 

Good.
What is your LyX version?

Cheers,
Alan Isaac






Re: Re[4]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Pieter Bos


- Original Message - 
From: "Alan G Isaac" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, April 10, 2007 6:19 PM
Subject: Re[4]: Problem with pdflatex and including a pdf file



On Tue, 10 Apr 2007, Pieter Bos apparently wrote:
Found http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm 
after

even more googling. Deleted the lyxrc.dist file and now it works.


Good.
What is your LyX version?


Version 1.4.4 (Sat Feb 17 11:37:59 2007)

Pieter 



Re[6]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Alan G Isaac
On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
> Version 1.4.4 (Sat Feb 17 11:37:59 2007) 

Then either
- Georg and JMarc did not fix the 1.4 installer, or
- they fixed it after this date (unlikely?)

http://www.archivesat.com/lyx_develers_help/thread2637474-1.htm

Cheers,
Alan Isaac






Re: Re[6]: Problem with pdflatex and including a pdf file

2007-04-10 Thread Georg Baum
Am Dienstag, 10. April 2007 20:50 schrieb Alan G Isaac:
> On Tue, 10 Apr 2007, Pieter Bos apparently wrote: 
> > Version 1.4.4 (Sat Feb 17 11:37:59 2007) 
> 
> Then either
> - Georg and JMarc did not fix the 1.4 installer, or
> - they fixed it after this date (unlikely?)

No. Neither of us fixed it, AFAIK it is still broken. I don't maintain the 
windows installer, I don't know how the lyxrc.dist is generated and I 
pointed out several times that it needs to be changed. This is all that I 
can do.


Georg




Re: Problem with pdflatex and including a pdf file

2007-04-10 Thread Jeremy Johnson
On Tuesday 10 April 2007, Pieter Bos wrote:
> How exactly do i use epsfig? Lyx will still try to convert them to pdf and
> fail unless i manually specify it should use epsfig with an ERT command for
> each figure?
>
> I did find some sort of solution: using acrobat distiller to convert the
> eps files to pdf files, then include those. Running distiller as a
> converter in Lyx seems to be a problem because it requires absolute path
> names and lyx does not give those when i use the $$o and $$i in the
> preferences.
>
> also imagemagick can be used to convert, but it'll create raster images,
> which look very ugly.
>
> It would be nice to find a solution for including both eps and pdf files in
> lyx that works regardless of which latex version i use...
>
> regards,
>
> Pieter
>
> - Original Message -
> From: "Jeremy Johnson" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, April 10, 2007 3:33 PM
> Subject: Re: Problem with pdflatex and including a pdf file


I mostly use LaTeX, but sometimes LyX as well.
Usually you can include CTAN packages in the 
LyX -> Document Settings -> Latex Preamble

e.g.
\usepackage{epsfig}

Sometimes LyX conflicts with certain packages.


Jabref Meta comments showing up in my citation list (1.4.4)

2007-04-10 Thread Stacia Hartleben

Hi, I don't know if this is fixed in 1.5.0, but I've always been
annoyed that the JabReb meta comments show up in the citation
box...Does this only happen to me or does it happen to other people as
well, and does anyone know the status of it? If not I'm gonna bug it
on bugzilla.


Re: Is there any way to make "JabRef push to LyX" work in Windows XP?

2007-04-10 Thread James Yu

Hi, Enrico,
Great you have tried something and succeeded.
Will you share with us the "utility"?
Thanks,
James

On 4/10/07, Enrico Forestieri <[EMAIL PROTECTED]> wrote:


Yu, James writes:
> Abdelrazak Younes wrote:
> > The solution is "just" to replace our handmade socket (or pipe) layer
> > with a portable one.
> >
> > It should not be very hard to implement even for a newcomer in the LyX
> > project. If someone's interested, come us at the devel list
> >
> > Another solution for you James is to use Enrico's mixed windows/cygwin
> > version. Could you confirm that it works Enrico?

Yes, but if you want that functionality from a native Windows app you
have to use a workaround. See below.

> If I was not wrong, it did not work in cygwin!

It works if you use cygwin apps. Native windows apps know nothing about
named pipes. However, there's a workaround. Windows provides file change
notifications, so you can tell a native app to use a given file as the
lyxpipe. Then you monitor such file with a small program, and when the app
writes to the file you receive a notification. So you simply copy what was
written to the file to the real lyxpipe using a cygwin program (a bash
script, for example).

I wrote such "watcher" utility by modifying the example provided at
http://www.relisoft.com/win32/watcher.html
and it works very well. I can push citations from JabRef directly into LyX
without problems. You need the cygwin version of LyX, of course.
The only nuisance is that you have to remember to launch the watcher
program in addition to LyX and JabRef.

--
Enrico




Re: Updating index

2007-04-10 Thread Lennart
Frederick "FN" Noronha <[EMAIL PROTECTED]> writes:

> 
> How do I update the index of a Lyx-generated book? I made a number of
> changes in the index, but these don't seem to show up. FN


Just regenerate the pdf or dvi then the index should be updated..



How to insert a blank page

2007-04-10 Thread Lennart
Hey,

I have a document written in the book class. I want a white blank page after 
the title page. So that the table of contents isn't printed on the back of the 
title page when I print it double sided.  I know it's against the lyx 
philosofy and I know how to fix it outside lyx. But I think it could be also 
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works. 
How do I insert a blank page?



Lyx 144 on Intel Mac: problems with large documents

2007-04-10 Thread Robert Neumann
Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening and 
working on a document with 40 pages was no problem (well scrolling up 
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx 
hangs itself at the first attempt. At the second it opened the document 
but when I tried the pdf-preview I had to close Lyx after waiting for 3 
minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on 
windows  than on linux but I thought with OS X beeing close to linux it 
would be as fast as with linux...
regards
robert



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-10 Thread Bob Lounsbury
On 4/10/07 2:28 PM, "Robert Neumann" <[EMAIL PROTECTED]> wrote:

> Hello,
> I just installed lyx 144 sucessfully on a macbook core duo. Opening and
> working on a document with 40 pages was no problem (well scrolling up
> and down was a bit sluggish...)
> But when I opened a document with 290 pages and about 80 figures lyx
> hangs itself at the first attempt. At the second it opened the document
> but when I tried the pdf-preview I had to close Lyx after waiting for 3
> minutes with the fan running like a hair blower.
> Is this a known issue for the mac? I know that lyx is much slower on
> windows  than on linux but I thought with OS X beeing close to linux it
> would be as fast as with linux...
> regards
> robert 

I have LyX 1.4.4 on a 600Mhz iBook and I can open and view a pdf of a 25
page document with 11 figures in roughly 30 seconds.

So, something must be going on with your installation. Unfortunately, I
wouldn't have the first clue as to what the problem might be. I'll leave
that to the LyXperts on this mailing list.

Regards,
Bob Lounsbury




Re: How to insert a blank page

2007-04-10 Thread Paul Smith

On 4/10/07, Lennart <[EMAIL PROTECTED]> wrote:

I have a document written in the book class. I want a white blank page after
the title page. So that the table of contents isn't printed on the back of the
title page when I print it double sided.  I know it's against the lyx
philosofy and I know how to fix it outside lyx. But I think it could be also
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works.
How do I insert a blank page?


Insert --> Special formatting --> Page break.

Paul


Re: Is there any way to make "JabRef push to LyX" work in Windows XP?

2007-04-10 Thread Enrico Forestieri
On Tue, Apr 10, 2007 at 01:11:53PM -0700, James Yu wrote:

> Hi, Enrico,
> Great you have tried something and succeeded.
> Will you share with us the "utility"?

No problem. Please find attached a tar archive containing an executable
and a bash script. You can put LyXPipeWatcher.exe wherever you want, but
it is mandatory that you copy the script to the cygwin /usr/local/bin
directory.

I don't know if I am allowed to redistribute modified sources from
http://www.relisoft.com/win32/watcher.html
so I am not including them. The sources are copyrighted but I could
not find anything about redistribution.

Usage is as follows.

Prerequisites:

 - Cygwin version of LyX (either the official one using Qt3/X11
   or mine own build using Qt3/Win will do).

 - Make sure that you have the cygwin bin directory in your system PATH.
   Most probably this is c:\cygwin\bin and you should add it to the Path
   variable in the "System properties/Advanced/Environment variables"
   panel (on Win2k I get it by choosing Properties after right clicking
   on the "My Computer" icon). You need admin privileges to do this.

 - Once you are in the previous panel, make sure that a variable named
   HOME is set, pointing to your cygwin home directory. For example,
   this could be c:\cygwin\home\James (use the Windows syntax here).

Usage with JabRef:

 - Set the lyxpipe path in LyX. You should set this path in the "LyXServer
   pipe:" entry you see after Tools->Preferences->Paths. Use the cygwin
   syntax here. Under the hypothesis that your cygwin home directory is
   c:\cygwin\home\James, I suggest using something like /home/.lyx/lyxpipe.
   Save the preferences and restart LyX.

 - Set the lyxpipe path in JabRef. Use whatever path you like here but
   make sure that it is *different* from the previous one.

 - Launch LyXpipeWatcher.exe specifying on the command line (or in a
   shortcut) the same lyxpipe path you gave to JabRef (the bash script
   will figure out by itself what is the real lyxpipe path).

 - Once you have LyX, JabRef and LyXpipeWatcher running, try pushing a
   reference to LyX. You should see a console window flashing briefly and
   then the reference should appear in LyX.

-- 
Enrico


LyXPipeWatcher.tar.gz
Description: application/tar-gz