Re: APA Style reference with url and lastchecked field does not show Retrieved ...

2007-11-26 Thread Roberto Gorjão

Olá Mirko,

As I do not see it as a fault, rather as a feature, I have not tried to 
change it and I don't know how to do it. Maybe someone else can answer 
this to you.


Cumprimentos,

Roberto

-
Mirko Briemle wrote:

Hi Roberto,

I finally got my url retrieved references worked out. I have one more question.
I am using the \usepackage{url} in my preamble to brake urls well, but the urls
are then displayed in a different font. Can I make the font of the urls appear
the same?

Best,
Mirko

  


Re: Getting errors with microtype

2007-11-26 Thread Jürgen Spitzmüller
Paul Smith wrote:
 How can one update pdfeTeX to a newer version? I am using Fedora Linux 7.

Updating pdftex manually is a pain and difficult to get right. You should try 
to update the TeX distribution (either look if there is some updated Fedora 
package or, even better, migrate to TeXLive 2007).

Jürgen


LaTeX Error: no \title given

2007-11-26 Thread Emanuele Osimo
Hello,
I'm a mac Lyx user with no experience.
Every time I write a document and then try to export it into pdf, a
window appears that states LaTeX Error: no \title given.
How can I solve this problem?
Attached there is an example

Thanks
E. Osimo
attachment: error.jpg

Re: font embedding

2007-11-26 Thread Nicolás

Don't know if the following is of any help, but just in case.

I had recently a problem with embedding fonts in the pdf generated by LyX. In my case, all fonts in the document body where correctly 
embedded. However, fonts inside EPS files where not embedded. I did not managed to configure LyX in such a way that the generated pdf 
contained all fonts embedded. Since embedding fonts will be normally desired only for the final version of a document (while working on 
the document I do not mind), my solution was an easy one: genarate a .ps file from LyX for the final version and use GSView to convert 
into pdf. For the ps to pdf conversion I used -dSubsetFonts=true and -dEmbedAllFonts=true. I also found necessary to set 
-pdfsettings=/prepress


Cheers,
Nicolás

Paul A. Rubin wrote:

Alexander Sklar wrote:
 


How do I make sure all the fonts in my pdf generated by LyX has all the
necessary fonts embedded and subset?


Good idea.  I was at a conference a couple of weeks ago where close to 
1/3 of the presenters used Beamer (I had no idea it was that popular 
here in the States), and at least one of them ran into a problem with 
missing fonts that caused his math formulas to evaporate.  (Consolation: 
 a similar problem afflicted close to half the people using 
Powerpoint.)  I suspect this was due to borrowing the first presenter's 
laptop.


(I guess the trick would be to pass -dSubsetFonts=true 
-dEmbedAllFonts=true

to ps2pdf but how do I do that from LyX?)



DISCLAIMER:  I have not tried this myself (I use pdflatex, and seem to 
get lucky with the fonts).


Go to Tools - Preferences - Converters, highlight Postscript - PDF 
(ps2pdf), type the options you want into the Extra flag field, then 
click Modify and Save.  You may have to exit and restart LyX to have it 
take effect (I'm not sure).


HTH,
Paul






Re: Live Latex Editing

2007-11-26 Thread G. Milde
On 24.11.07, Richard Heck wrote:
 Ryan Cross wrote:
 [EMAIL PROTECTED] wrote:
 On Sun, Nov 25, 2007 at 10:26:26AM +1100, Ryan Cross wrote:

 I think this feature could be solved by actually doing a preview/edit
 of the actual Lyx file format and not the LaTeX. Most of the edits I
 want to do could probably be done by editing the Lyx file format. 
...

 This sort of request is quite commonly made, and it's been on the 
 developers' radar, more or less, for a while. Obviously, the View Source 
 preview is a step in this direction. But, as Andre remarked, it's 
 non-trivial to get this right, and the number of people who would use it 
 seems small. In any event, no one has stepped up to do the work needed to 
 implement it. Anyone who wants to do so is of course welcome!

Actually, I'd prefer to do the source file editing in my favourite text
editor (where I know the advanced keybindings and can easily programm
plug-ins).

Unfortunately, currently to do things like replacing by regular
expression or replacing in math or change of box-type etc. I have to:

1. save the lyx document
2. open my favourite text editor
3. search for the lyx document file and open it in the editor
4. do the changes on the lyx source and save them
5. Re-open the document in LyX with FileRevert to Saved
6. Be very brave: A warning opens, that says: 

  Any changes will be lost. Are you sure you want to
  revert to the saved version 
  of the document ...path to file
  
  [Revert]  [Cancel]
  
   however, my last (external) changes will only be permanent if I defy
   this warning and go ahead to Revert.
   
What I'd like to see (and what IMO should be relatively easy) is 

a) a LyX command that (saves the current document and) opens the source
   file with a command that can be defined in the settings dialogue
   (defaulting to the content of the EDITOR environment variable in
   unix).
   
b) a reloading command that is aware of the possibility that the version
   on disk is more recent than the opon one, e.g. 
   
   FileRevert to Saved  ==FileReload, with the warning
   
  All changes since the last save will be lost. 
  Are you sure you want to reload the document from 
  ...path to file
  
  [Reload]  [Cancel]
   
  
Actually, I can already set an Editor command for the LyX file format
in the ToolsPreferencesFile format tab and after that

  M-x buffer-view lyx

will take over steps 1-3 in the above list.

Now I only need a way to insert buffer-view lyx into the menu, e.g. as
'EditEdit LyX source'. (Is there an analogon to the \bind_file command
in the bind files for ui files or do I need to copy and change the
complete definition set?)


Günter



Re: LaTeX Error: no \title given

2007-11-26 Thread G. Milde
On 26.11.07, Emanuele Osimo wrote:
 I'm a mac Lyx user with no experience.
 Every time I write a document and then try to export it into pdf, a
 window appears that states LaTeX Error: no \title given.
 How can I solve this problem?
 Attached there is an example

It looks like you have in your document a paragraph in a style that creates
a title page (or title block). You can try

* to add a title, or 
* find out which paragraph needs to be removed or get a different style if
  you do not want a title.

It would be helpfull to have a minimal lyx file that exhibits this
behaviour as attachment.

Guenter


Errors with AMS documentclass

2007-11-26 Thread Wang Yongqiao
I am writing a book with AMS book document.When I convert it to dvi or pdf, 
the following erros are found:

LaTeX Error: No counter 'thm' defined.
LaTeX Error: No counter 'thm' defined.
LaTeX Error: Environment defn undefined.
LaTeX Error: \begin{document} ended by \end{defn}.

Can you tell how to handle this problem?

Wang Yongqiao
[EMAIL PROTECTED]
  2007-11-26


Re: LaTeX Error: no \title given

2007-11-26 Thread Jean-Marc Lasgouttes
Emanuele Osimo [EMAIL PROTECTED] writes:

 Hello,
 I'm a mac Lyx user with no experience.
 Every time I write a document and then try to export it into pdf, a
 window appears that states LaTeX Error: no \title given.
 How can I solve this problem?
 Attached there is an example

It seems that you have added a Data (Date?) environment in your
document. Title, Date and Author are considered as part of a title and
LaTeX complains that this title is not complete.

JMarc


Re: Errors with AMS documentclass

2007-11-26 Thread Antonio José Guirao Sánchez
We were speaking about that some emails before. You have just to go to
wiki.lyx.org and download the last version of ams layouts. This works fine.

Wang Yongqiao escribió:
 I am writing a book with AMS book document.When I convert it to dvi or 
 pdf, the following erros are found:

 LaTeX Error: No counter 'thm' defined.
 LaTeX Error: No counter 'thm' defined.
 LaTeX Error: Environment defn undefined.
 LaTeX Error: \begin{document} ended by \end{defn}.

 Can you tell how to handle this problem?  

 Wang Yongqiao
 [EMAIL PROTECTED]
   2007-11-26
   

-- 
Antonio J. Guirao Sánchez.
Universidad de Murcia.
Grupo: Análisis Funcional.
Facultad de Matemáticas, Campus de Espinardo.
Telephone: (+34) 968 363 666
   (+34) 627 265 491 
E-30100 Murcia (SPAIN)



Re: Errors with AMS documentclass

2007-11-26 Thread Paul A. Rubin
Antonio José Guirao Sánchez wrote:
 We were speaking about that some emails before. You have just to go to
 wiki.lyx.org and download the last version of ams layouts. This works fine.
 
 Wang Yongqiao escribió:
 I am writing a book with AMS book document.When I convert it to dvi or 
 pdf, the following erros are found:

 LaTeX Error: No counter 'thm' defined.
 LaTeX Error: No counter 'thm' defined.
 LaTeX Error: Environment defn undefined.
 LaTeX Error: \begin{document} ended by \end{defn}.


I've been told this is fixed in the next version.

/Paul



Re: Live Latex Editing

2007-11-26 Thread Richard Heck

G. Milde wrote:
This sort of request is quite commonly made, and it's been on the 
developers' radar, more or less, for a while. Obviously, the View Source 
preview is a step in this direction. But, as Andre remarked, it's 
non-trivial to get this right, and the number of people who would use it 
seems small. In any event, no one has stepped up to do the work needed to 
implement it. Anyone who wants to do so is of course welcome!



Actually, I'd prefer to do the source file editing in my favourite text
editor (where I know the advanced keybindings and can easily programm
plug-ins).

Unfortunately, currently to do things like replacing by regular
expression or replacing in math or change of box-type etc. I have to:

[snip]

What I'd like to see (and what IMO should be relatively easy) is 


a) a LyX command that (saves the current document and) opens the source
   file with a command that can be defined in the settings dialogue
   (defaulting to the content of the EDITOR environment variable in
   unix).
  
This is do-able now. Just add your favorite editor as the Viewer for 
LyX files in ToolsPreferencesFile Formats, and check the Document 
Format box. Easier than the other thing you mentioned.
  
b) a reloading command that is aware of the possibility that the version
   on disk is more recent than the opon one, e.g. 
   
   FileRevert to Saved  ==FileReload, with the warning
   
  All changes since the last save will be lost. 
  Are you sure you want to reload the document from 
  ...path to file
  
  [Reload]  [Cancel]
   
  
This seems like a pretty minor change. If you're brave enough to edit 
the LyX file natively, then you're brave enough for the existing warning.


Richard

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



Bob Lounsbury: Problem with tocbibind package

2007-11-26 Thread S . Chen
Hi Bob,

I installed the tocbibind package you mentioned in Stuwelly's Thesis Issues
posted in 18 Nov and came across a problem.

I'm using a book class. As mentioned in the manual for book class it uses the
\chapter* heading style. However, when I tried to view postscript, there was an
error said: Can be used only in preamble. And, there isn't a preamble
environment in book class.

Do anyone have the solution, please? Thanks very much!




Re: Bob Lounsbury: Problem with tocbibind package

2007-11-26 Thread S . Chen
Sorry, I know what's going on now. It's solved






Re: APA Style reference with url and lastchecked field does not show Retrieved ...

2007-11-26 Thread Roberto Gorjão

Olá Mirko,

As I do not see it as a fault, rather as a feature, I have not tried to 
change it and I don't know how to do it. Maybe someone else can answer 
this to you.


Cumprimentos,

Roberto

-
Mirko Briemle wrote:

Hi Roberto,

I finally got my url retrieved references worked out. I have one more question.
I am using the \usepackage{url} in my preamble to brake urls well, but the urls
are then displayed in a different font. Can I make the font of the urls appear
the same?

Best,
Mirko

  


Re: Getting errors with microtype

2007-11-26 Thread Jürgen Spitzmüller
Paul Smith wrote:
 How can one update pdfeTeX to a newer version? I am using Fedora Linux 7.

Updating pdftex manually is a pain and difficult to get right. You should try 
to update the TeX distribution (either look if there is some updated Fedora 
package or, even better, migrate to TeXLive 2007).

Jürgen


LaTeX Error: no \title given

2007-11-26 Thread Emanuele Osimo
Hello,
I'm a mac Lyx user with no experience.
Every time I write a document and then try to export it into pdf, a
window appears that states LaTeX Error: no \title given.
How can I solve this problem?
Attached there is an example

Thanks
E. Osimo
attachment: error.jpg

Re: font embedding

2007-11-26 Thread Nicolás

Don't know if the following is of any help, but just in case.

I had recently a problem with embedding fonts in the pdf generated by LyX. In my case, all fonts in the document body where correctly 
embedded. However, fonts inside EPS files where not embedded. I did not managed to configure LyX in such a way that the generated pdf 
contained all fonts embedded. Since embedding fonts will be normally desired only for the final version of a document (while working on 
the document I do not mind), my solution was an easy one: genarate a .ps file from LyX for the final version and use GSView to convert 
into pdf. For the ps to pdf conversion I used -dSubsetFonts=true and -dEmbedAllFonts=true. I also found necessary to set 
-pdfsettings=/prepress


Cheers,
Nicolás

Paul A. Rubin wrote:

Alexander Sklar wrote:
 


How do I make sure all the fonts in my pdf generated by LyX has all the
necessary fonts embedded and subset?


Good idea.  I was at a conference a couple of weeks ago where close to 
1/3 of the presenters used Beamer (I had no idea it was that popular 
here in the States), and at least one of them ran into a problem with 
missing fonts that caused his math formulas to evaporate.  (Consolation: 
 a similar problem afflicted close to half the people using 
Powerpoint.)  I suspect this was due to borrowing the first presenter's 
laptop.


(I guess the trick would be to pass -dSubsetFonts=true 
-dEmbedAllFonts=true

to ps2pdf but how do I do that from LyX?)



DISCLAIMER:  I have not tried this myself (I use pdflatex, and seem to 
get lucky with the fonts).


Go to Tools - Preferences - Converters, highlight Postscript - PDF 
(ps2pdf), type the options you want into the Extra flag field, then 
click Modify and Save.  You may have to exit and restart LyX to have it 
take effect (I'm not sure).


HTH,
Paul






Re: Live Latex Editing

2007-11-26 Thread G. Milde
On 24.11.07, Richard Heck wrote:
 Ryan Cross wrote:
 [EMAIL PROTECTED] wrote:
 On Sun, Nov 25, 2007 at 10:26:26AM +1100, Ryan Cross wrote:

 I think this feature could be solved by actually doing a preview/edit
 of the actual Lyx file format and not the LaTeX. Most of the edits I
 want to do could probably be done by editing the Lyx file format. 
...

 This sort of request is quite commonly made, and it's been on the 
 developers' radar, more or less, for a while. Obviously, the View Source 
 preview is a step in this direction. But, as Andre remarked, it's 
 non-trivial to get this right, and the number of people who would use it 
 seems small. In any event, no one has stepped up to do the work needed to 
 implement it. Anyone who wants to do so is of course welcome!

Actually, I'd prefer to do the source file editing in my favourite text
editor (where I know the advanced keybindings and can easily programm
plug-ins).

Unfortunately, currently to do things like replacing by regular
expression or replacing in math or change of box-type etc. I have to:

1. save the lyx document
2. open my favourite text editor
3. search for the lyx document file and open it in the editor
4. do the changes on the lyx source and save them
5. Re-open the document in LyX with FileRevert to Saved
6. Be very brave: A warning opens, that says: 

  Any changes will be lost. Are you sure you want to
  revert to the saved version 
  of the document ...path to file
  
  [Revert]  [Cancel]
  
   however, my last (external) changes will only be permanent if I defy
   this warning and go ahead to Revert.
   
What I'd like to see (and what IMO should be relatively easy) is 

a) a LyX command that (saves the current document and) opens the source
   file with a command that can be defined in the settings dialogue
   (defaulting to the content of the EDITOR environment variable in
   unix).
   
b) a reloading command that is aware of the possibility that the version
   on disk is more recent than the opon one, e.g. 
   
   FileRevert to Saved  ==FileReload, with the warning
   
  All changes since the last save will be lost. 
  Are you sure you want to reload the document from 
  ...path to file
  
  [Reload]  [Cancel]
   
  
Actually, I can already set an Editor command for the LyX file format
in the ToolsPreferencesFile format tab and after that

  M-x buffer-view lyx

will take over steps 1-3 in the above list.

Now I only need a way to insert buffer-view lyx into the menu, e.g. as
'EditEdit LyX source'. (Is there an analogon to the \bind_file command
in the bind files for ui files or do I need to copy and change the
complete definition set?)


Günter



Re: LaTeX Error: no \title given

2007-11-26 Thread G. Milde
On 26.11.07, Emanuele Osimo wrote:
 I'm a mac Lyx user with no experience.
 Every time I write a document and then try to export it into pdf, a
 window appears that states LaTeX Error: no \title given.
 How can I solve this problem?
 Attached there is an example

It looks like you have in your document a paragraph in a style that creates
a title page (or title block). You can try

* to add a title, or 
* find out which paragraph needs to be removed or get a different style if
  you do not want a title.

It would be helpfull to have a minimal lyx file that exhibits this
behaviour as attachment.

Guenter


Errors with AMS documentclass

2007-11-26 Thread Wang Yongqiao
I am writing a book with AMS book document.When I convert it to dvi or pdf, 
the following erros are found:

LaTeX Error: No counter 'thm' defined.
LaTeX Error: No counter 'thm' defined.
LaTeX Error: Environment defn undefined.
LaTeX Error: \begin{document} ended by \end{defn}.

Can you tell how to handle this problem?

Wang Yongqiao
[EMAIL PROTECTED]
  2007-11-26


Re: LaTeX Error: no \title given

2007-11-26 Thread Jean-Marc Lasgouttes
Emanuele Osimo [EMAIL PROTECTED] writes:

 Hello,
 I'm a mac Lyx user with no experience.
 Every time I write a document and then try to export it into pdf, a
 window appears that states LaTeX Error: no \title given.
 How can I solve this problem?
 Attached there is an example

It seems that you have added a Data (Date?) environment in your
document. Title, Date and Author are considered as part of a title and
LaTeX complains that this title is not complete.

JMarc


Re: Errors with AMS documentclass

2007-11-26 Thread Antonio José Guirao Sánchez
We were speaking about that some emails before. You have just to go to
wiki.lyx.org and download the last version of ams layouts. This works fine.

Wang Yongqiao escribió:
 I am writing a book with AMS book document.When I convert it to dvi or 
 pdf, the following erros are found:

 LaTeX Error: No counter 'thm' defined.
 LaTeX Error: No counter 'thm' defined.
 LaTeX Error: Environment defn undefined.
 LaTeX Error: \begin{document} ended by \end{defn}.

 Can you tell how to handle this problem?  

 Wang Yongqiao
 [EMAIL PROTECTED]
   2007-11-26
   

-- 
Antonio J. Guirao Sánchez.
Universidad de Murcia.
Grupo: Análisis Funcional.
Facultad de Matemáticas, Campus de Espinardo.
Telephone: (+34) 968 363 666
   (+34) 627 265 491 
E-30100 Murcia (SPAIN)



Re: Errors with AMS documentclass

2007-11-26 Thread Paul A. Rubin
Antonio José Guirao Sánchez wrote:
 We were speaking about that some emails before. You have just to go to
 wiki.lyx.org and download the last version of ams layouts. This works fine.
 
 Wang Yongqiao escribió:
 I am writing a book with AMS book document.When I convert it to dvi or 
 pdf, the following erros are found:

 LaTeX Error: No counter 'thm' defined.
 LaTeX Error: No counter 'thm' defined.
 LaTeX Error: Environment defn undefined.
 LaTeX Error: \begin{document} ended by \end{defn}.


I've been told this is fixed in the next version.

/Paul



Re: Live Latex Editing

2007-11-26 Thread Richard Heck

G. Milde wrote:
This sort of request is quite commonly made, and it's been on the 
developers' radar, more or less, for a while. Obviously, the View Source 
preview is a step in this direction. But, as Andre remarked, it's 
non-trivial to get this right, and the number of people who would use it 
seems small. In any event, no one has stepped up to do the work needed to 
implement it. Anyone who wants to do so is of course welcome!



Actually, I'd prefer to do the source file editing in my favourite text
editor (where I know the advanced keybindings and can easily programm
plug-ins).

Unfortunately, currently to do things like replacing by regular
expression or replacing in math or change of box-type etc. I have to:

[snip]

What I'd like to see (and what IMO should be relatively easy) is 


a) a LyX command that (saves the current document and) opens the source
   file with a command that can be defined in the settings dialogue
   (defaulting to the content of the EDITOR environment variable in
   unix).
  
This is do-able now. Just add your favorite editor as the Viewer for 
LyX files in ToolsPreferencesFile Formats, and check the Document 
Format box. Easier than the other thing you mentioned.
  
b) a reloading command that is aware of the possibility that the version
   on disk is more recent than the opon one, e.g. 
   
   FileRevert to Saved  ==FileReload, with the warning
   
  All changes since the last save will be lost. 
  Are you sure you want to reload the document from 
  ...path to file
  
  [Reload]  [Cancel]
   
  
This seems like a pretty minor change. If you're brave enough to edit 
the LyX file natively, then you're brave enough for the existing warning.


Richard

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



Bob Lounsbury: Problem with tocbibind package

2007-11-26 Thread S . Chen
Hi Bob,

I installed the tocbibind package you mentioned in Stuwelly's Thesis Issues
posted in 18 Nov and came across a problem.

I'm using a book class. As mentioned in the manual for book class it uses the
\chapter* heading style. However, when I tried to view postscript, there was an
error said: Can be used only in preamble. And, there isn't a preamble
environment in book class.

Do anyone have the solution, please? Thanks very much!




Re: Bob Lounsbury: Problem with tocbibind package

2007-11-26 Thread S . Chen
Sorry, I know what's going on now. It's solved






Re: APA Style reference with url and lastchecked field does not show "Retrieved ..."

2007-11-26 Thread Roberto Gorjão

Olá Mirko,

As I do not see it as a fault, rather as a feature, I have not tried to 
change it and I don't know how to do it. Maybe someone else can answer 
this to you.


Cumprimentos,

Roberto

-
Mirko Briemle wrote:

Hi Roberto,

I finally got my url retrieved references worked out. I have one more question.
I am using the \usepackage{url} in my preamble to brake urls well, but the urls
are then displayed in a different font. Can I make the font of the urls appear
the same?

Best,
Mirko

  


Re: Getting errors with microtype

2007-11-26 Thread Jürgen Spitzmüller
Paul Smith wrote:
> How can one update pdfeTeX to a newer version? I am using Fedora Linux 7.

Updating pdftex manually is a pain and difficult to get right. You should try 
to update the TeX distribution (either look if there is some updated Fedora 
package or, even better, migrate to TeXLive 2007).

Jürgen


LaTeX Error: no \title given

2007-11-26 Thread Emanuele Osimo
Hello,
I'm a mac Lyx user with no experience.
Every time I write a document and then try to export it into pdf, a
window appears that states "LaTeX Error: no \title given".
How can I solve this problem?
Attached there is an example

Thanks
E. Osimo
<>

Re: font embedding

2007-11-26 Thread Nicolás

Don't know if the following is of any help, but just in case.

I had recently a problem with embedding fonts in the pdf generated by LyX. In my case, all fonts in the document body where correctly 
embedded. However, fonts inside EPS files where not embedded. I did not managed to configure LyX in such a way that the generated pdf 
contained all fonts embedded. Since embedding fonts will be normally desired only for the final version of a document (while working on 
the document I do not mind), my solution was an easy one: genarate a .ps file from LyX for the final version and use GSView to convert 
into pdf. For the ps to pdf conversion I used -dSubsetFonts=true and -dEmbedAllFonts=true. I also found necessary to set 
-pdfsettings=/prepress


Cheers,
Nicolás

Paul A. Rubin wrote:

Alexander Sklar wrote:
 


How do I make sure all the fonts in my pdf generated by LyX has all the
necessary fonts embedded and subset?


Good idea.  I was at a conference a couple of weeks ago where close to 
1/3 of the presenters used Beamer (I had no idea it was that popular 
here in the States), and at least one of them ran into a problem with 
missing fonts that caused his math formulas to evaporate.  (Consolation: 
 a similar problem afflicted close to half the people using 
Powerpoint.)  I suspect this was due to borrowing the first presenter's 
laptop.


(I guess the trick would be to pass -dSubsetFonts=true 
-dEmbedAllFonts=true

to ps2pdf but how do I do that from LyX?)



DISCLAIMER:  I have not tried this myself (I use pdflatex, and seem to 
get lucky with the fonts).


Go to Tools -> Preferences -> Converters, highlight "Postscript -> PDF 
(ps2pdf)", type the options you want into the "Extra flag" field, then 
click Modify and Save.  You may have to exit and restart LyX to have it 
take effect (I'm not sure).


HTH,
Paul






Re: Live Latex Editing

2007-11-26 Thread G. Milde
On 24.11.07, Richard Heck wrote:
> Ryan Cross wrote:
>> [EMAIL PROTECTED]> wrote:
>>> On Sun, Nov 25, 2007 at 10:26:26AM +1100, Ryan Cross wrote:

>> I think this feature could be solved by actually doing a preview/edit
>> of the actual Lyx file format and not the LaTeX. Most of the edits I
>> want to do could probably be done by editing the Lyx file format. 
...

> This sort of request is quite commonly made, and it's been on the 
> developers' radar, more or less, for a while. Obviously, the View Source 
> preview is a step in this direction. But, as Andre remarked, it's 
> non-trivial to get this right, and the number of people who would use it 
> seems small. In any event, no one has stepped up to do the work needed to 
> implement it. Anyone who wants to do so is of course welcome!

Actually, I'd prefer to do the source file editing in my favourite text
editor (where I know the advanced keybindings and can easily programm
plug-ins).

Unfortunately, currently to do things like replacing by regular
expression or replacing in math or change of box-type etc. I have to:

1. save the lyx document
2. open my favourite text editor
3. search for the lyx document file and open it in the editor
4. do the changes on the lyx source and save them
5. Re-open the document in LyX with "> to Saved"
6. Be very brave: A warning opens, that says: 

  Any changes will be lost. Are you sure you want to
  revert to the saved version 
  of the document ...
  
  [Revert]  [Cancel]
  
   however, my last (external) changes will only be permanent if I defy
   this warning and go ahead to Revert.
   
What I'd like to see (and what IMO should be relatively easy) is 

a) a LyX command that (saves the current document and) opens the source
   file with a command that can be defined in the settings dialogue
   (defaulting to the content of the EDITOR environment variable in
   unix).
   
b) a reloading command that is aware of the possibility that the version
   on disk is more recent than the opon one, e.g. 
   
   "> to Saved  ==>">, with the warning
   
  All changes since the last save will be lost. 
  Are you sure you want to reload the document from 
  ...
  
  [Reload]  [Cancel]
   
  
Actually, I can already set an "Editor" command for the LyX file format
in the Tools>Preferences>File format tab and after that

  M-x buffer-view lyx

will take over steps 1-3 in the above list.

Now I only need a way to insert "buffer-view lyx" into the menu, e.g. as
'Edit>Edit LyX source'. (Is there an analogon to the "\bind_file" command
in the bind files for ui files or do I need to copy and change the
complete definition set?)


Günter



Re: LaTeX Error: no \title given

2007-11-26 Thread G. Milde
On 26.11.07, Emanuele Osimo wrote:
> I'm a mac Lyx user with no experience.
> Every time I write a document and then try to export it into pdf, a
> window appears that states "LaTeX Error: no \title given".
> How can I solve this problem?
> Attached there is an example

It looks like you have in your document a paragraph in a style that creates
a title page (or title block). You can try

* to add a title, or 
* find out which paragraph needs to be removed or get a different style if
  you do not want a title.

It would be helpfull to have a minimal lyx file that exhibits this
behaviour as attachment.

Guenter


Errors with AMS documentclass

2007-11-26 Thread Wang Yongqiao
I am writing a book with AMS book document.When I convert it to dvi or pdf, 
the following erros are found:

LaTeX Error: No counter 'thm' defined.
LaTeX Error: No counter 'thm' defined.
LaTeX Error: Environment defn undefined.
LaTeX Error: \begin{document} ended by \end{defn}.

Can you tell how to handle this problem?

Wang Yongqiao
[EMAIL PROTECTED]
  2007-11-26


Re: LaTeX Error: no \title given

2007-11-26 Thread Jean-Marc Lasgouttes
"Emanuele Osimo" <[EMAIL PROTECTED]> writes:

> Hello,
> I'm a mac Lyx user with no experience.
> Every time I write a document and then try to export it into pdf, a
> window appears that states "LaTeX Error: no \title given".
> How can I solve this problem?
> Attached there is an example

It seems that you have added a Data (Date?) environment in your
document. Title, Date and Author are considered as part of a title and
LaTeX complains that this title is not complete.

JMarc


Re: Errors with AMS documentclass

2007-11-26 Thread Antonio José Guirao Sánchez
We were speaking about that some emails before. You have just to go to
wiki.lyx.org and download the last version of ams layouts. This works fine.

Wang Yongqiao escribió:
> I am writing a book with AMS book document.When I convert it to dvi or 
> pdf, the following erros are found:
>
> LaTeX Error: No counter 'thm' defined.
> LaTeX Error: No counter 'thm' defined.
> LaTeX Error: Environment defn undefined.
> LaTeX Error: \begin{document} ended by \end{defn}.
>
> Can you tell how to handle this problem?  
>
> Wang Yongqiao
> [EMAIL PROTECTED]
>   2007-11-26
>   

-- 
Antonio J. Guirao Sánchez.
Universidad de Murcia.
Grupo: Análisis Funcional.
Facultad de Matemáticas, Campus de Espinardo.
Telephone: (+34) 968 363 666
   (+34) 627 265 491 
E-30100 Murcia (SPAIN)



Re: Errors with AMS documentclass

2007-11-26 Thread Paul A. Rubin
Antonio José Guirao Sánchez wrote:
> We were speaking about that some emails before. You have just to go to
> wiki.lyx.org and download the last version of ams layouts. This works fine.
> 
> Wang Yongqiao escribió:
>> I am writing a book with AMS book document.When I convert it to dvi or 
>> pdf, the following erros are found:
>>
>> LaTeX Error: No counter 'thm' defined.
>> LaTeX Error: No counter 'thm' defined.
>> LaTeX Error: Environment defn undefined.
>> LaTeX Error: \begin{document} ended by \end{defn}.
>>

I've been told this is fixed in the next version.

/Paul



Re: Live Latex Editing

2007-11-26 Thread Richard Heck

G. Milde wrote:
This sort of request is quite commonly made, and it's been on the 
developers' radar, more or less, for a while. Obviously, the View Source 
preview is a step in this direction. But, as Andre remarked, it's 
non-trivial to get this right, and the number of people who would use it 
seems small. In any event, no one has stepped up to do the work needed to 
implement it. Anyone who wants to do so is of course welcome!



Actually, I'd prefer to do the source file editing in my favourite text
editor (where I know the advanced keybindings and can easily programm
plug-ins).

Unfortunately, currently to do things like replacing by regular
expression or replacing in math or change of box-type etc. I have to:

[snip]

What I'd like to see (and what IMO should be relatively easy) is 


a) a LyX command that (saves the current document and) opens the source
   file with a command that can be defined in the settings dialogue
   (defaulting to the content of the EDITOR environment variable in
   unix).
  
This is do-able now. Just add your favorite editor as the "Viewer" for 
LyX files in Tools>Preferences>File Formats, and check the "Document 
Format" box. Easier than the other thing you mentioned.
  
b) a reloading command that is aware of the possibility that the version
   on disk is more recent than the opon one, e.g. 
   
   "> to Saved  ==>">, with the warning
   
  All changes since the last save will be lost. 
  Are you sure you want to reload the document from 
  ...
  
  [Reload]  [Cancel]
   
  
This seems like a pretty minor change. If you're brave enough to edit 
the LyX file natively, then you're brave enough for the existing warning.


Richard

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



Bob Lounsbury: Problem with tocbibind package

2007-11-26 Thread S . Chen
Hi Bob,

I installed the tocbibind package you mentioned in Stuwelly's "Thesis Issues"
posted in 18 Nov and came across a problem.

I'm using a book class. As mentioned in the manual for book class it uses the
\chapter* heading style. However, when I tried to view postscript, there was an
error said: Can be used only in preamble. And, there isn't a preamble
environment in book class.

Do anyone have the solution, please? Thanks very much!




Re: Bob Lounsbury: Problem with tocbibind package

2007-11-26 Thread S . Chen
Sorry, I know what's going on now. It's solved