Re: Lyx does not run BibTeX

2004-06-28 Thread Nirmal Govind
I found a similar problem describes twice in the mail-archive, but there has 
been no answer.
I seem to recall having the same problem some time back.. I can't 
remember what the solution was but try deleting all the auxiliary 
files that LyX/LaTeX generates like .bbl, .blg, .aux, .dvi/ps/pdf, 
.tex and then try exporting/viewing from Lyx.. that may help..

nirmal


Re: Three dots

2004-06-28 Thread Rich Shepard
On Mon, 28 Jun 2004, Angus Leeming wrote:

> I can't answer you, but see http://www.latex-project.org/guides/
> Specifically, Chapter 3 of The Latex Companion, 2nd ed., by Mittelbach,
> Goossens et el.

Angus,

  Well! If you ever want to get wrapped around the axel in the minutia of
typography, read the section on ellipses in that chapter. I downloaded the
pdf version to examine right away.

  It turns out that \textellipsis -- in English -- adds an extra space to
the right of the three dots. That space may, or may not, be appropriate. It
all depends on what follows. So the ellipsis package uses \ldots to figure
out how to fit spaces after the three dots, depending on context.

  I think I'm sorry that I asked! :-)

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Three dots

2004-06-28 Thread Rich Shepard
On Mon, 28 Jun 2004, Angus Leeming wrote:

> I can't answer you, but see http://www.latex-project.org/guides/
> Specifically, Chapter 3 of The Latex Companion, 2nd ed., by Mittelbach,
> Goossens et el.

  Thanks, Angus. Powell's Technical Books has a couple of copies on the
shelves. I'll drive down there this evening and buy one.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Clarification on Wiki Math Macros information

2004-06-28 Thread Christian Ridderström
On Mon, 28 Jun 2004, Fred Nastos wrote:

> The user guide says there is a comment paragraph environment, which I
> interpreted to mean that in the pull-down down where Standard, Caption,
> Itemize, etc. are I would see a Comment section but I can't seem to find
> it.  I am using the revtex4 style.

You're right in that the comment environment should have been in the 
pull-down menu... try creating a test document using some other document 
class, e.g. the default article style. It might be a simple matter of 
adding the comment style to 'revtex.layout'.

/Christian

PS. Here's the contents of a simple .lyx-file that has a comment:


 Begin paste
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass report
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

The paragraph below should be a comment.
\layout Comment

Here is the comment
\the_end
 end paste

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Lyx does not run BibTeX

2004-06-28 Thread Tara Pantoufle
Thanks Günther. But they are inserted with LyX. The same lyx document works 
fine on my parallel windows installation with the win32-port.
I found a similar problem describes twice in the mail-archive, but there has 
been no answer.
Daniel

Am Montag, 28. Juni 2004 15:41 schrieb G. Milde:
> On 28.06.04, Tara Pantoufle wrote:
> > Hi,
> > I have texts with a BibTeX-bibliography, if I choose 'View->DVI' or
> > 'View-PDF' LyX runs LaTeX once and no BibTeX. If I run BibTeX by hand
> > from the Temp-Directory where LyX creates the .tex and the .aux file, and
> > I call the View-Commands again, everything is ok. But the automatic does
> > not work. Has anybody an Idea?
>
> Just a guess: Do you insert the \cite commands as ERT or with
> Insert>Citation. Only in the latter case LyX knows it has to run BibTeX.
>
> Günter


Re: \thispagestyle{empty} not working for me

2004-06-28 Thread Rich Shepard
On Mon, 28 Jun 2004, Juergen Spitzmueller wrote:

> If your class supports \frontmatter et al., it would be easier to do
> 
>  \frontmatter
> 
> \mainmatter
> 

Juergen,

  Aha! I didn't think of moving the frontmatter marker. Let me try that now
 Well, that's different. Now the page after the title page is numbered
'2', and the preface continues with the pagination. Then the ToC is numbered
properly. I have \thispagestyle{empty} immediately after the word, Preface,
but the numbering is still there.

> Strange. Perhaps your class does some redefinition. Actually, it should
> work.  What pagestyle are you using generally?

  The document style is Springer-Verlag's 'svmono' built on top of 'book'.
Page style is 'default'.

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Clarification on Wiki Math Macros information

2004-06-28 Thread Fred Nastos

Hi, the Wiki on Math Macros has the following piece piece of information:

### begin paste ###
  Changing an existing command

Math-macros translate to \newcommand, i.e. they fail, if the macro name is 
already defined.

To change an existing command (and its rendering in Lyx) you can use the 
following trick: Assume you want to redefine \Re to print âReâ in roman font.

* define the macro: M-x math-macro Re
* fill it with \Re in the latex-cmd box and with \mathrm{Re} in the 
lyx-render box
* put it in a Comment, so latex will not see it
* do the redefinition in ERT (of course not in a comment): 
\renewcommand{\Re}{\mathrm{Re}} 

### end paste ###

I do not understand how I can "put it in a Comment, so latex will not see it".
I know latex, and I know what a comment in latex is, but what do I do in
LyX to put in a comment.  The user guide says there is a comment paragraph 
environment, which I interpreted to mean that in the pull-down down
where Standard, Caption, Itemize, etc. are I would see a Comment section
but I can't seem to find it.  I am using the revtex4 style.

Thanks



Re: Three dots

2004-06-28 Thread Juergen Spitzmueller
Sorry, I sent this only to PM. For the archieves:

Rich Shepard wrote:
>  What is the difference between \textellipsis and ldots? I've used the
> \former and they want the latter. In my copy of The Comprehensive LaTeX
> Symbol List, I find \textellipsis in Table 3: Predefined LaTeX Text-Mode
> Commands and \ldots in Table 2. Do these typeset differently and
> noticeably? Just curious.

AFAIR they are equivalent (i.e. \ldots or \dots result in \textellipsis in tex 
mode and in \mathellipsis in math mode).
Wait, let's have a look:
->latex.ltx
\DeclareRobustCommand{\dots}{%
   \ifmmode\mathellipsis\else\textellipsis\fi}
\let\ldots\dots
<---

Incidentally: Why didn't you use LyX's native ellipsis inset (M-period or 
insert->Special character->ellipsis), which will output \ldots?

Regards,
Jürgen.



Re: \thispagestyle{empty} not working for me

2004-06-28 Thread Juergen Spitzmueller
Hello Rich,

Rich Shepard spoke:
> My publisher's preferred format is to have the preface before the Table of
> Contents, but the ToC should be paginated starting with 'i' (1 in Roman
> numerals). Immediately before the ToC I have an ERT box with
> \pagenumbering{roman}
> \setcounter{page}{1}
> but, the second page of the Preface is marked "II", the third page is
> marked "i" and the second page of the ToC is marked "iv". How do I control
> this? That is, how can I turn off all page numbering prior to the ToC and
> then have that begin with "i" rather than "iii"?

If your class supports \frontmatter et al., it would be easier to do

 \frontmatter

\mainmatter



>   I've looked on the Tips & Tricks page for paragraph numbering and it
> seems that \thispagestyle{empty} should work when placed after the title,
> "Preface". But, it's not working for me.
>
>   What have I missed?

Strange. Perhaps your class does some redefinition. Actually, it should work. 
What pagestyle are you using generally?

Regards,
Jürgen.


Re: Problems with lyx in greek mode

2004-06-28 Thread Georg Baum
[EMAIL PROTECTED] wrote:

> if I want to write a greek  letter,
> \gamma for instance, its LaTeX command is written on the screen
> als ERT, but not the corresponding symbol. Nevertheless LeTeX itself
> works fine and produces an ordinary gamma.

If you use the qt version: Did you read
http://wiki.lyx.org/pmwiki.php/FAQ/Qt ?

Georg




accented chars & dead keys problem

2004-06-28 Thread Gour
Hi!

In the past I did two books (actually one book in a two parts :-) using LyX
with dead-keys mechanism via xkeycaps modified xmodmap.

Recently I returned back after not so glorius adventure with XML technology
and decided that LyX/LaTeX is still the best route to write :-))

For my writing I use both Croatian & English language with diacritics for 
Sanskrit language which includes: abovedot (dot), underdot, tilde, acute & 
macron accents.

I modifed my xmodmap (with xkeycaps), mapped dead_abovedot, dead_underdot etc.
and use Mode_switch key. 

Under KDE Konsole I can get e.g. a-macron, s-acute chars (those for which there
are glyphs in the console font).

However, in LyX (1.3.4) I can only enter s(S)-acute via dead-key mechanism, i.e.
pressing Mode_switch key + accent + char.

If I write some of the required chars in *.tex file, e.g. \={a}, \.{r} and
import such Tex file into LyX (via relyx) I see the chars on the screen
(although there is no macron accent defined - there is ugly Zcaron instead :-(
and DVI is OK.

So, my question is whether is dead-keys mechanism supposed to work in latest
LyX (qt front-end)?

If not, what is the recommended way to enter (and see them on the screen)
accented chars when using more than one language plus the accented characters
not belonging to the main language (Sanskrit diacritics)?

(e.g. for mixing Croatian & English I choose Croatian as default, and would like
to be able to enter & see Sanskrit diacritics.)

I know that Unicode is the solution, but probably it won't arrive in LyX 
tomorrow :-(

I'm on Gentoo and my locale is:

bash-2.05b$ locale
LANG=en_US
LC_CTYPE=hr_HR.UTF-8
LC_NUMERIC=hr_HR.UTF-8
LC_TIME=hr_HR.UTF-8
LC_COLLATE=POSIX
LC_MONETARY=hr_HR.UTF-8
LC_MESSAGES=en_US
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=


Any hint what to do in order to resolve this dead-keys issue?

Sincerely,
Gour

-- 
Gour| [EMAIL PROTECTED]
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 


Problems with lyx in greek mode

2004-06-28 Thread jutgen
Hi erverbody, 

I use SuSE 8.2 and the attached LyX version.
All works fine, but: 

if I want to write a greek  letter, 
\gamma for instance, its LaTeX command is written on the screen
als ERT, but not the corresponding symbol. Nevertheless LeTeX itself
works fine and produces an ordinary gamma.

All available fonts were installed and I can find the corresponding
links in the LyX config directory.

The debug mode produces something like 
"can't find FONTNAME"
"cannot fake it"

where FONTNAME is an alias for the fonts LyX didn't find.

Can you help me?
Thanks a lot, 
greetings, Thorsten

-- 
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl



RE: Bibtex author/date order

2004-06-28 Thread Rob S
> Am Montag, 28. Juni 2004 11:36 schrieb Rob S:
> > Is there a method or "trick" that can be used to swap things in the
> > bibliography so that:
> >
> > Ward et al. (1999b) can indeed refer to their earlier work, Ward et
al.
> > (1999a)
> 
> You can try the \noopsort trick which is described in the BibTeX
> documentation, p. 4 (section 2.1, item 6)
>
ftp://ctan.unsw.edu.au/tex-archive/biblio/bibtex/contrib/doc/btxdoc.pdf

Using the above "trick" sorted it. :-)

As a note though: I use the Apalike bib style and the above method does
not work directly on this although it works fine for Plain style.

I needed to add the non printing {\noopsort{a}} to the Author field just
before the surname of the 3rd Author so that the alphabetical sort was
tricked at this stage rather than later at the date stage.

Hope that makes sense!!

Cheers

Rob S


> 
> HTH,
> Jürgen.




Re: Three dots

2004-06-28 Thread Angus Leeming
Rich Shepard wrote:

>   What is the difference between \textellipsis and ldots? I've used
>   the
> \former and they want the latter. In my copy of The Comprehensive
> LaTeX Symbol List, I find \textellipsis in Table 3: Predefined LaTeX
> Text-Mode Commands and \ldots in Table 2. Do these typeset
> differently and noticeably? Just curious.
> 
> Rich

I can't answer you, but see http://www.latex-project.org/guides/
Specifically, Chapter 3 of The Latex Companion, 2nd ed., by 
Mittelbach, Goossens et el.

www.latex-project.org/guides/tlc2-ch3.pdf, page 3

That should provide some illumination.


-- 
Angus



\thispagestyle{empty} not working for me

2004-06-28 Thread Rich Shepard
  My publisher's preferred format is to have the preface before the Table of
Contents, but the ToC should be paginated starting with 'i' (1 in Roman
numerals). Immediately before the ToC I have an ERT box with
\pagenumbering{roman}
\setcounter{page}{1}
but, the second page of the Preface is marked "II", the third page is marked
"i" and the second page of the ToC is marked "iv". How do I control this?
That is, how can I turn off all page numbering prior to the ToC and then
have that begin with "i" rather than "iii"?

  I've looked on the Tips & Tricks page for paragraph numbering and it seems
that \thispagestyle{empty} should work when placed after the title,
"Preface". But, it's not working for me.

  What have I missed?

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Three dots

2004-06-28 Thread Rich Shepard
  What is the difference between \textellipsis and ldots? I've used the
\former and they want the latter. In my copy of The Comprehensive LaTeX
Symbol List, I find \textellipsis in Table 3: Predefined LaTeX Text-Mode
Commands and \ldots in Table 2. Do these typeset differently and noticeably?
Just curious.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Lyx does not run BibTeX

2004-06-28 Thread G. Milde
On 28.06.04, Tara Pantoufle wrote:
> Hi,
> I have texts with a BibTeX-bibliography, if I choose 'View->DVI' or 'View-PDF' 
> LyX runs LaTeX once and no BibTeX. If I run BibTeX by hand from the 
> Temp-Directory where LyX creates the .tex and the .aux file, and I call the 
> View-Commands again, everything is ok. But the automatic does not work. Has 
> anybody an Idea?

Just a guess: Do you insert the \cite commands as ERT or with
Insert>Citation. Only in the latter case LyX knows it has to run BibTeX.

Günter

-- 
G.Milde at web.de


Re: Bibtex author/date order

2004-06-28 Thread Juergen Spitzmueller
Am Montag, 28. Juni 2004 11:36 schrieb Rob S:
> Is there a method or "trick" that can be used to swap things in the
> bibliography so that:
>
> Ward et al. (1999b) can indeed refer to their earlier work, Ward et al.
> (1999a)

You can try the \noopsort trick which is described in the BibTeX 
documentation, p. 4 (section 2.1, item 6) 
ftp://ctan.unsw.edu.au/tex-archive/biblio/bibtex/contrib/doc/btxdoc.pdf

HTH,
Jürgen.


Re: Layout question

2004-06-28 Thread Jean-Marc Lasgouttes
> "a" == a horsfield <[EMAIL PROTECTED]> writes:

a> Hi, I am producing a layout file for the Institute of physics
a> article class. This class includes latex commands that have two
a> arguments. For example

a>  \paper[short name]{long name}

a> How do I indicate this in the layout file? So far I have

a> Style Title Margin Dynamic LatexType Command InTitle 1 LatexName
a> paper LabelType Static LabelString "Title: " End

Add "OptionalArgs 1". Then you will be able to add the short title by
using Insert>Short title.

Of course, we will be interested by the final layout file...

JMarc


Re: Change the font for a document from default to helvetica

2004-06-28 Thread Jean-Pierre.Chretien

>>From: Jan Smid <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Change the font for a document from default to helvetica
>>Date: Sun, 27 Jun 2004 11:13:09 +0200
>>
>>Hi,
>>
>>I need to change the font in my document from default (times) to helvetica. 
>>When I change it, the text appears to be helv, but things like "Table", the 
>>page number and "figures" set by lyx are still the default.
>>This looks a little bit ugly, is it possible to change that?

You need to set  globally the family:

\renewcommand{\familydefault}{\sfdefault}
in the preamble.

-- 
Jenn-Pierre




Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-28 Thread Maarten D. de Jong

* what platform are you compiling on?
It used to be a Linux Slackware 8.1-setup, but in the past few years I've 
bolted and added so much extras to the system I have lost track of what 
exactly is going on in its murky depths. I really need to upgrade, but that 
is something for when I complete my thesis. I do know at the core it is 
Linux 2.4.18, with XFree86 4.2.0.

* what is the native compiler for this platform? Eg, on Fedora 1 the
native compiler is g++ 3.3.2. I ask because if you use something
other than the native c++ compiler then you'll have trouble linking
against libraries of c++ code. In your case, linking to the XForms
library you have nothing to worry about because XForms is written in
C. If, however, you had tried to compile the Qt version of lyx then
you would have experienced probelms at link time if the library and
lyx were compiled with different compilers. Name mangling differs
from one compiler to the next.
Yes, I already spotted a post from your hand in the mailing list archives 
which illustrated this problem. My native compiler is 2.95.3, and most 
libraries are based on that compiler. Now I mostly use C (and no KDE or 
Gnome---those were too much hassle to setup at the time I installed the 
original distribution), and were it not for a program which I really need 
to use demanding that I upgrade to gcc 3.x, I would still be using 2.95.3. 
It is fairly easy to switch compilers though, and this episode convinced me 
to keep the older compiler on the system for a good while longer.

Kind regards,
Maarten 



Bibtex author/date order

2004-06-28 Thread Rob S
Hi List;

I have a situation where I have:

Ward et al. (1999a) referring to earlier work, Ward et al. (1999b)

It looks as if the bibliography is alphabetically ordered based on the
2nd, 3rd and 4th authors. In the case above, because the 3rd and 4th
authors are different this then places these two papers in reversed
chronological order.

Is there a method or "trick" that can be used to swap things in the
bibliography so that:

Ward et al. (1999b) can indeed refer to their earlier work, Ward et al.
(1999a)


Kind Regards
 
Rob S




Layout question

2004-06-28 Thread a . horsfield
Hi,

I am producing a layout file for the Institute of physics article class.
This class includes latex commands that have two arguments. For example

 \paper[short name]{long name}

How do I indicate this in the layout file? So far I have

Style Title
  MarginDynamic
  LatexType Command
  InTitle   1
  LatexName paper
  LabelType Static
  LabelString   "Title: "
End

Cheers,

Andrew

.  *--*
Andrew Horsfield [EMAIL PROTECTED]
  Department of Physics and Astronomy,
   University College London,
  Gower Street, London WC1E 6BT, United Kingdom
Phone:+44-(0)20-7679-7701  FAX:+44-(0)20-7679-1360
   *--*


Undefined keyboard character problem

2004-06-28 Thread David Mills
Hi,
I'm using Lyx 1.3.4 on OSX 10.3.4 to typeset my thesis.  I've hit a 
problem where references included from BibTex cause this error :

Package inputenc Error: Keyboard character used is undefined
...nder, M~J. Aziz, E.~Mazur, and F.Y. G^^8e
 nin.
You need to provide a definition with \DeclareInputText
or \DeclareInputMath before using this key.
(cut and paste from error box)
There is no junk in the BibTex entry that I can see, so I'm assuming the 
problem to be the accents on characters in names. A quick google search 
didn't turn up much information on how to solve this.

Any hints appreciated.
cheers,
Dave


Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-28 Thread Angus Leeming
Maarten D. de Jong wrote:

>>lyx 1.3.4 will not compile with g++ 3.4 which was released some time
>>after lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile
>>with g++ 3.4, so lyx 1.3.5 will be ok in this regard.
> 
> Aahhh... Thanks for that information, I was afraid I had installed
> the compiler wrong or something equally gruesome. Although I cannot
> help but wonder what exactly causes such incompatibility
> problems---you'd think C++ is C++. To a large extent, anyway.

The standard was released in 1998, but I don't think that *any* C++ 
compilers are 100% conformant. The major players (includes gcc) are 
all striving to achieve conformance however, so each new release 
tends to reject code that used to compile under the older, less 
compliant version.

>>lyx 1.3.4 does compile with g++ 2.95, so there is hope.
> 
> *Bright red face*. Yes, it did indeed compile. Provided, of course,
> that the versions of C++-preprocessor and C++-compiler match and are
> equal to 2.95.3. And not, as it was with me, different. You're
> asking for trouble in such a situation...
> 
> Thanks for the input, it was much appreciated.

Not at all. I have two questions of my own:

* what platform are you compiling on?
* what is the native compiler for this platform? Eg, on Fedora 1 the 
native compiler is g++ 3.3.2. I ask because if you use something 
other than the native c++ compiler then you'll have trouble linking 
against libraries of c++ code. In your case, linking to the XForms 
library you have nothing to worry about because XForms is written in 
C. If, however, you had tried to compile the Qt version of lyx then 
you would have experienced probelms at link time if the library and 
lyx were compiled with different compilers. Name mangling differs 
from one compiler to the next.

Just things to be aware of.

-- 
Angus



Lyx does not run BibTeX

2004-06-28 Thread Tara Pantoufle
Hi,
I have texts with a BibTeX-bibliography, if I choose 'View->DVI' or 'View-PDF' 
LyX runs LaTeX once and no BibTeX. If I run BibTeX by hand from the 
Temp-Directory where LyX creates the .tex and the .aux file, and I call the 
View-Commands again, everything is ok. But the automatic does not work. Has 
anybody an Idea?
Thanks
Daniel



P.S.
I am using LyX 1.3.4 on a Gentoo-System