Re: Itemizations

2003-09-08 Thread Markus Amersdorfer
On Sun, 7 Sep 2003 11:10:31 +0200
Markus Amersdorfer [EMAIL PROTECTED] wrote:

Hi again!

  Using LyX 1.3.2, how can I add additional text to a first-level
  Itemization-item AFTER some second-level items?
 [...]
 
 Nevertheless, anybody knows if this feature has already been
 requested to be included in standard-LyX?

FYI: K. Benko sent me a LyX-only solution (without ERT):

It's possible to achieve the above mentioned layout by simply changing a
second level item from Itemize to Standard without changing the
indention level.
In contrast to a CTRL+ENTER, this creates a whole new paragraph
at the indention level without adding an itemization-mark. (CTRL+ENTER
only inserts kind of a 'newline'.)

Thanks again!

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

http://homex.subnet.at/~max/


Re: problem with math display

2003-09-08 Thread Johannes Simon
On Sunday 07 September 2003 23:54, John Levon wrote:
 Either way it's extremely unlikely it's a lyx problem, it's either
 Qt, fontconfig, or something on your system.

It's a Qt problem: Iteratively removing all dotfiles I found that
~/.qt/qtrc
was causing the trouble. It contained the following
---
[General]
embedFonts=true
 
[customColors]
0=-1
1=-1
10=-1
11=-1
12=-1
13=-1
14=-1
15=-1
2=-1
3=-1
4=-1
5=-1
6=-1
7=-1
8=-1
9=-1
---
Doing mv ~/.qt ~/.qt.bad solved the problem; however all screen fonts 
look very pixelized now, some are no more visible to applications at 
all :-(
But that's a minor problem.

Thanks, Johannes



Re: problem with math display after recompiling

2003-09-08 Thread Angus Leeming
Nirmal Govind wrote:

 Yes, Qt's that use fontconfig need the special fonts installed
 
 john
 
 How do I find out from the Qt source whether it uses fontconfig or not?

$ ldd ${PATH_TO_THE_EXECUTABLE}/lyx

Here (using RH8) it gives:

$ ldd ./lyx-qt
[snip...]
libqt-mt.so.3 = /usr/lib/qt-3.0.5/lib/libqt-mt.so.3 (0x40024000)
libXft.so.2 = /usr/lib/libXft.so.2 (0x40a07000)
libfontconfig.so.1 = /usr/lib/libfontconfig.so.1 (0x40a1a000)

 Or is there a list that shows which versions use fontconfig and
 which don't?

This is a matter of the Linux distribution that you use. As I understand it, 
RH8 and above and Debian unstable are using fontconfig. Dunno about any 
others.

-- 
Angus



Re: problem with math display

2003-09-08 Thread Johannes Simon
On Monday 08 September 2003 10:14, Johannes Simon wrote:
 On Sunday 07 September 2003 23:54, John Levon wrote:
  Either way it's extremely unlikely it's a lyx problem, it's
  either Qt, fontconfig, or something on your system.

 It's a Qt problem: Iteratively removing all dotfiles I found that
 ~/.qt/qtrc
 was causing the trouble. 

I found out more:

Calling qtconfig -- fonts there are two checkboxes:
  1) Enable Anti-Aliased Font Support (Xft)
  2) Anti-Alias Fonts by Default
Enabling them (and saving the config) corresponds to
  1) enableXft=true
  2) useXft=true
in ~/.qt/qtrc .

This changes the fonts available to qt-applications, since qt now uses 
Xft. Also the math fonts become visible to qt-applications, but not 
in lyx's math mode. So either lyx requests the wrong font from 
fontconfig, or fontconfig returns the wrong font.

Johannes



Re: problem with math display

2003-09-08 Thread Dekel Tsur
On Mon, Sep 08, 2003 at 10:14:31AM +0200, Johannes Simon wrote:
 On Sunday 07 September 2003 23:54, John Levon wrote:
  Either way it's extremely unlikely it's a lyx problem, it's either
  Qt, fontconfig, or something on your system.
 
 It's a Qt problem: Iteratively removing all dotfiles I found that
 ~/.qt/qtrc
 was causing the trouble. It contained the following

The problem is actually with changes in the way QT uses for fonts between
QT-3.1 and QT-3.2.
The problem is fixed in CVS. You can try the following patch for 1.3.x
(and restore the old ~/.qt/qtrc)


patch.gz
Description: application/gzip


Re: \itemsep doesn't work in koma-styles?

2003-09-08 Thread Osvaldo Fornaro
El Vie 05 Sep 2003 15:23, Juergen Spitzmueller escribió:
 Osvaldo Fornaro wrote:
  I need to reduce the space between items in a list. I put at first in ERT
  in the first item of the list
  \setlength{\itemsep}{newlength}

 try negative values. for me
 \setlength\itemsep{-0.5ex}
 in a enumerate/itemize environment works well (placed at the end of the
 first item.

 Juergen.

At last i found the problem! The first item in the list has bold style. LyX 
traslate in the tex file the \setlength command inside the \textbf , and 
then, the spacing was unchanged

Thanks to all
Osvaldo



-- 
Dr. Osvaldo Fornaro [EMAIL PROTECTED]
Universidad Nacional del Centro de la Provincia de Buenos Aires
Instituto de Física de Materiales Tandil - CICPBA
Pinto 399 (B7000GHG)
Argentina


Re: Running heads in chapters

2003-09-08 Thread Ronald Pagel
Juergen Spitzmueller wrote:
Ronald Pagel wrote:

Please tell us, if that really did the trick. I encountered a similar
problem while creating slides, as I tried to explain in my thread
missing number. There, tiny font chars in a math environment overlaid
onto themselves giving 1.3 instead of 11.3 in the pdf-output (I have
more examples, which are not exactly reproducible). However, the
ps-output was alright on the basis of the very same lyx-file! Uwe Stöhr
suggested a pdflatex problem, but I haven't found enough time to report
it to the developers yet. 


I cannot reproduce any problems with pdflatex 1.10a and the file list below. 
Maybe a font issue?
Not shure about that, but since you cannot reproduce it I thought I 
update my tetex from 1.0.7 to 2.0.2. The problems disappeared. Thank you!

Ronald



Re: Definition Tag in Article style

2003-09-08 Thread Matej Cepl
On 2003-09-07, 21:14 GMT, Victor Anaya wrote:
 I am using Article as document style, but I want to define some paragraphs 
 of my document such as definition (\begin{definition}). The problem is that 
 Article.cls does not have this tag defined. How can I do it? I do not want 
 to use the document style that has this tag (llcs.cls) as document style 
 because it is usuitable for the rest of document.

You need to learn more about LaTeX (read for example lshort.dvi file in
your TeX distribution) and then extend the layout according to the
chapter 5 of ``Customizing LyX: Features for the Advanced User''
(Help/Customization in LyX).

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Short titles

2003-09-08 Thread Rich Shepard
  To solve my problems with running heads (sometimes they print on two
lines, sometimes on a single, overlapping line) I decided to use short
titles. According to the Users Guide (version 1.3.2), I end up with short
titles not only on each page's running head but also in the Table of
Contents. Is there a LaTeX command that will print the long titles in the
ToC but leave the short titles in the running head?

TIA,

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Re: tilde does not show in equations

2003-09-08 Thread Amir Seginer
Hello,

Paul E. Johnson wrote:
I use LyX 1.3.2 with the qt gui on RedHat 9.

I typed a paper and in the math equations I used the tilde from the 
keyboard. I mean, I used the tilde you get by hitting shift and pressing 
the key that says ~.  It is above the TAB on a US keyboard.
I was embarrassed/frustrated to learn during a presentation that the 
tildes did not appear in the printed output (or dvi) for that matter.   
The tilde does appear in output for regular text, just not in equations.
Since then, I have learned that there is a work around. 
As far as I know, ~ is a special character in  LaTeX. Lyx automaticaly 
substitutes ~ for the proper code that prints ~ in text mode, but not 
in math mode. If you want the symbol to appear in an equation you need 
to enter \sim or equivalently use the math panel.

The problem, in my opinion, is the wrong color of the symbol. It appears 
black in LyX's math mode, but should appear red (since it is latex 
code). I've sent a feature request about this (bug #590) some time ago.

Amir.




buttons

2003-09-08 Thread Horst Jurkat
Hallo,
in my new version of lyx 1.3.2 lyx does not start in full screen modus. 
Also: if I click on the printing symbol (or corresponding key 
combination) in the opened mask is not set printing as standard but 
cancel. I cannot find the file where these defaults can be changed to 
get faster opening full screen and printing.
Can anyone help me?
Horst




Re: buttons

2003-09-08 Thread John Levon
On Mon, Sep 08, 2003 at 08:20:31PM +0200, Horst Jurkat wrote:

 combination) in the opened mask is not set printing as standard but 
 cancel. I cannot find the file where these defaults can be changed to 

Current CVS has Print as the default. It's not been back-ported to
1.3.3cvs though (yet ?)

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


reference

2003-09-08 Thread Guanglei Cui
Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
Author:Year. However, Lyx, when importing such bib files, has trouble 
recognizing the entries. For example, the first entry has a key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only available to select and 
the key is not properly displayed. Can anyone explain why and what is 
the best way to create bib files automatically? Thanks in advance.

Guanglei



Re: reference

2003-09-08 Thread Gareth Jenkins
I have found that endnote is very bad at generating decent citation keys 
which bibtex likes. In the example you give, the entire author field is 
used in the key, including spaces, commas and other things that bibtex 
doesn't like and there is no way to just use part of the author (or 
other fields).
You can either make keys based on fields which aren't likely to contain 
spaces, comas, etc. (such as year, page no. etc) or you can use another 
program to generate decent keys.
I believe there are some simple scripts available to do this but you may 
also want to check out a reference manager called sixpack. This can 
import endnote references, generate sensible citation keys and even 
insert them directly into lyx.
I haven't tried it under windows but it should work as long as you have 
pearl/tk. Take a look at http://www.santafe.edu/~dirk/sixpack/
Hope this helps!

Gareth

Guanglei Cui wrote:

Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
Author:Year. However, Lyx, when importing such bib files, has 
trouble recognizing the entries. For example, the first entry has a 
key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only available to select 
and the key is not properly displayed. Can anyone explain why and what 
is the best way to create bib files automatically? Thanks in advance.

Guanglei

.



--
Gareth Jenkins
Imperial College London
Web: www.achem.ic.ac.uk/



Re: reference

2003-09-08 Thread Guanglei Cui
Big thanks to many who replied. Sixpack works great.

Gareth Jenkins wrote:

I have found that endnote is very bad at generating decent citation 
keys which bibtex likes. In the example you give, the entire author 
field is used in the key, including spaces, commas and other things 
that bibtex doesn't like and there is no way to just use part of the 
author (or other fields).
You can either make keys based on fields which aren't likely to 
contain spaces, comas, etc. (such as year, page no. etc) or you can 
use another program to generate decent keys.
I believe there are some simple scripts available to do this but you 
may also want to check out a reference manager called sixpack. This 
can import endnote references, generate sensible citation keys and 
even insert them directly into lyx.
I haven't tried it under windows but it should work as long as you 
have pearl/tk. Take a look at http://www.santafe.edu/~dirk/sixpack/
Hope this helps!

Gareth

Guanglei Cui wrote:

Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
Author:Year. However, Lyx, when importing such bib files, has 
trouble recognizing the entries. For example, the first entry has a 
key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only available to select 
and the key is not properly displayed. Can anyone explain why and 
what is the best way to create bib files automatically? Thanks in 
advance.

Guanglei

.







Re: Definition Tag in Article style

2003-09-08 Thread Victor Anaya
Hi,

I have defined a layout with the definition style. When I apply the style in 
the document, the lyx visualizes the paragraph with the format, but when I 
generate the .pdf it does not work properly. The paragraphs are shown with 
standard style. Why?

Thanks in advance,

Víctor

From: Matej Cepl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Definition Tag in Article style
Date: Sun, 7 Sep 2003 23:45:24 +0200
Received: from wierdlmpc.msci.memphis.edu ([141.225.11.87]) by mc2-f24 with 
Microsoft SMTPSVC(5.0.2195.5600); Mon, 8 Sep 2003 09:08:54 -0700
Received: (qmail 2913 invoked by uid 602); 8 Sep 2003 16:05:18 -
Received: (qmail 2890 invoked from network); 8 Sep 2003 16:05:17 -
X-Message-Info: JGTYoYF78jEDnyLkeZL7+aAM5RB7wiXP
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Unsubscribe: 
mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
X-Injected-Via-Gmane: http://gmane.org/
Organization: Northeastern University, Boston, MA
Lines: 18
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
X-Complaints-To: [EMAIL PROTECTED]
User-Agent: slrn/0.9.7.4 (Linux)
Sender: news [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 08 Sep 2003 16:08:55.0068 (UTC) 
FILETIME=[80A425C0:01C37623]

On 2003-09-07, 21:14 GMT, Victor Anaya wrote:
 I am using Article as document style, but I want to define some 
paragraphs
 of my document such as definition (\begin{definition}). The problem is 
that
 Article.cls does not have this tag defined. How can I do it? I do not 
want
 to use the document style that has this tag (llcs.cls) as document style
 because it is usuitable for the rest of document.

You need to learn more about LaTeX (read for example lshort.dvi file in
your TeX distribution) and then extend the layout according to the
chapter 5 of ``Customizing LyX: Features for the Advanced User''
(Help/Customization in LyX).
Matej

--
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
_
Infórmate sobre las últimas noticias en MSN Actualidad. 
http://www.msn.es/Actualidad/



Caption for long table?, was:Re: Why this long table is not splitted over pages?

2003-09-08 Thread Michael Logies
At 06:44 01.09.2003 +0200, Herbert Voß wrote:

But: Is there a way to get this long table into the list of tables? And 
to assign it automatically a table-number and a caption? Or is this still 
an unsolved problem with Lyx (I did a short google-search with this result)?
this is a bad restriction of LyX. Write in the first or
last column in TeX \caption{...blah...}
Herbert,

this does not work. If I insert it without ERT, then only the text is 
shown. When I insert it within a ERT, I get error messages. Any idea?

Thanks

M.



--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: automatic indents in Spanish

2003-09-08 Thread ahg
On Thu, 2003-09-04 at 14:43, Matej Cepl wrote:
On 2003-09-02, 20:05 GMT, [EMAIL PROTECTED] wrote:
  Isn't there something I can change in some configuration or .sty file, or
  something of the sort? Or maybe something I could add to the latex preamble? I'd
  like to make this happen automatically, just like in English.
 
 It usually means that Spanish people doing localization of Babel for
 Spanish thought that Spanish typographic tradition prescribes to do
 things like that. I do not think it to be wise to dispute them.
 
 Matej

Typographic tradition aside, five of the five (Spanish-language) books I just
pulled off the shelf don't indent paragraphs following section headings. (The
books were published in Mexico.) Isn't there a way I can dispute the Babel
localization if I feel like it?

Andrew

-
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos



Re: automatic indents in Spanish

2003-09-08 Thread ahg
On Thu, 2003-09-04 at 14:43, Matej Cepl wrote:
 On 2003-09-02, 20:05 GMT, [EMAIL PROTECTED] wrote:
  Isn't there something I can change in some configuration or .sty file, or
  something of the sort? Or maybe something I could add to the latex preamble? I'd
  like to make this happen automatically, just like in English.
 
 It usually means that Spanish people doing localization of Babel for
 Spanish thought that Spanish typographic tradition prescribes to do
 things like that. I do not think it to be wise to dispute them.
 
 Matej

Typographic tradition aside, five of the five (Spanish-language) books I
just pulled off the shelf don't indent paragraphs following section
headings. (The books were published in Mexico.) Isn't there a way I can
dispute the Babel localization if I feel like it?

Andrew




Re: automatic indents in Spanish

2003-09-08 Thread ahg
Isn't there something I can change in some configuration or .sty file, or
something of the sort? Or maybe something I could add to the latex preamble? I'd
like to make this happen automatically, just like in English.

Nos vemos lueguito,
Andrew

On Tue, 2003-09-02 at 12:45, Osvaldo Fornaro wrote:
 El Mar 02 Sep 2003 13:39, [EMAIL PROTECTED] escribió:
  Hi,
 
  I'm using lyx to write some documents in Spanish. I noticed that when I set
  that as the document language, paragraphs _are_ indented after section
  headings (in the dvi output), but if the language is English, said
  paragraphs are _not_ indented. How can I get them not to indent in Spanish
  documents?
 
  Thanks in advance,
  Andrew
 
 
 Check the Don't Indent option in paragraph format window for your first 
 paragraph after section, etc. or enumerate environment.
 
 Saludos!
 Osvaldo
 


-
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos



Re: Caption for long table?, was:Re: Why this long table is not splitted over pages?

2003-09-08 Thread Herbert Voß
Michael Logies schrieb:
At 06:44 01.09.2003 +0200, Herbert Voß wrote:

But: Is there a way to get this long table into the list of tables? 
And to assign it automatically a table-number and a caption? Or is 
this still an unsolved problem with Lyx (I did a short google-search 
with this result)?


this is a bad restriction of LyX. Write in the first or
last column in TeX \caption{...blah...}


Herbert,

this does not work. If I insert it without ERT, then only the text is 
shown. When I insert it within a ERT, I get error messages. Any idea?
attached an example

Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language ngerman
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1cm
\topmargin 1cm
\rightmargin 1cm
\bottommargin 1cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=5 columns=2
features type=longtable
column alignment=center valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true width=0
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
caption{a caption for a longtable}%
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

sd
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

sdsd
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bfb
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

fd
\end_inset 
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

ff
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

f
\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\layout Standard

blubber blah
\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=5 columns=2
features type=longtable
column alignment=center valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true width=0
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bhf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

nhg
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

sd
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

sdsd
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bfb
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

fd
\end_inset 
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
caption{a caption for a longtable}%
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true 

Re: Itemizations

2003-09-08 Thread Markus Amersdorfer
On Sun, 7 Sep 2003 11:10:31 +0200
Markus Amersdorfer [EMAIL PROTECTED] wrote:

Hi again!

  Using LyX 1.3.2, how can I add additional text to a first-level
  Itemization-item AFTER some second-level items?
 [...]
 
 Nevertheless, anybody knows if this feature has already been
 requested to be included in standard-LyX?

FYI: K. Benko sent me a LyX-only solution (without ERT):

It's possible to achieve the above mentioned layout by simply changing a
second level item from Itemize to Standard without changing the
indention level.
In contrast to a CTRL+ENTER, this creates a whole new paragraph
at the indention level without adding an itemization-mark. (CTRL+ENTER
only inserts kind of a 'newline'.)

Thanks again!

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

http://homex.subnet.at/~max/


Re: problem with math display

2003-09-08 Thread Johannes Simon
On Sunday 07 September 2003 23:54, John Levon wrote:
 Either way it's extremely unlikely it's a lyx problem, it's either
 Qt, fontconfig, or something on your system.

It's a Qt problem: Iteratively removing all dotfiles I found that
~/.qt/qtrc
was causing the trouble. It contained the following
---
[General]
embedFonts=true
 
[customColors]
0=-1
1=-1
10=-1
11=-1
12=-1
13=-1
14=-1
15=-1
2=-1
3=-1
4=-1
5=-1
6=-1
7=-1
8=-1
9=-1
---
Doing mv ~/.qt ~/.qt.bad solved the problem; however all screen fonts 
look very pixelized now, some are no more visible to applications at 
all :-(
But that's a minor problem.

Thanks, Johannes



Re: problem with math display after recompiling

2003-09-08 Thread Angus Leeming
Nirmal Govind wrote:

 Yes, Qt's that use fontconfig need the special fonts installed
 
 john
 
 How do I find out from the Qt source whether it uses fontconfig or not?

$ ldd ${PATH_TO_THE_EXECUTABLE}/lyx

Here (using RH8) it gives:

$ ldd ./lyx-qt
[snip...]
libqt-mt.so.3 = /usr/lib/qt-3.0.5/lib/libqt-mt.so.3 (0x40024000)
libXft.so.2 = /usr/lib/libXft.so.2 (0x40a07000)
libfontconfig.so.1 = /usr/lib/libfontconfig.so.1 (0x40a1a000)

 Or is there a list that shows which versions use fontconfig and
 which don't?

This is a matter of the Linux distribution that you use. As I understand it, 
RH8 and above and Debian unstable are using fontconfig. Dunno about any 
others.

-- 
Angus



Re: problem with math display

2003-09-08 Thread Johannes Simon
On Monday 08 September 2003 10:14, Johannes Simon wrote:
 On Sunday 07 September 2003 23:54, John Levon wrote:
  Either way it's extremely unlikely it's a lyx problem, it's
  either Qt, fontconfig, or something on your system.

 It's a Qt problem: Iteratively removing all dotfiles I found that
 ~/.qt/qtrc
 was causing the trouble. 

I found out more:

Calling qtconfig -- fonts there are two checkboxes:
  1) Enable Anti-Aliased Font Support (Xft)
  2) Anti-Alias Fonts by Default
Enabling them (and saving the config) corresponds to
  1) enableXft=true
  2) useXft=true
in ~/.qt/qtrc .

This changes the fonts available to qt-applications, since qt now uses 
Xft. Also the math fonts become visible to qt-applications, but not 
in lyx's math mode. So either lyx requests the wrong font from 
fontconfig, or fontconfig returns the wrong font.

Johannes



Re: problem with math display

2003-09-08 Thread Dekel Tsur
On Mon, Sep 08, 2003 at 10:14:31AM +0200, Johannes Simon wrote:
 On Sunday 07 September 2003 23:54, John Levon wrote:
  Either way it's extremely unlikely it's a lyx problem, it's either
  Qt, fontconfig, or something on your system.
 
 It's a Qt problem: Iteratively removing all dotfiles I found that
 ~/.qt/qtrc
 was causing the trouble. It contained the following

The problem is actually with changes in the way QT uses for fonts between
QT-3.1 and QT-3.2.
The problem is fixed in CVS. You can try the following patch for 1.3.x
(and restore the old ~/.qt/qtrc)


patch.gz
Description: application/gzip


Re: \itemsep doesn't work in koma-styles?

2003-09-08 Thread Osvaldo Fornaro
El Vie 05 Sep 2003 15:23, Juergen Spitzmueller escribió:
 Osvaldo Fornaro wrote:
  I need to reduce the space between items in a list. I put at first in ERT
  in the first item of the list
  \setlength{\itemsep}{newlength}

 try negative values. for me
 \setlength\itemsep{-0.5ex}
 in a enumerate/itemize environment works well (placed at the end of the
 first item.

 Juergen.

At last i found the problem! The first item in the list has bold style. LyX 
traslate in the tex file the \setlength command inside the \textbf , and 
then, the spacing was unchanged

Thanks to all
Osvaldo



-- 
Dr. Osvaldo Fornaro [EMAIL PROTECTED]
Universidad Nacional del Centro de la Provincia de Buenos Aires
Instituto de Física de Materiales Tandil - CICPBA
Pinto 399 (B7000GHG)
Argentina


Re: Running heads in chapters

2003-09-08 Thread Ronald Pagel
Juergen Spitzmueller wrote:
Ronald Pagel wrote:

Please tell us, if that really did the trick. I encountered a similar
problem while creating slides, as I tried to explain in my thread
missing number. There, tiny font chars in a math environment overlaid
onto themselves giving 1.3 instead of 11.3 in the pdf-output (I have
more examples, which are not exactly reproducible). However, the
ps-output was alright on the basis of the very same lyx-file! Uwe Stöhr
suggested a pdflatex problem, but I haven't found enough time to report
it to the developers yet. 


I cannot reproduce any problems with pdflatex 1.10a and the file list below. 
Maybe a font issue?
Not shure about that, but since you cannot reproduce it I thought I 
update my tetex from 1.0.7 to 2.0.2. The problems disappeared. Thank you!

Ronald



Re: Definition Tag in Article style

2003-09-08 Thread Matej Cepl
On 2003-09-07, 21:14 GMT, Victor Anaya wrote:
 I am using Article as document style, but I want to define some paragraphs 
 of my document such as definition (\begin{definition}). The problem is that 
 Article.cls does not have this tag defined. How can I do it? I do not want 
 to use the document style that has this tag (llcs.cls) as document style 
 because it is usuitable for the rest of document.

You need to learn more about LaTeX (read for example lshort.dvi file in
your TeX distribution) and then extend the layout according to the
chapter 5 of ``Customizing LyX: Features for the Advanced User''
(Help/Customization in LyX).

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Short titles

2003-09-08 Thread Rich Shepard
  To solve my problems with running heads (sometimes they print on two
lines, sometimes on a single, overlapping line) I decided to use short
titles. According to the Users Guide (version 1.3.2), I end up with short
titles not only on each page's running head but also in the Table of
Contents. Is there a LaTeX command that will print the long titles in the
ToC but leave the short titles in the running head?

TIA,

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Re: tilde does not show in equations

2003-09-08 Thread Amir Seginer
Hello,

Paul E. Johnson wrote:
I use LyX 1.3.2 with the qt gui on RedHat 9.

I typed a paper and in the math equations I used the tilde from the 
keyboard. I mean, I used the tilde you get by hitting shift and pressing 
the key that says ~.  It is above the TAB on a US keyboard.
I was embarrassed/frustrated to learn during a presentation that the 
tildes did not appear in the printed output (or dvi) for that matter.   
The tilde does appear in output for regular text, just not in equations.
Since then, I have learned that there is a work around. 
As far as I know, ~ is a special character in  LaTeX. Lyx automaticaly 
substitutes ~ for the proper code that prints ~ in text mode, but not 
in math mode. If you want the symbol to appear in an equation you need 
to enter \sim or equivalently use the math panel.

The problem, in my opinion, is the wrong color of the symbol. It appears 
black in LyX's math mode, but should appear red (since it is latex 
code). I've sent a feature request about this (bug #590) some time ago.

Amir.




buttons

2003-09-08 Thread Horst Jurkat
Hallo,
in my new version of lyx 1.3.2 lyx does not start in full screen modus. 
Also: if I click on the printing symbol (or corresponding key 
combination) in the opened mask is not set printing as standard but 
cancel. I cannot find the file where these defaults can be changed to 
get faster opening full screen and printing.
Can anyone help me?
Horst




Re: buttons

2003-09-08 Thread John Levon
On Mon, Sep 08, 2003 at 08:20:31PM +0200, Horst Jurkat wrote:

 combination) in the opened mask is not set printing as standard but 
 cancel. I cannot find the file where these defaults can be changed to 

Current CVS has Print as the default. It's not been back-ported to
1.3.3cvs though (yet ?)

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


reference

2003-09-08 Thread Guanglei Cui
Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
Author:Year. However, Lyx, when importing such bib files, has trouble 
recognizing the entries. For example, the first entry has a key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only available to select and 
the key is not properly displayed. Can anyone explain why and what is 
the best way to create bib files automatically? Thanks in advance.

Guanglei



Re: reference

2003-09-08 Thread Gareth Jenkins
I have found that endnote is very bad at generating decent citation keys 
which bibtex likes. In the example you give, the entire author field is 
used in the key, including spaces, commas and other things that bibtex 
doesn't like and there is no way to just use part of the author (or 
other fields).
You can either make keys based on fields which aren't likely to contain 
spaces, comas, etc. (such as year, page no. etc) or you can use another 
program to generate decent keys.
I believe there are some simple scripts available to do this but you may 
also want to check out a reference manager called sixpack. This can 
import endnote references, generate sensible citation keys and even 
insert them directly into lyx.
I haven't tried it under windows but it should work as long as you have 
pearl/tk. Take a look at http://www.santafe.edu/~dirk/sixpack/
Hope this helps!

Gareth

Guanglei Cui wrote:

Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
Author:Year. However, Lyx, when importing such bib files, has 
trouble recognizing the entries. For example, the first entry has a 
key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only available to select 
and the key is not properly displayed. Can anyone explain why and what 
is the best way to create bib files automatically? Thanks in advance.

Guanglei

.



--
Gareth Jenkins
Imperial College London
Web: www.achem.ic.ac.uk/



Re: reference

2003-09-08 Thread Guanglei Cui
Big thanks to many who replied. Sixpack works great.

Gareth Jenkins wrote:

I have found that endnote is very bad at generating decent citation 
keys which bibtex likes. In the example you give, the entire author 
field is used in the key, including spaces, commas and other things 
that bibtex doesn't like and there is no way to just use part of the 
author (or other fields).
You can either make keys based on fields which aren't likely to 
contain spaces, comas, etc. (such as year, page no. etc) or you can 
use another program to generate decent keys.
I believe there are some simple scripts available to do this but you 
may also want to check out a reference manager called sixpack. This 
can import endnote references, generate sensible citation keys and 
even insert them directly into lyx.
I haven't tried it under windows but it should work as long as you 
have pearl/tk. Take a look at http://www.santafe.edu/~dirk/sixpack/
Hope this helps!

Gareth

Guanglei Cui wrote:

Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
Author:Year. However, Lyx, when importing such bib files, has 
trouble recognizing the entries. For example, the first entry has a 
key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only available to select 
and the key is not properly displayed. Can anyone explain why and 
what is the best way to create bib files automatically? Thanks in 
advance.

Guanglei

.







Re: Definition Tag in Article style

2003-09-08 Thread Victor Anaya
Hi,

I have defined a layout with the definition style. When I apply the style in 
the document, the lyx visualizes the paragraph with the format, but when I 
generate the .pdf it does not work properly. The paragraphs are shown with 
standard style. Why?

Thanks in advance,

Víctor

From: Matej Cepl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Definition Tag in Article style
Date: Sun, 7 Sep 2003 23:45:24 +0200
Received: from wierdlmpc.msci.memphis.edu ([141.225.11.87]) by mc2-f24 with 
Microsoft SMTPSVC(5.0.2195.5600); Mon, 8 Sep 2003 09:08:54 -0700
Received: (qmail 2913 invoked by uid 602); 8 Sep 2003 16:05:18 -
Received: (qmail 2890 invoked from network); 8 Sep 2003 16:05:17 -
X-Message-Info: JGTYoYF78jEDnyLkeZL7+aAM5RB7wiXP
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Unsubscribe: 
mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
X-Injected-Via-Gmane: http://gmane.org/
Organization: Northeastern University, Boston, MA
Lines: 18
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
X-Complaints-To: [EMAIL PROTECTED]
User-Agent: slrn/0.9.7.4 (Linux)
Sender: news [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 08 Sep 2003 16:08:55.0068 (UTC) 
FILETIME=[80A425C0:01C37623]

On 2003-09-07, 21:14 GMT, Victor Anaya wrote:
 I am using Article as document style, but I want to define some 
paragraphs
 of my document such as definition (\begin{definition}). The problem is 
that
 Article.cls does not have this tag defined. How can I do it? I do not 
want
 to use the document style that has this tag (llcs.cls) as document style
 because it is usuitable for the rest of document.

You need to learn more about LaTeX (read for example lshort.dvi file in
your TeX distribution) and then extend the layout according to the
chapter 5 of ``Customizing LyX: Features for the Advanced User''
(Help/Customization in LyX).
Matej

--
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
_
Infórmate sobre las últimas noticias en MSN Actualidad. 
http://www.msn.es/Actualidad/



Caption for long table?, was:Re: Why this long table is not splitted over pages?

2003-09-08 Thread Michael Logies
At 06:44 01.09.2003 +0200, Herbert Voß wrote:

But: Is there a way to get this long table into the list of tables? And 
to assign it automatically a table-number and a caption? Or is this still 
an unsolved problem with Lyx (I did a short google-search with this result)?
this is a bad restriction of LyX. Write in the first or
last column in TeX \caption{...blah...}
Herbert,

this does not work. If I insert it without ERT, then only the text is 
shown. When I insert it within a ERT, I get error messages. Any idea?

Thanks

M.



--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: automatic indents in Spanish

2003-09-08 Thread ahg
On Thu, 2003-09-04 at 14:43, Matej Cepl wrote:
On 2003-09-02, 20:05 GMT, [EMAIL PROTECTED] wrote:
  Isn't there something I can change in some configuration or .sty file, or
  something of the sort? Or maybe something I could add to the latex preamble? I'd
  like to make this happen automatically, just like in English.
 
 It usually means that Spanish people doing localization of Babel for
 Spanish thought that Spanish typographic tradition prescribes to do
 things like that. I do not think it to be wise to dispute them.
 
 Matej

Typographic tradition aside, five of the five (Spanish-language) books I just
pulled off the shelf don't indent paragraphs following section headings. (The
books were published in Mexico.) Isn't there a way I can dispute the Babel
localization if I feel like it?

Andrew

-
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos



Re: automatic indents in Spanish

2003-09-08 Thread ahg
On Thu, 2003-09-04 at 14:43, Matej Cepl wrote:
 On 2003-09-02, 20:05 GMT, [EMAIL PROTECTED] wrote:
  Isn't there something I can change in some configuration or .sty file, or
  something of the sort? Or maybe something I could add to the latex preamble? I'd
  like to make this happen automatically, just like in English.
 
 It usually means that Spanish people doing localization of Babel for
 Spanish thought that Spanish typographic tradition prescribes to do
 things like that. I do not think it to be wise to dispute them.
 
 Matej

Typographic tradition aside, five of the five (Spanish-language) books I
just pulled off the shelf don't indent paragraphs following section
headings. (The books were published in Mexico.) Isn't there a way I can
dispute the Babel localization if I feel like it?

Andrew




Re: automatic indents in Spanish

2003-09-08 Thread ahg
Isn't there something I can change in some configuration or .sty file, or
something of the sort? Or maybe something I could add to the latex preamble? I'd
like to make this happen automatically, just like in English.

Nos vemos lueguito,
Andrew

On Tue, 2003-09-02 at 12:45, Osvaldo Fornaro wrote:
 El Mar 02 Sep 2003 13:39, [EMAIL PROTECTED] escribió:
  Hi,
 
  I'm using lyx to write some documents in Spanish. I noticed that when I set
  that as the document language, paragraphs _are_ indented after section
  headings (in the dvi output), but if the language is English, said
  paragraphs are _not_ indented. How can I get them not to indent in Spanish
  documents?
 
  Thanks in advance,
  Andrew
 
 
 Check the Don't Indent option in paragraph format window for your first 
 paragraph after section, etc. or enumerate environment.
 
 Saludos!
 Osvaldo
 


-
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos



Re: Caption for long table?, was:Re: Why this long table is not splitted over pages?

2003-09-08 Thread Herbert Voß
Michael Logies schrieb:
At 06:44 01.09.2003 +0200, Herbert Voß wrote:

But: Is there a way to get this long table into the list of tables? 
And to assign it automatically a table-number and a caption? Or is 
this still an unsolved problem with Lyx (I did a short google-search 
with this result)?


this is a bad restriction of LyX. Write in the first or
last column in TeX \caption{...blah...}


Herbert,

this does not work. If I insert it without ERT, then only the text is 
shown. When I insert it within a ERT, I get error messages. Any idea?
attached an example

Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language ngerman
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1cm
\topmargin 1cm
\rightmargin 1cm
\bottommargin 1cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=5 columns=2
features type=longtable
column alignment=center valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true width=0
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
caption{a caption for a longtable}%
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

sd
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

sdsd
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bfb
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

fd
\end_inset 
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

ff
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

f
\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\layout Standard

blubber blah
\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=5 columns=2
features type=longtable
column alignment=center valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true width=0
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bhf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

nhg
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

sd
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bf
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

sdsd
\end_inset 
/cell
/row
row topline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard

bfb
\end_inset 
/cell
cell alignment=center valignment=top topline=true leftline=true 
rightline=true usebox=none
\begin_inset Text

\layout Standard

fd
\end_inset 
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
caption{a caption for a longtable}%
\end_inset 


\end_inset 
/cell
cell alignment=center valignment=top topline=true 

Re: Itemizations

2003-09-08 Thread Markus Amersdorfer
On Sun, 7 Sep 2003 11:10:31 +0200
Markus Amersdorfer <[EMAIL PROTECTED]> wrote:

Hi again!

> > Using LyX 1.3.2, how can I add additional text to a first-level
> > "Itemization"-item AFTER some second-level items?
> [...]
> 
> Nevertheless, anybody knows if this "feature" has already been
> requested to be included in standard-LyX?

FYI: K. Benko sent me a LyX-only solution (without ERT):

It's possible to achieve the above mentioned layout by simply changing a
second level item from "Itemize" to "Standard" without changing the
indention level.
In contrast to a "CTRL+ENTER", this creates a whole new paragraph
at the indention level without adding an itemization-mark. ("CTRL+ENTER"
"only" inserts kind of a 'newline'.)

Thanks again!

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   

http://homex.subnet.at/~max/


Re: problem with math display

2003-09-08 Thread Johannes Simon
On Sunday 07 September 2003 23:54, John Levon wrote:
> Either way it's extremely unlikely it's a lyx problem, it's either
> Qt, fontconfig, or something on your system.

It's a Qt problem: Iteratively removing all dotfiles I found that
~/.qt/qtrc
was causing the trouble. It contained the following
---
[General]
embedFonts=true
 
[customColors]
0=-1
1=-1
10=-1
11=-1
12=-1
13=-1
14=-1
15=-1
2=-1
3=-1
4=-1
5=-1
6=-1
7=-1
8=-1
9=-1
---
Doing mv ~/.qt ~/.qt.bad solved the problem; however all screen fonts 
look very pixelized now, some are no more visible to applications at 
all :-(
But that's a minor problem.

Thanks, Johannes



Re: problem with math display after recompiling

2003-09-08 Thread Angus Leeming
Nirmal Govind wrote:

>> Yes, Qt's that use fontconfig need the special fonts installed
>> 
>> john
> 
> How do I find out from the Qt source whether it uses fontconfig or not?

$ ldd ${PATH_TO_THE_EXECUTABLE}/lyx

Here (using RH8) it gives:

$ ldd ./lyx-qt
[snip...]
libqt-mt.so.3 => /usr/lib/qt-3.0.5/lib/libqt-mt.so.3 (0x40024000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x40a07000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40a1a000)

> Or is there a list that shows which versions use fontconfig and
> which don't?

This is a matter of the Linux distribution that you use. As I understand it, 
RH8 and above and Debian unstable are using fontconfig. Dunno about any 
others.

-- 
Angus



Re: problem with math display

2003-09-08 Thread Johannes Simon
On Monday 08 September 2003 10:14, Johannes Simon wrote:
> On Sunday 07 September 2003 23:54, John Levon wrote:
> > Either way it's extremely unlikely it's a lyx problem, it's
> > either Qt, fontconfig, or something on your system.
>
> It's a Qt problem: Iteratively removing all dotfiles I found that
> ~/.qt/qtrc
> was causing the trouble. 

I found out more:

Calling qtconfig --> fonts there are two checkboxes:
  1) Enable Anti-Aliased Font Support (Xft)
  2) Anti-Alias Fonts by Default
Enabling them (and saving the config) corresponds to
  1) enableXft=true
  2) useXft=true
in ~/.qt/qtrc .

This changes the fonts available to qt-applications, since qt now uses 
Xft. Also the math fonts become visible to qt-applications, but not 
in lyx's math mode. So either lyx requests the wrong font from 
fontconfig, or fontconfig returns the wrong font.

Johannes



Re: problem with math display

2003-09-08 Thread Dekel Tsur
On Mon, Sep 08, 2003 at 10:14:31AM +0200, Johannes Simon wrote:
> On Sunday 07 September 2003 23:54, John Levon wrote:
> > Either way it's extremely unlikely it's a lyx problem, it's either
> > Qt, fontconfig, or something on your system.
> 
> It's a Qt problem: Iteratively removing all dotfiles I found that
> ~/.qt/qtrc
> was causing the trouble. It contained the following

The problem is actually with changes in the way QT uses for fonts between
QT-3.1 and QT-3.2.
The problem is fixed in CVS. You can try the following patch for 1.3.x
(and restore the old ~/.qt/qtrc)


patch.gz
Description: application/gzip


Re: \itemsep doesn't work in koma-styles?

2003-09-08 Thread Osvaldo Fornaro
El Vie 05 Sep 2003 15:23, Juergen Spitzmueller escribió:
> Osvaldo Fornaro wrote:
> > I need to reduce the space between items in a list. I put at first in ERT
> > in the first item of the list
> > \setlength{\itemsep}{newlength}
>
> try negative values. for me
> \setlength\itemsep{-0.5ex}
> in a enumerate/itemize environment works well (placed at the end of the
> first item.
>
> Juergen.

At last i found the problem! The first item in the list has bold style. LyX 
traslate in the tex file the \setlength command inside the \textbf , and 
then, the spacing was unchanged

Thanks to all
Osvaldo



-- 
Dr. Osvaldo Fornaro <[EMAIL PROTECTED]>
Universidad Nacional del Centro de la Provincia de Buenos Aires
Instituto de Física de Materiales Tandil - CICPBA
Pinto 399 (B7000GHG)
Argentina


Re: Running heads in chapters

2003-09-08 Thread Ronald Pagel
Juergen Spitzmueller wrote:
Ronald Pagel wrote:

Please tell us, if that really did the trick. I encountered a similar
problem while creating slides, as I tried to explain in my thread
"missing number". There, tiny font chars in a math environment overlaid
onto themselves giving "1.3" instead of "11.3" in the pdf-output (I have
more examples, which are not exactly reproducible). However, the
ps-output was alright on the basis of the very same lyx-file! Uwe Stöhr
suggested a pdflatex problem, but I haven't found enough time to report
it to the developers yet. 


I cannot reproduce any problems with pdflatex 1.10a and the file list below. 
Maybe a font issue?
Not shure about that, but since you cannot reproduce it I thought I 
update my tetex from 1.0.7 to 2.0.2. The problems disappeared. Thank you!

Ronald



Re: Definition Tag in Article style

2003-09-08 Thread Matej Cepl
On 2003-09-07, 21:14 GMT, Victor Anaya wrote:
> I am using Article as document style, but I want to define some paragraphs 
> of my document such as definition (\begin{definition}). The problem is that 
> Article.cls does not have this tag defined. How can I do it? I do not want 
> to use the document style that has this tag (llcs.cls) as document style 
> because it is usuitable for the rest of document.

You need to learn more about LaTeX (read for example lshort.dvi file in
your TeX distribution) and then extend the layout according to the
chapter 5 of ``Customizing LyX: Features for the Advanced User''
(Help/Customization in LyX).

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Short titles

2003-09-08 Thread Rich Shepard
  To solve my problems with running heads (sometimes they print on two
lines, sometimes on a single, overlapping line) I decided to use short
titles. According to the Users Guide (version 1.3.2), I end up with short
titles not only on each page's running head but also in the Table of
Contents. Is there a LaTeX command that will print the long titles in the
ToC but leave the short titles in the running head?

TIA,

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com
 http://www.appl-ecosys.com/


Re: tilde does not show in equations

2003-09-08 Thread Amir Seginer
Hello,

Paul E. Johnson wrote:
I use LyX 1.3.2 with the qt gui on RedHat 9.

I typed a paper and in the math equations I used the tilde from the 
keyboard. I mean, I used the tilde you get by hitting shift and pressing 
the key that says ~.  It is above the TAB on a US keyboard.
I was embarrassed/frustrated to learn during a presentation that the 
tildes did not appear in the printed output (or dvi) for that matter.   
The tilde does appear in output for regular text, just not in equations.
Since then, I have learned that there is a work around. 
As far as I know, "~" is a special character in  LaTeX. Lyx automaticaly 
substitutes ~ for the proper code that prints "~" in text mode, but not 
in math mode. If you want the symbol to appear in an equation you need 
to enter "\sim" or equivalently use the math panel.

The problem, in my opinion, is the wrong color of the symbol. It appears 
black in LyX's math mode, but should appear red (since it is latex 
code). I've sent a feature request about this (bug #590) some time ago.

Amir.




buttons

2003-09-08 Thread Horst Jurkat
Hallo,
in my new version of lyx 1.3.2 lyx does not start in full screen modus. 
Also: if I click on the printing symbol (or corresponding key 
combination) in the opened mask is not set "printing" as standard but 
"cancel". I cannot find the file where these defaults can be changed to 
get faster opening full screen and printing.
Can anyone help me?
Horst




Re: buttons

2003-09-08 Thread John Levon
On Mon, Sep 08, 2003 at 08:20:31PM +0200, Horst Jurkat wrote:

> combination) in the opened mask is not set "printing" as standard but 
> "cancel". I cannot find the file where these defaults can be changed to 

Current CVS has "Print" as the default. It's not been back-ported to
1.3.3cvs though (yet ?)

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


reference

2003-09-08 Thread Guanglei Cui
Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
"Author:Year". However, Lyx, when importing such bib files, has trouble 
recognizing the entries. For example, the first entry has a key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only "available" to select and 
the key is not properly displayed. Can anyone explain why and what is 
the best way to create bib files automatically? Thanks in advance.

Guanglei



Re: reference

2003-09-08 Thread Gareth Jenkins
I have found that endnote is very bad at generating decent citation keys 
which bibtex likes. In the example you give, the entire author field is 
used in the key, including spaces, commas and other things that bibtex 
doesn't like and there is no way to just use part of the author (or 
other fields).
You can either make keys based on fields which aren't likely to contain 
spaces, comas, etc. (such as year, page no. etc) or you can use another 
program to generate decent keys.
I believe there are some simple scripts available to do this but you may 
also want to check out a reference manager called sixpack. This can 
import endnote references, generate sensible citation keys and even 
insert them directly into lyx.
I haven't tried it under windows but it should work as long as you have 
pearl/tk. Take a look at http://www.santafe.edu/~dirk/sixpack/
Hope this helps!

Gareth

Guanglei Cui wrote:

Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
"Author:Year". However, Lyx, when importing such bib files, has 
trouble recognizing the entries. For example, the first entry has a 
key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only "available" to select 
and the key is not properly displayed. Can anyone explain why and what 
is the best way to create bib files automatically? Thanks in advance.

Guanglei

.



--
Gareth Jenkins
Imperial College London
Web: www.achem.ic.ac.uk/



Re: reference

2003-09-08 Thread Guanglei Cui
Big thanks to many who replied. Sixpack works great.

Gareth Jenkins wrote:

I have found that endnote is very bad at generating decent citation 
keys which bibtex likes. In the example you give, the entire author 
field is used in the key, including spaces, commas and other things 
that bibtex doesn't like and there is no way to just use part of the 
author (or other fields).
You can either make keys based on fields which aren't likely to 
contain spaces, comas, etc. (such as year, page no. etc) or you can 
use another program to generate decent keys.
I believe there are some simple scripts available to do this but you 
may also want to check out a reference manager called sixpack. This 
can import endnote references, generate sensible citation keys and 
even insert them directly into lyx.
I haven't tried it under windows but it should work as long as you 
have pearl/tk. Take a look at http://www.santafe.edu/~dirk/sixpack/
Hope this helps!

Gareth

Guanglei Cui wrote:

Hi,

I'm trying to create a BibTex database (bib) file with Endnote. The 
BibTex style isn't exactly what I like, so I change the key to 
"Author:Year". However, Lyx, when importing such bib files, has 
trouble recognizing the entries. For example, the first entry has a 
key like this:

Abarbanel R. M. and Cohen F. E. and Kuntz I. D.:1987

But when I insert citations, this is the only "available" to select 
and the key is not properly displayed. Can anyone explain why and 
what is the best way to create bib files automatically? Thanks in 
advance.

Guanglei

.







Re: Definition Tag in Article style

2003-09-08 Thread Victor Anaya
Hi,

I have defined a layout with the definition style. When I apply the style in 
the document, the lyx visualizes the paragraph with the format, but when I 
generate the .pdf it does not work properly. The paragraphs are shown with 
standard style. Why?

Thanks in advance,

Víctor

From: Matej Cepl <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Definition Tag in Article style
Date: Sun, 7 Sep 2003 23:45:24 +0200
Received: from wierdlmpc.msci.memphis.edu ([141.225.11.87]) by mc2-f24 with 
Microsoft SMTPSVC(5.0.2195.5600); Mon, 8 Sep 2003 09:08:54 -0700
Received: (qmail 2913 invoked by uid 602); 8 Sep 2003 16:05:18 -
Received: (qmail 2890 invoked from network); 8 Sep 2003 16:05:17 -
X-Message-Info: JGTYoYF78jEDnyLkeZL7+aAM5RB7wiXP
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Post: 
List-Help: 
List-Unsubscribe: 

Delivered-To: mailing list [EMAIL PROTECTED]
X-Injected-Via-Gmane: http://gmane.org/
Organization: Northeastern University, Boston, MA
Lines: 18
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
X-Complaints-To: [EMAIL PROTECTED]
User-Agent: slrn/0.9.7.4 (Linux)
Sender: news <[EMAIL PROTECTED]>
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 08 Sep 2003 16:08:55.0068 (UTC) 
FILETIME=[80A425C0:01C37623]

On 2003-09-07, 21:14 GMT, Victor Anaya wrote:
> I am using Article as document style, but I want to define some 
paragraphs
> of my document such as definition (\begin{definition}). The problem is 
that
> Article.cls does not have this tag defined. How can I do it? I do not 
want
> to use the document style that has this tag (llcs.cls) as document style
> because it is usuitable for the rest of document.

You need to learn more about LaTeX (read for example lshort.dvi file in
your TeX distribution) and then extend the layout according to the
chapter 5 of ``Customizing LyX: Features for the Advanced User''
(Help/Customization in LyX).
Matej

--
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
_
Infórmate sobre las últimas noticias en MSN Actualidad. 
http://www.msn.es/Actualidad/



Caption for "long table"?, was:Re: Why this "long table" is not splitted over pages?

2003-09-08 Thread Michael Logies
At 06:44 01.09.2003 +0200, Herbert Voß wrote:

But: Is there a way to get this "long table" into the list of tables? And 
to assign it automatically a table-number and a caption? Or is this still 
an unsolved problem with Lyx (I did a short google-search with this result)?
this is a bad restriction of LyX. Write in the first or
last column in TeX \caption{...blah...}
Herbert,

this does not work. If I insert it without ERT, then only the text is 
shown. When I insert it within a ERT, I get error messages. Any idea?

Thanks

M.



--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: automatic indents in Spanish

2003-09-08 Thread ahg
On Thu, 2003-09-04 at 14:43, Matej Cepl wrote:
On 2003-09-02, 20:05 GMT, [EMAIL PROTECTED] wrote:
> > Isn't there something I can change in some configuration or .sty file, or
> > something of the sort? Or maybe something I could add to the latex preamble? I'd
> > like to make this happen automatically, just like in English.
> 
> It usually means that Spanish people doing localization of Babel for
> Spanish thought that Spanish typographic tradition prescribes to do
> things like that. I do not think it to be wise to dispute them.
> 
> Matej

Typographic tradition aside, five of the five (Spanish-language) books I just
pulled off the shelf don't indent paragraphs following section headings. (The
books were published in Mexico.) Isn't there a way I can dispute the Babel
localization if I feel like it?

Andrew

-
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos



Re: automatic indents in Spanish

2003-09-08 Thread ahg
On Thu, 2003-09-04 at 14:43, Matej Cepl wrote:
> On 2003-09-02, 20:05 GMT, [EMAIL PROTECTED] wrote:
> > Isn't there something I can change in some configuration or .sty file, or
> > something of the sort? Or maybe something I could add to the latex preamble? I'd
> > like to make this happen automatically, just like in English.
> 
> It usually means that Spanish people doing localization of Babel for
> Spanish thought that Spanish typographic tradition prescribes to do
> things like that. I do not think it to be wise to dispute them.
> 
> Matej

Typographic tradition aside, five of the five (Spanish-language) books I
just pulled off the shelf don't indent paragraphs following section
headings. (The books were published in Mexico.) Isn't there a way I can
dispute the Babel localization if I feel like it?

Andrew




Re: automatic indents in Spanish

2003-09-08 Thread ahg
Isn't there something I can change in some configuration or .sty file, or
something of the sort? Or maybe something I could add to the latex preamble? I'd
like to make this happen automatically, just like in English.

Nos vemos lueguito,
Andrew

On Tue, 2003-09-02 at 12:45, Osvaldo Fornaro wrote:
> El Mar 02 Sep 2003 13:39, [EMAIL PROTECTED] escribió:
> > Hi,
> >
> > I'm using lyx to write some documents in Spanish. I noticed that when I set
> > that as the document language, paragraphs _are_ indented after section
> > headings (in the dvi output), but if the language is English, said
> > paragraphs are _not_ indented. How can I get them not to indent in Spanish
> > documents?
> >
> > Thanks in advance,
> > Andrew
> >
> 
> Check the "Don't Indent" option in paragraph format window for your first 
> paragraph after section, etc. or enumerate environment.
> 
> Saludos!
> Osvaldo
> 


-
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos



Re: Caption for "long table"?, was:Re: Why this "long table" is not splitted over pages?

2003-09-08 Thread Herbert Voß
Michael Logies schrieb:
At 06:44 01.09.2003 +0200, Herbert Voß wrote:

But: Is there a way to get this "long table" into the list of tables? 
And to assign it automatically a table-number and a caption? Or is 
this still an unsolved problem with Lyx (I did a short google-search 
with this result)?


this is a bad restriction of LyX. Write in the first or
last column in TeX \caption{...blah...}


Herbert,

this does not work. If I insert it without ERT, then only the text is 
shown. When I insert it within a ERT, I get error messages. Any idea?
attached an example

Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language ngerman
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1cm
\topmargin 1cm
\rightmargin 1cm
\bottommargin 1cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard


\begin_inset  Tabular






\begin_inset Text

\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
caption{a caption for a longtable}%
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

\end_inset 




\begin_inset Text

\layout Standard

bf
\end_inset 


\begin_inset Text

\layout Standard

sd
\end_inset 




\begin_inset Text

\layout Standard

bf
\end_inset 


\begin_inset Text

\layout Standard

sdsd
\end_inset 




\begin_inset Text

\layout Standard

bfb
\end_inset 


\begin_inset Text

\layout Standard

fd
\end_inset 




\begin_inset Text

\layout Standard

ff
\end_inset 


\begin_inset Text

\layout Standard

f
\end_inset 




\end_inset 


\layout Standard

blubber blah
\layout Standard


\begin_inset  Tabular






\begin_inset Text

\layout Standard

bhf
\end_inset 


\begin_inset Text

\layout Standard

nhg
\end_inset 




\begin_inset Text

\layout Standard

bf
\end_inset 


\begin_inset Text

\layout Standard

sd
\end_inset 




\begin_inset Text

\layout Standard

bf
\end_inset 


\begin_inset Text

\layout Standard

sdsd
\end_inset 




\begin_inset Text

\layout Standard

bfb
\end_inset 


\begin_inset Text

\layout Standard

fd
\end_inset 




\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
caption{a caption for a longtable}%
\end_inset 


\end_inset 


\begin_inset Text

\layout Standard

\end_inset 




\end_inset 


\the_end