How to insert a bibliography right after the end of every chapter??

2008-09-20 Thread wangyq
Currently I am writing a new book.  I hope that all chapters have their own 
bibliography, i.e. I want insert a bibliography right after the end of every 
chapter. But the bibliography are inserted with a new page. That's not I want.
How to insert  the bibliography without new page?
Many thanks!  



2008-09-20 



wangyq 


Re: How to save into the document dir instead that into /tmp/ ?

2008-09-20 Thread mario m
Hi,

thanks for your replies.

On Fri, 2008-09-19 at 18:12 +0200, Siegfried MEUNIER-GUTTIN-CLUZEL
wrote:
 You can change the temp directory to point to your working directory (
 Tools - preferences - Directories ).
 Is it what you want ?

Not exactly. Say I am working on three different documents, which are in
three different directories. I would like that related files are created
within their respective directories. 
It was so by default when I started to use Lyx on the older 1.4 version.

thks mario



--
Nota di riservatezza:
Il presente messaggio, corredato dei relativi allegati contiene
informazioni da considerarsi strettamente riservate, ed è destinato
esclusivamente al destinatario sopra indicato, il quale è l'unico
autorizzato ad usarlo, copiarlo e, sotto la propria responsabilità,
diffonderlo. Chiunque ricevesse questo messaggio per errore o comunque lo
leggesse senza esserne legittimato è avvertito che trattenerlo, copiarlo,
divulgarlo, distribuirlo a persone diverse dal destinatario è
severamente proibito, ed è pregato di rinviarlo immediatamente al mittente
distruggendo l'originale.

Confidentiality Notice:
This message, together with its annexes, contains information to be
deemed strictly confidential and is destined only to the addressee(s)
identified above who only may use, copy and, under his/their
responsibility, further disseminate it. If anyone received this message
by mistake or reads it without entitlement is forewarned that keeping,
copying, disseminating or distributing this message to persons other than
the addressee(s) is strictly forbidden and is asked to transmit it
immediately to the sender and to erase the original message received.
--



Re: Syntax highlighting

2008-09-20 Thread Paul A. Rubin

Jef Patat wrote:



I'm sorry, I forgot to mention that I know I can do highlighting with
Insert-Program Listing.  But I would like coloured syntax.



The listings package uses multiple keywords to control various colors 
(background, keywords, comments, ...), which you will need to set.  So:


1.  Add something to load your favorite color package (most likely 
color.sty or xcolor.sty) to the preamble.  LyX (at least as of version 
1.5.6) does not do this automatically unless something else in the 
document triggers it.  For instance, you can say 
\usepackage[svgnames]{xcolor}, which gives you access to the svgnames 
palette of colors.


2.  Right click the gray (or is it 'gray' for a color and 'grey' for a 
colour?) handle of the listings inset.  Select the language on the Main 
Settings tab, then switch to the Advanced tab.  You can type a question 
mark (?) in the box to get a list of known parameters.  Type in your 
choices in the format key=value.  You can find the relevant parameters 
in the documentation for the listings package.  LyX is fairly smart 
about adding braces as needed if you just type one entry per line, and 
as you type parameter names it will show you a list of possible 
completions on the left (but, AFAIK, won't auto-complete for you, at 
least as of version 1.5.6).  For example (using svgnames)


commentstyle=\color{DarkGreen}
keywordstyle=\color(Blue}

does exactly what you would expect.  Note that you can fiddle with other 
style attributes (such as putting keywords in italics) as well.


HTH,
Paul



I killed Latex, ¡help me, please!

2008-09-20 Thread Marcelo Acuña
Hello,
 I update several packages that in texlive provided for opensuse 11.0 are very 
old.
 When I finished and run texhash lyx (and kile) no run anymore.
 I get:
 Undefinid control sequence
 Missing \begin{document}
 Undefinid control sequence
 Missing \begin{document}

 How I can restore latex work without reverse to obsolete version of texlive 
provided for opensuse?

 Regards

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


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


1.6.0 rc2 two problems in my computer

2008-09-20 Thread Marcelo Acuña
 hello,
  I have opensus 11.0 and kde 3.5. I work with spanish
 keyboard.
  1) I can´t get : wiht lyx, instead other character
 appears.
  2) I can´t get scroll when I make a selection and I try
 to go more down putting the mouse pointer at the bottom of
 screen.
 
  Regards
 Marcelo



  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: I killed Latex, ¡help me, please!

2008-09-20 Thread rgheck

Marcelo Acuña wrote:

Hello,
 I update several packages that in texlive provided for opensuse 11.0 are very 
old.

  
This is why it can be dangerous to upgrade packages. In future, do them 
one at a time. And the safest way to do this is not to overwrite the 
older packages but to install the new ones in your local tree. Look at 
the file texmf.cnf to see exactly where this is, but in my system the 
main TeX directory is at /usr/share/texmf/; the local TeX directory is 
at /usr/local/share/texmf/; and my personal directory is at ~/texmf/. So 
check this out:

[EMAIL PROTECTED] ~]$ ls ~/texmf/tex/latex/misc/
2in1.sty  braket.sty  godelnum.sty  outlines  qwertz.sty
[EMAIL PROTECTED] ~]$ ls /usr/share/texmf/tex/latex/misc/
dvipost.sty  linuxdoc-sgml.stynull.sty
envlab   linuxdoctr-sgml.sty  qwertz.sty
[EMAIL PROTECTED] ~]$ kpsewhich qwertz.sty
/home/rgheck/texmf/tex/latex/misc/qwertz.sty
Note how TeX automatically uses the package in my USER directory. It'd 
use the local one before the system one, as well. And now if you have a 
problem, you can just delete (or temporarily move) the newer packages.



 When I finished and run texhash lyx (and kile) no run anymore.
 I get:
 Undefinid control sequence
 Missing \begin{document}
 Undefinid control sequence
 Missing \begin{document}

 How I can restore latex work without reverse to obsolete version of texlive 
provided for opensuse?

  
Obviously, you have to restore whatever packages you changed. I'd guess 
the simplest thing is just to reinstall texlive---the obsolete 
version. But it's not really obsolete. Just some of the packages are 
old. Then you can try---if you dare---installing the newer packages.


Richard



Re: How to insert a bibliography right after the end of every chapter??

2008-09-20 Thread rgheck

wangyq wrote:

Currently I am writing a new book.  I hope that all chapters have their own 
bibliography, i.e. I want insert a bibliography right after the end of every 
chapter. But the bibliography are inserted with a new page. That's not I want.
How to insert  the bibliography without new page?
Many thanks!  

  
This is what the sectioned bibliography button is for. See section 
3.1.2 of the Extended Features manual.


rh



How to insert a bibliography right after the end of every chapter??

2008-09-20 Thread wangyq
Currently I am writing a new book.  I hope that all chapters have their own 
bibliography, i.e. I want insert a bibliography right after the end of every 
chapter. But the bibliography are inserted with a new page. That's not I want.
How to insert  the bibliography without new page?
Many thanks!  



2008-09-20 



wangyq 


Re: How to save into the document dir instead that into /tmp/ ?

2008-09-20 Thread mario m
Hi,

thanks for your replies.

On Fri, 2008-09-19 at 18:12 +0200, Siegfried MEUNIER-GUTTIN-CLUZEL
wrote:
 You can change the temp directory to point to your working directory (
 Tools - preferences - Directories ).
 Is it what you want ?

Not exactly. Say I am working on three different documents, which are in
three different directories. I would like that related files are created
within their respective directories. 
It was so by default when I started to use Lyx on the older 1.4 version.

thks mario



--
Nota di riservatezza:
Il presente messaggio, corredato dei relativi allegati contiene
informazioni da considerarsi strettamente riservate, ed è destinato
esclusivamente al destinatario sopra indicato, il quale è l'unico
autorizzato ad usarlo, copiarlo e, sotto la propria responsabilità,
diffonderlo. Chiunque ricevesse questo messaggio per errore o comunque lo
leggesse senza esserne legittimato è avvertito che trattenerlo, copiarlo,
divulgarlo, distribuirlo a persone diverse dal destinatario è
severamente proibito, ed è pregato di rinviarlo immediatamente al mittente
distruggendo l'originale.

Confidentiality Notice:
This message, together with its annexes, contains information to be
deemed strictly confidential and is destined only to the addressee(s)
identified above who only may use, copy and, under his/their
responsibility, further disseminate it. If anyone received this message
by mistake or reads it without entitlement is forewarned that keeping,
copying, disseminating or distributing this message to persons other than
the addressee(s) is strictly forbidden and is asked to transmit it
immediately to the sender and to erase the original message received.
--



Re: Syntax highlighting

2008-09-20 Thread Paul A. Rubin

Jef Patat wrote:



I'm sorry, I forgot to mention that I know I can do highlighting with
Insert-Program Listing.  But I would like coloured syntax.



The listings package uses multiple keywords to control various colors 
(background, keywords, comments, ...), which you will need to set.  So:


1.  Add something to load your favorite color package (most likely 
color.sty or xcolor.sty) to the preamble.  LyX (at least as of version 
1.5.6) does not do this automatically unless something else in the 
document triggers it.  For instance, you can say 
\usepackage[svgnames]{xcolor}, which gives you access to the svgnames 
palette of colors.


2.  Right click the gray (or is it 'gray' for a color and 'grey' for a 
colour?) handle of the listings inset.  Select the language on the Main 
Settings tab, then switch to the Advanced tab.  You can type a question 
mark (?) in the box to get a list of known parameters.  Type in your 
choices in the format key=value.  You can find the relevant parameters 
in the documentation for the listings package.  LyX is fairly smart 
about adding braces as needed if you just type one entry per line, and 
as you type parameter names it will show you a list of possible 
completions on the left (but, AFAIK, won't auto-complete for you, at 
least as of version 1.5.6).  For example (using svgnames)


commentstyle=\color{DarkGreen}
keywordstyle=\color(Blue}

does exactly what you would expect.  Note that you can fiddle with other 
style attributes (such as putting keywords in italics) as well.


HTH,
Paul



I killed Latex, ¡help me, please!

2008-09-20 Thread Marcelo Acuña
Hello,
 I update several packages that in texlive provided for opensuse 11.0 are very 
old.
 When I finished and run texhash lyx (and kile) no run anymore.
 I get:
 Undefinid control sequence
 Missing \begin{document}
 Undefinid control sequence
 Missing \begin{document}

 How I can restore latex work without reverse to obsolete version of texlive 
provided for opensuse?

 Regards

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


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


1.6.0 rc2 two problems in my computer

2008-09-20 Thread Marcelo Acuña
 hello,
  I have opensus 11.0 and kde 3.5. I work with spanish
 keyboard.
  1) I can´t get : wiht lyx, instead other character
 appears.
  2) I can´t get scroll when I make a selection and I try
 to go more down putting the mouse pointer at the bottom of
 screen.
 
  Regards
 Marcelo



  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: I killed Latex, ¡help me, please!

2008-09-20 Thread rgheck

Marcelo Acuña wrote:

Hello,
 I update several packages that in texlive provided for opensuse 11.0 are very 
old.

  
This is why it can be dangerous to upgrade packages. In future, do them 
one at a time. And the safest way to do this is not to overwrite the 
older packages but to install the new ones in your local tree. Look at 
the file texmf.cnf to see exactly where this is, but in my system the 
main TeX directory is at /usr/share/texmf/; the local TeX directory is 
at /usr/local/share/texmf/; and my personal directory is at ~/texmf/. So 
check this out:

[EMAIL PROTECTED] ~]$ ls ~/texmf/tex/latex/misc/
2in1.sty  braket.sty  godelnum.sty  outlines  qwertz.sty
[EMAIL PROTECTED] ~]$ ls /usr/share/texmf/tex/latex/misc/
dvipost.sty  linuxdoc-sgml.stynull.sty
envlab   linuxdoctr-sgml.sty  qwertz.sty
[EMAIL PROTECTED] ~]$ kpsewhich qwertz.sty
/home/rgheck/texmf/tex/latex/misc/qwertz.sty
Note how TeX automatically uses the package in my USER directory. It'd 
use the local one before the system one, as well. And now if you have a 
problem, you can just delete (or temporarily move) the newer packages.



 When I finished and run texhash lyx (and kile) no run anymore.
 I get:
 Undefinid control sequence
 Missing \begin{document}
 Undefinid control sequence
 Missing \begin{document}

 How I can restore latex work without reverse to obsolete version of texlive 
provided for opensuse?

  
Obviously, you have to restore whatever packages you changed. I'd guess 
the simplest thing is just to reinstall texlive---the obsolete 
version. But it's not really obsolete. Just some of the packages are 
old. Then you can try---if you dare---installing the newer packages.


Richard



Re: How to insert a bibliography right after the end of every chapter??

2008-09-20 Thread rgheck

wangyq wrote:

Currently I am writing a new book.  I hope that all chapters have their own 
bibliography, i.e. I want insert a bibliography right after the end of every 
chapter. But the bibliography are inserted with a new page. That's not I want.
How to insert  the bibliography without new page?
Many thanks!  

  
This is what the sectioned bibliography button is for. See section 
3.1.2 of the Extended Features manual.


rh



How to insert a bibliography right after the end of every chapter??

2008-09-20 Thread wangyq
Currently I am writing a new book.  I hope that all chapters have their own 
bibliography, i.e. I want insert a bibliography right after the end of every 
chapter. But the bibliography are inserted with a new page. That's not I want.
How to insert  the bibliography without new page?
Many thanks!  



2008-09-20 



wangyq 


Re: How to save into the document dir instead that into /tmp/ ?

2008-09-20 Thread mario m
Hi,

thanks for your replies.

On Fri, 2008-09-19 at 18:12 +0200, Siegfried MEUNIER-GUTTIN-CLUZEL
wrote:
> You can change the temp directory to point to your working directory (
> Tools -> preferences -> Directories ).
> Is it what you want ?

Not exactly. Say I am working on three different documents, which are in
three different directories. I would like that related files are created
within their respective directories. 
It was so by default when I started to use Lyx on the older 1.4 version.

thks mario



--
Nota di riservatezza:
Il presente messaggio, corredato dei relativi allegati contiene
informazioni da considerarsi strettamente riservate, ed è destinato
esclusivamente al destinatario sopra indicato, il quale è l'unico
autorizzato ad usarlo, copiarlo e, sotto la propria responsabilità,
diffonderlo. Chiunque ricevesse questo messaggio per errore o comunque lo
leggesse senza esserne legittimato è avvertito che trattenerlo, copiarlo,
divulgarlo, distribuirlo a persone diverse dal destinatario è
severamente proibito, ed è pregato di rinviarlo immediatamente al mittente
distruggendo l'originale.

Confidentiality Notice:
This message, together with its annexes, contains information to be
deemed strictly confidential and is destined only to the addressee(s)
identified above who only may use, copy and, under his/their
responsibility, further disseminate it. If anyone received this message
by mistake or reads it without entitlement is forewarned that keeping,
copying, disseminating or distributing this message to persons other than
the addressee(s) is strictly forbidden and is asked to transmit it
immediately to the sender and to erase the original message received.
--



Re: Syntax highlighting

2008-09-20 Thread Paul A. Rubin

Jef Patat wrote:



I'm sorry, I forgot to mention that I know I can do highlighting with
Insert->Program Listing.  But I would like coloured syntax.



The listings package uses multiple keywords to control various colors 
(background, keywords, comments, ...), which you will need to set.  So:


1.  Add something to load your favorite color package (most likely 
color.sty or xcolor.sty) to the preamble.  LyX (at least as of version 
1.5.6) does not do this automatically unless something else in the 
document triggers it.  For instance, you can say 
\usepackage[svgnames]{xcolor}, which gives you access to the svgnames 
palette of colors.


2.  Right click the gray (or is it 'gray' for a color and 'grey' for a 
colour?) handle of the listings inset.  Select the language on the Main 
Settings tab, then switch to the Advanced tab.  You can type a question 
mark (?) in the box to get a list of known parameters.  Type in your 
choices in the format key=value.  You can find the relevant parameters 
in the documentation for the listings package.  LyX is fairly smart 
about adding braces as needed if you just type one entry per line, and 
as you type parameter names it will show you a list of possible 
completions on the left (but, AFAIK, won't auto-complete for you, at 
least as of version 1.5.6).  For example (using svgnames)


commentstyle=\color{DarkGreen}
keywordstyle=\color(Blue}

does exactly what you would expect.  Note that you can fiddle with other 
style attributes (such as putting keywords in italics) as well.


HTH,
Paul



I killed Latex, ¡help me, please!

2008-09-20 Thread Marcelo Acuña
Hello,
 I update several packages that in texlive provided for opensuse 11.0 are very 
old.
 When I finished and run texhash lyx (and kile) no run anymore.
 I get:
 Undefinid control sequence
 Missing \begin{document}
 Undefinid control sequence
 Missing \begin{document}

 How I can restore latex work without reverse to obsolete version of texlive 
provided for opensuse?

 Regards

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


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


1.6.0 rc2 two problems in my computer

2008-09-20 Thread Marcelo Acuña
 hello,
  I have opensus 11.0 and kde 3.5. I work with spanish
 keyboard.
  1) I can´t get : wiht lyx, instead other character
 appears.
  2) I can´t get scroll when I make a selection and I try
 to go more down putting the mouse pointer at the bottom of
 screen.
 
  Regards
 Marcelo



  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: I killed Latex, ¡help me, please!

2008-09-20 Thread rgheck

Marcelo Acuña wrote:

Hello,
 I update several packages that in texlive provided for opensuse 11.0 are very 
old.

  
This is why it can be dangerous to upgrade packages. In future, do them 
one at a time. And the safest way to do this is not to overwrite the 
older packages but to install the new ones in your local tree. Look at 
the file texmf.cnf to see exactly where this is, but in my system the 
main TeX directory is at /usr/share/texmf/; the "local" TeX directory is 
at /usr/local/share/texmf/; and my personal directory is at ~/texmf/. So 
check this out:

[EMAIL PROTECTED] ~]$ ls ~/texmf/tex/latex/misc/
2in1.sty  braket.sty  godelnum.sty  outlines  qwertz.sty
[EMAIL PROTECTED] ~]$ ls /usr/share/texmf/tex/latex/misc/
dvipost.sty  linuxdoc-sgml.stynull.sty
envlab   linuxdoctr-sgml.sty  qwertz.sty
[EMAIL PROTECTED] ~]$ kpsewhich qwertz.sty
/home/rgheck/texmf/tex/latex/misc/qwertz.sty
Note how TeX automatically uses the package in my USER directory. It'd 
use the local one before the system one, as well. And now if you have a 
problem, you can just delete (or temporarily move) the newer packages.



 When I finished and run texhash lyx (and kile) no run anymore.
 I get:
 Undefinid control sequence
 Missing \begin{document}
 Undefinid control sequence
 Missing \begin{document}

 How I can restore latex work without reverse to obsolete version of texlive 
provided for opensuse?

  
Obviously, you have to restore whatever packages you changed. I'd guess 
the simplest thing is just to reinstall texlive---the "obsolete" 
version. But it's not really obsolete. Just some of the packages are 
old. Then you can try---if you dare---installing the newer packages.


Richard



Re: How to insert a bibliography right after the end of every chapter??

2008-09-20 Thread rgheck

wangyq wrote:

Currently I am writing a new book.  I hope that all chapters have their own 
bibliography, i.e. I want insert a bibliography right after the end of every 
chapter. But the bibliography are inserted with a new page. That's not I want.
How to insert  the bibliography without new page?
Many thanks!  

  
This is what the "sectioned bibliography" button is for. See section 
3.1.2 of the Extended Features manual.


rh