Re: problems with Beamer presentations

2008-05-15 Thread nicolas roy


Look in the Powerdot documentation 
(probably /usr/share/texmf/doc/latex/powerdot/powerdot.pdf 
or /usr/share/texmf/tex/latex/powerdot/powerdot.pdf, definitely at 
http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/doc/powerdot.pdf) 
at Table 2 on page 26, which lists the required LaTeX packages.  You can 
download these individually from CTAN (http://www.ctan.org) and follow the 
installation instructions for each one; or as an alternative, just install 
all the texlive packages available for Ubuntu --
Following your advice, i installed all texlive packages. After 
reconfiguring and so on, it turns out that i have similar problems as 
with beamer :

* there is no link on the items in the left menus
* no navigation bar at the bottom
* no color at all on the slides (in the pdf example file, there are some 
frame, rectangles, with color. )


BUT : if i export in ps, and the by hand use ps2pdf, then it works ! I 
guess thus, that the problem comes from the command dvipdfm that lyx 
seems to use.

How can i change it ?
Notice than, with beamer, using export ps and by hand ps2pdf solve 
partially the problem. The slides are nice, but they have a very small 
size embedded in a A4 page. I mean :

http://www.mathematik.hu-berlin.de/~roy/beamer.pdf
Is there an option that could solve this size issue ?

Thanks

nico

--
Dr Nicolas Roy
Geometric Analysis Group
Institut für Mathematik
Humboldt Universität
Rudower Chaussee 25
Berlin D-12489

Tel: +49 (30) 20932358
Fax:  +49 (30) 20932727
[EMAIL PROTECTED]
http://www.math.hu-berlin.de/~roy/



Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Steve Litt
On Thursday 15 May 2008 01:46, Nathan Miller wrote:

 I'm checking whether the fonts are embedded using Acrobat (properties) and
 pdffonts. There are a scary number of fonts (~100) and most are not
 embedded.

This isn't responsive to your question, but why 100 fonts? You're right -- 
that is scary. How many typefaces are you using?

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: LyX is outputting PDF's which use raster fonts?

2008-05-15 Thread Uwe Stöhr

woodvorg schrieb:


Anyone know what I need to do to fix this and use proper fonts?


Look here:
http://wiki.lyx.org/FAQ/PDF
under The fonts are bad in the exported PDF, what can I do?


regards Uwe


[Fwd: [ANNOUNCE] LyX 1.5.5 is released]

2008-05-15 Thread ddimuc
As I have mentioned a LONG, LONG time ago - I am unable to unsubscribe
to this list (yes, I've sent an e-mail to the proper entity).

So, that means I am unnecessarily getting e-mails from the list.
Therefore, it would only be fair to unnecessarily send e-mails (whether
they apply to LyX or not) back to the list.


Which US presidential candidate are you voting for?


Re: Using a network printer

2008-05-15 Thread christian . ridderstrom

On Sun, 23 Mar 2008, Helge Hafting wrote:

Some people have lpr instead of lp, consider replacing lp then. 
Cups (in debian: the package cupsys-client) provides a lp binary that 
lyx can use. This will print to whatever printer cups considers default.


In case it helps someone else, it turns out that in my Ubuntu 
installation, directing printing to 'lpr' or 'lp' helped, as that routed 
the output to the default printing.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

LyX 1.5.5 under Ubuntu does not find LaTeX packages

2008-05-15 Thread christian . ridderstrom

Hi,

I've downloaded LyX 1.5.5 and built it in a local directory. Then I run

lyx-1.5.5/src/lyx

and try to do a reconfigure. The result is a message about:

The system reconfiguration has failed.
Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed.

This means LyX is unable to find the class files and style files it was 
looking for. My question is how I should set the proper paths to the latex 
installation when I'm using Ubuntu. (I'm not able to getit to work using 
TEXINPUTS, but I'm very rusty at this).


Best regards,
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: problems with Beamer presentations

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, nicolas roy wrote:
 BUT : if i export in ps, and the by hand use ps2pdf, then it works ! I
 guess thus, that the problem comes from the command dvipdfm that lyx
 seems to use.
 How can i change it ?
 Notice than, with beamer, using export ps and by hand ps2pdf solve
 partially the problem. The slides are nice, but they have a very small
 size embedded in a A4 page. I mean :
 http://www.mathematik.hu-berlin.de/~roy/beamer.pdf
 Is there an option that could solve this size issue ?

The standard LyX installation usually has three ways of exporting to PDF: 
PDF(dvipdfm), PDF(pdflatex) and PDF(ps2pdf).  You access all of them from the 
File-Export menu.  The PDF icon (at least on my 1.5.4 installation) uses the 
PDF(pdflatex) converter, which certainly does not work with powerdot and 
probably not with beamer (I haven't tried it).

Powerdot (and probably beamer) uses the pstricks package which means the 
conversion has to go through postscript, so dvipdfm, which goes directly from 
DVI to PDF, and pdflatex, which goes directly from LaTeX to PDF, do not work 
properly.

If you use the PDF(ps2pdf) export (or viewer) it should work properly.  The 
page format problem is probably due to something lacking in the class options 
or in the preamble.  Have you tried the example, powerdot-example.lyx?

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Packages required under Linux

2008-05-15 Thread Daniel CLEMENT
Some recent threads raised this question. It's indeed one thing that did
puzzle me under Linux (Ubuntu), especially when compared to a Windows
install.

Only recently I found that under Synaptic, the LyX package being
selected, you could right-click and select recommended/suggested
packages for installing. A fairly large list in the first case, even
larger in the second.

I have not installed all of them. Instead, I compiled my (not-so-long)
own list of useful packages. I could post it here if someone asks, or
maybe it could go to the Wiki page Peleg Michaeli has started.

It's true that some of these packages are almost mandatory...

Regards, 
-- 

Daniel CLEMENT




Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, Nathan Miller wrote:
 I'm checking whether the fonts are embedded using Acrobat (properties) and
 pdffonts. There are a scary number of fonts (~100) and most are not
 embedded.

In my experience most non-embedded fonts with LyX documents come from figures 
in the document in Postscript/EPS or PDF format.  If the application which 
generated these figures did not embed the fonts, and they differ from those 
your LyX document uses, they will show up in the PDF document as not 
embedded.  The solution is to fix the original figure, or, if you can't do 
that, convert it to a raster image at a suitable resolution for the final 
document.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


very little error in lyx 1.5.5

2008-05-15 Thread Marcelo Acuña
hello,
 I have lyx 1.5.5 and opensuse 10.3 (a linux total
disaster :-(
 1) I selected big icons, work, and when I close lyx
or restart the computer, lyx not remember my selection
and put medium icons.
 2) I selected that lyx remember size and content of
main window.  I work with maximized window, when I
close Lyx, then lyx appears no maximized. 
 Regards
Marcelo

Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Encuentros.

Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros 
http://yahoo.cupidovirtual.com/servlet/NewRegistration


Re: Packages required under Linux

2008-05-15 Thread christian . ridderstrom

On Thu, 15 May 2008, Daniel CLEMENT wrote:

Some recent threads raised this question. It's indeed one thing that did 
puzzle me under Linux (Ubuntu), especially when compared to a Windows 
install.


Thanks, this helped me - now Lyx no longer complains after a recompile, 
and many of the classes are available. I've written some notes on this 
page:


http://wiki.lyx.org/LyX/LyXOnUbuntu

own list of useful packages. I could post it here if someone asks, or 
maybe it could go to the Wiki page Peleg Michaeli has started.


Please add it to the wiki page, I'd certainly appreciate it!

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, Les Denham wrote:
 The solution is to fix the original figure, or, if you can't do
 that, convert it to a raster image at a suitable resolution for the final
 document.

With a few minutes research, I noted the following from the ps2pdf 
documentation:
ps2pdf will sometimes convert text to high-resolution bitmapped fonts rather 
than to embedded outline fonts. This will occur when the PostScript file uses 
Type 3, CIDFontType 1, or CIDFontType 4 fonts, or Type 0 fonts that reference 
any of these; it may also occur in some cases if the input file uses fonts 
with non-standard encodings, or in some other rare cases.

The default setting of EmbedAllFonts for ps2pdf is true, so using ps2pdf to 
convert to PDF should embed everything if these font types are avoided.  Of 
course, this may be a problem with non-Roman character sets, which are likely 
to be available as CID fonts only.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Nathan Miller

I think you are right, Les. The huge number of fonts must be from the
figures, which is worrisome b/c I have over 100 figures. Most figures are
saved as pdf from matlab, while the rest are printed from powerpoint and
tinycad using pdfcreator. For most figures, I use a script to automatically
calculate the bounding box, which uses pdftops, ps2eps, and finally
epstopdf. Maybe a solution would be to see whether any of those 3 programs
can be set to embed all fonts.

Using pdffonts, I have ~100 type 1 fonts (most not embedded), 10 truetype
fonts (all embedded), ~10 type 3 fonts (all embedded), ~3 type 1c fonts
(embedded), and 1 CID truetype font (embedded). So Les, if I'm understanding
you correctly, I should only potentially have trouble with the type3 and
CID1 fonts becoming bitmapped if I use ps2pdf.

As a first try, I will use pdflatex, then pdf2ps, then ps2pdf to see how it
looks, since it's easier than redoing all my figures.  

I know basically nothing about all this font business, but naively it seems
like some program should just be able to see which fonts are not embedded,
and then add them to the pdf. Is there a basic reason this wouldn't work?
-- 
View this message in context: 
http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17256501.html
Sent from the LyX - Users mailing list archive at Nabble.com.



About bibliography

2008-05-15 Thread NinaNutz
Hello all again,
Here I am again with a question that I cannot solve for myself... 
I'm writing my thesis in lyx 1.4.4 on windows and I would like the bibliography
appears first by surname, and then name with a dot. 

I have the style natbib selected, but actually the bibliography appears
identified wiht a number... 

but I don't mind at all, but I would like to change the order of the name and
surname... 

I am using JabRef and I haven't find any option... 

Any idea about where to look for?

Thank you



Re: How badly is a LyX upgrade going to mess me up?

2008-05-15 Thread Helge Hafting

Steve Litt wrote:

Hi all,

All of my books except one are in LyX 1.4.2. The latest book is LyX 1.5.3. I'm 
hoping to get a 64bit machine with 8GB of Ram, and use LyX 1.5.4.


I know that once you open and save a LyX 1.4.2 doc in 1.5.4, you can never go 
back to 1.4.2. So my question is, do you think 1.5.4 will reformat my 1.4.2 
documents in any way? Forewarned is forearmed.
  


If you get a new LyX, why not the more recent 1.5.5?

Anyway, it is possible to have several different LyX versions installed
on the same machine. This is how I test self-compiled unreleased v.1.6,
while having 1.5 as a backup. You may have to compile your own LyX
in order to do this.  I recommend having the latest lyx installed as 'lyx',
while you also have a 'lyx-1.4' to be on the safe side.

A new LyX should not change your documents, only offer new stuff you
couldn't do before. Still, bugs can happen.  For a book, keep an extra copy
that you never ever change. You can always open a copy of that in an old LyX
if you find you have to.

You can test; open a book in a new LyX, then produce postscript or pdf
and compare with your printed work. (Or with a stored pdf if you have that.)
Even if there is a change, the layout should still be acceptable. Unless 
you have

layout tweaks like a manual page break. I guess you usually will find no
change at all.

Keep a PDF copy of any book you print. That way, you won't need LyX to
make more copies. Now, if you make changes you will have to use LyX,
but then you will probably have to check the layout again anyway so
software revisions shouldn't really matter.

Helge Hafting




Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008 10:54:44 am Nathan Miller wrote:
 I know basically nothing about all this font business, but naively it seems
 like some program should just be able to see which fonts are not embedded,
 and then add them to the pdf. Is there a basic reason this wouldn't work?

I think ps2pdf does this as best it can.  I'd suggest running each of your 
figures (which are now in PDF format) through pdf2ps then through ps2pdf, 
then open it in Acrobat Reader (or xpdf, etc.) and look at the document 
properties to see if the fonts in that figure are embedded.  If they aren't, 
anything you do with the output from pdflatex won't work.  If that happens to 
a particular figure, you can convert it to a bitmap (I'd suggest PNG) using 
Gimp, ImageMagick or other image editor, and specify the bitmap in your LyX 
document.  LyX will handle it automatically.

Les


Help with latexcad

2008-05-15 Thread Angel Amat

Hello, I am using latexcad to draw some diagrams with equations. The problem
is that i can not insert this diagrams in the lyx document. I have copy the
LATEXCAD.STY to the folder in which is the lyx document and I have written
in the preamble of the documment \usepackage{latexcad}. The next is thousand
errors.

Can anyone help me?

Thank you very much
-- 
View this message in context: 
http://www.nabble.com/Help-with-latexcad-tp17258868p17258868.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Help with latexcad

2008-05-15 Thread Rich Shepard

On Thu, 15 May 2008, Angel Amat wrote:


Hello, I am using latexcad to draw some diagrams with equations. The
problem is that i can not insert this diagrams in the lyx document. I have
copy the LATEXCAD.STY to the folder in which is the lyx document and I
have written in the preamble of the documment \usepackage{latexcad}. The
next is thousand errors.


  First, the style file needs to be placed with all the other LyX style
files, not in your document directory. 'locate *.sty' or 'whereis *.sty'
will show you the path to those files. Move latexcad.sty there.

  Second, as root run 'texhash'.

  Third, from within LyX, run 'reconfigure'.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: SVG to PDF

2008-05-15 Thread Máté Salát
Hi,



I made some further test on the conversation method of LyX 1.5.5, and I found 
it's behavior very strange.

 

The point is that I copied the SVG - PDF converter line from the Preferences:

 

inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o

 

I replaced the $$ elements with my file names:

 

inkscape --file=C:\GombSokszog.svg --export-area-drawing --without-gui 
--export-pdf=C:\GombSokszog.pdf

 

I opened the Run dialog of Windows, pasted it, executed it. The result was what 
is expected, the C:\GombSokszog.png was included in the PDF file as well as the 
other things.

So the converter of Inkscape seems to be good.

 

If I compile my LyX file then LyX copies the C:\GombSokszog.svg to the 
temporary directory (...\lyx_tmpdir2684a05928\lyx_tmpbuf0) but it doesn't copy 
the PNG file. A PDF file also appears in the temporary directory, but the PNG 
image is missing from the PDF.

 

Copying the PNG file into the temporary directory before compiling the LyX file 
doesn't help.

 

What is happening here? Why Inkscape doesn't find the PNG file at the moment of 
converting the SVG?

All the mensioned files are in the folder http://zaradek.hu/svg/files/.

 

Cheers, Máté

  - Original Message - 
  From: Máté Salát 
  To: Uwe Stöhr 
  Cc: lyx-users@lists.lyx.org 
  Sent: Wednesday, May 14, 2008 7:03 PM
  Subject: Re: SVG to PDF


  Thanks, I did what you told me. It works now, in LyX Preferences SVG 
converters appeared using Inkscape.

  I have a problem with SVGs containing raster picture. I made a capture to 
explain the case: http://zaradek.hu/svg/Linked_image_not_found.png. I use 
Inkscape to put captions made by LaTeX onto the 3D raster picture. I put it 
into LyX but the raster image is missing from the LyX window and (after 
compiling the LyX file) from the PDF as well. It would be great to fix this 
problem.

  The other thing I noticed (but it's not relevant for me) is that if I open 
the SVG file from LyX then the toolbar of Inkscape collapses, the button images 
aren't shown up: http://zaradek.hu/svg/Crashed_toolbar.png.

  Cheers, Máté

- Original Message - 
From: Uwe Stöhr 
To: Máté Salát 
Cc: lyx-users@lists.lyx.org 
Sent: Tuesday, May 13, 2008 2:13 PM
Subject: Re: SVG to PDF


Máté Salát schrieb:

 I use LyX and Inkscape on Win XP. I compile my documents exclusively with 
pdflatex.
  If I insert an SVG image into my LyX document and compile it then the 
automatic
  conversation gives a wrong sized image with wide white border on the 
bottom and on
  the right side. So it won't be centered on the page and so on. If I open 
the SVG in
  Inkscape and save it in PDF then I get the Image with the right size. 
The mentioned
  files are at http://zaradek.hu/svg.

When you install LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

Inkscape is used to convert the SVG to PDF as you want it.
The whitespace problem you described was a bug in ImageMagick (that also 
appears for PDF and PS 
images). To get a fixed version:

- uninstall the Existing ImageMagick (if you have it installed)
- reinstall LyX 1.5.5 using the obove mentioned installer that delivers the 
latest ImageMagick

regards Uwe

Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Nathan Miller

Got it to work! I followed Les' advice and fixed each figure pdf file. Since
I already converted each figure pdf to ps then eps then pdf, I figured it
wouldn't hurt anything to do it again. But this time I added some ghostview
commands to epstopdf. Originally I had:

epstopdf --nocompress input.eps

which I changed to:

epstopdf --nocompress --gsopt=-dPDFSETTINGS=/prepress -dSubsetFonts=true
-dEmbedAllFonts=true input.eps

All fonts are now embedded and my thesis was accepted!

ps - I don't remember why I originally decided to use epstopdf instead of
eps2pdf for the conversion.
-- 
View this message in context: 
http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17264446.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: problems with Beamer presentations

2008-05-15 Thread nicolas roy


Look in the Powerdot documentation 
(probably /usr/share/texmf/doc/latex/powerdot/powerdot.pdf 
or /usr/share/texmf/tex/latex/powerdot/powerdot.pdf, definitely at 
http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/doc/powerdot.pdf) 
at Table 2 on page 26, which lists the required LaTeX packages.  You can 
download these individually from CTAN (http://www.ctan.org) and follow the 
installation instructions for each one; or as an alternative, just install 
all the texlive packages available for Ubuntu --
Following your advice, i installed all texlive packages. After 
reconfiguring and so on, it turns out that i have similar problems as 
with beamer :

* there is no link on the items in the left menus
* no navigation bar at the bottom
* no color at all on the slides (in the pdf example file, there are some 
frame, rectangles, with color. )


BUT : if i export in ps, and the by hand use ps2pdf, then it works ! I 
guess thus, that the problem comes from the command dvipdfm that lyx 
seems to use.

How can i change it ?
Notice than, with beamer, using export ps and by hand ps2pdf solve 
partially the problem. The slides are nice, but they have a very small 
size embedded in a A4 page. I mean :

http://www.mathematik.hu-berlin.de/~roy/beamer.pdf
Is there an option that could solve this size issue ?

Thanks

nico

--
Dr Nicolas Roy
Geometric Analysis Group
Institut für Mathematik
Humboldt Universität
Rudower Chaussee 25
Berlin D-12489

Tel: +49 (30) 20932358
Fax:  +49 (30) 20932727
[EMAIL PROTECTED]
http://www.math.hu-berlin.de/~roy/



Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Steve Litt
On Thursday 15 May 2008 01:46, Nathan Miller wrote:

 I'm checking whether the fonts are embedded using Acrobat (properties) and
 pdffonts. There are a scary number of fonts (~100) and most are not
 embedded.

This isn't responsive to your question, but why 100 fonts? You're right -- 
that is scary. How many typefaces are you using?

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: LyX is outputting PDF's which use raster fonts?

2008-05-15 Thread Uwe Stöhr

woodvorg schrieb:


Anyone know what I need to do to fix this and use proper fonts?


Look here:
http://wiki.lyx.org/FAQ/PDF
under The fonts are bad in the exported PDF, what can I do?


regards Uwe


[Fwd: [ANNOUNCE] LyX 1.5.5 is released]

2008-05-15 Thread ddimuc
As I have mentioned a LONG, LONG time ago - I am unable to unsubscribe
to this list (yes, I've sent an e-mail to the proper entity).

So, that means I am unnecessarily getting e-mails from the list.
Therefore, it would only be fair to unnecessarily send e-mails (whether
they apply to LyX or not) back to the list.


Which US presidential candidate are you voting for?


Re: Using a network printer

2008-05-15 Thread christian . ridderstrom

On Sun, 23 Mar 2008, Helge Hafting wrote:

Some people have lpr instead of lp, consider replacing lp then. 
Cups (in debian: the package cupsys-client) provides a lp binary that 
lyx can use. This will print to whatever printer cups considers default.


In case it helps someone else, it turns out that in my Ubuntu 
installation, directing printing to 'lpr' or 'lp' helped, as that routed 
the output to the default printing.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

LyX 1.5.5 under Ubuntu does not find LaTeX packages

2008-05-15 Thread christian . ridderstrom

Hi,

I've downloaded LyX 1.5.5 and built it in a local directory. Then I run

lyx-1.5.5/src/lyx

and try to do a reconfigure. The result is a message about:

The system reconfiguration has failed.
Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed.

This means LyX is unable to find the class files and style files it was 
looking for. My question is how I should set the proper paths to the latex 
installation when I'm using Ubuntu. (I'm not able to getit to work using 
TEXINPUTS, but I'm very rusty at this).


Best regards,
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: problems with Beamer presentations

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, nicolas roy wrote:
 BUT : if i export in ps, and the by hand use ps2pdf, then it works ! I
 guess thus, that the problem comes from the command dvipdfm that lyx
 seems to use.
 How can i change it ?
 Notice than, with beamer, using export ps and by hand ps2pdf solve
 partially the problem. The slides are nice, but they have a very small
 size embedded in a A4 page. I mean :
 http://www.mathematik.hu-berlin.de/~roy/beamer.pdf
 Is there an option that could solve this size issue ?

The standard LyX installation usually has three ways of exporting to PDF: 
PDF(dvipdfm), PDF(pdflatex) and PDF(ps2pdf).  You access all of them from the 
File-Export menu.  The PDF icon (at least on my 1.5.4 installation) uses the 
PDF(pdflatex) converter, which certainly does not work with powerdot and 
probably not with beamer (I haven't tried it).

Powerdot (and probably beamer) uses the pstricks package which means the 
conversion has to go through postscript, so dvipdfm, which goes directly from 
DVI to PDF, and pdflatex, which goes directly from LaTeX to PDF, do not work 
properly.

If you use the PDF(ps2pdf) export (or viewer) it should work properly.  The 
page format problem is probably due to something lacking in the class options 
or in the preamble.  Have you tried the example, powerdot-example.lyx?

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Packages required under Linux

2008-05-15 Thread Daniel CLEMENT
Some recent threads raised this question. It's indeed one thing that did
puzzle me under Linux (Ubuntu), especially when compared to a Windows
install.

Only recently I found that under Synaptic, the LyX package being
selected, you could right-click and select recommended/suggested
packages for installing. A fairly large list in the first case, even
larger in the second.

I have not installed all of them. Instead, I compiled my (not-so-long)
own list of useful packages. I could post it here if someone asks, or
maybe it could go to the Wiki page Peleg Michaeli has started.

It's true that some of these packages are almost mandatory...

Regards, 
-- 

Daniel CLEMENT




Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, Nathan Miller wrote:
 I'm checking whether the fonts are embedded using Acrobat (properties) and
 pdffonts. There are a scary number of fonts (~100) and most are not
 embedded.

In my experience most non-embedded fonts with LyX documents come from figures 
in the document in Postscript/EPS or PDF format.  If the application which 
generated these figures did not embed the fonts, and they differ from those 
your LyX document uses, they will show up in the PDF document as not 
embedded.  The solution is to fix the original figure, or, if you can't do 
that, convert it to a raster image at a suitable resolution for the final 
document.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


very little error in lyx 1.5.5

2008-05-15 Thread Marcelo Acuña
hello,
 I have lyx 1.5.5 and opensuse 10.3 (a linux total
disaster :-(
 1) I selected big icons, work, and when I close lyx
or restart the computer, lyx not remember my selection
and put medium icons.
 2) I selected that lyx remember size and content of
main window.  I work with maximized window, when I
close Lyx, then lyx appears no maximized. 
 Regards
Marcelo

Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Encuentros.

Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros 
http://yahoo.cupidovirtual.com/servlet/NewRegistration


Re: Packages required under Linux

2008-05-15 Thread christian . ridderstrom

On Thu, 15 May 2008, Daniel CLEMENT wrote:

Some recent threads raised this question. It's indeed one thing that did 
puzzle me under Linux (Ubuntu), especially when compared to a Windows 
install.


Thanks, this helped me - now Lyx no longer complains after a recompile, 
and many of the classes are available. I've written some notes on this 
page:


http://wiki.lyx.org/LyX/LyXOnUbuntu

own list of useful packages. I could post it here if someone asks, or 
maybe it could go to the Wiki page Peleg Michaeli has started.


Please add it to the wiki page, I'd certainly appreciate it!

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, Les Denham wrote:
 The solution is to fix the original figure, or, if you can't do
 that, convert it to a raster image at a suitable resolution for the final
 document.

With a few minutes research, I noted the following from the ps2pdf 
documentation:
ps2pdf will sometimes convert text to high-resolution bitmapped fonts rather 
than to embedded outline fonts. This will occur when the PostScript file uses 
Type 3, CIDFontType 1, or CIDFontType 4 fonts, or Type 0 fonts that reference 
any of these; it may also occur in some cases if the input file uses fonts 
with non-standard encodings, or in some other rare cases.

The default setting of EmbedAllFonts for ps2pdf is true, so using ps2pdf to 
convert to PDF should embed everything if these font types are avoided.  Of 
course, this may be a problem with non-Roman character sets, which are likely 
to be available as CID fonts only.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Nathan Miller

I think you are right, Les. The huge number of fonts must be from the
figures, which is worrisome b/c I have over 100 figures. Most figures are
saved as pdf from matlab, while the rest are printed from powerpoint and
tinycad using pdfcreator. For most figures, I use a script to automatically
calculate the bounding box, which uses pdftops, ps2eps, and finally
epstopdf. Maybe a solution would be to see whether any of those 3 programs
can be set to embed all fonts.

Using pdffonts, I have ~100 type 1 fonts (most not embedded), 10 truetype
fonts (all embedded), ~10 type 3 fonts (all embedded), ~3 type 1c fonts
(embedded), and 1 CID truetype font (embedded). So Les, if I'm understanding
you correctly, I should only potentially have trouble with the type3 and
CID1 fonts becoming bitmapped if I use ps2pdf.

As a first try, I will use pdflatex, then pdf2ps, then ps2pdf to see how it
looks, since it's easier than redoing all my figures.  

I know basically nothing about all this font business, but naively it seems
like some program should just be able to see which fonts are not embedded,
and then add them to the pdf. Is there a basic reason this wouldn't work?
-- 
View this message in context: 
http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17256501.html
Sent from the LyX - Users mailing list archive at Nabble.com.



About bibliography

2008-05-15 Thread NinaNutz
Hello all again,
Here I am again with a question that I cannot solve for myself... 
I'm writing my thesis in lyx 1.4.4 on windows and I would like the bibliography
appears first by surname, and then name with a dot. 

I have the style natbib selected, but actually the bibliography appears
identified wiht a number... 

but I don't mind at all, but I would like to change the order of the name and
surname... 

I am using JabRef and I haven't find any option... 

Any idea about where to look for?

Thank you



Re: How badly is a LyX upgrade going to mess me up?

2008-05-15 Thread Helge Hafting

Steve Litt wrote:

Hi all,

All of my books except one are in LyX 1.4.2. The latest book is LyX 1.5.3. I'm 
hoping to get a 64bit machine with 8GB of Ram, and use LyX 1.5.4.


I know that once you open and save a LyX 1.4.2 doc in 1.5.4, you can never go 
back to 1.4.2. So my question is, do you think 1.5.4 will reformat my 1.4.2 
documents in any way? Forewarned is forearmed.
  


If you get a new LyX, why not the more recent 1.5.5?

Anyway, it is possible to have several different LyX versions installed
on the same machine. This is how I test self-compiled unreleased v.1.6,
while having 1.5 as a backup. You may have to compile your own LyX
in order to do this.  I recommend having the latest lyx installed as 'lyx',
while you also have a 'lyx-1.4' to be on the safe side.

A new LyX should not change your documents, only offer new stuff you
couldn't do before. Still, bugs can happen.  For a book, keep an extra copy
that you never ever change. You can always open a copy of that in an old LyX
if you find you have to.

You can test; open a book in a new LyX, then produce postscript or pdf
and compare with your printed work. (Or with a stored pdf if you have that.)
Even if there is a change, the layout should still be acceptable. Unless 
you have

layout tweaks like a manual page break. I guess you usually will find no
change at all.

Keep a PDF copy of any book you print. That way, you won't need LyX to
make more copies. Now, if you make changes you will have to use LyX,
but then you will probably have to check the layout again anyway so
software revisions shouldn't really matter.

Helge Hafting




Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008 10:54:44 am Nathan Miller wrote:
 I know basically nothing about all this font business, but naively it seems
 like some program should just be able to see which fonts are not embedded,
 and then add them to the pdf. Is there a basic reason this wouldn't work?

I think ps2pdf does this as best it can.  I'd suggest running each of your 
figures (which are now in PDF format) through pdf2ps then through ps2pdf, 
then open it in Acrobat Reader (or xpdf, etc.) and look at the document 
properties to see if the fonts in that figure are embedded.  If they aren't, 
anything you do with the output from pdflatex won't work.  If that happens to 
a particular figure, you can convert it to a bitmap (I'd suggest PNG) using 
Gimp, ImageMagick or other image editor, and specify the bitmap in your LyX 
document.  LyX will handle it automatically.

Les


Help with latexcad

2008-05-15 Thread Angel Amat

Hello, I am using latexcad to draw some diagrams with equations. The problem
is that i can not insert this diagrams in the lyx document. I have copy the
LATEXCAD.STY to the folder in which is the lyx document and I have written
in the preamble of the documment \usepackage{latexcad}. The next is thousand
errors.

Can anyone help me?

Thank you very much
-- 
View this message in context: 
http://www.nabble.com/Help-with-latexcad-tp17258868p17258868.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Help with latexcad

2008-05-15 Thread Rich Shepard

On Thu, 15 May 2008, Angel Amat wrote:


Hello, I am using latexcad to draw some diagrams with equations. The
problem is that i can not insert this diagrams in the lyx document. I have
copy the LATEXCAD.STY to the folder in which is the lyx document and I
have written in the preamble of the documment \usepackage{latexcad}. The
next is thousand errors.


  First, the style file needs to be placed with all the other LyX style
files, not in your document directory. 'locate *.sty' or 'whereis *.sty'
will show you the path to those files. Move latexcad.sty there.

  Second, as root run 'texhash'.

  Third, from within LyX, run 'reconfigure'.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: SVG to PDF

2008-05-15 Thread Máté Salát
Hi,



I made some further test on the conversation method of LyX 1.5.5, and I found 
it's behavior very strange.

 

The point is that I copied the SVG - PDF converter line from the Preferences:

 

inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o

 

I replaced the $$ elements with my file names:

 

inkscape --file=C:\GombSokszog.svg --export-area-drawing --without-gui 
--export-pdf=C:\GombSokszog.pdf

 

I opened the Run dialog of Windows, pasted it, executed it. The result was what 
is expected, the C:\GombSokszog.png was included in the PDF file as well as the 
other things.

So the converter of Inkscape seems to be good.

 

If I compile my LyX file then LyX copies the C:\GombSokszog.svg to the 
temporary directory (...\lyx_tmpdir2684a05928\lyx_tmpbuf0) but it doesn't copy 
the PNG file. A PDF file also appears in the temporary directory, but the PNG 
image is missing from the PDF.

 

Copying the PNG file into the temporary directory before compiling the LyX file 
doesn't help.

 

What is happening here? Why Inkscape doesn't find the PNG file at the moment of 
converting the SVG?

All the mensioned files are in the folder http://zaradek.hu/svg/files/.

 

Cheers, Máté

  - Original Message - 
  From: Máté Salát 
  To: Uwe Stöhr 
  Cc: lyx-users@lists.lyx.org 
  Sent: Wednesday, May 14, 2008 7:03 PM
  Subject: Re: SVG to PDF


  Thanks, I did what you told me. It works now, in LyX Preferences SVG 
converters appeared using Inkscape.

  I have a problem with SVGs containing raster picture. I made a capture to 
explain the case: http://zaradek.hu/svg/Linked_image_not_found.png. I use 
Inkscape to put captions made by LaTeX onto the 3D raster picture. I put it 
into LyX but the raster image is missing from the LyX window and (after 
compiling the LyX file) from the PDF as well. It would be great to fix this 
problem.

  The other thing I noticed (but it's not relevant for me) is that if I open 
the SVG file from LyX then the toolbar of Inkscape collapses, the button images 
aren't shown up: http://zaradek.hu/svg/Crashed_toolbar.png.

  Cheers, Máté

- Original Message - 
From: Uwe Stöhr 
To: Máté Salát 
Cc: lyx-users@lists.lyx.org 
Sent: Tuesday, May 13, 2008 2:13 PM
Subject: Re: SVG to PDF


Máté Salát schrieb:

 I use LyX and Inkscape on Win XP. I compile my documents exclusively with 
pdflatex.
  If I insert an SVG image into my LyX document and compile it then the 
automatic
  conversation gives a wrong sized image with wide white border on the 
bottom and on
  the right side. So it won't be centered on the page and so on. If I open 
the SVG in
  Inkscape and save it in PDF then I get the Image with the right size. 
The mentioned
  files are at http://zaradek.hu/svg.

When you install LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

Inkscape is used to convert the SVG to PDF as you want it.
The whitespace problem you described was a bug in ImageMagick (that also 
appears for PDF and PS 
images). To get a fixed version:

- uninstall the Existing ImageMagick (if you have it installed)
- reinstall LyX 1.5.5 using the obove mentioned installer that delivers the 
latest ImageMagick

regards Uwe

Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Nathan Miller

Got it to work! I followed Les' advice and fixed each figure pdf file. Since
I already converted each figure pdf to ps then eps then pdf, I figured it
wouldn't hurt anything to do it again. But this time I added some ghostview
commands to epstopdf. Originally I had:

epstopdf --nocompress input.eps

which I changed to:

epstopdf --nocompress --gsopt=-dPDFSETTINGS=/prepress -dSubsetFonts=true
-dEmbedAllFonts=true input.eps

All fonts are now embedded and my thesis was accepted!

ps - I don't remember why I originally decided to use epstopdf instead of
eps2pdf for the conversion.
-- 
View this message in context: 
http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17264446.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: problems with Beamer presentations

2008-05-15 Thread nicolas roy


Look in the Powerdot documentation 
(probably /usr/share/texmf/doc/latex/powerdot/powerdot.pdf 
or /usr/share/texmf/tex/latex/powerdot/powerdot.pdf, definitely at 
http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/doc/powerdot.pdf) 
at Table 2 on page 26, which lists the required LaTeX packages.  You can 
download these individually from CTAN (http://www.ctan.org) and follow the 
installation instructions for each one; or as an alternative, just install 
all the texlive packages available for Ubuntu --
Following your advice, i installed all texlive packages. After 
reconfiguring and so on, it turns out that i have similar problems as 
with beamer :

* there is no link on the items in the left menus
* no navigation bar at the bottom
* no color at all on the slides (in the pdf example file, there are some 
frame, rectangles, with color. )


BUT : if i export in ps, and the by hand use ps2pdf, then it works ! I 
guess thus, that the problem comes from the command dvipdfm that lyx 
seems to use.

How can i change it ?
Notice than, with beamer, using "export ps" and by hand "ps2pdf" solve 
partially the problem. The slides are nice, but they have a very small 
size embedded in a A4 page. I mean :

http://www.mathematik.hu-berlin.de/~roy/beamer.pdf
Is there an option that could solve this size issue ?

Thanks

nico

--
Dr Nicolas Roy
Geometric Analysis Group
Institut für Mathematik
Humboldt Universität
Rudower Chaussee 25
Berlin D-12489

Tel: +49 (30) 20932358
Fax:  +49 (30) 20932727
[EMAIL PROTECTED]
http://www.math.hu-berlin.de/~roy/



Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Steve Litt
On Thursday 15 May 2008 01:46, Nathan Miller wrote:

> I'm checking whether the fonts are embedded using Acrobat (properties) and
> pdffonts. There are a scary number of fonts (~100) and most are not
> embedded.

This isn't responsive to your question, but why 100 fonts? You're right -- 
that is scary. How many typefaces are you using?

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: LyX is outputting PDF's which use raster fonts?

2008-05-15 Thread Uwe Stöhr

woodvorg schrieb:


Anyone know what I need to do to fix this and use proper fonts?


Look here:
http://wiki.lyx.org/FAQ/PDF
under "The fonts are bad in the exported PDF, what can I do?"


regards Uwe


[Fwd: [ANNOUNCE] LyX 1.5.5 is released]

2008-05-15 Thread ddimuc
As I have mentioned a LONG, LONG time ago - I am unable to unsubscribe
to this list (yes, I've sent an e-mail to the proper entity).

So, that means I am unnecessarily getting e-mails from the list.
Therefore, it would only be fair to unnecessarily send e-mails (whether
they apply to LyX or not) back to the list.


Which US presidential candidate are you voting for?


Re: Using a network printer

2008-05-15 Thread christian . ridderstrom

On Sun, 23 Mar 2008, Helge Hafting wrote:

Some people have "lpr" instead of "lp", consider replacing "lp" then. 
Cups (in debian: the package cupsys-client) provides a "lp" binary that 
lyx can use. This will print to whatever printer cups considers default.


In case it helps someone else, it turns out that in my Ubuntu 
installation, directing printing to 'lpr' or 'lp' helped, as that routed 
the output to the default printing.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

LyX 1.5.5 under Ubuntu does not find LaTeX packages

2008-05-15 Thread christian . ridderstrom

Hi,

I've downloaded LyX 1.5.5 and built it in a local directory. Then I run

lyx-1.5.5/src/lyx

and try to do a reconfigure. The result is a message about:

The system reconfiguration has failed.
Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed.

This means LyX is unable to find the class files and style files it was 
looking for. My question is how I should set the proper paths to the latex 
installation when I'm using Ubuntu. (I'm not able to getit to work using 
TEXINPUTS, but I'm very rusty at this).


Best regards,
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: problems with Beamer presentations

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, nicolas roy wrote:
> BUT : if i export in ps, and the by hand use ps2pdf, then it works ! I
> guess thus, that the problem comes from the command dvipdfm that lyx
> seems to use.
> How can i change it ?
> Notice than, with beamer, using "export ps" and by hand "ps2pdf" solve
> partially the problem. The slides are nice, but they have a very small
> size embedded in a A4 page. I mean :
> http://www.mathematik.hu-berlin.de/~roy/beamer.pdf
> Is there an option that could solve this size issue ?

The standard LyX installation usually has three ways of exporting to PDF: 
PDF(dvipdfm), PDF(pdflatex) and PDF(ps2pdf).  You access all of them from the 
File->Export menu.  The PDF icon (at least on my 1.5.4 installation) uses the 
PDF(pdflatex) converter, which certainly does not work with powerdot and 
probably not with beamer (I haven't tried it).

Powerdot (and probably beamer) uses the pstricks package which means the 
conversion has to go through postscript, so dvipdfm, which goes directly from 
DVI to PDF, and pdflatex, which goes directly from LaTeX to PDF, do not work 
properly.

If you use the PDF(ps2pdf) export (or viewer) it should work properly.  The 
page format problem is probably due to something lacking in the class options 
or in the preamble.  Have you tried the example, powerdot-example.lyx?

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Packages required under Linux

2008-05-15 Thread Daniel CLEMENT
Some recent threads raised this question. It's indeed one thing that did
puzzle me under Linux (Ubuntu), especially when compared to a Windows
install.

Only recently I found that under Synaptic, the LyX package being
selected, you could right-click and "select recommended/suggested
packages for installing". A fairly large list in the first case, even
larger in the second.

I have not installed all of them. Instead, I compiled my (not-so-long)
own list of useful packages. I could post it here if someone asks, or
maybe it could go to the Wiki page Peleg Michaeli has started.

It's true that some of these packages are almost mandatory...

Regards, 
-- 

Daniel CLEMENT




Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, Nathan Miller wrote:
> I'm checking whether the fonts are embedded using Acrobat (properties) and
> pdffonts. There are a scary number of fonts (~100) and most are not
> embedded.

In my experience most non-embedded fonts with LyX documents come from figures 
in the document in Postscript/EPS or PDF format.  If the application which 
generated these figures did not embed the fonts, and they differ from those 
your LyX document uses, they will show up in the PDF document as not 
embedded.  The solution is to fix the original figure, or, if you can't do 
that, convert it to a raster image at a suitable resolution for the final 
document.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


very little error in lyx 1.5.5

2008-05-15 Thread Marcelo Acuña
hello,
 I have lyx 1.5.5 and opensuse 10.3 (a linux total
disaster :-(
 1) I selected big icons, work, and when I close lyx
or restart the computer, lyx not remember my selection
and put medium icons.
 2) I selected that lyx remember size and content of
main window.  I work with maximized window, when I
close Lyx, then lyx appears no maximized. 
 Regards
Marcelo

Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Encuentros.

Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros 
http://yahoo.cupidovirtual.com/servlet/NewRegistration


Re: Packages required under Linux

2008-05-15 Thread christian . ridderstrom

On Thu, 15 May 2008, Daniel CLEMENT wrote:

Some recent threads raised this question. It's indeed one thing that did 
puzzle me under Linux (Ubuntu), especially when compared to a Windows 
install.


Thanks, this helped me - now Lyx no longer complains after a recompile, 
and many of the classes are available. I've written some notes on this 
page:


http://wiki.lyx.org/LyX/LyXOnUbuntu

own list of useful packages. I could post it here if someone asks, or 
maybe it could go to the Wiki page Peleg Michaeli has started.


Please add it to the wiki page, I'd certainly appreciate it!

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008, Les Denham wrote:
> The solution is to fix the original figure, or, if you can't do
> that, convert it to a raster image at a suitable resolution for the final
> document.

With a few minutes research, I noted the following from the ps2pdf 
documentation:
"ps2pdf will sometimes convert text to high-resolution bitmapped fonts rather 
than to embedded outline fonts. This will occur when the PostScript file uses 
Type 3, CIDFontType 1, or CIDFontType 4 fonts, or Type 0 fonts that reference 
any of these; it may also occur in some cases if the input file uses fonts 
with non-standard encodings, or in some other rare cases."

The default setting of EmbedAllFonts for ps2pdf is "true", so using ps2pdf to 
convert to PDF should embed everything if these font types are avoided.  Of 
course, this may be a problem with non-Roman character sets, which are likely 
to be available as CID fonts only.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Nathan Miller

I think you are right, Les. The huge number of fonts must be from the
figures, which is worrisome b/c I have over 100 figures. Most figures are
saved as pdf from matlab, while the rest are printed from powerpoint and
tinycad using pdfcreator. For most figures, I use a script to automatically
calculate the bounding box, which uses pdftops, ps2eps, and finally
epstopdf. Maybe a solution would be to see whether any of those 3 programs
can be set to embed all fonts.

Using pdffonts, I have ~100 type 1 fonts (most not embedded), 10 truetype
fonts (all embedded), ~10 type 3 fonts (all embedded), ~3 type 1c fonts
(embedded), and 1 CID truetype font (embedded). So Les, if I'm understanding
you correctly, I should only potentially have trouble with the type3 and
CID1 fonts becoming bitmapped if I use ps2pdf.

As a first try, I will use pdflatex, then pdf2ps, then ps2pdf to see how it
looks, since it's easier than redoing all my figures.  

I know basically nothing about all this font business, but naively it seems
like some program should just be able to see which fonts are not embedded,
and then add them to the pdf. Is there a basic reason this wouldn't work?
-- 
View this message in context: 
http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17256501.html
Sent from the LyX - Users mailing list archive at Nabble.com.



About bibliography

2008-05-15 Thread NinaNutz
Hello all again,
Here I am again with a question that I cannot solve for myself... 
I'm writing my thesis in lyx 1.4.4 on windows and I would like the bibliography
appears first by surname, and then name with a dot. 

I have the style natbib selected, but actually the bibliography appears
identified wiht a number... 

but I don't mind at all, but I would like to change the order of the name and
surname... 

I am using JabRef and I haven't find any option... 

Any idea about where to look for?

Thank you



Re: How badly is a LyX upgrade going to mess me up?

2008-05-15 Thread Helge Hafting

Steve Litt wrote:

Hi all,

All of my books except one are in LyX 1.4.2. The latest book is LyX 1.5.3. I'm 
hoping to get a 64bit machine with 8GB of Ram, and use LyX 1.5.4.


I know that once you open and save a LyX 1.4.2 doc in 1.5.4, you can never go 
back to 1.4.2. So my question is, do you think 1.5.4 will reformat my 1.4.2 
documents in any way? Forewarned is forearmed.
  


If you get a new LyX, why not the more recent 1.5.5?

Anyway, it is possible to have several different LyX versions installed
on the same machine. This is how I test self-compiled unreleased v.1.6,
while having 1.5 as a backup. You may have to compile your own LyX
in order to do this.  I recommend having the latest lyx installed as 'lyx',
while you also have a 'lyx-1.4' to be on the safe side.

A new LyX should not change your documents, only offer new stuff you
couldn't do before. Still, bugs can happen.  For a book, keep an extra copy
that you never ever change. You can always open a copy of that in an old LyX
if you find you have to.

You can test; open a book in a new LyX, then produce postscript or pdf
and compare with your printed work. (Or with a stored pdf if you have that.)
Even if there is a change, the layout should still be acceptable. Unless 
you have

layout tweaks like a manual page break. I guess you usually will find no
change at all.

Keep a PDF copy of any book you print. That way, you won't need LyX to
make more copies. Now, if you make changes you will have to use LyX,
but then you will probably have to check the layout again anyway so
software revisions shouldn't really matter.

Helge Hafting




Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Les Denham
On Thursday 15 May 2008 10:54:44 am Nathan Miller wrote:
> I know basically nothing about all this font business, but naively it seems
> like some program should just be able to see which fonts are not embedded,
> and then add them to the pdf. Is there a basic reason this wouldn't work?

I think ps2pdf does this as best it can.  I'd suggest running each of your 
figures (which are now in PDF format) through pdf2ps then through ps2pdf, 
then open it in Acrobat Reader (or xpdf, etc.) and look at the document 
properties to see if the fonts in that figure are embedded.  If they aren't, 
anything you do with the output from pdflatex won't work.  If that happens to 
a particular figure, you can convert it to a bitmap (I'd suggest PNG) using 
Gimp, ImageMagick or other image editor, and specify the bitmap in your LyX 
document.  LyX will handle it automatically.

Les


Help with latexcad

2008-05-15 Thread Angel Amat

Hello, I am using latexcad to draw some diagrams with equations. The problem
is that i can not insert this diagrams in the lyx document. I have copy the
LATEXCAD.STY to the folder in which is the lyx document and I have written
in the preamble of the documment \usepackage{latexcad}. The next is thousand
errors.

Can anyone help me?

Thank you very much
-- 
View this message in context: 
http://www.nabble.com/Help-with-latexcad-tp17258868p17258868.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Help with latexcad

2008-05-15 Thread Rich Shepard

On Thu, 15 May 2008, Angel Amat wrote:


Hello, I am using latexcad to draw some diagrams with equations. The
problem is that i can not insert this diagrams in the lyx document. I have
copy the LATEXCAD.STY to the folder in which is the lyx document and I
have written in the preamble of the documment \usepackage{latexcad}. The
next is thousand errors.


  First, the style file needs to be placed with all the other LyX style
files, not in your document directory. 'locate *.sty' or 'whereis *.sty'
will show you the path to those files. Move latexcad.sty there.

  Second, as root run 'texhash'.

  Third, from within LyX, run 'reconfigure'.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: SVG to PDF

2008-05-15 Thread Máté Salát
Hi,



I made some further test on the conversation method of LyX 1.5.5, and I found 
it's behavior very strange.

 

The point is that I copied the SVG -> PDF converter line from the Preferences:

 

inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o

 

I replaced the $$ elements with my file names:

 

inkscape --file=C:\GombSokszog.svg --export-area-drawing --without-gui 
--export-pdf=C:\GombSokszog.pdf

 

I opened the Run dialog of Windows, pasted it, executed it. The result was what 
is expected, the C:\GombSokszog.png was included in the PDF file as well as the 
other things.

So the converter of Inkscape seems to be good.

 

If I compile my LyX file then LyX copies the C:\GombSokszog.svg to the 
temporary directory (...\lyx_tmpdir2684a05928\lyx_tmpbuf0) but it doesn't copy 
the PNG file. A PDF file also appears in the temporary directory, but the PNG 
image is missing from the PDF.

 

Copying the PNG file into the temporary directory before compiling the LyX file 
doesn't help.

 

What is happening here? Why Inkscape doesn't find the PNG file at the moment of 
converting the SVG?

All the mensioned files are in the folder http://zaradek.hu/svg/files/.

 

Cheers, Máté

  - Original Message - 
  From: Máté Salát 
  To: Uwe Stöhr 
  Cc: lyx-users@lists.lyx.org 
  Sent: Wednesday, May 14, 2008 7:03 PM
  Subject: Re: SVG to PDF


  Thanks, I did what you told me. It works now, in LyX Preferences SVG 
converters appeared using Inkscape.

  I have a problem with SVGs containing raster picture. I made a capture to 
explain the case: http://zaradek.hu/svg/Linked_image_not_found.png. I use 
Inkscape to put captions made by LaTeX onto the 3D raster picture. I put it 
into LyX but the raster image is missing from the LyX window and (after 
compiling the LyX file) from the PDF as well. It would be great to fix this 
problem.

  The other thing I noticed (but it's not relevant for me) is that if I open 
the SVG file from LyX then the toolbar of Inkscape collapses, the button images 
aren't shown up: http://zaradek.hu/svg/Crashed_toolbar.png.

  Cheers, Máté

- Original Message - 
From: Uwe Stöhr 
To: Máté Salát 
Cc: lyx-users@lists.lyx.org 
Sent: Tuesday, May 13, 2008 2:13 PM
Subject: Re: SVG to PDF


Máté Salát schrieb:

> I use LyX and Inkscape on Win XP. I compile my documents exclusively with 
pdflatex.
 > If I insert an SVG image into my LyX document and compile it then the 
automatic
 > conversation gives a wrong sized image with wide white border on the 
bottom and on
 > the right side. So it won't be centered on the page and so on. If I open 
the SVG in
 > Inkscape and save it in PDF then I get the Image with the right size. 
The mentioned
 > files are at http://zaradek.hu/svg.

When you install LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

Inkscape is used to convert the SVG to PDF as you want it.
The whitespace problem you described was a bug in ImageMagick (that also 
appears for PDF and PS 
images). To get a fixed version:

- uninstall the Existing ImageMagick (if you have it installed)
- reinstall LyX 1.5.5 using the obove mentioned installer that delivers the 
latest ImageMagick

regards Uwe

Re: how do I embed all fonts using pdflatex on windows?

2008-05-15 Thread Nathan Miller

Got it to work! I followed Les' advice and fixed each figure pdf file. Since
I already converted each figure pdf to ps then eps then pdf, I figured it
wouldn't hurt anything to do it again. But this time I added some ghostview
commands to epstopdf. Originally I had:

epstopdf --nocompress input.eps

which I changed to:

epstopdf --nocompress --gsopt="-dPDFSETTINGS=/prepress -dSubsetFonts=true
-dEmbedAllFonts=true" input.eps

All fonts are now embedded and my thesis was accepted!

ps - I don't remember why I originally decided to use epstopdf instead of
eps2pdf for the conversion.
-- 
View this message in context: 
http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17264446.html
Sent from the LyX - Users mailing list archive at Nabble.com.