Re: Seeing HEVEA errors

2007-09-14 Thread Richard Heck

Laurent Duperval wrote:

Hi,

Sometimes when I export to HTML, I get an error window that pops up saying
there was an error with the hevea execution, but I see no details.

Is there any way to see the details?
  
If you run LyX from a terminal, you should see whatever hevea outputs 
there. Or: Export to LaTeX, and then run hevea manually.


Richard



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



problems with GRL (AGU) style

2007-09-14 Thread Berta Biescas
dear friends,
I'm new in Lyx (1.5.1). I want to submit a paper to GLR, editors told me
to use the agu2001.cls and grlga.sty files to get the right style but I
have many problems. I followed the instruction of Help Lyx -
Customization :5.2.2. A layout for a sty file, but after trying and
trying...I'm giving up...I always have errors,could you help me? do I
have to create a layout.lyx file? I'm using the aguplus.inc file because
I don't have any agu2001.inc file, is it Ok?
thank you
berta




Re: First time install problem

2007-09-14 Thread Dr. Werner Popken
 You can take for example the Embedded Objects manual from the help menu as 
 starting point for your
 own book. It uses the document class koma-script (book).

Thanks a lot!

Again: Using Help/Embedded Objects I get an error box

   Lyx: The document class is not available

elaborating that scrbook.layout is not available. 

I managed to produce a simple example, though, and found with
document/settings that lots of classes are not available, among them
KOMA contrary to what the user guide states. I reset the document
class to book and set several other options like language. This way, I
managed to produce a PDF file.

Next, I experienced two more problems,

1) I get type 3 fonts in my PDF document, which means that they are
bitmaps giving an ugly expression. They should be type 1 fonts.

2) I can't manage to place a picture on a page and let the text float
around the picture. This is extremely easy with Word, but doesn't seem
to be a problem in scientific publications, so I doubted if there is a
solution. In http://latex.tugraz.at/fortgeschrittene.php#grafiken I
found

\usepackage{floatflt}
   
   \begin{floatingfigure}[r]{0.4\textwidth}
 \centering
  \includegraphics[width=0.35\textwidth]{./bild.eps}
  \caption{Das ist mein Bild}
  \label{fig:mein-bild}
   \end{floatingfigure}

or

  \usepackage{picins}

   ...

   \piccaption{Graz bei Nacht\label{graz-bei-nacht}}
   \parpic[r]{\includegraphics[width=0.4\textwidth]{./graznacht.eps}}

I guess there is no other way than hand coding, right?

Regards
Werner



Re: First time install problem

2007-09-14 Thread Uwe Stöhr

Dr. Werner Popken schrieb:


Again: Using Help/Embedded Objects I get an error box

   Lyx: The document class is not available

elaborating that scrbook.layout is not available.


The last time you wrote that this works now, so I don't understand what happened. Do you have the 
file scrbook.layout in LyX's layout directory (C:\Programme\LyX 1.5.1\Resources\layouts)?
If yes, could you please log in as admin, and open an internet connection. Now start LyX by double 
clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a console window where you can 
see what LaTeX-packages are installed while the reconfiguration is run. What do you see there for 
the document class scrbook? If there is a no behind the entry, you have either not set to 
install missing packages on the fly in MiKTeX's settings (this is normally set by default by the 
LyXWinInstaller), or you have a problem with your firewall; allow the latex.exe and pdflatex.exe to 
connect to the internet.



1) I get type 3 fonts in my PDF document, which means that they are
bitmaps giving an ugly expression. They should be type 1 fonts.


Then choose a Type 1 font, see here:
http://wiki.lyx.org/FAQ/PDF


2) I can't manage to place a picture on a page and let the text float
around the picture. This is extremely easy with Word, but doesn't seem
to be a problem in scientific publications, so I doubted if there is a
solution. In http://latex.tugraz.at/fortgeschrittene.php#grafiken I
found

\usepackage{floatflt}


LyX already supports this, these are wrap floats.
So before you proceed, please read the UserGuide and/or the EmbeddedObjects 
manual.

regards Uwe


[LyX 1.5.1 Mac] AddToShipoutPicture fails (worked with 1.3)

2007-09-14 Thread Bonhôte André

Hi!

I have just switched from my old beloved 1.3 to the bleeding edge  
1.5.1. My configuration:


 - LyX 1.5.1, source: http://www.lyx.org
 - teTeX, ImageMagick, source: macports
 (what else is important? don't know ...)

Now I have sucessfully opened an 'old' document in 1.5.1. Trying to  
compile it brings the follwing error:


 LaTeX Error: File './MyBackgroundImage' not found.

and

 I could not locate the file with any of these extensions:
 .eps,.ps,.eps.gz,.ps.gz,.eps.Z
 Try typing  return  to proceed.
 If that doesn't work, type  X return  to quit.

One of these for each page of my document. That makes sense, because  
my preamble looks like this:


 \renewenvironment{figure}[1][tbph]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 \AddToShipoutPicture{\BackgroundPicture{./MyBackgroundImage}{0}}

The Image file sits in the current working directory, and it's a  
JPEG. This used to work fine in 1.3, and it also works fine on my  
mates Windows LyX-1.5.1-Installation.


So, what's wrong here? I guess I forgot to install a certain piece of  
software.


Any hints welcome!

Regards
André


--
André Bonhôte
Systems Engineer
COLT Telecom AG
Mürtschenstrasse 27
CH-8048 Zürich
Switzerland
Tel: +41 (0)58 560 15 01  Internal OneDial: 8-411-0501
Fax: +41 (0)58 560 2501
Email: [EMAIL PROTECTED]
www.colt.net
Data | Voice | Managed Services







Unusual table

2007-09-14 Thread Paul Smith
Dear All,

Is it possible create in LyX tables like the attached one with that
upper left-side corner?

Thanks in advance,

Paul


table.pdf
Description: Adobe PDF document


Re: Seeing HEVEA errors

2007-09-14 Thread Laurent Duperval
On Fri, 14 Sep 2007 02:02:18 -0400, Richard Heck wrote:
 If you run LyX from a terminal, you should see whatever hevea outputs 
 there. Or: Export to LaTeX, and then run hevea manually.
 

I currently to the Export/Run thing but I was hoping I could skip that
step.

I don't run from a terminal. I guess I should.

Thanks,

L

-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186



Re: Seeing HEVEA errors

2007-09-14 Thread Richard Heck

Laurent Duperval wrote:

On Fri, 14 Sep 2007 02:02:18 -0400, Richard Heck wrote:
  
If you run LyX from a terminal, you should see whatever hevea outputs 
there. Or: Export to LaTeX, and then run hevea manually.





I currently to the Export/Run thing but I was hoping I could skip that
step.

I don't run from a terminal. I guess I should.
  

There's no need unless you need to see these sorts of messages.

Richard



Re: First time install problem

2007-09-14 Thread Dr. Werner Popken
 The last time you wrote that this works now, so I don't understand what 
 happened.

Well, installation worked fine ...

 Do you have the file scrbook.layout in LyX's layout directory
 (C:\Programme\LyX 1.5.1\Resources\layouts)?

No.

 If yes, could you please log in as admin, and open an internet connection. 
 Now start LyX by double 
 clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a 
 console window where you can 
 see what LaTeX-packages are installed while the reconfiguration is run. What 
 do you see there for 
 the document class scrbook? If there is a no behind the entry, you have 
 either not set to 
 install missing packages on the fly in MiKTeX's settings (this is normally 
 set by default by the 
 LyXWinInstaller), or you have a problem with your firewall; allow the 
 latex.exe and pdflatex.exe to 
 connect to the internet.

Ok, I see lots of nos; how do I check MiKTeX's settings? Right now, I
have Lyx 1.5 and 1.5.1 and MiKTeX 2.6 and 2.7 -- maybe I forgot to
change MiKTeX's settings one of these times ...

 1) I get type 3 fonts in my PDF document, which means that they are
 bitmaps giving an ugly expression. They should be type 1 fonts.

 Then choose a Type 1 font, see here:
 http://wiki.lyx.org/FAQ/PDF

Ok, they say:

* Palatino. To use this font, do not select Palatino in  Layout?Document, 
but rather insert in the preamble:
  \usepackage{mathpazo}% instead of package palatino
  \usepackage[scaled=0.9]{helvet}%
  \usepackage{courier}

insert in the preamble -- how do I do this? If I manipulate the source
file outside of Lyx, it is not shown in the source view, and the fonts
do not change. The source view is view only ... My changes of the
document text is shown, however.

 \usepackage{floatflt}

Thanks a lot!

Regards
Werner



Re: Unusual table

2007-09-14 Thread Paul A. Rubin

Paul Smith wrote:

Dear All,

Is it possible create in LyX tables like the attached one with that
upper left-side corner?

Thanks in advance,

Paul


I think you have to draw it.  There's a LaTeX package (slashbox) that 
does so, although results are apparently not always spectacular.


Paul



Re: First time install problem

2007-09-14 Thread Uwe Stöhr

Dr. Werner Popken schrieb:


Do you have the file scrbook.layout in LyX's layout directory
(C:\Programme\LyX 1.5.1\Resources\layouts)?


No.


That is very strange, this file MUST be there after you have installed LyX.
It cannot be that this file is deleted.
Ehm, You know that you must install LyX as administrator?

If yes, could you please log in as admin, and open an internet connection. Now start LyX by double 
clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a console window where you can 
see what LaTeX-packages are installed while the reconfiguration is run. What do you see there for 
the document class scrbook? If there is a no behind the entry, you have either not set to 
install missing packages on the fly in MiKTeX's settings (this is normally set by default by the 
LyXWinInstaller), or you have a problem with your firewall; allow the latex.exe and pdflatex.exe to 
connect to the internet.


Ok, I see lots of nos; how do I check MiKTeX's settings? Right now, I
have Lyx 1.5 and 1.5.1 and MiKTeX 2.6 and 2.7 -- maybe I forgot to
change MiKTeX's settings one of these times ...


You need to clean up your system!, (having two MikTeX installations causes often troubles and LyX 
1.5.0 was replaced immediately by LyX 1.5.1 due to a serious bug, so that this should not be used):


- Uninstall LyX 1.5.1,
- uninstall LyX 1.5.0,
- uninstall MikTeX 2.7 _completely_ (note that MikTeX 2.7 is a beta and not for 
daily usage!),
- uninstall MiKTeX 2.6.
(You need admin priviledges of course).
- Restart your PC,
- now reinstall LyX 1.5.1 using the complete version of the LyXWinInstaller (with an open internet 
connection!).


Then it should work.


Ok, they say:

* Palatino. To use this font, do not select Palatino in  Layout?Document, 
but rather insert in the preamble:
  \usepackage{mathpazo}% instead of package palatino
  \usepackage[scaled=0.9]{helvet}%
  \usepackage{courier}

insert in the preamble -- how do I do this?


(menu Document - Settings - Preamble)
But please read the intro and the tutorial manual before you proceed! It's all explained there, and 
if not there, then have a look at the EmbeddedObjects manual.


regards Uwe


Lyx 1.5.1 ignores preamble in layout file

2007-09-14 Thread Erwin Müller
Hi there,

Does anyone know if anything changed from version 1.4.2 to 1.5.x regarding the 
layout file and especially with regard to the preamble section on such a 
file?  I have my one document class layout file (modification of article 
class)  with a preamble section at the start. This worked fine with all 
versions of LyX until I upgraded to 1.5.1 - now it seems everything after the 
start of the preamble section is ignored. 

Any help would be greatly appreciated.  I include a copy of my layout file as 
an attachment.





Erwin Müller
CompuSim AB
Sweden


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{MGRAC_report}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich [EMAIL PROTECTED]
# Transposed by Pascal André [EMAIL PROTECTED]
# Heavily modified and enhanced by several developers.
# Preamble for MGRAC report inserted by Erwin Müller [EMAIL PROTECTED]

  Preamble
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{array}
\usepackage{setspace}
\usepackage{graphics}
\usepackage{graphicx}
\pagestyle{fancy}
\usepackage[bookmarks, bookmarksopen=true, 
bookmarksnumbered=true]{hyperref}

\addtolength{\headheight}{10mm}
\renewcommand{\headrulewidth}{0.8pt}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\sectionmark}[1]{\markboth{#1}{}}
\lhead{\leftmark}
\rhead{Page \thepage\ of \pageref{LastPage}}

[EMAIL PROTECTED]
\renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
\renewcommand{\thetable}{\thesection.\arabic{table}}
[EMAIL PROTECTED]
\renewcommand{\thefigure}{\thesection.\arabic{figure}}

\widowpenalty=1
\clubpenalty=1
\raggedbottom

\chead{MGRAC: MODEL\vspace{4mm}}
\date{}
\lfoot{May, 5, 2004}
\rfoot{Revision 0}
\cfoot{PROPRIETARY\\\vspace{2mm}Copyright © 2004 NECSA, CompuSim AB}
  EndPreamble

# Input general definitions
Input stdclass.inc

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

MaxCounter  Counter_Section
SecNumDepth 3
TocDepth3

# Change a bit Part and Part*
Style Part
  Align Left
  AlignPossible Left
  TopSep2
  BottomSep 1.5

  Font
SizeLarger
  EndFont
End

Style Part*
  Align Left
  AlignPossible Left
  TopSep2
  BottomSep 1.5

  Font
SizeLarger
  EndFont

End


Re: Lyx 1.5.1 ignores preamble in layout file

2007-09-14 Thread Paul A. Rubin

Erwin Müller wrote:

Hi there,

Does anyone know if anything changed from version 1.4.2 to 1.5.x regarding the 
layout file and especially with regard to the preamble section on such a 
file?  I have my one document class layout file (modification of article 
class)  with a preamble section at the start. This worked fine with all 
versions of LyX until I upgraded to 1.5.1 - now it seems everything after the 
start of the preamble section is ignored. 

Any help would be greatly appreciated.  I include a copy of my layout file as 
an attachment.


Preambles still amble along.  The problem is the copyright symbol in the 
footer:


\cfoot{PROPRIETARY\\\vspace{2mm}Copyright © 2004 NECSA, CompuSim AB}

For whatever reason, LyX can't digest it.  (In the shell window, you'll 
see a message about an illegal byte sequence; unfortunately, it's hard 
to tell which byte in the sequence is the offender.  Since the copyright 
symbol was the only oddball there, I guessed -- correctly -- that it was 
the culprit.)


I don't begin to understand all the different encodings -- as far as I'm 
concerned, if I don't see a symbol on my keyboard, it doesn't exist -- 
and I don't know what changed between 1.4.x and 1.5.x to make it 
intolerant of that symbol, but the bottom line is that if you delete it, 
the layout seems to work.  My guess is that if you replace it with 
\copyright, you should be fine.


/Paul



Errors when outputting a document using True Small Caps with Utopia font

2007-09-14 Thread Fareed Qureshi
I've run into a strange problem outputting a document that uses true 
small caps with the Adobe Utopia font.


First off, I am using LyX 1.5.1 for Windows with MiKTeX 2.6. The problem 
below occurred with both the standard installer and alternative 
installer versions of LyX.


The simplest way to recreate it is to create a new file and enter some 
text. Mark some of the text as a noun so that it uses small caps. Now 
change the document font to Utopia under Document Settings Fonts. If I 
do not check the use true Small Caps option then the document outputs 
to dvi, ps, and pdf(pdflatex) normally. If I do check the option then 
dvi output works, but the fonts for the small-capped words fail to load 
and default to computer modern while giving the error appended at the 
end of this email.


Postscript output works, but the glyphs for the small-capped text do not 
appear and the page is blank where they should have been. PDF output 
fails entirely with the following error message:


File does not exist: C:/Documents and Settings/Fareed/Local 
Settings/Temp/lyx_tmpdir2436a00728/lyx_tmpbuf0/Small-Caps.pdf


I first thought it must be that MiKTeX did not have the utopia fonts 
installed properly for some reason, but checking MiKTeX revealed that 
the package was installed and updated. Next I thought it might be some 
configuration problem, but reconfiguring LyX didn't help either. I tried 
uninstalling Lyx and reinstalling with the standard installer (what I 
had used previously) but the problem persisted. I then uninstalled 
MiKTeX and LyX and reinstalled both, this time using the alternative 
installer, and once again the problem persisted.


I am including a small .lyx file that exhibits the problem for me.

I don't know if the issue is that the glyphs for true small caps in 
utopia either aren't installing for me, or that the font doesn't 
actually have small cap glyphs but LyX somehow thinks it does, and 
therefore presents the checkbox option.


It is not a serious issue, since everything seems to work fine when not 
using the true small caps option, but not being able to use the proper 
small caps glyphs kind of gets under my skin. I couldn't fix it so I am 
mentioning it to the list.


Finally, let me also thank the devs of LyX for all their hard work on 
this marvelous program — I absolutely adore using it!


Fareed Qureshi

--
DVI Error Report:

MiKTeX Problem Report
Message: Not all fonts could be loaded. See 'File-Document Properties', 
for details.

Data:
Source: C:\work3\miktex-2.6\Programs\MiKTeX\Yap\MFC\DviDoc.cpp
Line: 617
MiKTeX: 2.6
OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
SystemAdmin: yes
PowerUser: no
SharedSetup: yes
BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin
Root0: C:\Documents and Settings\Fareed\Application Data\MiKTeX\2.6
Root1: C:\Documents and Settings\Fareed\Local Settings\Application 
Data\MiKTeX\2.6

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
Root3: C:\Program Files\MiKTeX 2.6
Install: C:\Program Files\MiKTeX 2.6
UserConfig: C:\Documents and Settings\Fareed\Application Data\MiKTeX\2.6
UserData: C:\Documents and Settings\Fareed\Local Settings\Application 
Data\MiKTeX\2.6
CommonConfig: C:\Documents and Settings\All Users\Application 
Data\MiKTeX\2.6

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
--


Small_Caps.lyx
Description: application/lyx


Re: Seeing HEVEA errors

2007-09-14 Thread Richard Heck

Laurent Duperval wrote:

Hi,

Sometimes when I export to HTML, I get an error window that pops up saying
there was an error with the hevea execution, but I see no details.

Is there any way to see the details?
  
If you run LyX from a terminal, you should see whatever hevea outputs 
there. Or: Export to LaTeX, and then run hevea manually.


Richard



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



problems with GRL (AGU) style

2007-09-14 Thread Berta Biescas
dear friends,
I'm new in Lyx (1.5.1). I want to submit a paper to GLR, editors told me
to use the agu2001.cls and grlga.sty files to get the right style but I
have many problems. I followed the instruction of Help Lyx -
Customization :5.2.2. A layout for a sty file, but after trying and
trying...I'm giving up...I always have errors,could you help me? do I
have to create a layout.lyx file? I'm using the aguplus.inc file because
I don't have any agu2001.inc file, is it Ok?
thank you
berta




Re: First time install problem

2007-09-14 Thread Dr. Werner Popken
 You can take for example the Embedded Objects manual from the help menu as 
 starting point for your
 own book. It uses the document class koma-script (book).

Thanks a lot!

Again: Using Help/Embedded Objects I get an error box

   Lyx: The document class is not available

elaborating that scrbook.layout is not available. 

I managed to produce a simple example, though, and found with
document/settings that lots of classes are not available, among them
KOMA contrary to what the user guide states. I reset the document
class to book and set several other options like language. This way, I
managed to produce a PDF file.

Next, I experienced two more problems,

1) I get type 3 fonts in my PDF document, which means that they are
bitmaps giving an ugly expression. They should be type 1 fonts.

2) I can't manage to place a picture on a page and let the text float
around the picture. This is extremely easy with Word, but doesn't seem
to be a problem in scientific publications, so I doubted if there is a
solution. In http://latex.tugraz.at/fortgeschrittene.php#grafiken I
found

\usepackage{floatflt}
   
   \begin{floatingfigure}[r]{0.4\textwidth}
 \centering
  \includegraphics[width=0.35\textwidth]{./bild.eps}
  \caption{Das ist mein Bild}
  \label{fig:mein-bild}
   \end{floatingfigure}

or

  \usepackage{picins}

   ...

   \piccaption{Graz bei Nacht\label{graz-bei-nacht}}
   \parpic[r]{\includegraphics[width=0.4\textwidth]{./graznacht.eps}}

I guess there is no other way than hand coding, right?

Regards
Werner



Re: First time install problem

2007-09-14 Thread Uwe Stöhr

Dr. Werner Popken schrieb:


Again: Using Help/Embedded Objects I get an error box

   Lyx: The document class is not available

elaborating that scrbook.layout is not available.


The last time you wrote that this works now, so I don't understand what happened. Do you have the 
file scrbook.layout in LyX's layout directory (C:\Programme\LyX 1.5.1\Resources\layouts)?
If yes, could you please log in as admin, and open an internet connection. Now start LyX by double 
clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a console window where you can 
see what LaTeX-packages are installed while the reconfiguration is run. What do you see there for 
the document class scrbook? If there is a no behind the entry, you have either not set to 
install missing packages on the fly in MiKTeX's settings (this is normally set by default by the 
LyXWinInstaller), or you have a problem with your firewall; allow the latex.exe and pdflatex.exe to 
connect to the internet.



1) I get type 3 fonts in my PDF document, which means that they are
bitmaps giving an ugly expression. They should be type 1 fonts.


Then choose a Type 1 font, see here:
http://wiki.lyx.org/FAQ/PDF


2) I can't manage to place a picture on a page and let the text float
around the picture. This is extremely easy with Word, but doesn't seem
to be a problem in scientific publications, so I doubted if there is a
solution. In http://latex.tugraz.at/fortgeschrittene.php#grafiken I
found

\usepackage{floatflt}


LyX already supports this, these are wrap floats.
So before you proceed, please read the UserGuide and/or the EmbeddedObjects 
manual.

regards Uwe


[LyX 1.5.1 Mac] AddToShipoutPicture fails (worked with 1.3)

2007-09-14 Thread Bonhôte André

Hi!

I have just switched from my old beloved 1.3 to the bleeding edge  
1.5.1. My configuration:


 - LyX 1.5.1, source: http://www.lyx.org
 - teTeX, ImageMagick, source: macports
 (what else is important? don't know ...)

Now I have sucessfully opened an 'old' document in 1.5.1. Trying to  
compile it brings the follwing error:


 LaTeX Error: File './MyBackgroundImage' not found.

and

 I could not locate the file with any of these extensions:
 .eps,.ps,.eps.gz,.ps.gz,.eps.Z
 Try typing  return  to proceed.
 If that doesn't work, type  X return  to quit.

One of these for each page of my document. That makes sense, because  
my preamble looks like this:


 \renewenvironment{figure}[1][tbph]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 \AddToShipoutPicture{\BackgroundPicture{./MyBackgroundImage}{0}}

The Image file sits in the current working directory, and it's a  
JPEG. This used to work fine in 1.3, and it also works fine on my  
mates Windows LyX-1.5.1-Installation.


So, what's wrong here? I guess I forgot to install a certain piece of  
software.


Any hints welcome!

Regards
André


--
André Bonhôte
Systems Engineer
COLT Telecom AG
Mürtschenstrasse 27
CH-8048 Zürich
Switzerland
Tel: +41 (0)58 560 15 01  Internal OneDial: 8-411-0501
Fax: +41 (0)58 560 2501
Email: [EMAIL PROTECTED]
www.colt.net
Data | Voice | Managed Services







Unusual table

2007-09-14 Thread Paul Smith
Dear All,

Is it possible create in LyX tables like the attached one with that
upper left-side corner?

Thanks in advance,

Paul


table.pdf
Description: Adobe PDF document


Re: Seeing HEVEA errors

2007-09-14 Thread Laurent Duperval
On Fri, 14 Sep 2007 02:02:18 -0400, Richard Heck wrote:
 If you run LyX from a terminal, you should see whatever hevea outputs 
 there. Or: Export to LaTeX, and then run hevea manually.
 

I currently to the Export/Run thing but I was hoping I could skip that
step.

I don't run from a terminal. I guess I should.

Thanks,

L

-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186



Re: Seeing HEVEA errors

2007-09-14 Thread Richard Heck

Laurent Duperval wrote:

On Fri, 14 Sep 2007 02:02:18 -0400, Richard Heck wrote:
  
If you run LyX from a terminal, you should see whatever hevea outputs 
there. Or: Export to LaTeX, and then run hevea manually.





I currently to the Export/Run thing but I was hoping I could skip that
step.

I don't run from a terminal. I guess I should.
  

There's no need unless you need to see these sorts of messages.

Richard



Re: First time install problem

2007-09-14 Thread Dr. Werner Popken
 The last time you wrote that this works now, so I don't understand what 
 happened.

Well, installation worked fine ...

 Do you have the file scrbook.layout in LyX's layout directory
 (C:\Programme\LyX 1.5.1\Resources\layouts)?

No.

 If yes, could you please log in as admin, and open an internet connection. 
 Now start LyX by double 
 clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a 
 console window where you can 
 see what LaTeX-packages are installed while the reconfiguration is run. What 
 do you see there for 
 the document class scrbook? If there is a no behind the entry, you have 
 either not set to 
 install missing packages on the fly in MiKTeX's settings (this is normally 
 set by default by the 
 LyXWinInstaller), or you have a problem with your firewall; allow the 
 latex.exe and pdflatex.exe to 
 connect to the internet.

Ok, I see lots of nos; how do I check MiKTeX's settings? Right now, I
have Lyx 1.5 and 1.5.1 and MiKTeX 2.6 and 2.7 -- maybe I forgot to
change MiKTeX's settings one of these times ...

 1) I get type 3 fonts in my PDF document, which means that they are
 bitmaps giving an ugly expression. They should be type 1 fonts.

 Then choose a Type 1 font, see here:
 http://wiki.lyx.org/FAQ/PDF

Ok, they say:

* Palatino. To use this font, do not select Palatino in  Layout?Document, 
but rather insert in the preamble:
  \usepackage{mathpazo}% instead of package palatino
  \usepackage[scaled=0.9]{helvet}%
  \usepackage{courier}

insert in the preamble -- how do I do this? If I manipulate the source
file outside of Lyx, it is not shown in the source view, and the fonts
do not change. The source view is view only ... My changes of the
document text is shown, however.

 \usepackage{floatflt}

Thanks a lot!

Regards
Werner



Re: Unusual table

2007-09-14 Thread Paul A. Rubin

Paul Smith wrote:

Dear All,

Is it possible create in LyX tables like the attached one with that
upper left-side corner?

Thanks in advance,

Paul


I think you have to draw it.  There's a LaTeX package (slashbox) that 
does so, although results are apparently not always spectacular.


Paul



Re: First time install problem

2007-09-14 Thread Uwe Stöhr

Dr. Werner Popken schrieb:


Do you have the file scrbook.layout in LyX's layout directory
(C:\Programme\LyX 1.5.1\Resources\layouts)?


No.


That is very strange, this file MUST be there after you have installed LyX.
It cannot be that this file is deleted.
Ehm, You know that you must install LyX as administrator?

If yes, could you please log in as admin, and open an internet connection. Now start LyX by double 
clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a console window where you can 
see what LaTeX-packages are installed while the reconfiguration is run. What do you see there for 
the document class scrbook? If there is a no behind the entry, you have either not set to 
install missing packages on the fly in MiKTeX's settings (this is normally set by default by the 
LyXWinInstaller), or you have a problem with your firewall; allow the latex.exe and pdflatex.exe to 
connect to the internet.


Ok, I see lots of nos; how do I check MiKTeX's settings? Right now, I
have Lyx 1.5 and 1.5.1 and MiKTeX 2.6 and 2.7 -- maybe I forgot to
change MiKTeX's settings one of these times ...


You need to clean up your system!, (having two MikTeX installations causes often troubles and LyX 
1.5.0 was replaced immediately by LyX 1.5.1 due to a serious bug, so that this should not be used):


- Uninstall LyX 1.5.1,
- uninstall LyX 1.5.0,
- uninstall MikTeX 2.7 _completely_ (note that MikTeX 2.7 is a beta and not for 
daily usage!),
- uninstall MiKTeX 2.6.
(You need admin priviledges of course).
- Restart your PC,
- now reinstall LyX 1.5.1 using the complete version of the LyXWinInstaller (with an open internet 
connection!).


Then it should work.


Ok, they say:

* Palatino. To use this font, do not select Palatino in  Layout?Document, 
but rather insert in the preamble:
  \usepackage{mathpazo}% instead of package palatino
  \usepackage[scaled=0.9]{helvet}%
  \usepackage{courier}

insert in the preamble -- how do I do this?


(menu Document - Settings - Preamble)
But please read the intro and the tutorial manual before you proceed! It's all explained there, and 
if not there, then have a look at the EmbeddedObjects manual.


regards Uwe


Lyx 1.5.1 ignores preamble in layout file

2007-09-14 Thread Erwin Müller
Hi there,

Does anyone know if anything changed from version 1.4.2 to 1.5.x regarding the 
layout file and especially with regard to the preamble section on such a 
file?  I have my one document class layout file (modification of article 
class)  with a preamble section at the start. This worked fine with all 
versions of LyX until I upgraded to 1.5.1 - now it seems everything after the 
start of the preamble section is ignored. 

Any help would be greatly appreciated.  I include a copy of my layout file as 
an attachment.





Erwin Müller
CompuSim AB
Sweden


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{MGRAC_report}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich [EMAIL PROTECTED]
# Transposed by Pascal André [EMAIL PROTECTED]
# Heavily modified and enhanced by several developers.
# Preamble for MGRAC report inserted by Erwin Müller [EMAIL PROTECTED]

  Preamble
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{array}
\usepackage{setspace}
\usepackage{graphics}
\usepackage{graphicx}
\pagestyle{fancy}
\usepackage[bookmarks, bookmarksopen=true, 
bookmarksnumbered=true]{hyperref}

\addtolength{\headheight}{10mm}
\renewcommand{\headrulewidth}{0.8pt}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\sectionmark}[1]{\markboth{#1}{}}
\lhead{\leftmark}
\rhead{Page \thepage\ of \pageref{LastPage}}

[EMAIL PROTECTED]
\renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
\renewcommand{\thetable}{\thesection.\arabic{table}}
[EMAIL PROTECTED]
\renewcommand{\thefigure}{\thesection.\arabic{figure}}

\widowpenalty=1
\clubpenalty=1
\raggedbottom

\chead{MGRAC: MODEL\vspace{4mm}}
\date{}
\lfoot{May, 5, 2004}
\rfoot{Revision 0}
\cfoot{PROPRIETARY\\\vspace{2mm}Copyright © 2004 NECSA, CompuSim AB}
  EndPreamble

# Input general definitions
Input stdclass.inc

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

MaxCounter  Counter_Section
SecNumDepth 3
TocDepth3

# Change a bit Part and Part*
Style Part
  Align Left
  AlignPossible Left
  TopSep2
  BottomSep 1.5

  Font
SizeLarger
  EndFont
End

Style Part*
  Align Left
  AlignPossible Left
  TopSep2
  BottomSep 1.5

  Font
SizeLarger
  EndFont

End


Re: Lyx 1.5.1 ignores preamble in layout file

2007-09-14 Thread Paul A. Rubin

Erwin Müller wrote:

Hi there,

Does anyone know if anything changed from version 1.4.2 to 1.5.x regarding the 
layout file and especially with regard to the preamble section on such a 
file?  I have my one document class layout file (modification of article 
class)  with a preamble section at the start. This worked fine with all 
versions of LyX until I upgraded to 1.5.1 - now it seems everything after the 
start of the preamble section is ignored. 

Any help would be greatly appreciated.  I include a copy of my layout file as 
an attachment.


Preambles still amble along.  The problem is the copyright symbol in the 
footer:


\cfoot{PROPRIETARY\\\vspace{2mm}Copyright © 2004 NECSA, CompuSim AB}

For whatever reason, LyX can't digest it.  (In the shell window, you'll 
see a message about an illegal byte sequence; unfortunately, it's hard 
to tell which byte in the sequence is the offender.  Since the copyright 
symbol was the only oddball there, I guessed -- correctly -- that it was 
the culprit.)


I don't begin to understand all the different encodings -- as far as I'm 
concerned, if I don't see a symbol on my keyboard, it doesn't exist -- 
and I don't know what changed between 1.4.x and 1.5.x to make it 
intolerant of that symbol, but the bottom line is that if you delete it, 
the layout seems to work.  My guess is that if you replace it with 
\copyright, you should be fine.


/Paul



Errors when outputting a document using True Small Caps with Utopia font

2007-09-14 Thread Fareed Qureshi
I've run into a strange problem outputting a document that uses true 
small caps with the Adobe Utopia font.


First off, I am using LyX 1.5.1 for Windows with MiKTeX 2.6. The problem 
below occurred with both the standard installer and alternative 
installer versions of LyX.


The simplest way to recreate it is to create a new file and enter some 
text. Mark some of the text as a noun so that it uses small caps. Now 
change the document font to Utopia under Document Settings Fonts. If I 
do not check the use true Small Caps option then the document outputs 
to dvi, ps, and pdf(pdflatex) normally. If I do check the option then 
dvi output works, but the fonts for the small-capped words fail to load 
and default to computer modern while giving the error appended at the 
end of this email.


Postscript output works, but the glyphs for the small-capped text do not 
appear and the page is blank where they should have been. PDF output 
fails entirely with the following error message:


File does not exist: C:/Documents and Settings/Fareed/Local 
Settings/Temp/lyx_tmpdir2436a00728/lyx_tmpbuf0/Small-Caps.pdf


I first thought it must be that MiKTeX did not have the utopia fonts 
installed properly for some reason, but checking MiKTeX revealed that 
the package was installed and updated. Next I thought it might be some 
configuration problem, but reconfiguring LyX didn't help either. I tried 
uninstalling Lyx and reinstalling with the standard installer (what I 
had used previously) but the problem persisted. I then uninstalled 
MiKTeX and LyX and reinstalled both, this time using the alternative 
installer, and once again the problem persisted.


I am including a small .lyx file that exhibits the problem for me.

I don't know if the issue is that the glyphs for true small caps in 
utopia either aren't installing for me, or that the font doesn't 
actually have small cap glyphs but LyX somehow thinks it does, and 
therefore presents the checkbox option.


It is not a serious issue, since everything seems to work fine when not 
using the true small caps option, but not being able to use the proper 
small caps glyphs kind of gets under my skin. I couldn't fix it so I am 
mentioning it to the list.


Finally, let me also thank the devs of LyX for all their hard work on 
this marvelous program — I absolutely adore using it!


Fareed Qureshi

--
DVI Error Report:

MiKTeX Problem Report
Message: Not all fonts could be loaded. See 'File-Document Properties', 
for details.

Data:
Source: C:\work3\miktex-2.6\Programs\MiKTeX\Yap\MFC\DviDoc.cpp
Line: 617
MiKTeX: 2.6
OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
SystemAdmin: yes
PowerUser: no
SharedSetup: yes
BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin
Root0: C:\Documents and Settings\Fareed\Application Data\MiKTeX\2.6
Root1: C:\Documents and Settings\Fareed\Local Settings\Application 
Data\MiKTeX\2.6

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
Root3: C:\Program Files\MiKTeX 2.6
Install: C:\Program Files\MiKTeX 2.6
UserConfig: C:\Documents and Settings\Fareed\Application Data\MiKTeX\2.6
UserData: C:\Documents and Settings\Fareed\Local Settings\Application 
Data\MiKTeX\2.6
CommonConfig: C:\Documents and Settings\All Users\Application 
Data\MiKTeX\2.6

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
--


Small_Caps.lyx
Description: application/lyx


Re: Seeing HEVEA errors

2007-09-14 Thread Richard Heck

Laurent Duperval wrote:

Hi,

Sometimes when I export to HTML, I get an error window that pops up saying
there was an error with the hevea execution, but I see no details.

Is there any way to see the details?
  
If you run LyX from a terminal, you should see whatever hevea outputs 
there. Or: Export to LaTeX, and then run hevea manually.


Richard



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



problems with GRL (AGU) style

2007-09-14 Thread Berta Biescas
dear friends,
I'm new in Lyx (1.5.1). I want to submit a paper to GLR, editors told me
to use the agu2001.cls and grlga.sty files to get the right style but I
have many problems. I followed the instruction of "Help Lyx -
Customization :5.2.2. A layout for a sty file", but after trying and
trying...I'm giving up...I always have errors,could you help me? do I
have to create a layout.lyx file? I'm using the aguplus.inc file because
I don't have any agu2001.inc file, is it Ok?
thank you
berta




Re: First time install problem

2007-09-14 Thread Dr. Werner Popken
> You can take for example the Embedded Objects manual from the help menu as 
> starting point for your
> own book. It uses the document class "koma-script (book)".

Thanks a lot!

Again: Using Help/Embedded Objects I get an error box

   Lyx: The document class is not available

elaborating that scrbook.layout is not available. 

I managed to produce a simple example, though, and found with
document/settings that lots of classes are not available, among them
KOMA contrary to what the user guide states. I reset the document
class to book and set several other options like language. This way, I
managed to produce a PDF file.

Next, I experienced two more problems,

1) I get type 3 fonts in my PDF document, which means that they are
bitmaps giving an ugly expression. They should be type 1 fonts.

2) I can't manage to place a picture on a page and let the text float
around the picture. This is extremely easy with Word, but doesn't seem
to be a problem in scientific publications, so I doubted if there is a
solution. In http://latex.tugraz.at/fortgeschrittene.php#grafiken I
found

\usepackage{floatflt}
   
   \begin{floatingfigure}[r]{0.4\textwidth}
 \centering
  \includegraphics[width=0.35\textwidth]{./bild.eps}
  \caption{Das ist mein Bild}
  \label{fig:mein-bild}
   \end{floatingfigure}

or

  \usepackage{picins}

   ...

   \piccaption{Graz bei Nacht\label{graz-bei-nacht}}
   \parpic[r]{\includegraphics[width=0.4\textwidth]{./graznacht.eps}}

I guess there is no other way than hand coding, right?

Regards
Werner



Re: First time install problem

2007-09-14 Thread Uwe Stöhr

Dr. Werner Popken schrieb:


Again: Using Help/Embedded Objects I get an error box

   Lyx: The document class is not available

elaborating that scrbook.layout is not available.


The last time you wrote that this works now, so I don't understand what happened. Do you have the 
file scrbook.layout in LyX's layout directory (C:\Programme\LyX 1.5.1\Resources\layouts)?
If yes, could you please log in as admin, and open an internet connection. Now start LyX by double 
clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a console window where you can 
see what LaTeX-packages are installed while the reconfiguration is run. What do you see there for 
the document class "scrbook"? If there is a "no" behind the entry, you have either not set to 
install missing packages on the fly in MiKTeX's settings (this is normally set by default by the 
LyXWinInstaller), or you have a problem with your firewall; allow the latex.exe and pdflatex.exe to 
connect to the internet.



1) I get type 3 fonts in my PDF document, which means that they are
bitmaps giving an ugly expression. They should be type 1 fonts.


Then choose a Type 1 font, see here:
http://wiki.lyx.org/FAQ/PDF


2) I can't manage to place a picture on a page and let the text float
around the picture. This is extremely easy with Word, but doesn't seem
to be a problem in scientific publications, so I doubted if there is a
solution. In http://latex.tugraz.at/fortgeschrittene.php#grafiken I
found

\usepackage{floatflt}


LyX already supports this, these are "wrap floats".
So before you proceed, please read the UserGuide and/or the EmbeddedObjects 
manual.

regards Uwe


[LyX 1.5.1 Mac] AddToShipoutPicture fails (worked with 1.3)

2007-09-14 Thread Bonhôte André

Hi!

I have just switched from my old beloved 1.3 to the bleeding edge  
1.5.1. My configuration:


 - LyX 1.5.1, source: http://www.lyx.org
 - teTeX, ImageMagick, source: macports
 (what else is important? don't know ...)

Now I have sucessfully opened an 'old' document in 1.5.1. Trying to  
compile it brings the follwing error:


 LaTeX Error: File './MyBackgroundImage' not found.

and

 I could not locate the file with any of these extensions:
 .eps,.ps,.eps.gz,.ps.gz,.eps.Z
 Try typingto proceed.
 If that doesn't work, type  X   to quit.

One of these for each page of my document. That makes sense, because  
my preamble looks like this:


 \renewenvironment{figure}[1][tbph]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 \AddToShipoutPicture{\BackgroundPicture{./MyBackgroundImage}{0}}

The Image file sits in the current working directory, and it's a  
JPEG. This used to work fine in 1.3, and it also works fine on my  
mates Windows LyX-1.5.1-Installation.


So, what's wrong here? I guess I forgot to install a certain piece of  
software.


Any hints welcome!

Regards
André


--
André Bonhôte
Systems Engineer
COLT Telecom AG
Mürtschenstrasse 27
CH-8048 Zürich
Switzerland
Tel: +41 (0)58 560 15 01  Internal OneDial: 8-411-0501
Fax: +41 (0)58 560 2501
Email: [EMAIL PROTECTED]
www.colt.net
Data | Voice | Managed Services







Unusual table

2007-09-14 Thread Paul Smith
Dear All,

Is it possible create in LyX tables like the attached one with that
upper left-side corner?

Thanks in advance,

Paul


table.pdf
Description: Adobe PDF document


Re: Seeing HEVEA errors

2007-09-14 Thread Laurent Duperval
On Fri, 14 Sep 2007 02:02:18 -0400, Richard Heck wrote:
> If you run LyX from a terminal, you should see whatever hevea outputs 
> there. Or: Export to LaTeX, and then run hevea manually.
> 

I currently to the Export/Run thing but I was hoping I could skip that
step.

I don't run from a terminal. I guess I should.

Thanks,

L

-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you!

Information: [EMAIL PROTECTED]   http://www.duperval.com   (514) 902-0186



Re: Seeing HEVEA errors

2007-09-14 Thread Richard Heck

Laurent Duperval wrote:

On Fri, 14 Sep 2007 02:02:18 -0400, Richard Heck wrote:
  
If you run LyX from a terminal, you should see whatever hevea outputs 
there. Or: Export to LaTeX, and then run hevea manually.





I currently to the Export/Run thing but I was hoping I could skip that
step.

I don't run from a terminal. I guess I should.
  

There's no need unless you need to see these sorts of messages.

Richard



Re: First time install problem

2007-09-14 Thread Dr. Werner Popken
> The last time you wrote that this works now, so I don't understand what 
> happened.

Well, installation worked fine ...

> Do you have the file scrbook.layout in LyX's layout directory
> (C:\Programme\LyX 1.5.1\Resources\layouts)?

No.

> If yes, could you please log in as admin, and open an internet connection. 
> Now start LyX by double 
> clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a 
> console window where you can 
> see what LaTeX-packages are installed while the reconfiguration is run. What 
> do you see there for 
> the document class "scrbook"? If there is a "no" behind the entry, you have 
> either not set to 
> install missing packages on the fly in MiKTeX's settings (this is normally 
> set by default by the 
> LyXWinInstaller), or you have a problem with your firewall; allow the 
> latex.exe and pdflatex.exe to 
> connect to the internet.

Ok, I see lots of nos; how do I check MiKTeX's settings? Right now, I
have Lyx 1.5 and 1.5.1 and MiKTeX 2.6 and 2.7 -- maybe I forgot to
change MiKTeX's settings one of these times ...

>> 1) I get type 3 fonts in my PDF document, which means that they are
>> bitmaps giving an ugly expression. They should be type 1 fonts.

> Then choose a Type 1 font, see here:
> http://wiki.lyx.org/FAQ/PDF

Ok, they say:

* Palatino. To use this font, do not select Palatino in  Layout?Document, 
but rather insert in the preamble:
  \usepackage{mathpazo}% instead of package palatino
  \usepackage[scaled=0.9]{helvet}%
  \usepackage{courier}

insert in the preamble -- how do I do this? If I manipulate the source
file outside of Lyx, it is not shown in the source view, and the fonts
do not change. The source view is view only ... My changes of the
document text is shown, however.

>> \usepackage{floatflt}

Thanks a lot!

Regards
Werner



Re: Unusual table

2007-09-14 Thread Paul A. Rubin

Paul Smith wrote:

Dear All,

Is it possible create in LyX tables like the attached one with that
upper left-side corner?

Thanks in advance,

Paul


I think you have to draw it.  There's a LaTeX package (slashbox) that 
does so, although results are apparently not always spectacular.


Paul



Re: First time install problem

2007-09-14 Thread Uwe Stöhr

Dr. Werner Popken schrieb:


Do you have the file scrbook.layout in LyX's layout directory
(C:\Programme\LyX 1.5.1\Resources\layouts)?


No.


That is very strange, this file MUST be there after you have installed LyX.
It cannot be that this file is deleted.
Ehm, You know that you must install LyX as administrator?

If yes, could you please log in as admin, and open an internet connection. Now start LyX by double 
clicking on the lyx.exe, and reconfigure LyX. LyX will be opened with a console window where you can 
see what LaTeX-packages are installed while the reconfiguration is run. What do you see there for 
the document class "scrbook"? If there is a "no" behind the entry, you have either not set to 
install missing packages on the fly in MiKTeX's settings (this is normally set by default by the 
LyXWinInstaller), or you have a problem with your firewall; allow the latex.exe and pdflatex.exe to 
connect to the internet.


Ok, I see lots of nos; how do I check MiKTeX's settings? Right now, I
have Lyx 1.5 and 1.5.1 and MiKTeX 2.6 and 2.7 -- maybe I forgot to
change MiKTeX's settings one of these times ...


You need to clean up your system!, (having two MikTeX installations causes often troubles and LyX 
1.5.0 was replaced immediately by LyX 1.5.1 due to a serious bug, so that this should not be used):


- Uninstall LyX 1.5.1,
- uninstall LyX 1.5.0,
- uninstall MikTeX 2.7 _completely_ (note that MikTeX 2.7 is a beta and not for 
daily usage!),
- uninstall MiKTeX 2.6.
(You need admin priviledges of course).
- Restart your PC,
- now reinstall LyX 1.5.1 using the complete version of the LyXWinInstaller (with an open internet 
connection!).


Then it should work.


Ok, they say:

* Palatino. To use this font, do not select Palatino in  Layout?Document, 
but rather insert in the preamble:
  \usepackage{mathpazo}% instead of package palatino
  \usepackage[scaled=0.9]{helvet}%
  \usepackage{courier}

insert in the preamble -- how do I do this?


(menu Document -> Settings - Preamble)
But please read the intro and the tutorial manual before you proceed! It's all explained there, and 
if not there, then have a look at the EmbeddedObjects manual.


regards Uwe


Lyx 1.5.1 ignores preamble in layout file

2007-09-14 Thread Erwin Müller
Hi there,

Does anyone know if anything changed from version 1.4.2 to 1.5.x regarding the 
layout file and especially with regard to the preamble section on such a 
file?  I have my one document class layout file (modification of article 
class)  with a preamble section at the start. This worked fine with all 
versions of LyX until I upgraded to 1.5.1 - now it seems everything after the 
start of the preamble section is ignored. 

Any help would be greatly appreciated.  I include a copy of my layout file as 
an attachment.





Erwin Müller
CompuSim AB
Sweden


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{MGRAC_report}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Transposed by Pascal André <[EMAIL PROTECTED]>
# Heavily modified and enhanced by several developers.
# Preamble for MGRAC report inserted by Erwin Müller <[EMAIL PROTECTED]>

  Preamble
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{array}
\usepackage{setspace}
\usepackage{graphics}
\usepackage{graphicx}
\pagestyle{fancy}
\usepackage[bookmarks, bookmarksopen=true, 
bookmarksnumbered=true]{hyperref}

\addtolength{\headheight}{10mm}
\renewcommand{\headrulewidth}{0.8pt}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\sectionmark}[1]{\markboth{#1}{}}
\lhead{\leftmark}
\rhead{Page \thepage\ of \pageref{LastPage}}

[EMAIL PROTECTED]
\renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
\renewcommand{\thetable}{\thesection.\arabic{table}}
[EMAIL PROTECTED]
\renewcommand{\thefigure}{\thesection.\arabic{figure}}

\widowpenalty=1
\clubpenalty=1
\raggedbottom

\chead{MGRAC: MODEL\vspace{4mm}}
\date{}
\lfoot{May, 5, 2004}
\rfoot{Revision 0}
\cfoot{PROPRIETARY\\\vspace{2mm}Copyright © 2004 NECSA, CompuSim AB}
  EndPreamble

# Input general definitions
Input stdclass.inc

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

MaxCounter  Counter_Section
SecNumDepth 3
TocDepth3

# Change a bit Part and Part*
Style Part
  Align Left
  AlignPossible Left
  TopSep2
  BottomSep 1.5

  Font
SizeLarger
  EndFont
End

Style Part*
  Align Left
  AlignPossible Left
  TopSep2
  BottomSep 1.5

  Font
SizeLarger
  EndFont

End


Re: Lyx 1.5.1 ignores preamble in layout file

2007-09-14 Thread Paul A. Rubin

Erwin Müller wrote:

Hi there,

Does anyone know if anything changed from version 1.4.2 to 1.5.x regarding the 
layout file and especially with regard to the preamble section on such a 
file?  I have my one document class layout file (modification of article 
class)  with a preamble section at the start. This worked fine with all 
versions of LyX until I upgraded to 1.5.1 - now it seems everything after the 
start of the preamble section is ignored. 

Any help would be greatly appreciated.  I include a copy of my layout file as 
an attachment.


Preambles still amble along.  The problem is the copyright symbol in the 
footer:


\cfoot{PROPRIETARY\\\vspace{2mm}Copyright © 2004 NECSA, CompuSim AB}

For whatever reason, LyX can't digest it.  (In the shell window, you'll 
see a message about an illegal byte sequence; unfortunately, it's hard 
to tell which byte in the sequence is the offender.  Since the copyright 
symbol was the only oddball there, I guessed -- correctly -- that it was 
the culprit.)


I don't begin to understand all the different encodings -- as far as I'm 
concerned, if I don't see a symbol on my keyboard, it doesn't exist -- 
and I don't know what changed between 1.4.x and 1.5.x to make it 
intolerant of that symbol, but the bottom line is that if you delete it, 
the layout seems to work.  My guess is that if you replace it with 
\copyright, you should be fine.


/Paul



Errors when outputting a document using True Small Caps with Utopia font

2007-09-14 Thread Fareed Qureshi
I've run into a strange problem outputting a document that uses true 
small caps with the Adobe Utopia font.


First off, I am using LyX 1.5.1 for Windows with MiKTeX 2.6. The problem 
below occurred with both the standard installer and alternative 
installer versions of LyX.


The simplest way to recreate it is to create a new file and enter some 
text. Mark some of the text as a noun so that it uses small caps. Now 
change the document font to Utopia under Document> Settings> Fonts. If I 
do not check the "use true Small Caps" option then the document outputs 
to dvi, ps, and pdf(pdflatex) normally. If I do check the option then 
dvi output works, but the fonts for the small-capped words fail to load 
and default to computer modern while giving the error appended at the 
end of this email.


Postscript output works, but the glyphs for the small-capped text do not 
appear and the page is blank where they should have been. PDF output 
fails entirely with the following error message:


"File does not exist: C:/Documents and Settings/Fareed/Local 
Settings/Temp/lyx_tmpdir2436a00728/lyx_tmpbuf0/Small-Caps.pdf"


I first thought it must be that MiKTeX did not have the utopia fonts 
installed properly for some reason, but checking MiKTeX revealed that 
the package was installed and updated. Next I thought it might be some 
configuration problem, but reconfiguring LyX didn't help either. I tried 
uninstalling Lyx and reinstalling with the standard installer (what I 
had used previously) but the problem persisted. I then uninstalled 
MiKTeX and LyX and reinstalled both, this time using the alternative 
installer, and once again the problem persisted.


I am including a small .lyx file that exhibits the problem for me.

I don't know if the issue is that the glyphs for true small caps in 
utopia either aren't installing for me, or that the font doesn't 
actually have small cap glyphs but LyX somehow thinks it does, and 
therefore presents the checkbox option.


It is not a serious issue, since everything seems to work fine when not 
using the "true small caps" option, but not being able to use the proper 
small caps glyphs kind of gets under my skin. I couldn't fix it so I am 
mentioning it to the list.


Finally, let me also thank the devs of LyX for all their hard work on 
this marvelous program — I absolutely adore using it!


Fareed Qureshi

--
DVI Error Report:

MiKTeX Problem Report
Message: Not all fonts could be loaded. See 'File->Document Properties', 
for details.

Data:
Source: C:\work3\miktex-2.6\Programs\MiKTeX\Yap\MFC\DviDoc.cpp
Line: 617
MiKTeX: 2.6
OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
SystemAdmin: yes
PowerUser: no
SharedSetup: yes
BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin
Root0: C:\Documents and Settings\Fareed\Application Data\MiKTeX\2.6
Root1: C:\Documents and Settings\Fareed\Local Settings\Application 
Data\MiKTeX\2.6

Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
Root3: C:\Program Files\MiKTeX 2.6
Install: C:\Program Files\MiKTeX 2.6
UserConfig: C:\Documents and Settings\Fareed\Application Data\MiKTeX\2.6
UserData: C:\Documents and Settings\Fareed\Local Settings\Application 
Data\MiKTeX\2.6
CommonConfig: C:\Documents and Settings\All Users\Application 
Data\MiKTeX\2.6

CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
--


Small_Caps.lyx
Description: application/lyx