Re: Change \contentsname in Book(KOMA-Script)

2009-10-24 Thread Waluyo Adi Siswanto
Eventually I can solve it myself. Should consider the babel macro
\captionslanguage

In LaTeX preamble:
\AtBeginDocument{%
\addto\captionsenglish{%
\renewcommand\contentsname{Table of Contents}
}
}

Regards
WAS



2009/10/24 Waluyo Adi Siswanto :
> I would like to change the \contentsname in Book(KOMA-Script)
> I tried to insert in the LaTeX preamble (Document>Settings)
>
> \renewcommand{\contentsname}{Newname}
>
> also
> \AtBeginDocument{\renewcommand{\contentsname}{Newname}}
>
> Both did not work.
> It works if I insert the LaTeX command (the first one) in the
> document, but it does not look clean.
>
> Thanks
> WAS
>



-- 
Waluyo Adi Siswanto, PhD
Dept. Engineering Mechanics
Univ. Tun Hussein Onn Malaysia (UTHM)
http://www.uthm.edu.my


Re: Beamer problem with LyX

2009-10-24 Thread Paul A. Rubin

Pierfranco Minsenti wrote:

Hi all,

I have done a presentation using the beamer class with LyX and the result
was fine.
But after some modifications (such as moving some slides, inserting new ones
etc.) now I am unable to obtain a PDF as I could before.
It appears an error message which says:

Missing $ inserted.

\lyxframeend
   {}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.


Undefined control sequence.

 \lyxframeend
   {}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Missing \endgroup inserted.
Missing \endgroup inserted.
Missing \endgroup inserted.

 \lyxframeend
   {}
I've inserted something that you may have forgotten.
(See the  above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.


I have checked the file: every slides begins correctly with its own Frame
title and the red rule which closes the slides.

Is there anyone who could help me with fixing this problem?

Thank you very much in advance for your cooperation.

Pierfranco



You may have something improperly nested (for instance, a BeginFrame 
that looks correct may be actually be nested under something else).  If 
you can't spot something like that, try a bisection search.  Cut out the 
second half of the slides (roughly), leaving in the final EndFrame, and 
see if it compiles.  If yes, put back half what you cut; if no, cut half 
what you kept.  Iterate until you home in on the culprit.


/Paul



Re: hide bibliography section?

2009-10-24 Thread Stefano Franchi
Do you use biblatex or standard bibtex for your references?

If the former, simply omit the /printbibliography command at the end of the 
document.

If the latter, put the Lyx-inserted bibliography inset at the end of the 
document into a Lyx-note inset (to keep access to refs through the citation 
dialogue) and add, in ERT,
/nobibliography{/path/to/your/bib/file}


S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A&M University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: generating {|} in math mode

2009-10-24 Thread Enrico Forestieri
Micha Feigin writes:
> 
> how do I generate a group definition such as
> { x | x > 0 }
> with variable height braces? I can create the outside braces using left\{
> and right\} (or matching braces from the braces menu) but the central one
> doesn't fit it, and if I add a | with a matching empty left or right
> element the sizes don't match

If you have a recent TeX engine, \middle| should do what you want.
LyX doesn't support it yet, so you will simply see \middle in red,
but it will work on output.

-- 
Enrico



hide bibliography section?

2009-10-24 Thread Liviu Andronic
Hello
Is there a way to hide the bibliography? I am currently working on a
the summary to my thesis, and I would like to cite some works but at
the same time avoid a bibliography section in the document (which
would be useless since all the references are in the thesis, and both
documents will be available to the reader).

Currently I am writing the works in plain text, but I would prefer to
do it the LyX way, via the citation dialogue. So, is it possible to
insert citations in the document but still avoid having a bibliography
section?

Thank you
Liviu



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: something wrong with biblatex

2009-10-24 Thread sara teinturier

Stefano Franchi
Sat, 24 Oct 2009 13:21:04 -0700

Your file works fine here, once I create a bib file nouvelle_biblio.bib and 
put it in the right place.


What does your Latex log say?




Thanks for your answer! Indeed, there are some "warning" in the Latex log, but 
I don't understand what I have to do with them. The log file is attached...
Thanks!
S.

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2009.6.3)  24 OCT 2009 23:19
entering extended mode
 %&-line parsing enabled.
**essai_biblio.tex
(./essai_biblio.tex
LaTeX2e <2005/12/01>
Babel  and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon
ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i
nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia
n, swedish, ukenglish, pinyin, loaded.

(/usr/share/texmf-texlive/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2006/07/30 v2.95b KOMA-Script document class (book)
(/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2006/07/30 v2.95b KOMA-Script package (basics and keyval use)

(/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2006/03/28 v2.95 KOMA-Script package (loading files)
Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
  Copyright (C) Markus Kohm

) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\...@toks@=\toks14
))
Package scrkbase Info: You've used the obsolete option `oneside'.
(scrkbase) \KOMAoptions{twoside=false} will be used instead.
(scrkbase) You should do this change too on input line 628.
(/usr/share/texmf-texlive/tex/latex/base/bk11.clo
File: bk11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
) (/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty
Package: typearea 2006/07/30 v2.95b KOMA-Script package (type area)
Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
  Copyright (C) Frank Neukam, 1992-1994
  Copyright (C) Markus Kohm, 1994-2002

\...@bcor=\skip41
\...@div=\count79
\...@hblk=\skip42
\...@vblk=\skip43
\...@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV-departure   = -6/100
(typearea)  \evensidemargin = 17.3562pt
(typearea)  \oddsidemargin  = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 595.80026pt
(typearea)  \topmargin  = -25.16531pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.60002pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 832.
)
\...@part=\count80
\...@chapter=\count81
\...@section=\count82
\...@subsection=\count83
\...@subsubsection=\count84
\...@paragraph=\count85
\...@subparagraph=\count86
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\...@pti@n...@sid@b...@x=\box26
\...@figure=\count87
\...@table=\count88
\bibindent=\dimen102
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inp...@prehook=\toks15
\inp...@posthook=\toks16
(/usr/share/texmf/tex/latex/html/latin9.def
File: latin1.def 1998/03/05 v0.97 Input encoding file(test version: still liabl
e to change)
)) (/usr/share/texmf-texlive/tex/latex/setspace/setspace.sty
Package: setspace 2000/12/01 6.7 Contributed and Supported LaTeX2e package
Package: `setspace' 6.7 <2000/12/01>
) (/usr/share/texmf-texlive/tex/generic/babel/babel.sty
Package: babel 2005/11/23 v3.8h The Babel package
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
Language: french 2005/02/06 v1.6g French support from the babel system
(/usr/share/texmf-texlive/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\ba...@savecnt=\count89
\...@d=\dimen103
)
Package babel Info: Making : an active character on input line 219.
Package babel Info: Making ; an active character on input line 220.
Package babel Info: Making ! an active character on input line 221.
Package ba

Re: something wrong with biblatex

2009-10-24 Thread Stefano Franchi
Your file works fine here, once I create a bib file nouvelle_biblio.bib and 
put it in the right place.

What does your Latex log say?


Cheers,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A&M University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


something wrong with biblatex

2009-10-24 Thread sara teinturier

Dear Lyxers,

Something is going wrong with Biblatex which I've just discovered.
I think Lyx is well configured, it recognizes the bib files and makes a 
final pdf file. But the pdf file shows the "Bibliography" title, without 
any references.


In the preamble, I've put the entire .bib path, and I've tried exporting 
the .lyx file to a .tex file and to compile it with comand lines, result 
is the same. So surely I've made something wrong, but I don't know what...


Thanks for your help!

ST




essai_biblio.lyx
Description: application/lyx


Re: Beamer problem with LyX

2009-10-24 Thread Rich Shepard

On Sat, 24 Oct 2009, Pierfranco Minsenti wrote:


I have done a presentation using the beamer class with LyX and the result
was fine. But after some modifications (such as moving some slides,
inserting new ones etc.) now I am unable to obtain a PDF as I could
before. It appears an error message which says:



\lyxframeend


Pierfranco,

  The Beamer guide suggests that one does not need an explicit \frameend
after each slide, but we do need each one. Early in my use of the beamer
class I'd make changes and move the slide sequence around and lose the final
\frameend in the process.

  Check that there is a \frameend at the very end of your file and between
each frame.

Rich


Beamer problem with LyX

2009-10-24 Thread Pierfranco Minsenti
Hi all,

I have done a presentation using the beamer class with LyX and the result
was fine.
But after some modifications (such as moving some slides, inserting new ones
etc.) now I am unable to obtain a PDF as I could before.
It appears an error message which says:

Missing $ inserted.

\lyxframeend
   {}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.


Undefined control sequence.

 \lyxframeend
   {}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Missing \endgroup inserted.
Missing \endgroup inserted.
Missing \endgroup inserted.

 \lyxframeend
   {}
I've inserted something that you may have forgotten.
(See the  above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.


I have checked the file: every slides begins correctly with its own Frame
title and the red rule which closes the slides.

Is there anyone who could help me with fixing this problem?

Thank you very much in advance for your cooperation.

Pierfranco


Re: authorindex in LyX?

2009-10-24 Thread Mats Andrén
Sorry to be "spamming" but after sending my post I realized that it was 
a bit strange of me not to try what would happen without the multicols 
begin/end-pair, and just call \printauthorindex. When I remove the multi 
column stuff, no extra two pages are generated, which should probably be 
relevant for you people...


But the main problem remains, of course.

Best regards,
Mats

Mats Andrén wrote:

Hello!

I use LyX 1.6.4.1 for Mac OSX (10.5.8). I am rather new to LyX, and I am 
not a fluent LaTeX speaker in general, and for this reason, I am not 
that sure what information is of relevance to you, to be able to answer 
my question. Anyway:


I am using the Book style, with XeTeX and unicode (enabled through the 
instructions about using XeTeX with LyX on MacOSX that are available on 
the LyX site). This works very well, and I have a bibliography 
generated, and an ordinary Index. I was trying to produce an author 
index now, and as I understand it, I have to make use of the authorindex 
package. So I put this in the preamble:


%Enable author index functionality
\usepackage{authorindex}
\let\cite=\aicite

In the document itself, I insert the following (after pressing CMD+L to 
make an "ERT" or whatever it is called):


\begin{multicols}{2}
\printauthorindex
\end{multicols}

(I should probably mention that I have multi columns working just fine, 
so that is not a problem)


What happens now is that:
- No (visible) author index is produced.
- ...but two blank additional pages are added to the resulting PDF file 
(I use "doublepage").

- No errors are reported in LyX when generating the PDF

So.. No errors, but no author index...

When I read the manual for authorindex, it says that a perl script named 
"authorindex" should be executed on the .aux file. I managed to locate 
that script on my system, and I also tried to put it in the directory of 
the .lyx document that I am working with. But I guess the problem has 
something to do with this script, because I assume that it is never 
executed. So, if I understand the situation correctly, what my question 
really is, is:


How to make LyX execute the authorindex perl script in a way that will 
allow me to produce an authorindex in my LyX document?


Thank you in advance!

...and I have to add that LyX really rules. (It does seem to have a few 
bugs regarding the GUI though, but I will try that out some more.)


Best regards,
Mats Andrén

  




authorindex in LyX?

2009-10-24 Thread Mats Andrén

Hello!

I use LyX 1.6.4.1 for Mac OSX (10.5.8). I am rather new to LyX, and I am 
not a fluent LaTeX speaker in general, and for this reason, I am not 
that sure what information is of relevance to you, to be able to answer 
my question. Anyway:


I am using the Book style, with XeTeX and unicode (enabled through the 
instructions about using XeTeX with LyX on MacOSX that are available on 
the LyX site). This works very well, and I have a bibliography 
generated, and an ordinary Index. I was trying to produce an author 
index now, and as I understand it, I have to make use of the authorindex 
package. So I put this in the preamble:


%Enable author index functionality
\usepackage{authorindex}
\let\cite=\aicite

In the document itself, I insert the following (after pressing CMD+L to 
make an "ERT" or whatever it is called):


\begin{multicols}{2}
\printauthorindex
\end{multicols}

(I should probably mention that I have multi columns working just fine, 
so that is not a problem)


What happens now is that:
- No (visible) author index is produced.
- ...but two blank additional pages are added to the resulting PDF file 
(I use "doublepage").

- No errors are reported in LyX when generating the PDF

So.. No errors, but no author index...

When I read the manual for authorindex, it says that a perl script named 
"authorindex" should be executed on the .aux file. I managed to locate 
that script on my system, and I also tried to put it in the directory of 
the .lyx document that I am working with. But I guess the problem has 
something to do with this script, because I assume that it is never 
executed. So, if I understand the situation correctly, what my question 
really is, is:


How to make LyX execute the authorindex perl script in a way that will 
allow me to produce an authorindex in my LyX document?


Thank you in advance!

...and I have to add that LyX really rules. (It does seem to have a few 
bugs regarding the GUI though, but I will try that out some more.)


Best regards,
Mats Andrén



a question about the import function under Lyx 1.6.4.1 -- a further remark

2009-10-24 Thread Gyorgy SZEIDL

Dear list members and developers,

I have completely removed Lyx 1.6.4.1 from my laptop this afternoon.

Then I installed the older version Lyx 1.6.3.

A reminder: my operating system is Windows XP with Service Pack 3.
I have been using MiKTeX 2.8 with WinEdt for about two months.
My Miktex installation is complete.

Problems
(a) During installation the standard installer did not realize
again that Miktex 2.8 had already been installed: I was promoted
to give the path to the

c:\Program Files\MiKTeX 2.8\miktex\bin

library.

(b) After installation I made an attempt importing some standard LaTeX
documents created by WinEdt. In this case everything worked fine, i.e., 
I could import all the LaTeX files I had been unable to import under

Lyx 1.6.4.1. There arises again the question: what is the problem with
Lyx 1.6.4.1.

If there is no problem with version 1.6.4.1 what have i done wrong
earlier?

Any remark or help is highly appreciated.

Sincerely yours
G. Szeidl



--
I am using the free version of SPAMfighter.
We are a community of 6 million users fighting spam.
SPAMfighter has removed 103 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message


Re: How does lyx locate tex packages?

2009-10-24 Thread rgheck

On 10/24/2009 11:22 AM, Neal Becker wrote:

I'm testing an experimental texlive-2009 package for fedora f11.  I had
previously tetex.  texlive is installed into /usr/share/texlive.  I ran lyx
reconfig.  I'm wondering if it correctly found all the packages, and how
does it know where to look.

   
LyX basically runs LaTeX to find the packages. Anything that kpsewhich 
finds, LyX will find---assuming that everything is configured properly. 
You can use Help>LaTeX Configuration to see what LyX found.


Richard



Re: generating {|} in math mode

2009-10-24 Thread Paul A. Rubin

Micha Feigin wrote:

how do I generate a group definition such as
{ x | x > 0 }
with variable height braces? I can create the outside braces using left\{ and 
right\} (or matching braces from the braces menu) but the central one doesn't 
fit it, and if I add a | with a matching empty left or right element the sizes 
don't match



The following seems to work for me: \left\{ short stuff \left| tall 
stuff \right. \right\}.  If the tall stuff is on the left of the 
vertical bar, switch to \left. just inside the left brace and \right| 
where the bar goes.  The key is that the tallest material has to be 
between the vertical bar and the matched phantom delimiter.


/Paul



How does lyx locate tex packages?

2009-10-24 Thread Neal Becker
I'm testing an experimental texlive-2009 package for fedora f11.  I had 
previously tetex.  texlive is installed into /usr/share/texlive.  I ran lyx 
reconfig.  I'm wondering if it correctly found all the packages, and how 
does it know where to look.



adobe reader auto-reloading of .pdf

2009-10-24 Thread Liviu Andronic
Dear all
Is this normal behaviour for acroread 9.1.3 (on Debian): after I
change the .lyx file and after I hit the "view .pdf" icon, the focus
switches to the acroread window but the document is not reloaded? Is
there some switch in acroread to make it refresh files when updated?

Thank you
Liviu



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Lyx startup problems

2009-10-24 Thread Riccardo Gori
Problem solved!
It was the old kpsepath bug with trailing slashes. My $HOME was /home/user/ 
instead of /home/user
Now lyx works like a charm, thank you for your support!

Riccardo

In data sabato 24 ottobre 2009 14:00:41, hai scritto:
> On 10/23/2009 05:18 PM, Riccardo Gori wrote:
> > Hello,
> > I can't start lyx because it starts a latex process who eat up all the
> > CPU. If I try to run it from a new user it starts fine.
> > I tried to delete .lyx and .config/Lyx folders but the problem remains.
> > I'm using Fedora 11.
> 
> Hmm. I'm also using F11 and have no idea what might cause this for just
> one user.
> 
> You might try starting LyX from a terminal as "lyx -dbg all", and see
> what kind of output you get.
> 
> Richard
> 


Re: Lyx startup problems

2009-10-24 Thread rgheck

On 10/23/2009 05:18 PM, Riccardo Gori wrote:

Hello,
I can't start lyx because it starts a latex process who eat up all the CPU.
If I try to run it from a new user it starts fine.
I tried to delete .lyx and .config/Lyx folders but the problem remains. I'm
using Fedora 11.

   
Hmm. I'm also using F11 and have no idea what might cause this for just 
one user.


You might try starting LyX from a terminal as "lyx -dbg all", and see 
what kind of output you get.


Richard



generating {|} in math mode

2009-10-24 Thread Micha Feigin
how do I generate a group definition such as
{ x | x > 0 }
with variable height braces? I can create the outside braces using left\{ and 
right\} (or matching braces from the braces menu) but the central one doesn't 
fit it, and if I add a | with a matching empty left or right element the sizes 
don't match


a question about the import function under Lyx 1.6.4.1

2009-10-24 Thread Gyorgy SZEIDL

Dear list members,

I have completely removed lyx 1.6.1 from my laptop this morning.

Then I downloaded the standard windows installer for
Lyx 1.6.4.1

By the way, my operating system is Windows XP with Service Pack 3.
I have been using MiKTeX 2.8 with WinEdt for about two months.
My Miktex installation is complete.

Problems
(a) During installation it was a surprise to me that the standard installer
did not realize that Miktex 2.8 had already been installed: I was promoted
to give the path to the

c:\Program Files\MiKTeX 2.8\miktex\bin

library.

(b) After installation I made an attempt importing some standard LaTeX
documents created by WinEdt. In each case I received an error message:

Tex2lyx.exe has encountered a problem and needs to close. 
We are sorry for the inconvenience.


What have i done wrong?

Remark 1. I was able to import these files as plain latex files under 
lyx1.6.1.
Remark 2. If  I create a new Lyx document and export it as a plane Latex 
document
and then I delete the corresponding Lyx document I am always able to 
import the

file exported earlier as a plain latex file.

Any remark or help is highly appreciated.

Sincerely yours
G. Szeidl

--
--
Dr. habil. Gyorgy SZEIDL
Full Professor
Department of Mechanics
University of Miskolc
3515 Miskolc-Egyetmeváros
Hungary
E-mail: gyorgy.sze...@uni-miskolc.hu
Phone (office): +36 46 565 111 ext. 18-92
http://www.mech.uni-miskolc.hu/staff/lecturers/G_Szeidl.html
--

--
I am using the free version of SPAMfighter.
We are a community of 6 million users fighting spam.
SPAMfighter has removed 103 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message



Lyx startup problems

2009-10-24 Thread Riccardo Gori
Hello,
I can't start lyx because it starts a latex process who eat up all the CPU.
If I try to run it from a new user it starts fine.
I tried to delete .lyx and .config/Lyx folders but the problem remains. I'm
using Fedora 11.
Thanks for any help
Riccardo


Change \contentsname in Book(KOMA-Script)

2009-10-24 Thread Waluyo Adi Siswanto
I would like to change the \contentsname in Book(KOMA-Script)
I tried to insert in the LaTeX preamble (Document>Settings)

\renewcommand{\contentsname}{Newname}

also
\AtBeginDocument{\renewcommand{\contentsname}{Newname}}

Both did not work.
It works if I insert the LaTeX command (the first one) in the
document, but it does not look clean.

Thanks
WAS