Re: [announce] preview test release of LyX 1.6.0rc2 for Windows

2008-09-04 Thread Jean-Pierre Chretien
Hello,

Just compiled lyx on Solaris 10 with QT 4.4.1, I get this (C locale)

QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed

At the first call, I got le lot of
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x70757368
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x64202f75

messages.

All is OK on Solaris 8 Qt 4.3.4

Apparently harmless, but...

-- 
Jean-Pierre




Qt error message at LyX startup

2008-09-04 Thread Jean-Pierre Chretien

Hello,

Just compiled lyx on Solaris 10 with QT 4.4.1, I get this (C locale)

QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed

At the first call, I got le lot of
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x70757368
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x64202f75

messages.

All is OK on Solaris 8 Qt 4.3.4

Apparently harmless, but...

Sorry for the wrong (and misleading) subject of my previous message

-- 
Jean-Pierre




Re: [announce] preview test release of LyX 1.6.0rc2 for Windows

2008-09-04 Thread Jean-Pierre Chretien
Hello,

Just compiled lyx on Solaris 10 with QT 4.4.1, I get this (C locale)

QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed

At the first call, I got le lot of
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x70757368
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x64202f75

messages.

All is OK on Solaris 8 Qt 4.3.4

Apparently harmless, but...

-- 
Jean-Pierre




Qt error message at LyX startup

2008-09-04 Thread Jean-Pierre Chretien

Hello,

Just compiled lyx on Solaris 10 with QT 4.4.1, I get this (C locale)

QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed

At the first call, I got le lot of
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x70757368
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x64202f75

messages.

All is OK on Solaris 8 Qt 4.3.4

Apparently harmless, but...

Sorry for the wrong (and misleading) subject of my previous message

-- 
Jean-Pierre




Re: [announce] preview test release of LyX 1.6.0rc2 for Windows

2008-09-04 Thread Jean-Pierre Chretien
Hello,

Just compiled lyx on Solaris 10 with QT 4.4.1, I get this (C locale)

QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed

At the first call, I got le lot of
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x70757368
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x64202f75

messages.

All is OK on Solaris 8 Qt 4.3.4

Apparently harmless, but...

-- 
Jean-Pierre




Qt error message at LyX startup

2008-09-04 Thread Jean-Pierre Chretien

Hello,

Just compiled lyx on Solaris 10 with QT 4.4.1, I get this (C locale)

QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed

At the first call, I got le lot of
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x70757368
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 17 (X_GetAtomName)
  Resource id:  0x64202f75

messages.

All is OK on Solaris 8 Qt 4.3.4

Apparently harmless, but...

Sorry for the wrong (and misleading) subject of my previous message

-- 
Jean-Pierre




Re: Fixed?

2007-11-07 Thread Jean-Pierre Chretien

Date: Tue, 6 Nov 2007 14:36:26 -0600
From: [EMAIL PROTECTED]
To: LyX Users lyx-users@lists.lyx.org
Subject: Fixed?

Please check (just couple of you) if all is working well as far as posting
to the list goes.

Hello Máté

I posted to lyx-fr-owner about the same problem I have with lyx-fr,
could you fix this list as well (unless your fix is global to all lyx lists) ?

TIA

-- 
Jean-Pierre



Re: Fixed?

2007-11-07 Thread Jean-Pierre Chretien

Date: Tue, 6 Nov 2007 14:36:26 -0600
From: [EMAIL PROTECTED]
To: LyX Users lyx-users@lists.lyx.org
Subject: Fixed?

Please check (just couple of you) if all is working well as far as posting
to the list goes.

Hello Máté

I posted to lyx-fr-owner about the same problem I have with lyx-fr,
could you fix this list as well (unless your fix is global to all lyx lists) ?

TIA

-- 
Jean-Pierre



Re: Fixed?

2007-11-07 Thread Jean-Pierre Chretien

>>Date: Tue, 6 Nov 2007 14:36:26 -0600
>>From: [EMAIL PROTECTED]
>>To: LyX Users 
>>Subject: Fixed?
>>
>>Please check (just couple of you) if all is working well as far as posting
>>to the list goes.

Hello Máté

I posted to lyx-fr-owner about the same problem I have with lyx-fr,
could you fix this list as well (unless your fix is global to all lyx lists) ?

TIA

-- 
Jean-Pierre



Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

From: NicoWinger [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org, [EMAIL PROTECTED]
Subject: Creating a document class
Date: Mon, 14 May 2007 23:36:37 +0200
X-Provags-ID: V01U2FsdGVkX1/Il0imjugoveyKNidQpbz/x2yCR01Aulp1KfyZ 
FwCTBWCbGjmf8YPC3X36R5RXP9hI/JU3bTO+47MQNR+fKjd+C9 lUgecqu+c=

Hello,
 
I'm still creating a document class for the quote guidelines of our
university and a belonging template. Both is nearly finished, but there is
one thing that still bothers me. The cover: There are very strong
requirements for the position of title, name etc. So far I made it with a
table in the template but I would like to create new LaTeX-commands in the
document class for putting every style (Name, Title etc.) at its specified
position on the page with a label (similar to the letter-class). That would
enable the user to create the cover without template setting a style for any
detail.

Here is a solution using xfig to perform the required placement
 - create an xfig layout of the cover page, with new command names where text 
should appear (\covertitle, \coverauthor, \coverdate, \coverinstitute,..),
 and special flags set; maybe you may re-use \title, \author,...
 - add the corresponding styles in the layout 
 - Insert-File-External Material

I guess the main problem is to create the cover before LyX activates \maketitle.

-- 
Jean-Pierre



Re: How to detect current font size, shape, series and the like?

2007-05-15 Thread Jean-Pierre Chretien

From: Steve Litt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: How to detect current font size, shape, series and the like?
Date: Mon, 14 May 2007 19:16:10 -0400

On Friday 11 May 2007 15:09, Paul A. Rubin wrote:
 Steve Litt wrote:
[...]
This didn't work for me. Here's a tiny LaTeX file incorporating it:

%
\documentclass[12pt]{book}
[EMAIL PROTECTED]

\begin{document}
mysize is \mysize
\end{document}
%

When I try to compile it, here's what happens:
[...]
Any ideas what I should do?

@ is not legal in latex documents, you must say that it is a plain letter:
\makeatletter
[EMAIL PROTECTED]
\makeatother

LyX does it for you, for the whole preamble, so without adding these commands,
tex2lyx yourdoc.tex; lyx -e dvi yourdoc.lyx; xdvi yourdoc
works...

-- 
Jean-Pierre



Re: Language

2007-05-15 Thread Jean-Pierre Chretien

From: Francesco Menoncin [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Language
Date: Tue, 15 May 2007 11:46:44 +0200
X-EcoUnibs-MailScanner-Information: Please contact the ISP for more 
information
X-EcoUnibs-MailScanner: Found to be clean
X-EcoUnibs-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, 
required 6, autolearn=disabled, ALL_TRUSTED -1.44)
X-EcoUnibs-MailScanner-From: [EMAIL PROTECTED]

Dear users,

I am writing a book in Italian (the style is book-AMS) with LyX 1.5 beta2.

I have accordingly modified Document-Setting-Language and 
Tools-Preferences-Langauge setting.
While Chapter and Part correctly appear in the DVI as Capitolo and 
Parte (in Italian), theorems, corollaries and so on, are still shown in 
DVI as Therem instead of Teorema.

I know how to modify the LaTeX preamble in order to write Teorema instead 
of Theorem but I would write a lot of command lines in order to change ALL 
the environments.
I wonder whethere there exists an easier way to do so.

Till Tantau wrote a complement to beamer to solve this, named Translator.
Needs a once-fo-all writing of a dictionary, and a simple change in the
declaration of the environments.

Works fine with beamer, but not limited to it. 

-- 
Jean-Pierre




Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

From: Steve Litt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Creating a document class
Date: Tue, 15 May 2007 09:54:46 -0400

 Here is a solution using xfig to perform the required placement
  - create an xfig layout of the cover page, 

What's an xfig layout? Is it an image? Is it some sort of XML? Where can I 
learn more about this?

xfig is a oo drawing tool quite easy to use (the dynamic help is
quite efficient); it has a companion application named transfig
which provides export in a variety of formats.

Among these formats, one exports the drawing as eps and the text as
latex (if a special flag is set on texts), allowing to type in
latex commnd in the graphic window. You set the family, the size, etc
(but not the font) when you draw, so that your graphich will
have text in the document font.

It offers thus a way to make placements which are complicated in Lyx, 
I used it in the 90's for transparencies.

W.r.t. LyX, xfig in understood as External Material: LyX takes care
of the export, be it eps or pdf,  so that you submit
the .fig file name and not the result of the export
(known as combined PS/LaTeX or combined PDF/LaTeX).

Of course, you may use it to create graphics in eps, pdf or png.

http://www.xfig.org/
which indicates that development reached an end with version 3.2.5,
but this software is pretty mature.

As its name says, works under X11 :-(

-- 
Jean-Pierre




Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Abdelrazak Younes [EMAIL PROTECTED]
Subject: Re: Creating a document class
Date: Tue, 15 May 2007 16:31:29 +0200

Jean-Pierre Chretien wrote:

 http://www.xfig.org/
 which indicates that development reached an end with version 3.2.5,
 but this software is pretty mature.
 
 As its name says, works under X11 :-(

Try Jfig: http://tams-www.informatik.uni-hamburg.de/applets/jfig/

I wrote :-( for Win users, I'm on a Solaris :-)
Thanks for the hint anyway.

-- 
Jean-Pierre



Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

From: NicoWinger [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org, [EMAIL PROTECTED]
Subject: Creating a document class
Date: Mon, 14 May 2007 23:36:37 +0200
X-Provags-ID: V01U2FsdGVkX1/Il0imjugoveyKNidQpbz/x2yCR01Aulp1KfyZ 
FwCTBWCbGjmf8YPC3X36R5RXP9hI/JU3bTO+47MQNR+fKjd+C9 lUgecqu+c=

Hello,
 
I'm still creating a document class for the quote guidelines of our
university and a belonging template. Both is nearly finished, but there is
one thing that still bothers me. The cover: There are very strong
requirements for the position of title, name etc. So far I made it with a
table in the template but I would like to create new LaTeX-commands in the
document class for putting every style (Name, Title etc.) at its specified
position on the page with a label (similar to the letter-class). That would
enable the user to create the cover without template setting a style for any
detail.

Here is a solution using xfig to perform the required placement
 - create an xfig layout of the cover page, with new command names where text 
should appear (\covertitle, \coverauthor, \coverdate, \coverinstitute,..),
 and special flags set; maybe you may re-use \title, \author,...
 - add the corresponding styles in the layout 
 - Insert-File-External Material

I guess the main problem is to create the cover before LyX activates \maketitle.

-- 
Jean-Pierre



Re: How to detect current font size, shape, series and the like?

2007-05-15 Thread Jean-Pierre Chretien

From: Steve Litt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: How to detect current font size, shape, series and the like?
Date: Mon, 14 May 2007 19:16:10 -0400

On Friday 11 May 2007 15:09, Paul A. Rubin wrote:
 Steve Litt wrote:
[...]
This didn't work for me. Here's a tiny LaTeX file incorporating it:

%
\documentclass[12pt]{book}
[EMAIL PROTECTED]

\begin{document}
mysize is \mysize
\end{document}
%

When I try to compile it, here's what happens:
[...]
Any ideas what I should do?

@ is not legal in latex documents, you must say that it is a plain letter:
\makeatletter
[EMAIL PROTECTED]
\makeatother

LyX does it for you, for the whole preamble, so without adding these commands,
tex2lyx yourdoc.tex; lyx -e dvi yourdoc.lyx; xdvi yourdoc
works...

-- 
Jean-Pierre



Re: Language

2007-05-15 Thread Jean-Pierre Chretien

From: Francesco Menoncin [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Language
Date: Tue, 15 May 2007 11:46:44 +0200
X-EcoUnibs-MailScanner-Information: Please contact the ISP for more 
information
X-EcoUnibs-MailScanner: Found to be clean
X-EcoUnibs-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, 
required 6, autolearn=disabled, ALL_TRUSTED -1.44)
X-EcoUnibs-MailScanner-From: [EMAIL PROTECTED]

Dear users,

I am writing a book in Italian (the style is book-AMS) with LyX 1.5 beta2.

I have accordingly modified Document-Setting-Language and 
Tools-Preferences-Langauge setting.
While Chapter and Part correctly appear in the DVI as Capitolo and 
Parte (in Italian), theorems, corollaries and so on, are still shown in 
DVI as Therem instead of Teorema.

I know how to modify the LaTeX preamble in order to write Teorema instead 
of Theorem but I would write a lot of command lines in order to change ALL 
the environments.
I wonder whethere there exists an easier way to do so.

Till Tantau wrote a complement to beamer to solve this, named Translator.
Needs a once-fo-all writing of a dictionary, and a simple change in the
declaration of the environments.

Works fine with beamer, but not limited to it. 

-- 
Jean-Pierre




Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

From: Steve Litt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Creating a document class
Date: Tue, 15 May 2007 09:54:46 -0400

 Here is a solution using xfig to perform the required placement
  - create an xfig layout of the cover page, 

What's an xfig layout? Is it an image? Is it some sort of XML? Where can I 
learn more about this?

xfig is a oo drawing tool quite easy to use (the dynamic help is
quite efficient); it has a companion application named transfig
which provides export in a variety of formats.

Among these formats, one exports the drawing as eps and the text as
latex (if a special flag is set on texts), allowing to type in
latex commnd in the graphic window. You set the family, the size, etc
(but not the font) when you draw, so that your graphich will
have text in the document font.

It offers thus a way to make placements which are complicated in Lyx, 
I used it in the 90's for transparencies.

W.r.t. LyX, xfig in understood as External Material: LyX takes care
of the export, be it eps or pdf,  so that you submit
the .fig file name and not the result of the export
(known as combined PS/LaTeX or combined PDF/LaTeX).

Of course, you may use it to create graphics in eps, pdf or png.

http://www.xfig.org/
which indicates that development reached an end with version 3.2.5,
but this software is pretty mature.

As its name says, works under X11 :-(

-- 
Jean-Pierre




Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Abdelrazak Younes [EMAIL PROTECTED]
Subject: Re: Creating a document class
Date: Tue, 15 May 2007 16:31:29 +0200

Jean-Pierre Chretien wrote:

 http://www.xfig.org/
 which indicates that development reached an end with version 3.2.5,
 but this software is pretty mature.
 
 As its name says, works under X11 :-(

Try Jfig: http://tams-www.informatik.uni-hamburg.de/applets/jfig/

I wrote :-( for Win users, I'm on a Solaris :-)
Thanks for the hint anyway.

-- 
Jean-Pierre



Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

>>From: "NicoWinger" <[EMAIL PROTECTED]>
>>To: , <[EMAIL PROTECTED]>
>>Subject: Creating a document class
>>Date: Mon, 14 May 2007 23:36:37 +0200
>>X-Provags-ID: V01U2FsdGVkX1/Il0imjugoveyKNidQpbz/x2yCR01Aulp1KfyZ 
FwCTBWCbGjmf8YPC3X36R5RXP9hI/JU3bTO+47MQNR+fKjd+C9 lUgecqu+c=
>>
>>Hello,
>> 
>>I'm still creating a document class for the quote guidelines of our
>>university and a belonging template. Both is nearly finished, but there is
>>one thing that still bothers me. The cover: There are very strong
>>requirements for the position of title, name etc. So far I made it with a
>>table in the template but I would like to create new LaTeX-commands in the
>>document class for putting every style (Name, Title etc.) at its specified
>>position on the page with a label (similar to the letter-class). That would
>>enable the user to create the cover without template setting a style for any
>>detail.

Here is a solution using xfig to perform the required placement
 - create an xfig layout of the cover page, with new command names where text 
should appear (\covertitle, \coverauthor, \coverdate, \coverinstitute,..),
 and special flags set; maybe you may re-use \title, \author,...
 - add the corresponding styles in the layout 
 - Insert->File->External Material

I guess the main problem is to create the cover before LyX activates \maketitle.

-- 
Jean-Pierre



Re: How to detect current font size, shape, series and the like?

2007-05-15 Thread Jean-Pierre Chretien

>>From: Steve Litt <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: How to detect current font size, shape, series and the like?
>>Date: Mon, 14 May 2007 19:16:10 -0400
>>
>>On Friday 11 May 2007 15:09, Paul A. Rubin wrote:
>>> Steve Litt wrote:
[...]
>>This didn't work for me. Here's a tiny LaTeX file incorporating it:
>>
>>%
>>\documentclass[12pt]{book}
>>[EMAIL PROTECTED]
>>
>>\begin{document}
>>mysize is \mysize
>>\end{document}
>>%
>>
>>When I try to compile it, here's what happens:
[...]
>>Any ideas what I should do?

@ is not legal in latex documents, you must say that it is a plain letter:
\makeatletter
[EMAIL PROTECTED]
\makeatother

LyX does it for you, for the whole preamble, so without adding these commands,
tex2lyx yourdoc.tex; lyx -e dvi yourdoc.lyx; xdvi yourdoc
works...

-- 
Jean-Pierre



Re: Language

2007-05-15 Thread Jean-Pierre Chretien

>>From: "Francesco Menoncin" <[EMAIL PROTECTED]>
>>To: 
>>Subject: Language
>>Date: Tue, 15 May 2007 11:46:44 +0200
>>X-EcoUnibs-MailScanner-Information: Please contact the ISP for more 
information
>>X-EcoUnibs-MailScanner: Found to be clean
>>X-EcoUnibs-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, 
required 6, autolearn=disabled, ALL_TRUSTED -1.44)
>>X-EcoUnibs-MailScanner-From: [EMAIL PROTECTED]
>>
>>Dear users,
>>
>>I am writing a book in Italian (the style is book-AMS) with LyX 1.5 beta2.
>>
>>I have accordingly modified "Document"->"Setting"->"Language" and 
>>"Tools"->"Preferences"->"Langauge setting".
>>While "Chapter" and "Part" correctly appear in the DVI as "Capitolo" and 
>>"Parte" (in Italian), theorems, corollaries and so on, are still shown in 
>>DVI as "Therem" instead of "Teorema".
>>
>>I know how to modify the LaTeX preamble in order to write "Teorema" instead 
>>of "Theorem" but I would write a lot of command lines in order to change ALL 
>>the environments.
>>I wonder whethere there exists an easier way to do so.

Till Tantau wrote a complement to beamer to solve this, named Translator.
Needs a once-fo-all writing of a dictionary, and a simple change in the
declaration of the environments.

Works fine with beamer, but not limited to it. 

-- 
Jean-Pierre




Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

>>From: Steve Litt <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Creating a document class
>>Date: Tue, 15 May 2007 09:54:46 -0400

>>> Here is a solution using xfig to perform the required placement
>>>  - create an xfig layout of the cover page, 
>>
>>What's an xfig layout? Is it an image? Is it some sort of XML? Where can I 
>>learn more about this?

xfig is a oo drawing tool quite easy to use (the dynamic help is
quite efficient); it has a companion application named transfig
which provides export in a variety of formats.

Among these formats, one exports the drawing as eps and the text as
latex (if a special flag is set on texts), allowing to type in
latex commnd in the graphic window. You set the family, the size, etc
(but not the font) when you draw, so that your graphich will
have text in the document font.

It offers thus a way to make placements which are complicated in Lyx, 
I used it in the 90's for transparencies.

W.r.t. LyX, xfig in understood as External Material: LyX takes care
of the export, be it eps or pdf,  so that you submit
the .fig file name and not the result of the export
(known as "combined PS/LaTeX" or "combined PDF/LaTeX").

Of course, you may use it to create graphics in eps, pdf or png.

http://www.xfig.org/
which indicates that development reached an end with version 3.2.5,
but this software is pretty mature.

As its name says, works under X11 :-(

-- 
Jean-Pierre




Re: Creating a document class

2007-05-15 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Abdelrazak Younes <[EMAIL PROTECTED]>
>>Subject: Re: Creating a document class
>>Date: Tue, 15 May 2007 16:31:29 +0200
>>
>>Jean-Pierre Chretien wrote:
>>
>>> http://www.xfig.org/
>>> which indicates that development reached an end with version 3.2.5,
>>> but this software is pretty mature.
>>> 
>>> As its name says, works under X11 :-(
>>
>>Try Jfig: http://tams-www.informatik.uni-hamburg.de/applets/jfig/

I wrote :-( for Win users, I'm on a Solaris :-)
Thanks for the hint anyway.

-- 
Jean-Pierre



Re: How to Spot a Word Processed Book

2007-05-14 Thread Jean-Pierre Chretien

Date: Mon, 14 May 2007 00:57:03 +0300
From: Micha Feigin [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: How to Spot a Word Processed Book

On Sun, 13 May 2007 13:07:03 +0200
Tim Michelsen [EMAIL PROTECTED] wrote:
[...]
 What program is used for that export? Maybe I missed to install it...
 

You need latex2rtf at  http://latex2rtf.sourceforge.net/
I'm using debian which has it as a package called latex2rtf. It's probably
available on ubuntu or you can try to install the debian version and then
reconfigure lyx (so that it can find it).
I have under file-export an option to export to rich text format.
Haven't used it personally though. 

I use it quite often, here are some indications:
 after reconfigure check that
 - the needaux flag is added in the Converter section (otherwise you will
 miss bibliographies);
 - the latex2rtf command has got the -p -S switches
 - additional switches may be required (language, encoding,...).
 
Open the result with Word, not with OO.
 
As far as math are concerned, latex2rtf does quite a good job for inline
math and no-to-sophisticated display math. However, math cannot be edited
in Word if there are both Greek and latin symbols, due to a basic limitation
of the Math Type converter.

An alternate method is to add the -M6 switch to get images instead of
Math Type for display equations: you cannot edit, but you get latex-like
typography :-).
You may use the -se1.4 switch to increase font size e.g to 1.4 times the default
in the converted equations.

-- 
Jean-Pierre



Re: html (oolatex/word) conversions not working. Font problem

2007-05-14 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
Subject: html (oolatex/word) conversions not working.  Font problem
Date: Mon, 14 May 2007 12:25:46 -0300
From: Rudi Gaelzer [EMAIL PROTECTED]

I'm trying to convert a lyx file to MS word format.
[...]
Trying oolatex through tex4ht:
mk4ht oolatex file.tex 
gives the error message: --- error --- Can't find/open file `ecti1095.tfm'
and does not create the xml file as supposed. However, latex compiles and 
creates the dvi file without problems.

What is your TeX engine ? Upgrading to TeXlive 2007 improved the tex4t 
behaviour 
for me (docs failing with TL2005 were translated with TL2007).

However I can only translate simple english documents with tex4ht,
no success with French docs, so I rather user latex2rtf,
see the recent thread about How to Spot a Word Processed Book
on the list archive.


-- 
Jean-Pierre



Re: How to Spot a Word Processed Book

2007-05-14 Thread Jean-Pierre Chretien

Date: Mon, 14 May 2007 00:57:03 +0300
From: Micha Feigin [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: How to Spot a Word Processed Book

On Sun, 13 May 2007 13:07:03 +0200
Tim Michelsen [EMAIL PROTECTED] wrote:
[...]
 What program is used for that export? Maybe I missed to install it...
 

You need latex2rtf at  http://latex2rtf.sourceforge.net/
I'm using debian which has it as a package called latex2rtf. It's probably
available on ubuntu or you can try to install the debian version and then
reconfigure lyx (so that it can find it).
I have under file-export an option to export to rich text format.
Haven't used it personally though. 

I use it quite often, here are some indications:
 after reconfigure check that
 - the needaux flag is added in the Converter section (otherwise you will
 miss bibliographies);
 - the latex2rtf command has got the -p -S switches
 - additional switches may be required (language, encoding,...).
 
Open the result with Word, not with OO.
 
As far as math are concerned, latex2rtf does quite a good job for inline
math and no-to-sophisticated display math. However, math cannot be edited
in Word if there are both Greek and latin symbols, due to a basic limitation
of the Math Type converter.

An alternate method is to add the -M6 switch to get images instead of
Math Type for display equations: you cannot edit, but you get latex-like
typography :-).
You may use the -se1.4 switch to increase font size e.g to 1.4 times the default
in the converted equations.

-- 
Jean-Pierre



Re: html (oolatex/word) conversions not working. Font problem

2007-05-14 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
Subject: html (oolatex/word) conversions not working.  Font problem
Date: Mon, 14 May 2007 12:25:46 -0300
From: Rudi Gaelzer [EMAIL PROTECTED]

I'm trying to convert a lyx file to MS word format.
[...]
Trying oolatex through tex4ht:
mk4ht oolatex file.tex 
gives the error message: --- error --- Can't find/open file `ecti1095.tfm'
and does not create the xml file as supposed. However, latex compiles and 
creates the dvi file without problems.

What is your TeX engine ? Upgrading to TeXlive 2007 improved the tex4t 
behaviour 
for me (docs failing with TL2005 were translated with TL2007).

However I can only translate simple english documents with tex4ht,
no success with French docs, so I rather user latex2rtf,
see the recent thread about How to Spot a Word Processed Book
on the list archive.


-- 
Jean-Pierre



Re: How to Spot a Word Processed Book

2007-05-14 Thread Jean-Pierre Chretien

>>Date: Mon, 14 May 2007 00:57:03 +0300
>>From: Micha Feigin <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: How to Spot a Word Processed Book
>>
>>On Sun, 13 May 2007 13:07:03 +0200
>>Tim Michelsen <[EMAIL PROTECTED]> wrote:
[...]
>>> What program is used for that export? Maybe I missed to install it...
>>> 
>>
>>You need latex2rtf at  http://latex2rtf.sourceforge.net/
>>I'm using debian which has it as a package called latex2rtf. It's probably
>>available on ubuntu or you can try to install the debian version and then
>>reconfigure lyx (so that it can find it).
>>I have under file->export an option to export to rich text format.
>>Haven't used it personally though. 

I use it quite often, here are some indications:
 after reconfigure check that
 - the needaux flag is added in the Converter section (otherwise you will
 miss bibliographies);
 - the latex2rtf command has got the -p -S switches
 - additional switches may be required (language, encoding,...).
 
Open the result with Word, not with OO.
 
As far as math are concerned, latex2rtf does quite a good job for inline
math and no-to-sophisticated display math. However, math cannot be edited
in Word if there are both Greek and latin symbols, due to a basic limitation
of the Math Type converter.

An alternate method is to add the -M6 switch to get images instead of
Math Type for display equations: you cannot edit, but you get latex-like
typography :-).
You may use the -se1.4 switch to increase font size e.g to 1.4 times the default
in the converted equations.

-- 
Jean-Pierre



Re: html (oolatex/word) conversions not working. Font problem

2007-05-14 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>Subject: html (oolatex/word) conversions not working.  Font problem
>>Date: Mon, 14 May 2007 12:25:46 -0300
>>From: Rudi Gaelzer <[EMAIL PROTECTED]>
>>
>>I'm trying to convert a lyx file to MS word format.
[...]
>>Trying oolatex through tex4ht:
>>mk4ht oolatex file.tex 
>>gives the error message: --- error --- Can't find/open file `ecti1095.tfm'
>>and does not create the xml file as supposed. However, latex compiles and 
>>creates the dvi file without problems.

What is your TeX engine ? Upgrading to TeXlive 2007 improved the tex4t 
behaviour 
for me (docs failing with TL2005 were translated with TL2007).

However I can only translate simple english documents with tex4ht,
no success with French docs, so I rather user latex2rtf,
see the recent thread about "How to Spot a Word Processed Book"
on the list archive.


-- 
Jean-Pierre



Re: Beamer questions

2007-05-09 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Paul A. Rubin [EMAIL PROTECTED]
Subject: Re: Beamer questions
Date: Tue, 08 May 2007 14:16:04 -0400

Myriam Abramson wrote:
[...]

 (2) Can movies in pdf be run inline for lack of a better word? I
 mean that a separate window does not have to come up.

Theoretically, they run within the viewer by default (unless you add the 
externalviewer option), *provided* that your viewer knows how to display 
a movie.  I say theoretically because I've been unable to get Beamer 
to show movie files.  I'm pretty sure it's user error, but I have no 
idea what I'm doing wrong.

I've found that having a popup window for the movie coming in front of the
acroread window was OK, and I get this both on Windows and Unix by prefixing
the path to the the mpeg file with run: in the \href command.
This does not work with xpdf, alas.

I'm not sure that there is much value added with the movie run inside the 
viewer.

-- 
Jean-Pierre





Re: Beamer questions

2007-05-09 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Paul A. Rubin [EMAIL PROTECTED]
Subject: Re: Beamer questions
Date: Tue, 08 May 2007 14:16:04 -0400

Myriam Abramson wrote:
[...]

 (2) Can movies in pdf be run inline for lack of a better word? I
 mean that a separate window does not have to come up.

Theoretically, they run within the viewer by default (unless you add the 
externalviewer option), *provided* that your viewer knows how to display 
a movie.  I say theoretically because I've been unable to get Beamer 
to show movie files.  I'm pretty sure it's user error, but I have no 
idea what I'm doing wrong.

I've found that having a popup window for the movie coming in front of the
acroread window was OK, and I get this both on Windows and Unix by prefixing
the path to the the mpeg file with run: in the \href command.
This does not work with xpdf, alas.

I'm not sure that there is much value added with the movie run inside the 
viewer.

-- 
Jean-Pierre





Re: Beamer questions

2007-05-09 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: "Paul A. Rubin" <[EMAIL PROTECTED]>
>>Subject: Re: Beamer questions
>>Date: Tue, 08 May 2007 14:16:04 -0400
>>
>>Myriam Abramson wrote:
[...]
>>
>>> (2) Can movies in pdf be run "inline" for lack of a better word? I
>>> mean that a separate window does not have to come up.
>>
>>Theoretically, they run within the viewer by default (unless you add the 
>>externalviewer option), *provided* that your viewer knows how to display 
>>a movie.  I say "theoretically" because I've been unable to get Beamer 
>>to show movie files.  I'm pretty sure it's user error, but I have no 
>>idea what I'm doing wrong.

I've found that having a popup window for the movie coming in front of the
acroread window was OK, and I get this both on Windows and Unix by prefixing
the path to the the mpeg file with run: in the \href command.
This does not work with xpdf, alas.

I'm not sure that there is much value added with the movie run inside the 
viewer.

-- 
Jean-Pierre





Re: Beamer presentation

2007-05-03 Thread Jean-Pierre Chretien

Subject: Beamer presentation
From: nicolas roy [EMAIL PROTECTED]
To: icebna [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Date: Thu, 03 May 2007 13:43:43 +0200

Hello everybody

about 1 year ago, i created a beamer presentation, with a class called
prosper-by-dekel which was a slight modification of the class prosper. 
Today I want to edit this presentation but it doesnot work.
[..]
Some ideas will be welcome. 

AFAIR, Till Tantau provides a compatibility option to use the beamer class
with prosper slides. Maybe you can try this ?

-- 
Jean-Pierre



RE: Black edge on images when using pdflatex

2007-05-03 Thread Jean-Pierre Chretien

Subject: RE: Black edge on images when using pdflatex
Date: Thu, 3 May 2007 17:51:25 +0200
From: Sander Marechal [EMAIL PROTECTED]
To: William Adams [EMAIL PROTECTED]
Cc: LyX Users lyx-users@lists.lyx.org

[...]
Don't make a nice vector into a bitmap unnecessarily.
Convert from the svg to a .pdf and place that instead.

I tried, but apparently the SVGs are too complicated for PDF. The polygons 
that make up the graph don't floodfill correctly.

There has been a thread a few months ago about this, you might check
the archives of the list.

-- 
Jean-Pierre



Re: Beamer presentation

2007-05-03 Thread Jean-Pierre Chretien

Subject: Beamer presentation
From: nicolas roy [EMAIL PROTECTED]
To: icebna [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Date: Thu, 03 May 2007 13:43:43 +0200

Hello everybody

about 1 year ago, i created a beamer presentation, with a class called
prosper-by-dekel which was a slight modification of the class prosper. 
Today I want to edit this presentation but it doesnot work.
[..]
Some ideas will be welcome. 

AFAIR, Till Tantau provides a compatibility option to use the beamer class
with prosper slides. Maybe you can try this ?

-- 
Jean-Pierre



RE: Black edge on images when using pdflatex

2007-05-03 Thread Jean-Pierre Chretien

Subject: RE: Black edge on images when using pdflatex
Date: Thu, 3 May 2007 17:51:25 +0200
From: Sander Marechal [EMAIL PROTECTED]
To: William Adams [EMAIL PROTECTED]
Cc: LyX Users lyx-users@lists.lyx.org

[...]
Don't make a nice vector into a bitmap unnecessarily.
Convert from the svg to a .pdf and place that instead.

I tried, but apparently the SVGs are too complicated for PDF. The polygons 
that make up the graph don't floodfill correctly.

There has been a thread a few months ago about this, you might check
the archives of the list.

-- 
Jean-Pierre



Re: Beamer presentation

2007-05-03 Thread Jean-Pierre Chretien

>>Subject: Beamer presentation
>>From: nicolas roy <[EMAIL PROTECTED]>
>>To: icebna <[EMAIL PROTECTED]>
>>Cc: lyx-users@lists.lyx.org
>>Date: Thu, 03 May 2007 13:43:43 +0200
>>
>>Hello everybody
>>
>>about 1 year ago, i created a beamer presentation, with a class called
>>prosper-by-dekel which was a slight modification of the class prosper. 
>>Today I want to edit this presentation but it doesnot work.
[..]
>>Some ideas will be welcome. 

AFAIR, Till Tantau provides a compatibility option to use the beamer class
with prosper slides. Maybe you can try this ?

-- 
Jean-Pierre



RE: Black edge on images when using pdflatex

2007-05-03 Thread Jean-Pierre Chretien

>>Subject: RE: Black edge on images when using pdflatex
>>Date: Thu, 3 May 2007 17:51:25 +0200
>>From: "Sander Marechal" <[EMAIL PROTECTED]>
>>To: "William Adams" <[EMAIL PROTECTED]>
>>Cc: "LyX Users" 
>>
[...]
>>>Don't make a nice vector into a bitmap unnecessarily.
>>>Convert from the svg to a .pdf and place that instead.
>>
>>I tried, but apparently the SVGs are too complicated for PDF. The polygons 
that make up the graph don't floodfill correctly.

There has been a thread a few months ago about this, you might check
the archives of the list.

-- 
Jean-Pierre



Re: weird eps to pdf conversion problem

2007-04-27 Thread Jean-Pierre Chretien

Old-Delivered-To: [EMAIL PROTECTED]
Date: Fri, 27 Apr 2007 00:15:55 -0700
From: Robin Lin [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: weird eps to pdf conversion problem
X-UCD-Spam-Score: 1.947 (*) BAYES_00,RCVD_IN_NJABL_DUL

Hi there,

I originally generated eps files using Matlab, and when I embed them in 
my lyx document, everything is great when I convert it into a pdf.  
Unfortunately, the original eps files were way too large, so I had to 
find a way to compress them (decreased resolution and then rasterized 
it). 

If you turn the figure into a bitmap, you could do it from Matlab by
creating a png rather than an eps.
Of course, eps is better as it is vectorized, so it is better to
stick to vectorization in the pdf result.

This resulted in the new eps file's bounding box becoming way too 
large.  I manually edited them so that the bounding box fits the image 
better, and it looks fine in GSView. When I insert it in my lyx 
document, it looks fine too in the preview.  When I go to convert it to 
a pdf, though, it results in some sort of overlapping problem where the 
figure seems to have much more whitespace and this whitespace obscures 
other figures/text around it.  Any hints on how I can fix this?

You may try the ps2eps converter (converts eps to eps as well): it
fixes the bounding box.

-- 
Jean-Pierre



Re: weird eps to pdf conversion problem

2007-04-27 Thread Jean-Pierre Chretien

Old-Delivered-To: [EMAIL PROTECTED]
Date: Fri, 27 Apr 2007 00:15:55 -0700
From: Robin Lin [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: weird eps to pdf conversion problem
X-UCD-Spam-Score: 1.947 (*) BAYES_00,RCVD_IN_NJABL_DUL

Hi there,

I originally generated eps files using Matlab, and when I embed them in 
my lyx document, everything is great when I convert it into a pdf.  
Unfortunately, the original eps files were way too large, so I had to 
find a way to compress them (decreased resolution and then rasterized 
it). 

If you turn the figure into a bitmap, you could do it from Matlab by
creating a png rather than an eps.
Of course, eps is better as it is vectorized, so it is better to
stick to vectorization in the pdf result.

This resulted in the new eps file's bounding box becoming way too 
large.  I manually edited them so that the bounding box fits the image 
better, and it looks fine in GSView. When I insert it in my lyx 
document, it looks fine too in the preview.  When I go to convert it to 
a pdf, though, it results in some sort of overlapping problem where the 
figure seems to have much more whitespace and this whitespace obscures 
other figures/text around it.  Any hints on how I can fix this?

You may try the ps2eps converter (converts eps to eps as well): it
fixes the bounding box.

-- 
Jean-Pierre



Re: weird eps to pdf conversion problem

2007-04-27 Thread Jean-Pierre Chretien

>>Old-Delivered-To: [EMAIL PROTECTED]
>>Date: Fri, 27 Apr 2007 00:15:55 -0700
>>From: Robin Lin <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: weird eps to pdf conversion problem
>>X-UCD-Spam-Score: 1.947 (*) BAYES_00,RCVD_IN_NJABL_DUL
>>
>>Hi there,
>>
>>I originally generated eps files using Matlab, and when I embed them in 
>>my lyx document, everything is great when I convert it into a pdf.  
>>Unfortunately, the original eps files were way too large, so I had to 
>>find a way to compress them (decreased resolution and then rasterized 
>>it). 

If you turn the figure into a bitmap, you could do it from Matlab by
creating a png rather than an eps.
Of course, eps is better as it is vectorized, so it is better to
stick to vectorization in the pdf result.

>>This resulted in the new eps file's bounding box becoming way too 
>>large.  I manually edited them so that the bounding box fits the image 
>>better, and it looks fine in GSView. When I insert it in my lyx 
>>document, it looks fine too in the preview.  When I go to convert it to 
>>a pdf, though, it results in some sort of overlapping problem where the 
>>figure seems to have much more whitespace and this whitespace obscures 
>>other figures/text around it.  Any hints on how I can fix this?

You may try the ps2eps converter (converts eps to eps as well): it
fixes the bounding box.

-- 
Jean-Pierre



Send the *section content in the running headers

2007-03-29 Thread Jean-Pierre Chretien

Hello,

I know how to send the contents of the starred sectioning commands
in the table of contents, but is there a magic to do the same  in the running
headers ?

-- 
Jean-Pierre



Send the *section content in the running headers

2007-03-29 Thread Jean-Pierre Chretien

Hello,

I know how to send the contents of the starred sectioning commands
in the table of contents, but is there a magic to do the same  in the running
headers ?

-- 
Jean-Pierre



Send the *section content in the running headers

2007-03-29 Thread Jean-Pierre Chretien

Hello,

I know how to send the contents of the starred sectioning commands
in the table of contents, but is there a magic to do the same  in the running
headers ?

-- 
Jean-Pierre



Re: LNCS class question

2007-03-28 Thread Jean-Pierre Chretien

Date: Wed, 28 Mar 2007 22:34:59 -0400
From: Myriam Abramson [EMAIL PROTECTED]
Subject: LNCS class question
To: lyx-users@lists.lyx.org


Hello,

I am using the Article(LNCS) document class. I got a comment that the
fonts were not correct in the pdf. I looked at the document properties
and saw some type3 fonts there in addition to the Adobe fonts. Is that
the problem?  What to do?

Check the graphics, type3 fonts may be there.

-- 
Jean-Pierre



Re: LNCS class question

2007-03-28 Thread Jean-Pierre Chretien

Date: Wed, 28 Mar 2007 22:34:59 -0400
From: Myriam Abramson [EMAIL PROTECTED]
Subject: LNCS class question
To: lyx-users@lists.lyx.org


Hello,

I am using the Article(LNCS) document class. I got a comment that the
fonts were not correct in the pdf. I looked at the document properties
and saw some type3 fonts there in addition to the Adobe fonts. Is that
the problem?  What to do?

Check the graphics, type3 fonts may be there.

-- 
Jean-Pierre



Re: LNCS class question

2007-03-28 Thread Jean-Pierre Chretien

>>Date: Wed, 28 Mar 2007 22:34:59 -0400
>>From: Myriam Abramson <[EMAIL PROTECTED]>
>>Subject: LNCS class question
>>To: lyx-users@lists.lyx.org
>>
>>
>>Hello,
>>
>>I am using the Article(LNCS) document class. I got a comment that the
>>fonts were not correct in the pdf. I looked at the document properties
>>and saw some type3 fonts there in addition to the Adobe fonts. Is that
>>the problem?  What to do?

Check the graphics, type3 fonts may be there.

-- 
Jean-Pierre



Re: convert lyx to PDF from command line

2007-03-16 Thread Jean-Pierre Chretien

From: Gunnar [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: convert lyx to PDF from command line
Date: Fri, 16 Mar 2007 13:10:10 +0100
X-Scan-Result: No virus found in message 1HSBG6-0008FV-8O.
X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HSBG6-0008FV-8O 
2502a4e268935daaa468c1d61bf4a19f

 Is there any way to specify I would like to use pdflatex to make
 conversion?
lyx -e pdflatex file.lyx 

Here
lyx -e pdf2 file.lyx 
Check the converters section of the Documents-Settings to find
the real name of the pdflatex compilation destination PDF.

-- 
Jean-Pierre




Re: How to embed all fonts?

2007-03-16 Thread Jean-Pierre Chretien

From: Steve Litt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: How to embed all fonts?
Date: Fri, 16 Mar 2007 10:53:56 -0400
[...]

Does anyone know a simple way to get all fonts embed?

Seen on the web
http://multimedia.polito.it/masala/pub_font_embedding_pdf_linux.html

-- 
Jean-Pierre



Re: convert lyx to PDF from command line

2007-03-16 Thread Jean-Pierre Chretien

From: Gunnar [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: convert lyx to PDF from command line
Date: Fri, 16 Mar 2007 13:10:10 +0100
X-Scan-Result: No virus found in message 1HSBG6-0008FV-8O.
X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HSBG6-0008FV-8O 
2502a4e268935daaa468c1d61bf4a19f

 Is there any way to specify I would like to use pdflatex to make
 conversion?
lyx -e pdflatex file.lyx 

Here
lyx -e pdf2 file.lyx 
Check the converters section of the Documents-Settings to find
the real name of the pdflatex compilation destination PDF.

-- 
Jean-Pierre




Re: How to embed all fonts?

2007-03-16 Thread Jean-Pierre Chretien

From: Steve Litt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: How to embed all fonts?
Date: Fri, 16 Mar 2007 10:53:56 -0400
[...]

Does anyone know a simple way to get all fonts embed?

Seen on the web
http://multimedia.polito.it/masala/pub_font_embedding_pdf_linux.html

-- 
Jean-Pierre



Re: convert lyx to PDF from command line

2007-03-16 Thread Jean-Pierre Chretien

>>From: Gunnar <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: convert lyx to PDF from command line
>>Date: Fri, 16 Mar 2007 13:10:10 +0100
>>X-Scan-Result: No virus found in message 1HSBG6-0008FV-8O.
>>X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HSBG6-0008FV-8O 
2502a4e268935daaa468c1d61bf4a19f
>>
>>> Is there any way to specify I would like to use pdflatex to make
>>> conversion?
>>lyx -e pdflatex file.lyx 

Here
lyx -e pdf2 file.lyx 
Check the converters section of the Documents->Settings to find
the real name of the pdflatex compilation destination PDF.

-- 
Jean-Pierre




Re: How to embed all fonts?

2007-03-16 Thread Jean-Pierre Chretien

>>From: Steve Litt <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: How to embed all fonts?
>>Date: Fri, 16 Mar 2007 10:53:56 -0400
[...]
>>
>>Does anyone know a simple way to get all fonts embed?

Seen on the web
http://multimedia.polito.it/masala/pub_font_embedding_pdf_linux.html

-- 
Jean-Pierre



Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem

2007-03-15 Thread Jean-Pierre Chretien

Date: Thu, 15 Mar 2007 08:27:25 +0100
From: Ekkehart Schlicht [EMAIL PROTECTED]
To: [EMAIL PROTECTED], LyX-Users lyx-users@lists.lyx.org
Subject: Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem

Thanks a lot, Paul. The issue does not relate to previews etc. I have 
digged myself.

The issue relates to the LyX-MikTeX interaction and warrants some 
changes in LyX, I think.

If I embed Fig1.pdf and export to pdflatex, Lyx generates


\includegraphics[width=0.8\columnwidth,keepaspectratio]{Fig1}

If I compile this, a new file Fig1.png is generated. This is the 
pixeled version which is used for the output.

If I change the above line in the pdflatex file to

\includegraphics[width=0.8\columnwidth,keepaspectratio]{Fig1.pdf}

the output is o.k.

Maybe it would be good not to truncate picture names in LyX. (In earlier 
version there was the issue, for instance, that LyX selected Fig1.eps 
even if Fig1.pdf was selected in the manuscript. This is a disturbing 
feature.)

I guess a lot of users use the no-extension facility to compile 
both in latex and pdflatex, so forcing the extension again would be
a regression IMHO.

The graphics doc (20/02/2006) states
cite
 \DeclareGraphicsExtensions { ext-list } 
 This specifies the behaviour of the system when the argument to 
 \includegraphics does not have an extension specified. 
 Here { ext-list } should be a commaseparated list of file extensions, each 
with 
 a leading period (.). A file name is produced by appending sep and one 
 extension.
 If a file is found, the system acts as if that extension had been specified. 
If 
 not, the next extension in ext-list is tried.
 Each use of \DeclareGraphicsExtensions overwrites all previous definitions.
 It is not possible to add an extension to an existing list. 
 Early versions of this package defined a default argument for this command.
 This has been removed.
 /cite

The last sentence indicates that you MUST specify yourself the
precedence between graphics formats with recent versions of the graphics 
package (TL 2007, MiKTeX 2.5 packagings). So there are two possibilities
 - either lyx leaves precedence control to the user
 - or lyx sets a default precedence similar to what we were used to:
 vector graphics rather than bitmaps, i.e. look for pdf before png before jpg.
 
In the latter case, the user can still wipe out lyx default setting
if the preamble is insterted after the lyx \DeclareGraphicsExtensions command,
orv with \AtBeginDocument.
 
-- 
Jean-Pierre

 





Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem

2007-03-15 Thread Jean-Pierre Chretien

Date: Thu, 15 Mar 2007 08:27:25 +0100
From: Ekkehart Schlicht [EMAIL PROTECTED]
To: [EMAIL PROTECTED], LyX-Users lyx-users@lists.lyx.org
Subject: Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem

Thanks a lot, Paul. The issue does not relate to previews etc. I have 
digged myself.

The issue relates to the LyX-MikTeX interaction and warrants some 
changes in LyX, I think.

If I embed Fig1.pdf and export to pdflatex, Lyx generates


\includegraphics[width=0.8\columnwidth,keepaspectratio]{Fig1}

If I compile this, a new file Fig1.png is generated. This is the 
pixeled version which is used for the output.

If I change the above line in the pdflatex file to

\includegraphics[width=0.8\columnwidth,keepaspectratio]{Fig1.pdf}

the output is o.k.

Maybe it would be good not to truncate picture names in LyX. (In earlier 
version there was the issue, for instance, that LyX selected Fig1.eps 
even if Fig1.pdf was selected in the manuscript. This is a disturbing 
feature.)

I guess a lot of users use the no-extension facility to compile 
both in latex and pdflatex, so forcing the extension again would be
a regression IMHO.

The graphics doc (20/02/2006) states
cite
 \DeclareGraphicsExtensions { ext-list } 
 This specifies the behaviour of the system when the argument to 
 \includegraphics does not have an extension specified. 
 Here { ext-list } should be a commaseparated list of file extensions, each 
with 
 a leading period (.). A file name is produced by appending sep and one 
 extension.
 If a file is found, the system acts as if that extension had been specified. 
If 
 not, the next extension in ext-list is tried.
 Each use of \DeclareGraphicsExtensions overwrites all previous definitions.
 It is not possible to add an extension to an existing list. 
 Early versions of this package defined a default argument for this command.
 This has been removed.
 /cite

The last sentence indicates that you MUST specify yourself the
precedence between graphics formats with recent versions of the graphics 
package (TL 2007, MiKTeX 2.5 packagings). So there are two possibilities
 - either lyx leaves precedence control to the user
 - or lyx sets a default precedence similar to what we were used to:
 vector graphics rather than bitmaps, i.e. look for pdf before png before jpg.
 
In the latter case, the user can still wipe out lyx default setting
if the preamble is insterted after the lyx \DeclareGraphicsExtensions command,
orv with \AtBeginDocument.
 
-- 
Jean-Pierre

 





Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem

2007-03-15 Thread Jean-Pierre Chretien

>>Date: Thu, 15 Mar 2007 08:27:25 +0100
>>From: Ekkehart Schlicht <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED], LyX-Users 
>>Subject: Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem
>>
>>Thanks a lot, Paul. The issue does not relate to previews etc. I have 
>>digged myself.
>>
>>The issue relates to the LyX-MikTeX interaction and warrants some 
>>changes in LyX, I think.
>>
>>If I embed Fig1.pdf and export to pdflatex, Lyx generates
>>
>>
>>\includegraphics[width=0.8\columnwidth,keepaspectratio]{Fig1}
>>
>>If I compile this, a new file "Fig1.png" is generated. This is the 
>>pixeled version which is used for the output.
>>
>>If I change the above line in the pdflatex file to
>>
>>\includegraphics[width=0.8\columnwidth,keepaspectratio]{Fig1.pdf}
>>
>>the output is o.k.
>>
>>Maybe it would be good not to truncate picture names in LyX. (In earlier 
>>version there was the issue, for instance, that LyX selected Fig1.eps 
>>even if Fig1.pdf was selected in the manuscript. This is a disturbing 
>>feature.)

I guess a lot of users use the no-extension facility to compile 
both in latex and pdflatex, so forcing the extension again would be
a regression IMHO.

The graphics doc (20/02/2006) states

 \DeclareGraphicsExtensions { ext-list } 
 This specifies the behaviour of the system when the argument to 
 \includegraphics does not have an extension specified. 
 Here { ext-list } should be a commaseparated list of file extensions, each 
with 
 a leading period (.). A file name is produced by appending sep and one 
 extension.
 If a file is found, the system acts as if that extension had been specified. 
If 
 not, the next extension in ext-list is tried.
 Each use of \DeclareGraphicsExtensions overwrites all previous definitions.
 It is not possible to add an extension to an existing list. 
 Early versions of this package defined a default argument for this command.
 This has been removed.
 

The last sentence indicates that you MUST specify yourself the
precedence between graphics formats with recent versions of the graphics 
package (TL 2007, MiKTeX 2.5 packagings). So there are two possibilities
 - either lyx leaves precedence control to the user
 - or lyx sets a default precedence similar to what we were used to:
 vector graphics rather than bitmaps, i.e. look for pdf before png before jpg.
 
In the latter case, the user can still wipe out lyx default setting
if the preamble is insterted after the lyx \DeclareGraphicsExtensions command,
orv with \AtBeginDocument.
 
-- 
Jean-Pierre

 





Re: New LyX install problems

2007-03-14 Thread Jean-Pierre Chretien

Subject: New LyX install problems
From: PF [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Tue, 13 Mar 2007 13:59:29 -0700


Strace shows that LyX writes out a bunch of files
(basename.{4ct,4tc,tex,tmp,xref}) in a temp directory, checks for the
existence of a bunch of files in texmf/tex/latex/ (finds them all),
checks for basename.dvi and basename.sxw in the temp directory and then
returns.  I guess it's not actually running the appropriate helper
program... is it oolatex?

If oolatex does not exist, 
mk4ht oolatex $$i
must work, mk4ht is an unified command name for all variants of tex4ht,
Here it comes with TeXLive.

-- 
Jean-Pierre




Re: New LyX install problems

2007-03-14 Thread Jean-Pierre Chretien

Subject: New LyX install problems
From: PF [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Tue, 13 Mar 2007 13:59:29 -0700


Strace shows that LyX writes out a bunch of files
(basename.{4ct,4tc,tex,tmp,xref}) in a temp directory, checks for the
existence of a bunch of files in texmf/tex/latex/ (finds them all),
checks for basename.dvi and basename.sxw in the temp directory and then
returns.  I guess it's not actually running the appropriate helper
program... is it oolatex?

If oolatex does not exist, 
mk4ht oolatex $$i
must work, mk4ht is an unified command name for all variants of tex4ht,
Here it comes with TeXLive.

-- 
Jean-Pierre




Re: New LyX install problems

2007-03-14 Thread Jean-Pierre Chretien

>>Subject: New LyX install problems
>>From: PF <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Date: Tue, 13 Mar 2007 13:59:29 -0700
>
>>
>>Strace shows that LyX writes out a bunch of files
>>(basename.{4ct,4tc,tex,tmp,xref}) in a temp directory, checks for the
>>existence of a bunch of files in texmf/tex/latex/ (finds them all),
>>checks for basename.dvi and basename.sxw in the temp directory and then
>>returns.  I guess it's not actually running the appropriate helper
>>program... is it oolatex?

If oolatex does not exist, 
mk4ht oolatex $$i
must work, mk4ht is an unified command name for all variants of tex4ht,
Here it comes with TeXLive.

-- 
Jean-Pierre




Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Jean-Pierre Chretien

Date: Tue, 13 Mar 2007 09:10:45 -0700 (PDT)
From: Rich Shepard [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Beamer Class Handout/Speaker's Notes

   The beamer user guide has details on specifying a different class when
producing handouts or speaker's notes from the slide presentation. But,
those additional classes are not available within LyX ... at least, not on
what's installed here.

These are class options, that you may specify via
Document-Settings-Document Class
So you don't need an extra layout.

   What's the recommended way to print the slides on paper? I'll make my
notes on that since I won't have my notebook sitting at the podium with me
for this next talk.


Personnally I create the pdf (either with the trans or handout option,
to fold slides in frames) and the I turn it into a 2 per page portrait 
presentation with big margins using a home made script.

-- 
Jean-Pierre






Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Jean-Pierre Chretien

Date: Tue, 13 Mar 2007 09:10:45 -0700 (PDT)
From: Rich Shepard [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Beamer Class Handout/Speaker's Notes

   The beamer user guide has details on specifying a different class when
producing handouts or speaker's notes from the slide presentation. But,
those additional classes are not available within LyX ... at least, not on
what's installed here.

These are class options, that you may specify via
Document-Settings-Document Class
So you don't need an extra layout.

   What's the recommended way to print the slides on paper? I'll make my
notes on that since I won't have my notebook sitting at the podium with me
for this next talk.


Personnally I create the pdf (either with the trans or handout option,
to fold slides in frames) and the I turn it into a 2 per page portrait 
presentation with big margins using a home made script.

-- 
Jean-Pierre






Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Jean-Pierre Chretien

>>Date: Tue, 13 Mar 2007 09:10:45 -0700 (PDT)
>>From: Rich Shepard <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Beamer Class Handout/Speaker's Notes
>>
>>   The beamer user guide has details on specifying a different class when
>>producing handouts or speaker's notes from the slide presentation. But,
>>those additional classes are not available within LyX ... at least, not on
>>what's installed here.

These are class options, that you may specify via
Document->Settings->Document Class
So you don't need an extra layout.

>>   What's the recommended way to print the slides on paper? I'll make my
>>notes on that since I won't have my notebook sitting at the podium with me
>>for this next talk.
>>

Personnally I create the pdf (either with the trans or handout option,
to fold slides in frames) and the I turn it into a 2 per page portrait 
presentation with big margins using a home made script.

-- 
Jean-Pierre






Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Jean-Pierre Chretien

Date: Fri, 9 Mar 2007 07:13:59 -0800 (PST)
From: Rich Shepard [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Beamer Class: Columns Not Top Aligned

   In my document I have this frame:
[...]

   When it's compiled by pdflatex and displayed the pdf image in the left 
column
is lower -- touching the frame bottom -- and the list of items on the right
are higher in the frame.

   I've tried various adjustments, but none work. If you see what needs to be
done, please let me know.

Can't reproduce it here (lyx-1.4.4/Solaris, recent beamer cvs snapshot),
top alignment is OK - I replaced your graphic with 
/usr/local/share/lyx/clipart/platypus.eps

Maybe the graphic is the problem ? You may check with the platypus
(I see that you clip, does it work with pdflatex ?)

-- 
Jean-Pierre

PS The float is not necessary IMHO, doesn't make really sense in a slide, you
want the graphic here and nowhere else.



Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Jean-Pierre Chretien

Date: Fri, 9 Mar 2007 08:27:21 -0800 (PST)
From: Rich Shepard [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Beamer Class: Columns Not Top Aligned

On Fri, 9 Mar 2007, Jean-Pierre Chretien wrote:

 Maybe the graphic is the problem ? You may check with the platypus (I see
 that you clip, does it work with pdflatex ?)

Jean-Pierre,

   It was the float, not the graphic itself. When I deleted the float and
placed the graphic itself, up it floated. I'm going to try \hspace{1cm} to
move it away from the left edge of the frame.

Why not use Edit-Paragraph setting ? Control is in the
column, so you may flushright or center.

Merci!
Bienvenue !

-- 
Jean-Pierre



Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Jean-Pierre Chretien

Date: Fri, 9 Mar 2007 07:13:59 -0800 (PST)
From: Rich Shepard [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Beamer Class: Columns Not Top Aligned

   In my document I have this frame:
[...]

   When it's compiled by pdflatex and displayed the pdf image in the left 
column
is lower -- touching the frame bottom -- and the list of items on the right
are higher in the frame.

   I've tried various adjustments, but none work. If you see what needs to be
done, please let me know.

Can't reproduce it here (lyx-1.4.4/Solaris, recent beamer cvs snapshot),
top alignment is OK - I replaced your graphic with 
/usr/local/share/lyx/clipart/platypus.eps

Maybe the graphic is the problem ? You may check with the platypus
(I see that you clip, does it work with pdflatex ?)

-- 
Jean-Pierre

PS The float is not necessary IMHO, doesn't make really sense in a slide, you
want the graphic here and nowhere else.



Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Jean-Pierre Chretien

Date: Fri, 9 Mar 2007 08:27:21 -0800 (PST)
From: Rich Shepard [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Beamer Class: Columns Not Top Aligned

On Fri, 9 Mar 2007, Jean-Pierre Chretien wrote:

 Maybe the graphic is the problem ? You may check with the platypus (I see
 that you clip, does it work with pdflatex ?)

Jean-Pierre,

   It was the float, not the graphic itself. When I deleted the float and
placed the graphic itself, up it floated. I'm going to try \hspace{1cm} to
move it away from the left edge of the frame.

Why not use Edit-Paragraph setting ? Control is in the
column, so you may flushright or center.

Merci!
Bienvenue !

-- 
Jean-Pierre



Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Jean-Pierre Chretien

>>Date: Fri, 9 Mar 2007 07:13:59 -0800 (PST)
>>From: Rich Shepard <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Beamer Class: Columns Not Top Aligned
>>
>>   In my document I have this frame:
[...]
>>
>>   When it's compiled by pdflatex and displayed the pdf image in the left 
column
>>is lower -- touching the frame bottom -- and the list of items on the right
>>are higher in the frame.
>>
>>   I've tried various adjustments, but none work. If you see what needs to be
>>done, please let me know.

Can't reproduce it here (lyx-1.4.4/Solaris, recent beamer cvs snapshot),
top alignment is OK - I replaced your graphic with 
/usr/local/share/lyx/clipart/platypus.eps

Maybe the graphic is the problem ? You may check with the platypus
(I see that you clip, does it work with pdflatex ?)

-- 
Jean-Pierre

PS The float is not necessary IMHO, doesn't make really sense in a slide, you
want the graphic here and nowhere else.



Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Jean-Pierre Chretien

>>Date: Fri, 9 Mar 2007 08:27:21 -0800 (PST)
>>From: Rich Shepard <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Beamer Class: Columns Not Top Aligned
>>
>>On Fri, 9 Mar 2007, Jean-Pierre Chretien wrote:
>>
>>> Maybe the graphic is the problem ? You may check with the platypus (I see
>>> that you clip, does it work with pdflatex ?)
>>
>>Jean-Pierre,
>>
>>   It was the float, not the graphic itself. When I deleted the float and
>>placed the graphic itself, up it floated. I'm going to try \hspace{1cm} to
>>move it away from the left edge of the frame.

Why not use Edit->Paragraph setting ? Control is in the
column, so you may flushright or center.

>>Merci!
Bienvenue !

-- 
Jean-Pierre



Re: Lyx 1-4-4 neglects .eps bounding box?

2007-02-28 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Georg Baum [EMAIL PROTECTED]
Subject: Re: Lyx 1-4-4 neglects .eps bounding box?
Date: Wed, 28 Feb 2007 09:48:30 +0100

Póta György wrote:

 Dear Users,
 
 Under Windows the best way of creating .eps drawings was to draw the
 figure, to print it as an .eps file and then to use epstool to add a
 bounding box around the figure  in an a4 page. Thus, only the figure was
 seen in Lyx the a4 page was not.
 
 However, Lyx-1-4-4 apparently neglects the bounding box created by the
 above method, and both in Lyx and Yap the whole a4 page is visible with
 the wanted figure in the middle.

That should not happen. Your procedure is supposed to work. If you send us
an example .eps file (with correct bounding box) that shows this behaviour
we can find out whether it is a local problem with your installation, or a
general one. Without an example it is difficult.

A test on the first line of the file could help: if the EPS string is missing,
LyX thinks is PS and not EPS, even with a BB included.
ps2eps does add the EPS string in the first line, don't know for epstool.

Lyx does handle differently these two files:
- head trace.eps
%!PS-Adobe-2.0
%%Title: trace.eps
%%Creator: gnuplot 4.0 patchlevel 0
%%CreationDate: Tue Nov 21 08:47:17 2006
%%DocumentFonts: (atend)
%%BoundingBox: 50 50 554 770
%%Orientation: Portrait
%%Pages: (atend)
%%EndComments

- head tt.eps
%!PS-Adobe-2.0 EPSF-2.0
%%Title: tt.fig
%%Creator: fig2dev Version 3.2 Patchlevel 3c
%%CreationDate: Wed Jun 26 10:27:11 2002
%%BoundingBox: 0 0 249 159
%%Magnification: 1.
%%EndComments


-- 
Jean-Pierre



Re: Lyx 1.5.0 beta1 screen fonts antialiasing?

2007-02-28 Thread Jean-Pierre Chretien

Date: Wed, 28 Feb 2007 10:46:08 +0100
From: Helge Hafting [EMAIL PROTECTED]
To: Shu Li [EMAIL PROTECTED]
CC: lyx-devel@lists.lyx.org, lyx-users@lists.lyx.org
Subject: Re: Lyx 1.5.0 beta1 screen fonts antialiasing?

Shu Li wrote:
[...]

 I don't know if that's the problem of QT4 or Lyx, or could I set some
 preference to have the anti-aliasing back? Thank you.
My lyx 1.5 beta (on debian) does antialiasing.
Did you try something simple like tools-preferences-screen fonts?
Make sure lyx-1.5 uses exactly the same fonts as lyx-1.4.3 do.
Perhaps your xserver isn't capable of antialiasing all fonts, and
lyx-1.5 might install itself  with bad defaults.

Do you have any other qt4 apps - do they get antialiased fonts?
Lyx 1.4.3 uses qt3, any qt3 setup you may have done will have
to be re-done for qt4 as well.

Same behaviour on my Debian Etch, where lyx-1.4.3 works fine.
Changing the Screen Fonts solves the problem for the document font, not
for the menu fonts (the popup which opens on slection of File, eg. has 
anti-aliased fonts, but the spellchecker window has not).

Do I miss some package ? I don't have dependency check
when buiding from source...

-- 
Jean-Pierre



Re: Lyx 1-4-4 neglects .eps bounding box?

2007-02-28 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Georg Baum [EMAIL PROTECTED]
Subject: Re: Lyx 1-4-4 neglects .eps bounding box?
Date: Wed, 28 Feb 2007 09:48:30 +0100

Póta György wrote:

 Dear Users,
 
 Under Windows the best way of creating .eps drawings was to draw the
 figure, to print it as an .eps file and then to use epstool to add a
 bounding box around the figure  in an a4 page. Thus, only the figure was
 seen in Lyx the a4 page was not.
 
 However, Lyx-1-4-4 apparently neglects the bounding box created by the
 above method, and both in Lyx and Yap the whole a4 page is visible with
 the wanted figure in the middle.

That should not happen. Your procedure is supposed to work. If you send us
an example .eps file (with correct bounding box) that shows this behaviour
we can find out whether it is a local problem with your installation, or a
general one. Without an example it is difficult.

A test on the first line of the file could help: if the EPS string is missing,
LyX thinks is PS and not EPS, even with a BB included.
ps2eps does add the EPS string in the first line, don't know for epstool.

Lyx does handle differently these two files:
- head trace.eps
%!PS-Adobe-2.0
%%Title: trace.eps
%%Creator: gnuplot 4.0 patchlevel 0
%%CreationDate: Tue Nov 21 08:47:17 2006
%%DocumentFonts: (atend)
%%BoundingBox: 50 50 554 770
%%Orientation: Portrait
%%Pages: (atend)
%%EndComments

- head tt.eps
%!PS-Adobe-2.0 EPSF-2.0
%%Title: tt.fig
%%Creator: fig2dev Version 3.2 Patchlevel 3c
%%CreationDate: Wed Jun 26 10:27:11 2002
%%BoundingBox: 0 0 249 159
%%Magnification: 1.
%%EndComments


-- 
Jean-Pierre



Re: Lyx 1.5.0 beta1 screen fonts antialiasing?

2007-02-28 Thread Jean-Pierre Chretien

Date: Wed, 28 Feb 2007 10:46:08 +0100
From: Helge Hafting [EMAIL PROTECTED]
To: Shu Li [EMAIL PROTECTED]
CC: lyx-devel@lists.lyx.org, lyx-users@lists.lyx.org
Subject: Re: Lyx 1.5.0 beta1 screen fonts antialiasing?

Shu Li wrote:
[...]

 I don't know if that's the problem of QT4 or Lyx, or could I set some
 preference to have the anti-aliasing back? Thank you.
My lyx 1.5 beta (on debian) does antialiasing.
Did you try something simple like tools-preferences-screen fonts?
Make sure lyx-1.5 uses exactly the same fonts as lyx-1.4.3 do.
Perhaps your xserver isn't capable of antialiasing all fonts, and
lyx-1.5 might install itself  with bad defaults.

Do you have any other qt4 apps - do they get antialiased fonts?
Lyx 1.4.3 uses qt3, any qt3 setup you may have done will have
to be re-done for qt4 as well.

Same behaviour on my Debian Etch, where lyx-1.4.3 works fine.
Changing the Screen Fonts solves the problem for the document font, not
for the menu fonts (the popup which opens on slection of File, eg. has 
anti-aliased fonts, but the spellchecker window has not).

Do I miss some package ? I don't have dependency check
when buiding from source...

-- 
Jean-Pierre



Re: Lyx 1-4-4 neglects .eps bounding box?

2007-02-28 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Georg Baum <[EMAIL PROTECTED]>
>>Subject: Re: Lyx 1-4-4 neglects .eps bounding box?
>>Date: Wed, 28 Feb 2007 09:48:30 +0100
>>
>>Póta György wrote:
>>
>>> Dear Users,
>>> 
>>> Under Windows the best way of creating .eps drawings was to draw the
>>> figure, to print it as an .eps file and then to use epstool to add a
>>> bounding box around the figure  in an a4 page. Thus, only the figure was
>>> seen in Lyx the a4 page was not.
>>> 
>>> However, Lyx-1-4-4 apparently neglects the bounding box created by the
>>> above method, and both in Lyx and Yap the whole a4 page is visible with
>>> the wanted figure in the middle.
>>
>>That should not happen. Your procedure is supposed to work. If you send us
>>an example .eps file (with correct bounding box) that shows this behaviour
>>we can find out whether it is a local problem with your installation, or a
>>general one. Without an example it is difficult.

A test on the first line of the file could help: if the EPS string is missing,
LyX thinks is PS and not EPS, even with a BB included.
ps2eps does add the EPS string in the first line, don't know for epstool.

Lyx does handle differently these two files:
-> head trace.eps
%!PS-Adobe-2.0
%%Title: trace.eps
%%Creator: gnuplot 4.0 patchlevel 0
%%CreationDate: Tue Nov 21 08:47:17 2006
%%DocumentFonts: (atend)
%%BoundingBox: 50 50 554 770
%%Orientation: Portrait
%%Pages: (atend)
%%EndComments

-> head tt.eps
%!PS-Adobe-2.0 EPSF-2.0
%%Title: tt.fig
%%Creator: fig2dev Version 3.2 Patchlevel 3c
%%CreationDate: Wed Jun 26 10:27:11 2002
%%BoundingBox: 0 0 249 159
%%Magnification: 1.
%%EndComments


-- 
Jean-Pierre



Re: Lyx 1.5.0 beta1 screen fonts antialiasing?

2007-02-28 Thread Jean-Pierre Chretien

>>Date: Wed, 28 Feb 2007 10:46:08 +0100
>>From: Helge Hafting <[EMAIL PROTECTED]>
>>To: Shu Li <[EMAIL PROTECTED]>
>>CC: lyx-devel@lists.lyx.org, lyx-users@lists.lyx.org
>>Subject: Re: Lyx 1.5.0 beta1 screen fonts antialiasing?
>>
>>Shu Li wrote:
[...]
>>>
>>> I don't know if that's the problem of QT4 or Lyx, or could I set some
>>> preference to have the anti-aliasing back? Thank you.
>>My lyx 1.5 beta (on debian) does antialiasing.
>>Did you try something simple like tools->preferences->screen fonts?
>>Make sure lyx-1.5 uses exactly the same fonts as lyx-1.4.3 do.
>>Perhaps your xserver isn't capable of antialiasing all fonts, and
>>lyx-1.5 might install itself  with bad defaults.
>>
>>Do you have any other qt4 apps - do they get antialiased fonts?
>>Lyx 1.4.3 uses qt3, any qt3 setup you may have done will have
>>to be re-done for qt4 as well.

Same behaviour on my Debian Etch, where lyx-1.4.3 works fine.
Changing the Screen Fonts solves the problem for the document font, not
for the menu fonts (the popup which opens on slection of File, eg. has 
anti-aliased fonts, but the spellchecker window has not).

Do I miss some package ? I don't have dependency check
when buiding from source...

-- 
Jean-Pierre



Re: pass options to subfigure (or other package loaded automatically)

2007-02-27 Thread Jean-Pierre Chretien


From: Mircea Trandafir [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: pass options to subfigure  (or other package loaded automatically)
Date: Tue, 27 Feb 2007 12:49:46 -0500

Hey everybody,

I'm quite new to LyX, so please bear with me here. I checked the
documentation and Google (which apparently does not know everything),
but could not find the answer to the following situation. I have a
document where I use subfigures. So I used the subfigure option in LyX,
put a caption and everything works perfect. But I'm a freak and I insist
on my captions being centered--which is not the default in LaTeX and for
subfigures, even if you use \centering or load the ccaption package
(ccaption deals with the figure captions, but not the subfigure ones).
In pure LaTeX, I would load the subfigure package with the center
option. But if I try to do that in LyX, I get an error of conflicting
options, because LyX already loads subfigure, but with no options. So
now we come to my question: Is there any way to tell LyX to load a
package that it loads by default with certain options? I guess the same
would hold for other packages (like natbib, for instance).

You can always pass an option to a package by délaring it as a class option
Document-Settings-Document Class-options
But it will be passed to any package understanding it...

YOu may try this anyway.

HTH

-- 
Jean-Pierre



Re: pass options to subfigure (or other package loaded automatically)

2007-02-27 Thread Jean-Pierre Chretien


From: Mircea Trandafir [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: pass options to subfigure  (or other package loaded automatically)
Date: Tue, 27 Feb 2007 12:49:46 -0500

Hey everybody,

I'm quite new to LyX, so please bear with me here. I checked the
documentation and Google (which apparently does not know everything),
but could not find the answer to the following situation. I have a
document where I use subfigures. So I used the subfigure option in LyX,
put a caption and everything works perfect. But I'm a freak and I insist
on my captions being centered--which is not the default in LaTeX and for
subfigures, even if you use \centering or load the ccaption package
(ccaption deals with the figure captions, but not the subfigure ones).
In pure LaTeX, I would load the subfigure package with the center
option. But if I try to do that in LyX, I get an error of conflicting
options, because LyX already loads subfigure, but with no options. So
now we come to my question: Is there any way to tell LyX to load a
package that it loads by default with certain options? I guess the same
would hold for other packages (like natbib, for instance).

You can always pass an option to a package by délaring it as a class option
Document-Settings-Document Class-options
But it will be passed to any package understanding it...

YOu may try this anyway.

HTH

-- 
Jean-Pierre



Re: pass options to subfigure (or other package loaded automatically)

2007-02-27 Thread Jean-Pierre Chretien


>>From: "Mircea Trandafir" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: pass options to subfigure  (or other package loaded automatically)
>>Date: Tue, 27 Feb 2007 12:49:46 -0500
>>
>>Hey everybody,
>>
>>I'm quite new to LyX, so please bear with me here. I checked the
>>documentation and Google (which apparently does not know everything),
>>but could not find the answer to the following situation. I have a
>>document where I use subfigures. So I used the subfigure option in LyX,
>>put a caption and everything works perfect. But I'm a freak and I insist
>>on my captions being centered--which is not the default in LaTeX and for
>>subfigures, even if you use \centering or load the ccaption package
>>(ccaption deals with the figure captions, but not the subfigure ones).
>>In pure LaTeX, I would load the subfigure package with the center
>>option. But if I try to do that in LyX, I get an error of conflicting
>>options, because LyX already loads subfigure, but with no options. So
>>now we come to my question: Is there any way to tell LyX to load a
>>package that it loads by default with certain options? I guess the same
>>would hold for other packages (like natbib, for instance).

You can always pass an option to a package by délaring it as a class option
Document->Settings->Document Class->options
But it will be passed to any package understanding it...

YOu may try this anyway.

HTH

-- 
Jean-Pierre



Re: Align Table and Graph

2007-02-26 Thread Jean-Pierre Chretien


Date: Mon, 26 Feb 2007 20:20:59 +
From: Paul Smith [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Align Table and Graph

On 2/26/07, Julio Rojas [EMAIL PROTECTED] wrote:
 Thanks guys, that worked quite well on screen, but the output is a
 totally different matter. I'm working on a Beamer doc, and the end
 result for this slide is exactly the same as it previously was: The
 table growing downwards and the graph grwoing upwards. Check the
 attached images. Maybe the problem is Beamer?

Play with the alignment of the mini-pages.

With beamer, you have control on the columns alignment, AFAIR
(there is a ColumnsTopAligned style).

Did you try it ?

-- 
Jean-Pierre



Re: Align Table and Graph

2007-02-26 Thread Jean-Pierre Chretien


Date: Mon, 26 Feb 2007 20:20:59 +
From: Paul Smith [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Align Table and Graph

On 2/26/07, Julio Rojas [EMAIL PROTECTED] wrote:
 Thanks guys, that worked quite well on screen, but the output is a
 totally different matter. I'm working on a Beamer doc, and the end
 result for this slide is exactly the same as it previously was: The
 table growing downwards and the graph grwoing upwards. Check the
 attached images. Maybe the problem is Beamer?

Play with the alignment of the mini-pages.

With beamer, you have control on the columns alignment, AFAIR
(there is a ColumnsTopAligned style).

Did you try it ?

-- 
Jean-Pierre



Re: Align Table and Graph

2007-02-26 Thread Jean-Pierre Chretien


>>Date: Mon, 26 Feb 2007 20:20:59 +
>>From: "Paul Smith" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Align Table and Graph
>>
>>On 2/26/07, Julio Rojas <[EMAIL PROTECTED]> wrote:
>>> Thanks guys, that worked quite well on screen, but the output is a
>>> totally different matter. I'm working on a Beamer doc, and the end
>>> result for this slide is exactly the same as it previously was: The
>>> table growing downwards and the graph grwoing upwards. Check the
>>> attached images. Maybe the problem is Beamer?
>>
>>Play with the alignment of the mini-pages.

With beamer, you have control on the columns alignment, AFAIR
(there is a ColumnsTopAligned style).

Did you try it ?

-- 
Jean-Pierre



Re: pdfpages

2007-02-25 Thread Jean-Pierre Chretien

Date: Sat, 24 Feb 2007 21:07:54 -0500
From: Myriam Abramson [EMAIL PROTECTED]
Subject: pdfpages
To: lyx-users@lists.lyx.org


Hello,

I need to include some pdf pages in my output.
I've set
\usepackage{pdfpages} 
in the preamble.

Then I have at the end of my lyx file:
\includepdf[pages=-] {filename.pdf}

I get the error message to set \pdfoutput=1 when trying to view with
ps2pdf. Where should I set pdfoutput? 

I'm not sure if I've done this correctly,

No, you *need* to compile with pdflatex to use pdfpages.

-- 
Jean-Pierre



Re: pdfpages

2007-02-25 Thread Jean-Pierre Chretien

Date: Sat, 24 Feb 2007 21:07:54 -0500
From: Myriam Abramson [EMAIL PROTECTED]
Subject: pdfpages
To: lyx-users@lists.lyx.org


Hello,

I need to include some pdf pages in my output.
I've set
\usepackage{pdfpages} 
in the preamble.

Then I have at the end of my lyx file:
\includepdf[pages=-] {filename.pdf}

I get the error message to set \pdfoutput=1 when trying to view with
ps2pdf. Where should I set pdfoutput? 

I'm not sure if I've done this correctly,

No, you *need* to compile with pdflatex to use pdfpages.

-- 
Jean-Pierre



Re: pdfpages

2007-02-25 Thread Jean-Pierre Chretien

>>Date: Sat, 24 Feb 2007 21:07:54 -0500
>>From: Myriam Abramson <[EMAIL PROTECTED]>
>>Subject: pdfpages
>>To: lyx-users@lists.lyx.org
>>
>>
>>Hello,
>>
>>I need to include some pdf pages in my output.
>>I've set
>>\usepackage{pdfpages} 
>>in the preamble.
>>
>>Then I have at the end of my lyx file:
>>\includepdf[pages=-] {filename.pdf}
>>
>>I get the error message to set \pdfoutput=1 when trying to view with
>>ps2pdf. Where should I set pdfoutput? 
>>
>>I'm not sure if I've done this correctly,

No, you *need* to compile with pdflatex to use pdfpages.

-- 
Jean-Pierre



Re: bounding box

2007-02-23 Thread Jean-Pierre Chretien

Date: Fri, 23 Feb 2007 16:27:20 +0100
From: Andre Poenitz [EMAIL PROTECTED]
To: Georg Baum [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Subject: Re: bounding box
X-Scan-Signature: f69c3b77c4b3e26dd0b52dac0e0ea9f8

On Thu, Feb 22, 2007 at 06:32:44PM +0100, Georg Baum wrote:
 Andre Poenitz wrote:
 
  If you simply used greek letters of the symbol font, then you don't need
  fig2eps.
  
  And still get the same font as in the main document?
 
 No. But you get something readable as opposed to some TeX commands.

Having different fonts in figures and text is ugly.

A strong incentive to use special text in xfig and External
material inset IMHO. LyX eases a lot the combined export.
Many thanks to the developers for this.

xfig is however a bit limited to combine series, family and shape. 

-- 
Jean-Pierre



Re: Export from LyX to HTML

2007-02-23 Thread Jean-Pierre Chretien

Date: Fri, 23 Feb 2007 17:21:54 +0100 (CET)
Subject: Re: Export from LyX to HTML
From: [EMAIL PROTECTED]
To: Nick Hopton [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org

Nick,

thanks a lot, your advice got it working.
[..]
 - View HTML works, Export to HTML does not. Instead of the pngs
   it only shows the ALT-text

Without originaldir, the conversion is made in the temporary dir where
the browser finds it. 
However, Export does not copy the files to the doc dir.

So if your reset the originaldir flag,  your files will be in
the doc dir all right.

So you have to choose berween Export and View

 - pngs included in the original Lyx-files are not present

Export to latex and run the converter to get an idea of what's going on.

-- 
Jean-Pierre



Re: bounding box

2007-02-23 Thread Jean-Pierre Chretien

Date: Fri, 23 Feb 2007 16:27:20 +0100
From: Andre Poenitz [EMAIL PROTECTED]
To: Georg Baum [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Subject: Re: bounding box
X-Scan-Signature: f69c3b77c4b3e26dd0b52dac0e0ea9f8

On Thu, Feb 22, 2007 at 06:32:44PM +0100, Georg Baum wrote:
 Andre Poenitz wrote:
 
  If you simply used greek letters of the symbol font, then you don't need
  fig2eps.
  
  And still get the same font as in the main document?
 
 No. But you get something readable as opposed to some TeX commands.

Having different fonts in figures and text is ugly.

A strong incentive to use special text in xfig and External
material inset IMHO. LyX eases a lot the combined export.
Many thanks to the developers for this.

xfig is however a bit limited to combine series, family and shape. 

-- 
Jean-Pierre



Re: Export from LyX to HTML

2007-02-23 Thread Jean-Pierre Chretien

Date: Fri, 23 Feb 2007 17:21:54 +0100 (CET)
Subject: Re: Export from LyX to HTML
From: [EMAIL PROTECTED]
To: Nick Hopton [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org

Nick,

thanks a lot, your advice got it working.
[..]
 - View HTML works, Export to HTML does not. Instead of the pngs
   it only shows the ALT-text

Without originaldir, the conversion is made in the temporary dir where
the browser finds it. 
However, Export does not copy the files to the doc dir.

So if your reset the originaldir flag,  your files will be in
the doc dir all right.

So you have to choose berween Export and View

 - pngs included in the original Lyx-files are not present

Export to latex and run the converter to get an idea of what's going on.

-- 
Jean-Pierre



Re: bounding box

2007-02-23 Thread Jean-Pierre Chretien

>>Date: Fri, 23 Feb 2007 16:27:20 +0100
>>From: Andre Poenitz <[EMAIL PROTECTED]>
>>To: Georg Baum <[EMAIL PROTECTED]>
>>Cc: lyx-users@lists.lyx.org
>>Subject: Re: bounding box
>>X-Scan-Signature: f69c3b77c4b3e26dd0b52dac0e0ea9f8
>>
>>On Thu, Feb 22, 2007 at 06:32:44PM +0100, Georg Baum wrote:
>>> Andre Poenitz wrote:
>>> 
>>> >> If you simply used greek letters of the symbol font, then you don't need
>>> >> fig2eps.
>>> > 
>>> > And still get the same font as in the main document?
>>> 
>>> No. But you get something readable as opposed to some TeX commands.
>>
>>Having different fonts in figures and text is ugly.

A strong incentive to use special text in xfig and External
material inset IMHO. LyX eases a lot the combined export.
Many thanks to the developers for this.

xfig is however a bit limited to combine series, family and shape. 

-- 
Jean-Pierre



Re: Export from LyX to HTML

2007-02-23 Thread Jean-Pierre Chretien

>>Date: Fri, 23 Feb 2007 17:21:54 +0100 (CET)
>>Subject: Re: Export from LyX to HTML
>>From: [EMAIL PROTECTED]
>>To: "Nick Hopton" <[EMAIL PROTECTED]>
>>Cc: lyx-users@lists.lyx.org
>>
>>Nick,
>>
>>thanks a lot, your advice got it working.
[..]
>> - View HTML works, Export to HTML does not. Instead of the pngs
>>   it only shows the -text

Without originaldir, the conversion is made in the temporary dir where
the browser finds it. 
However, Export does not copy the files to the doc dir.

So if your reset the originaldir flag,  your files will be in
the doc dir all right.

So you have to choose berween Export and View

>> - pngs included in the original Lyx-files are not present

Export to latex and run the converter to get an idea of what's going on.

-- 
Jean-Pierre



Re: AW: How to center graphics in Lyx?

2007-02-16 Thread Jean-Pierre Chretien
To: lyx-users@lists.lyx.org
From: [EMAIL PROTECTED]
Subject: Re: AW: How to center graphics in Lyx?
Date: Fri, 16 Feb 2007 11:04:27 +0100

On Thu, 15 Feb 2007, Paul Smith wrote:

  I cannot recall it with precision, but I think Herbert wrote it in
  this very list.

 http://wiki.lyx.org/FAQ/AllPages#toc117

So to conclude, I think it's ok to use the paragraph alignment dialog to 
make the figure centered in LyX 1.4 and later. (Hope I got this right)

Right, lyx exports a centering environment instead of a center environment
as previously:

\begin{figure}
\begin{centering}
\includegraphics{/usr/local/share/lyx/clipart/platypus}
\par\end{centering}
\caption{test}
\end{figure}

However, the visual appearance of the figure in the inset does not reflect
the status of the paragraph setting:
 - flush left for Left, Right and Center
 - indented for Justified.
Should be centered when  Paragraph is Center, flushed right
when paragraph is Right, thats the only way to see how the Paragraph is set
without opening it.

-- 
Jean-Pierre





Re: Business Letter With Logo

2007-02-16 Thread Jean-Pierre Chretien

Date: Fri, 16 Feb 2007 06:19:34 -0800 (PST)
From: Rich Shepard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Business Letter With Logo

On Thu, 15 Feb 2007, Rich Shepard wrote:

  In January 2006 there was a long thread on using the KOMA-Script scrlttr2
 class for business letters with logos. While Paul wanted the logo in the
 left margin (and that was a majority of the thread), I want it centered on
 the top of the first page.

   Since the response to this message has been a resounding silence, let me
ask if there is _any_ class that allows the placement of a graphic above the
title.

   I've tried with koma-article and koma-report, but both leave off the
graphic and insert two blank pages.

All the classes which define internally the title page layout are not prone
to additions in this title page from the document itself (except perhaps beamer,
which defines \titlegraphic).

I think that there is not other solution than redefining the \maketitle command
to include the logo.


   It surprises me that as flexible as LaTeX is, there is no readily-found
solution for this.

I guess that graphic inclusion is too specific to be defined in a generic class.

-- 
Jean-Pierre






Re: AW: How to center graphics in Lyx?

2007-02-16 Thread Jean-Pierre Chretien
To: lyx-users@lists.lyx.org
From: [EMAIL PROTECTED]
Subject: Re: AW: How to center graphics in Lyx?
Date: Fri, 16 Feb 2007 11:04:27 +0100

On Thu, 15 Feb 2007, Paul Smith wrote:

  I cannot recall it with precision, but I think Herbert wrote it in
  this very list.

 http://wiki.lyx.org/FAQ/AllPages#toc117

So to conclude, I think it's ok to use the paragraph alignment dialog to 
make the figure centered in LyX 1.4 and later. (Hope I got this right)

Right, lyx exports a centering environment instead of a center environment
as previously:

\begin{figure}
\begin{centering}
\includegraphics{/usr/local/share/lyx/clipart/platypus}
\par\end{centering}
\caption{test}
\end{figure}

However, the visual appearance of the figure in the inset does not reflect
the status of the paragraph setting:
 - flush left for Left, Right and Center
 - indented for Justified.
Should be centered when  Paragraph is Center, flushed right
when paragraph is Right, thats the only way to see how the Paragraph is set
without opening it.

-- 
Jean-Pierre





Re: Business Letter With Logo

2007-02-16 Thread Jean-Pierre Chretien

Date: Fri, 16 Feb 2007 06:19:34 -0800 (PST)
From: Rich Shepard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Business Letter With Logo

On Thu, 15 Feb 2007, Rich Shepard wrote:

  In January 2006 there was a long thread on using the KOMA-Script scrlttr2
 class for business letters with logos. While Paul wanted the logo in the
 left margin (and that was a majority of the thread), I want it centered on
 the top of the first page.

   Since the response to this message has been a resounding silence, let me
ask if there is _any_ class that allows the placement of a graphic above the
title.

   I've tried with koma-article and koma-report, but both leave off the
graphic and insert two blank pages.

All the classes which define internally the title page layout are not prone
to additions in this title page from the document itself (except perhaps beamer,
which defines \titlegraphic).

I think that there is not other solution than redefining the \maketitle command
to include the logo.


   It surprises me that as flexible as LaTeX is, there is no readily-found
solution for this.

I guess that graphic inclusion is too specific to be defined in a generic class.

-- 
Jean-Pierre






Re: AW: How to center graphics in Lyx?

2007-02-16 Thread Jean-Pierre Chretien
>>To: lyx-users@lists.lyx.org
>>From: [EMAIL PROTECTED]
>>Subject: Re: AW: How to center graphics in Lyx?
>>Date: Fri, 16 Feb 2007 11:04:27 +0100
>>
>>On Thu, 15 Feb 2007, Paul Smith wrote:
>>
  I cannot recall it with precision, but I think Herbert wrote it in
  this very list.
>>
>>> http://wiki.lyx.org/FAQ/AllPages#toc117
>>
>>So to conclude, I think it's ok to use the paragraph alignment dialog to 
>>make the figure centered in LyX 1.4 and later. (Hope I got this right)

Right, lyx exports a centering environment instead of a center environment
as previously:

\begin{figure}
\begin{centering}
\includegraphics{/usr/local/share/lyx/clipart/platypus}
\par\end{centering}
\caption{test}
\end{figure}

However, the visual appearance of the figure in the inset does not reflect
the status of the paragraph setting:
 - flush left for Left, Right and Center
 - indented for Justified.
Should be centered when  Paragraph is Center, flushed right
when paragraph is Right, thats the only way to see how the Paragraph is set
without opening it.

-- 
Jean-Pierre





Re: Business Letter With Logo

2007-02-16 Thread Jean-Pierre Chretien

>>Date: Fri, 16 Feb 2007 06:19:34 -0800 (PST)
>>From: Rich Shepard <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Re: Business Letter With Logo
>>
>>On Thu, 15 Feb 2007, Rich Shepard wrote:
>>
>>>  In January 2006 there was a long thread on using the KOMA-Script scrlttr2
>>> class for business letters with logos. While Paul wanted the logo in the
>>> left margin (and that was a majority of the thread), I want it centered on
>>> the top of the first page.
>>
>>   Since the response to this message has been a resounding silence, let me
>>ask if there is _any_ class that allows the placement of a graphic above the
>>title.
>>
>>   I've tried with koma-article and koma-report, but both leave off the
>>graphic and insert two blank pages.

All the classes which define internally the title page layout are not prone
to additions in this title page from the document itself (except perhaps beamer,
which defines \titlegraphic).

I think that there is not other solution than redefining the \maketitle command
to include the logo.

>>
>>   It surprises me that as flexible as LaTeX is, there is no readily-found
>>solution for this.

I guess that graphic inclusion is too specific to be defined in a generic class.

-- 
Jean-Pierre






Re: Beamer and font size

2007-02-14 Thread Jean-Pierre Chretien

Date: Wed, 14 Feb 2007 18:29:39 +0100
From: Julio Rojas [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Beamer and font size
[...]

 I can't get it to work here either, and I don't know why.  The following
 seems to work for me, though:

 \usepackage{graphicx}
 \titlegraphic{\includegraphics[height=2cm]{logo_universitat_blanco}}

From your definitions, logo_universitat_blanco is the pgf symbolic name,
try \titlegraphic{\includegraphics[height=2cm]{lub}}
lub.jpg is your file name, isn't it ?

-- 
Jean-Pierre




Re: Beamer and font size

2007-02-14 Thread Jean-Pierre Chretien

Date: Wed, 14 Feb 2007 18:29:39 +0100
From: Julio Rojas [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Beamer and font size
[...]

 I can't get it to work here either, and I don't know why.  The following
 seems to work for me, though:

 \usepackage{graphicx}
 \titlegraphic{\includegraphics[height=2cm]{logo_universitat_blanco}}

From your definitions, logo_universitat_blanco is the pgf symbolic name,
try \titlegraphic{\includegraphics[height=2cm]{lub}}
lub.jpg is your file name, isn't it ?

-- 
Jean-Pierre




Re: Beamer and font size

2007-02-14 Thread Jean-Pierre Chretien

>>Date: Wed, 14 Feb 2007 18:29:39 +0100
>>From: "Julio Rojas" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Beamer and font size
[...]
>>>
>>> I can't get it to work here either, and I don't know why.  The following
>>> seems to work for me, though:
>>>
>>> \usepackage{graphicx}
>>> \titlegraphic{\includegraphics[height=2cm]{logo_universitat_blanco}}

>From your definitions, logo_universitat_blanco is the pgf symbolic name,
try \titlegraphic{\includegraphics[height=2cm]{lub}}
lub.jpg is your file name, isn't it ?

-- 
Jean-Pierre




Re: Beamer and font size

2007-02-13 Thread Jean-Pierre Chretien

Date: Tue, 13 Feb 2007 11:04:54 +0100
From: Julio Rojas [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Beamer and font size

I have read in the Beamer manual that if I use the line:

\titlegraphic{\pgfuseimage{logo_universitat_blanco}}

You need to declare the image before using it, e,g.
\pgfdeclareimage[width=2cm]{logo_universitat_blanco}{path_to_my_logo}

Beware that with lyx the path must be absolute.

If you want to use relative path, you may use graphicx instead of pgf:
\titlegraphic{\includegraphics[width=2cm]{my_logo}}

Make sure to have both my_logo.pdf and my_logo.eps available if you
want to compile in latex and pdflatex.

HTH

-- 
Jean-Pierre




  1   2   3   4   5   6   7   8   9   10   >