Re: importing graphics

2003-03-27 Thread Jean-Pierre.Chretien

Date: Thu, 27 Mar 2003 02:46:38 -0500 (EST)
To: [EMAIL PROTECTED]
Subject: importing graphics
From: Nirmal Govind [EMAIL PROTECTED]

Hi.. I'm having trouble with getting some graphics into my file.. I have a 
bunch
of jpg files that I've included in my document.. LyX shows these images
perfectly well in the LyX window but when I view PDF using any of the three
methods, the images get really distorted.. I was hoping that at least pdflatex
would do a nice job since it handles jpg files directly (without converting it
to any other format) but no luck.. what do I need to do to get the PDF output
of the images to look like what it is in the LyX window?

Thanks,
nirmal

Try tex2pdf, preserves the original jpg images, 
does the hyperref part for you.


http://developer.berlios.de/projects/tex2pdf/

-- 
Jean-Pierre



Re: duplicate menu's

2003-03-27 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John On Wed, Mar 26, 2003 at 10:41:03PM +0100, Martijn Brouwer wrote:
 Works! Renaming ~/.lyx/ui/default.ui works to and preserves my
 settings :-)

John Ah, the problem is the nobuffer menus. Remove those
John completely, and all references to them.

How come they appear in the menubar?

JMarc


Re: Advantages of qt over xforms?

2003-03-27 Thread Marcin Bukat

2. qt forntend lyx, gcc, qt as above
if LC_ALL=pl_PL, and LANG=pl menu is in Polish, but in math editor I 
have LateX command instead of symbols (Gamma, Delta...)


This is as designed. Qt will *not* let us set a font that is of the
wrong locale, no matter what we do. And it thinks the symbol fonts are
of the wrong locale :(
It is, frankly, fucking stupid of Qt, but we cannot do anything, I am
afraid.
regards,
john
If I understand You correctly, qt thinks math fonts are in wrong locale, 
and permits loading of this fonts, am I right? So Are there some way to 
fake it? I mean font.alias can help or is it hardcoded in font itself?
wo




Re: How to make the index appear - OT

2003-03-27 Thread Munzir Taha
 2:36   27  2003 Christian Ridderstrm :
  --
  Munzir Taha,
  Microsoft Office User Specialist, (MOUS),

 I'm just curious here... how come a MOUS is not using Word? :-)
Actually I used to be a Microsoft addict before I know something about linux 
and its great apps. Now, I don't use Word at home but need it in work. 
However, speaking frankly, as a Word expert I think no wordprocessor program 
has yet catch all of Word features. At least, as an Arabic user I still need 
it. I am sure this will change in the near future. Arabeyes.org is doing a 
great job nowadays.

-- 
Munzir Taha,
Telecommunications and Electronics Engineer,
Certified Internet Webmaster, (CIW),
Microsoft Office User Specialist, (MOUS),
New Horizons Computer Learning Centers,
Riyadh, Saudi Arabia


springer llncs

2003-03-27 Thread Steve M. Robbins
I need to format a document using Springer's package for lecture
notes in compter science.  I got the latex macros from their web
site (LLNCS DOCUMENT CLASS -- version 2.13 (28-Jan-2002)) and
located them so that TeX can find them.

I fired up lyx, selected edit/reconfigure.  Among the output
was

+checking for document class llncs [llncs]... yes

so I figure all is well.  I quit  restarted lyx, created a new
document, and in layout/document dialog, I changed the document class
to Springer - Lecture Notes in Comp. Sci..  Immediately, I get
the following output to the terminal:

Cannot copy unknown style `Journal'
All layouts so far:
Standard
Chapter
Section
Subsection
Subsubsection
Paragraph
[...]

repeated four times.

Is this normal?  Things *seem* to work ok, but that output is
curious.  I'm using lyx 1.2.2 btw.

Hmm.  On closer examination, the llncs.layout file that comes
with lyx has four lines that read

  CopyStyle Journal

I suppose this is the source of my troubles.  Am I missing a
Journal .layout file?  Or does llncs.layout need updating?


Thanks for any enlightenment,
-Steve





Help Bibliography. natbib sort compress errors

2003-03-27 Thread vsharma
I use LYX 1.3.0 on CYGWIN/Windows XP
I am using Bool{komascript}
I have in my preamble
\usepackage[numbers,round,sortcompress]{natbib}
the bib style is vancouver
Problem
If i site aa(1)j(2) c (3)
in my document  and when i go back and add citation (3) before (1) thus 
aaa(3)aaa(1)j(2) c (3)
i get in the output aaa(3)aaa(1)j(2) c (3) and not

aaa(1)aaa(2)j(3) c (1) as the order has now changed
what am i doing wrong
please please can anyone help!!
vivek


Re: duplicate menu's

2003-03-27 Thread John Levon
On Thu, Mar 27, 2003 at 10:42:01AM +0100, Jean-Marc Lasgouttes wrote:

 How come they appear in the menubar?

We didn't remove all special handling for nobuffer ?

john


Re: Advantages of qt over xforms?

2003-03-27 Thread John Levon
On Thu, Mar 27, 2003 at 12:31:55PM +0100, Marcin Bukat wrote:

 If I understand You correctly, qt thinks math fonts are in wrong locale, 

Right.

 fake it? I mean font.alias can help or is it hardcoded in font itself?

I don't know, sorry.

john


section and figure heads

2003-03-27 Thread Frederic Leymarie
Hi

I am using the article format with 10pt times fonts.

I need to change the defaults for the look of the section and figure
headers.
I need to reduce the size of the section heads defaults so that it
is 12pt boldface (not 14pt)
I also need to have a dot . after the section number

I need to also reduce to 12pt the Referenced header.


For figures, I need the Figure x. to be in 10 pt helvetica boldface
with a dot .  not a colon (the default),
and the caption to be helvetica 10pt.

Same thing for tables.


I looked at the lyx tricks website but could not find such details.


thanks
Frederic



--
Frederic FOL LEYMARIE, Ph.D., Manager of the SHAPE Lab.
http://www.lems.brown.edu/shape/
Brown University, Division of Engineering, LEMS, Box D
182-4 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2760, Alternate Voice: x2177, Fax: x9039
mailto:[EMAIL PROTECTED] , http://www.lems.brown.edu/~leymarie
---
It does play with dice ... but are they fixed?





Re: section and figure heads

2003-03-27 Thread Owen Lucas
here is my hatchet latex job

This requires some mucking arround with some of the settings in the .cls 
in your preamble or at the start of your document. With the number of 
mods you want to do it may be worth copying the article.cls file and 
editing that.

as for the size of the section headers etc you need change the part in 
the cls file that says something like the following

[EMAIL PROTECTED] [EMAIL PROTECTED]
   {-3.5ex [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] 
-.2ex}%
   {2.3ex [EMAIL PROTECTED]
   {\normalfont\Large\bfseries}}
you could just copy this to the preamble and change the \newcommand to 
\renewcommand and then play with the \Large command perhaps change it to 
\large

As for the dot that should be easy but I tryed what I expected would 
work and it didnt so perhaps some one else can help you there.

as for the figure change you should be able to put in ERT at the top of 
your document (I dont think it works in the preamble)

\renewcommand\figurename{\normalfont\normalsize\bfseries Figure}
\renewcommand\tablename{\normalfont\normalsize\bfseries Table}
and so on

once again I dont know about the . but I would have expected that there 
was one there automaticly.

but realy copy article.cls to myarticle.cls and change it to do what you 
want. ofcause this is not exactly as simple as changing just the bits 
you want and you will need to also mod a .layout file

cheers
owen
Hi

I am using the article format with 10pt times fonts.

I need to change the defaults for the look of the section and figure
headers.
I need to reduce the size of the section heads defaults so that it
is 12pt boldface (not 14pt)
I also need to have a dot . after the section number
I need to also reduce to 12pt the Referenced header.

For figures, I need the Figure x. to be in 10 pt helvetica boldface
with a dot .  not a colon (the default),
and the caption to be helvetica 10pt.
Same thing for tables.

I looked at the lyx tricks website but could not find such details.

thanks
Frederic


--
Frederic FOL LEYMARIE, Ph.D., Manager of the SHAPE Lab.
http://www.lems.brown.edu/shape/
Brown University, Division of Engineering, LEMS, Box D
182-4 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2760, Alternate Voice: x2177, Fax: x9039
mailto:[EMAIL PROTECTED] , http://www.lems.brown.edu/~leymarie
---
It does play with dice ... but are they fixed?






Re: importing graphics

2003-03-27 Thread Nirmal Govind
 Try tex2pdf, preserves the original jpg images, 
 does the hyperref part for you.
 

I downloaded and tried tex2pdf.. it gives me errors..
btw, from the log file, it seems like it uses pdflatex?? So how would
the output be different from the one using pdflatex directly? Just
curious.. I'm attaching the log file for tex2pdf in case you know what's
going wrong.. In the converters section, I wasn't sure what extra
flags needed to be specified.. the README doesn't talk abt the
options/flags available...

Thanks,
nirmal


tex2pdf-2956.log
Description: Binary data


Layout: How to center counter_chapter label?

2003-03-27 Thread Johnathan Burchill
Hi folks,

I'm modifying a thesis.layout file to get it to approximate the 
dvi file a little closer. 

DVI: (--...-- is just a placeholder for spacing)
- Chapter  1
 Introduction

LyX: default chapter layout using

Style Chapter
Margin  Static
LatexType   Command
LatexName   chapter
NeedProtect 1
NextNoIndent1
ParSkip 0.4
TopSep  4
BottomSep   0.8
ParSep  0.8
Align   Block
AlignPossible   Block, Left
LabelType   Counter_Chapter
LabelString Chapter 
LabelStringAppendix Appendix 
OptionalArgs
Font
Series  Bold
SizeLarger
EndFont
End

Output is:

Chapter 1
Introduction

Now I change the layout file to get the labels centered,
with something like this:
Style Chapter
Align   Center
End

LyX: Centered labels
--- Chapter  1
--- Introduction

I've searched the docs. Also the mailing list for
center Counter_Chapter without success.

Has anybody seen or solved this? How do you get
the top label centered over the bottom label?
My guess is that I might have to add a Center_Counter_Chapter
labeltype for the layouts, and I will delve into the source code 
if it can't be done in the layout. (It might be done manually, 
but that defeats the purpose of the Counter_Chapter 
labeltype.)

Using LyX 1.3.1, QT, GNU/linux(2419), but had same behavior with
1.2.x and libforms.

Thanks in advance for any suggestions or pointers.

Johnathan
-- 
Johnathan K. Burchill, Ph.D. candidate
Department of Physics and Astronomy
University of Calgary
2500 University Drive N.W.
Calgary, AB T2N 1N4
Canada

[EMAIL PROTECTED]



including uncited references

2003-03-27 Thread Nirmal Govind
Hi.. what's the easiest way to include uncited references from a bib
database? 

Thanks,
nirmal


Re: including uncited references

2003-03-27 Thread Christian Ridderström
On Thu, 27 Mar 2003, Nirmal Govind wrote:

 Hi.. what's the easiest way to include uncited references from a bib
 database? 
Easiest... soon you're going to want the 'optimal' way ;-)

AFAIK, you have to do \nocite{Author98a} in ERT.

I guess an enhancement request at bugzilla is in order for this, and I'll 
file it.

/Christian

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




Is this a solid workaround for using bibunits without bibliographytitle

2003-03-27 Thread Christian Ridderström
Hi

I'm using bibunits.sty to insert a special list of references in my 
thesis. In this case I don't want the usual Bibliography-title, and I'm 
using a tip from this list to fix that. My question is if this 
solution will cause problems later on.

Bascially I'm doing the following:
(The lyx-file is here: http://www.md.kth.se/~chr/lyx/examples/bibunits/ )

In preamble:\usepackage{bibunits}

In document:
(ERT)   \begin{bibunit}[unsrt]

Normal citations (or \nocite{}-commands)


(ERT)   \def\chapter*#1{}
(ERT)   \putbib[aBibtexFile]
(ERT)   \end{bibunit}

The rest of the thesis

I've figured out that \def\chapter*#1{} redefines the environment 
chapter*, but I'm not sure if this will be temporary, or if there is a 
risk that later 'chapter*'-environments will be affected?

In the original tip, the redefinition was to be inserted just before the 
bibliography, so there wasn't any risk of affecting a later 
chapter*-environment.

/Christian

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




math symbols are displayed as text

2003-03-27 Thread Johan Marc
Hi all,
I have just installed the precompiled lyx 1.3.1 rpm for rh 8 on my rh8
system, and I am wondering how I can make lyx to display all math
symbols as a symbol and not a red text? ( A \Leftrightarrow
is displayed as a red Leftrightarrow and not == )
j




Re: math symbols are displayed as text

2003-03-27 Thread John Levon
On Fri, Mar 28, 2003 at 05:10:23PM +1200, Johan Marc wrote:

 I have just installed the precompiled lyx 1.3.1 rpm for rh 8 on my rh8
 system, and I am wondering how I can make lyx to display all math
 symbols as a symbol and not a red text? ( A \Leftrightarrow
 is displayed as a red Leftrightarrow and not == )

install latex-ttf-fonts from ftp.lyx.org

john


Re: math symbols are displayed as text

2003-03-27 Thread Nirmal Govind

 system, and I am wondering how I can make lyx to display all math
 symbols as a symbol and not a red text? ( A \Leftrightarrow

Are you inside the math editor? If not, hit Ctrl-m and type
\Leftrightarrow and a space (or hit the rightarrow key) and you'll see
the symbol..

Or are you saying that the above isn't working??

nirmal


Re: importing graphics

2003-03-27 Thread Jean-Pierre.Chretien

Date: Thu, 27 Mar 2003 17:24:33 -0700
From: Nirmal Govind [EMAIL PROTECTED]
To: Jean-Pierre.Chretien [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: importing graphics

 Try tex2pdf, preserves the original jpg images, 
 does the hyperref part for you.
 

I downloaded and tried tex2pdf.. it gives me errors..
btw, from the log file, it seems like it uses pdflatex?? So how would
the output be different from the one using pdflatex directly? Just
curious.. I'm attaching the log file for tex2pdf in case you know what's
going wrong.. In the converters section, I wasn't sure what extra
flags needed to be specified.. the README doesn't talk abt the
options/flags available...

Thanks,
nirmal

tex2pdf aims to run pdflatex on tex file ready for plain latex
(i.e. creating dvi) without altering the original.

Basically it
 - copies all original tex files as -xxx.tex files (xxx defaults to pdf)
 - converts all ps or eps graphics to pdf using esptopdf
 (which lies with the latex binaries, as a perl scrip calling gs)
 - inserts the hyperref commands described by the configuration files
 (take the default if not done
 
In addition, it does all the necessary runs to cope with bibtex, index, 
glossary, check for metapost files, and gives a try (this is not
stable yet) to psfrag part.

So it does pdflatex for you, that means that you should not
take steps on your own by including pdftex option of graphicx 
(I.m not really sure for this) or hyperref itself.

You're message about input stack size is puzzling, 
first time I see it. I had to increase pool size and memory
dur tu hyperref buffering needs.

All seems correct up to there, you may run with -debug option
and see directly what's wrong with the -pdf files, because
this message kills the first pdflatex run, so that bibtex cannot work.

As this belongs rather to tex2pdf than to lyx, I Cc my answer
to the tex2pdf list.

-- 
Jean-Pierre

PS the reame is not useful for options, run tex2pdf -c to understand 
about those.

By the way, which tex2pdf version ? Which pdftex version ? 
Which hyperref version ? 
Here:
 -tex2pdf -v
tex2pdf Version 3.1.20
(last CVS)

-pdflatex
This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2C 7.3.7x)
**

\ProvidesPackage{hyperref}
  [2002/05/27 v6.72r
  Hypertext links for LaTeX]




Re: including uncited references

2003-03-27 Thread Jean-Pierre.Chretien

X-Injected-Via-Gmane: http://gmane.org/
To: [EMAIL PROTECTED]
From: Christian Ridderström [EMAIL PROTECTED]
Subject: Re: including uncited references
Date: Fri, 28 Mar 2003 06:20:38 +0100
X-Complaints-To: [EMAIL PROTECTED]
X-X-Sender: [EMAIL PROTECTED]

On Thu, 27 Mar 2003, Nirmal Govind wrote:

 Hi.. what's the easiest way to include uncited references from a bib
 database? 
Easiest... soon you're going to want the 'optimal' way ;-)

AFAIK, you have to do \nocite{Author98a} in ERT.

I guess an enhancement request at bugzilla is in order for this, and I'll 
file it.

Another way: put all and only all the required citations in the .bib
file (unsing any database sorting and extraction tool), 
and add \nocite{*} in ERT.

\cite{*} should work also, but is seldomly needed :-)

-- 
Jean-Pierre



Re: Is this a solid workaround for using bibunits without bibliography title

2003-03-27 Thread Jean-Pierre.Chretien

X-Injected-Via-Gmane: http://gmane.org/
To: [EMAIL PROTECTED]
From: Christian Ridderström [EMAIL PROTECTED]
Subject: Is this a solid workaround for using bibunits without bibliography 
title
Date: Fri, 28 Mar 2003 06:36:39 +0100
X-Complaints-To: [EMAIL PROTECTED]
X-X-Sender: [EMAIL PROTECTED]

Hi

I'm using bibunits.sty to insert a special list of references in my 
thesis. In this case I don't want the usual Bibliography-title, and I'm 
using a tip from this list to fix that. My question is if this 
solution will cause problems later on.

Bascially I'm doing the following:
(The lyx-file is here: http://www.md.kth.se/~chr/lyx/examples/bibunits/ )

In preamble:  \usepackage{bibunits}

In document:
  (ERT)   \begin{bibunit}[unsrt]

  Normal citations (or \nocite{}-commands)
  
  
  (ERT)   \def\chapter*#1{}

What about refining the sectioning level of bibliography instead ?
\renewcommand{\bibliographysection}{\section}
and the local title
\renewcommand{\bibliographytext}{Specific bibliography}
  (ERT)   \putbib[aBibtexFile]


I've figured out that \def\chapter*#1{} redefines the environment 
chapter*, but I'm not sure if this will be temporary, or if there is a 
risk that later 'chapter*'-environments will be affected?

It should depend at which level this is done, may be
setting braces to describe the scope of the change prevents
exporting it further, I'm not sure.

In the original tip, the redefinition was to be inserted just before the 
bibliography, so there wasn't any risk of affecting a later 
chapter*-environment.

This redefinition of chapter* may kill the appendix layout anyway.

-- 
Jean-Pierre




Re: including uncited references

2003-03-27 Thread Nirmal Govind
 Easiest... soon you're going to want the 'optimal' way ;-)

As long as optimal is easy.. :-)

 AFAIK, you have to do \nocite{Author98a} in ERT.

I was hoping to avoid ERT.. I had to use ERT earlier also when I used
bibentry.. the main problem with ERT is that one needs to remember (or
lookup) the key for the reference.. if there was a
way by which the LyX Insert Citation dialog could have an option that
says Uncited Reference or something, it would be awesome!

 I guess an enhancement request at bugzilla is in order for this, and
 I'll file it.

Great!

Thanks,
nirmal


Re: importing graphics

2003-03-27 Thread Jean-Pierre.Chretien

Date: Thu, 27 Mar 2003 02:46:38 -0500 (EST)
To: [EMAIL PROTECTED]
Subject: importing graphics
From: Nirmal Govind [EMAIL PROTECTED]

Hi.. I'm having trouble with getting some graphics into my file.. I have a 
bunch
of jpg files that I've included in my document.. LyX shows these images
perfectly well in the LyX window but when I view PDF using any of the three
methods, the images get really distorted.. I was hoping that at least pdflatex
would do a nice job since it handles jpg files directly (without converting it
to any other format) but no luck.. what do I need to do to get the PDF output
of the images to look like what it is in the LyX window?

Thanks,
nirmal

Try tex2pdf, preserves the original jpg images, 
does the hyperref part for you.


http://developer.berlios.de/projects/tex2pdf/

-- 
Jean-Pierre



Re: duplicate menu's

2003-03-27 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John On Wed, Mar 26, 2003 at 10:41:03PM +0100, Martijn Brouwer wrote:
 Works! Renaming ~/.lyx/ui/default.ui works to and preserves my
 settings :-)

John Ah, the problem is the nobuffer menus. Remove those
John completely, and all references to them.

How come they appear in the menubar?

JMarc


Re: Advantages of qt over xforms?

2003-03-27 Thread Marcin Bukat

2. qt forntend lyx, gcc, qt as above
if LC_ALL=pl_PL, and LANG=pl menu is in Polish, but in math editor I 
have LateX command instead of symbols (Gamma, Delta...)


This is as designed. Qt will *not* let us set a font that is of the
wrong locale, no matter what we do. And it thinks the symbol fonts are
of the wrong locale :(
It is, frankly, fucking stupid of Qt, but we cannot do anything, I am
afraid.
regards,
john
If I understand You correctly, qt thinks math fonts are in wrong locale, 
and permits loading of this fonts, am I right? So Are there some way to 
fake it? I mean font.alias can help or is it hardcoded in font itself?
wo




Re: How to make the index appear - OT

2003-03-27 Thread Munzir Taha
 2:36   27  2003 Christian Ridderstrm :
  --
  Munzir Taha,
  Microsoft Office User Specialist, (MOUS),

 I'm just curious here... how come a MOUS is not using Word? :-)
Actually I used to be a Microsoft addict before I know something about linux 
and its great apps. Now, I don't use Word at home but need it in work. 
However, speaking frankly, as a Word expert I think no wordprocessor program 
has yet catch all of Word features. At least, as an Arabic user I still need 
it. I am sure this will change in the near future. Arabeyes.org is doing a 
great job nowadays.

-- 
Munzir Taha,
Telecommunications and Electronics Engineer,
Certified Internet Webmaster, (CIW),
Microsoft Office User Specialist, (MOUS),
New Horizons Computer Learning Centers,
Riyadh, Saudi Arabia


springer llncs

2003-03-27 Thread Steve M. Robbins
I need to format a document using Springer's package for lecture
notes in compter science.  I got the latex macros from their web
site (LLNCS DOCUMENT CLASS -- version 2.13 (28-Jan-2002)) and
located them so that TeX can find them.

I fired up lyx, selected edit/reconfigure.  Among the output
was

+checking for document class llncs [llncs]... yes

so I figure all is well.  I quit  restarted lyx, created a new
document, and in layout/document dialog, I changed the document class
to Springer - Lecture Notes in Comp. Sci..  Immediately, I get
the following output to the terminal:

Cannot copy unknown style `Journal'
All layouts so far:
Standard
Chapter
Section
Subsection
Subsubsection
Paragraph
[...]

repeated four times.

Is this normal?  Things *seem* to work ok, but that output is
curious.  I'm using lyx 1.2.2 btw.

Hmm.  On closer examination, the llncs.layout file that comes
with lyx has four lines that read

  CopyStyle Journal

I suppose this is the source of my troubles.  Am I missing a
Journal .layout file?  Or does llncs.layout need updating?


Thanks for any enlightenment,
-Steve





Help Bibliography. natbib sort compress errors

2003-03-27 Thread vsharma
I use LYX 1.3.0 on CYGWIN/Windows XP
I am using Bool{komascript}
I have in my preamble
\usepackage[numbers,round,sortcompress]{natbib}
the bib style is vancouver
Problem
If i site aa(1)j(2) c (3)
in my document  and when i go back and add citation (3) before (1) thus 
aaa(3)aaa(1)j(2) c (3)
i get in the output aaa(3)aaa(1)j(2) c (3) and not

aaa(1)aaa(2)j(3) c (1) as the order has now changed
what am i doing wrong
please please can anyone help!!
vivek


Re: duplicate menu's

2003-03-27 Thread John Levon
On Thu, Mar 27, 2003 at 10:42:01AM +0100, Jean-Marc Lasgouttes wrote:

 How come they appear in the menubar?

We didn't remove all special handling for nobuffer ?

john


Re: Advantages of qt over xforms?

2003-03-27 Thread John Levon
On Thu, Mar 27, 2003 at 12:31:55PM +0100, Marcin Bukat wrote:

 If I understand You correctly, qt thinks math fonts are in wrong locale, 

Right.

 fake it? I mean font.alias can help or is it hardcoded in font itself?

I don't know, sorry.

john


section and figure heads

2003-03-27 Thread Frederic Leymarie
Hi

I am using the article format with 10pt times fonts.

I need to change the defaults for the look of the section and figure
headers.
I need to reduce the size of the section heads defaults so that it
is 12pt boldface (not 14pt)
I also need to have a dot . after the section number

I need to also reduce to 12pt the Referenced header.


For figures, I need the Figure x. to be in 10 pt helvetica boldface
with a dot .  not a colon (the default),
and the caption to be helvetica 10pt.

Same thing for tables.


I looked at the lyx tricks website but could not find such details.


thanks
Frederic



--
Frederic FOL LEYMARIE, Ph.D., Manager of the SHAPE Lab.
http://www.lems.brown.edu/shape/
Brown University, Division of Engineering, LEMS, Box D
182-4 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2760, Alternate Voice: x2177, Fax: x9039
mailto:[EMAIL PROTECTED] , http://www.lems.brown.edu/~leymarie
---
It does play with dice ... but are they fixed?





Re: section and figure heads

2003-03-27 Thread Owen Lucas
here is my hatchet latex job

This requires some mucking arround with some of the settings in the .cls 
in your preamble or at the start of your document. With the number of 
mods you want to do it may be worth copying the article.cls file and 
editing that.

as for the size of the section headers etc you need change the part in 
the cls file that says something like the following

[EMAIL PROTECTED] [EMAIL PROTECTED]
   {-3.5ex [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] 
-.2ex}%
   {2.3ex [EMAIL PROTECTED]
   {\normalfont\Large\bfseries}}
you could just copy this to the preamble and change the \newcommand to 
\renewcommand and then play with the \Large command perhaps change it to 
\large

As for the dot that should be easy but I tryed what I expected would 
work and it didnt so perhaps some one else can help you there.

as for the figure change you should be able to put in ERT at the top of 
your document (I dont think it works in the preamble)

\renewcommand\figurename{\normalfont\normalsize\bfseries Figure}
\renewcommand\tablename{\normalfont\normalsize\bfseries Table}
and so on

once again I dont know about the . but I would have expected that there 
was one there automaticly.

but realy copy article.cls to myarticle.cls and change it to do what you 
want. ofcause this is not exactly as simple as changing just the bits 
you want and you will need to also mod a .layout file

cheers
owen
Hi

I am using the article format with 10pt times fonts.

I need to change the defaults for the look of the section and figure
headers.
I need to reduce the size of the section heads defaults so that it
is 12pt boldface (not 14pt)
I also need to have a dot . after the section number
I need to also reduce to 12pt the Referenced header.

For figures, I need the Figure x. to be in 10 pt helvetica boldface
with a dot .  not a colon (the default),
and the caption to be helvetica 10pt.
Same thing for tables.

I looked at the lyx tricks website but could not find such details.

thanks
Frederic


--
Frederic FOL LEYMARIE, Ph.D., Manager of the SHAPE Lab.
http://www.lems.brown.edu/shape/
Brown University, Division of Engineering, LEMS, Box D
182-4 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2760, Alternate Voice: x2177, Fax: x9039
mailto:[EMAIL PROTECTED] , http://www.lems.brown.edu/~leymarie
---
It does play with dice ... but are they fixed?






Re: importing graphics

2003-03-27 Thread Nirmal Govind
 Try tex2pdf, preserves the original jpg images, 
 does the hyperref part for you.
 

I downloaded and tried tex2pdf.. it gives me errors..
btw, from the log file, it seems like it uses pdflatex?? So how would
the output be different from the one using pdflatex directly? Just
curious.. I'm attaching the log file for tex2pdf in case you know what's
going wrong.. In the converters section, I wasn't sure what extra
flags needed to be specified.. the README doesn't talk abt the
options/flags available...

Thanks,
nirmal


tex2pdf-2956.log
Description: Binary data


Layout: How to center counter_chapter label?

2003-03-27 Thread Johnathan Burchill
Hi folks,

I'm modifying a thesis.layout file to get it to approximate the 
dvi file a little closer. 

DVI: (--...-- is just a placeholder for spacing)
- Chapter  1
 Introduction

LyX: default chapter layout using

Style Chapter
Margin  Static
LatexType   Command
LatexName   chapter
NeedProtect 1
NextNoIndent1
ParSkip 0.4
TopSep  4
BottomSep   0.8
ParSep  0.8
Align   Block
AlignPossible   Block, Left
LabelType   Counter_Chapter
LabelString Chapter 
LabelStringAppendix Appendix 
OptionalArgs
Font
Series  Bold
SizeLarger
EndFont
End

Output is:

Chapter 1
Introduction

Now I change the layout file to get the labels centered,
with something like this:
Style Chapter
Align   Center
End

LyX: Centered labels
--- Chapter  1
--- Introduction

I've searched the docs. Also the mailing list for
center Counter_Chapter without success.

Has anybody seen or solved this? How do you get
the top label centered over the bottom label?
My guess is that I might have to add a Center_Counter_Chapter
labeltype for the layouts, and I will delve into the source code 
if it can't be done in the layout. (It might be done manually, 
but that defeats the purpose of the Counter_Chapter 
labeltype.)

Using LyX 1.3.1, QT, GNU/linux(2419), but had same behavior with
1.2.x and libforms.

Thanks in advance for any suggestions or pointers.

Johnathan
-- 
Johnathan K. Burchill, Ph.D. candidate
Department of Physics and Astronomy
University of Calgary
2500 University Drive N.W.
Calgary, AB T2N 1N4
Canada

[EMAIL PROTECTED]



including uncited references

2003-03-27 Thread Nirmal Govind
Hi.. what's the easiest way to include uncited references from a bib
database? 

Thanks,
nirmal


Re: including uncited references

2003-03-27 Thread Christian Ridderström
On Thu, 27 Mar 2003, Nirmal Govind wrote:

 Hi.. what's the easiest way to include uncited references from a bib
 database? 
Easiest... soon you're going to want the 'optimal' way ;-)

AFAIK, you have to do \nocite{Author98a} in ERT.

I guess an enhancement request at bugzilla is in order for this, and I'll 
file it.

/Christian

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




Is this a solid workaround for using bibunits without bibliographytitle

2003-03-27 Thread Christian Ridderström
Hi

I'm using bibunits.sty to insert a special list of references in my 
thesis. In this case I don't want the usual Bibliography-title, and I'm 
using a tip from this list to fix that. My question is if this 
solution will cause problems later on.

Bascially I'm doing the following:
(The lyx-file is here: http://www.md.kth.se/~chr/lyx/examples/bibunits/ )

In preamble:\usepackage{bibunits}

In document:
(ERT)   \begin{bibunit}[unsrt]

Normal citations (or \nocite{}-commands)


(ERT)   \def\chapter*#1{}
(ERT)   \putbib[aBibtexFile]
(ERT)   \end{bibunit}

The rest of the thesis

I've figured out that \def\chapter*#1{} redefines the environment 
chapter*, but I'm not sure if this will be temporary, or if there is a 
risk that later 'chapter*'-environments will be affected?

In the original tip, the redefinition was to be inserted just before the 
bibliography, so there wasn't any risk of affecting a later 
chapter*-environment.

/Christian

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




math symbols are displayed as text

2003-03-27 Thread Johan Marc
Hi all,
I have just installed the precompiled lyx 1.3.1 rpm for rh 8 on my rh8
system, and I am wondering how I can make lyx to display all math
symbols as a symbol and not a red text? ( A \Leftrightarrow
is displayed as a red Leftrightarrow and not == )
j




Re: math symbols are displayed as text

2003-03-27 Thread John Levon
On Fri, Mar 28, 2003 at 05:10:23PM +1200, Johan Marc wrote:

 I have just installed the precompiled lyx 1.3.1 rpm for rh 8 on my rh8
 system, and I am wondering how I can make lyx to display all math
 symbols as a symbol and not a red text? ( A \Leftrightarrow
 is displayed as a red Leftrightarrow and not == )

install latex-ttf-fonts from ftp.lyx.org

john


Re: math symbols are displayed as text

2003-03-27 Thread Nirmal Govind

 system, and I am wondering how I can make lyx to display all math
 symbols as a symbol and not a red text? ( A \Leftrightarrow

Are you inside the math editor? If not, hit Ctrl-m and type
\Leftrightarrow and a space (or hit the rightarrow key) and you'll see
the symbol..

Or are you saying that the above isn't working??

nirmal


Re: importing graphics

2003-03-27 Thread Jean-Pierre.Chretien

Date: Thu, 27 Mar 2003 17:24:33 -0700
From: Nirmal Govind [EMAIL PROTECTED]
To: Jean-Pierre.Chretien [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: importing graphics

 Try tex2pdf, preserves the original jpg images, 
 does the hyperref part for you.
 

I downloaded and tried tex2pdf.. it gives me errors..
btw, from the log file, it seems like it uses pdflatex?? So how would
the output be different from the one using pdflatex directly? Just
curious.. I'm attaching the log file for tex2pdf in case you know what's
going wrong.. In the converters section, I wasn't sure what extra
flags needed to be specified.. the README doesn't talk abt the
options/flags available...

Thanks,
nirmal

tex2pdf aims to run pdflatex on tex file ready for plain latex
(i.e. creating dvi) without altering the original.

Basically it
 - copies all original tex files as -xxx.tex files (xxx defaults to pdf)
 - converts all ps or eps graphics to pdf using esptopdf
 (which lies with the latex binaries, as a perl scrip calling gs)
 - inserts the hyperref commands described by the configuration files
 (take the default if not done
 
In addition, it does all the necessary runs to cope with bibtex, index, 
glossary, check for metapost files, and gives a try (this is not
stable yet) to psfrag part.

So it does pdflatex for you, that means that you should not
take steps on your own by including pdftex option of graphicx 
(I.m not really sure for this) or hyperref itself.

You're message about input stack size is puzzling, 
first time I see it. I had to increase pool size and memory
dur tu hyperref buffering needs.

All seems correct up to there, you may run with -debug option
and see directly what's wrong with the -pdf files, because
this message kills the first pdflatex run, so that bibtex cannot work.

As this belongs rather to tex2pdf than to lyx, I Cc my answer
to the tex2pdf list.

-- 
Jean-Pierre

PS the reame is not useful for options, run tex2pdf -c to understand 
about those.

By the way, which tex2pdf version ? Which pdftex version ? 
Which hyperref version ? 
Here:
 -tex2pdf -v
tex2pdf Version 3.1.20
(last CVS)

-pdflatex
This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2C 7.3.7x)
**

\ProvidesPackage{hyperref}
  [2002/05/27 v6.72r
  Hypertext links for LaTeX]




Re: including uncited references

2003-03-27 Thread Jean-Pierre.Chretien

X-Injected-Via-Gmane: http://gmane.org/
To: [EMAIL PROTECTED]
From: Christian Ridderström [EMAIL PROTECTED]
Subject: Re: including uncited references
Date: Fri, 28 Mar 2003 06:20:38 +0100
X-Complaints-To: [EMAIL PROTECTED]
X-X-Sender: [EMAIL PROTECTED]

On Thu, 27 Mar 2003, Nirmal Govind wrote:

 Hi.. what's the easiest way to include uncited references from a bib
 database? 
Easiest... soon you're going to want the 'optimal' way ;-)

AFAIK, you have to do \nocite{Author98a} in ERT.

I guess an enhancement request at bugzilla is in order for this, and I'll 
file it.

Another way: put all and only all the required citations in the .bib
file (unsing any database sorting and extraction tool), 
and add \nocite{*} in ERT.

\cite{*} should work also, but is seldomly needed :-)

-- 
Jean-Pierre



Re: Is this a solid workaround for using bibunits without bibliography title

2003-03-27 Thread Jean-Pierre.Chretien

X-Injected-Via-Gmane: http://gmane.org/
To: [EMAIL PROTECTED]
From: Christian Ridderström [EMAIL PROTECTED]
Subject: Is this a solid workaround for using bibunits without bibliography 
title
Date: Fri, 28 Mar 2003 06:36:39 +0100
X-Complaints-To: [EMAIL PROTECTED]
X-X-Sender: [EMAIL PROTECTED]

Hi

I'm using bibunits.sty to insert a special list of references in my 
thesis. In this case I don't want the usual Bibliography-title, and I'm 
using a tip from this list to fix that. My question is if this 
solution will cause problems later on.

Bascially I'm doing the following:
(The lyx-file is here: http://www.md.kth.se/~chr/lyx/examples/bibunits/ )

In preamble:  \usepackage{bibunits}

In document:
  (ERT)   \begin{bibunit}[unsrt]

  Normal citations (or \nocite{}-commands)
  
  
  (ERT)   \def\chapter*#1{}

What about refining the sectioning level of bibliography instead ?
\renewcommand{\bibliographysection}{\section}
and the local title
\renewcommand{\bibliographytext}{Specific bibliography}
  (ERT)   \putbib[aBibtexFile]


I've figured out that \def\chapter*#1{} redefines the environment 
chapter*, but I'm not sure if this will be temporary, or if there is a 
risk that later 'chapter*'-environments will be affected?

It should depend at which level this is done, may be
setting braces to describe the scope of the change prevents
exporting it further, I'm not sure.

In the original tip, the redefinition was to be inserted just before the 
bibliography, so there wasn't any risk of affecting a later 
chapter*-environment.

This redefinition of chapter* may kill the appendix layout anyway.

-- 
Jean-Pierre




Re: including uncited references

2003-03-27 Thread Nirmal Govind
 Easiest... soon you're going to want the 'optimal' way ;-)

As long as optimal is easy.. :-)

 AFAIK, you have to do \nocite{Author98a} in ERT.

I was hoping to avoid ERT.. I had to use ERT earlier also when I used
bibentry.. the main problem with ERT is that one needs to remember (or
lookup) the key for the reference.. if there was a
way by which the LyX Insert Citation dialog could have an option that
says Uncited Reference or something, it would be awesome!

 I guess an enhancement request at bugzilla is in order for this, and
 I'll file it.

Great!

Thanks,
nirmal


Re: importing graphics

2003-03-27 Thread Jean-Pierre.Chretien

>>Date: Thu, 27 Mar 2003 02:46:38 -0500 (EST)
>>To: [EMAIL PROTECTED]
>>Subject: importing graphics
>>From: "Nirmal Govind" <[EMAIL PROTECTED]>
>>
>>Hi.. I'm having trouble with getting some graphics into my file.. I have a 
bunch
>>of jpg files that I've included in my document.. LyX shows these images
>>perfectly well in the LyX window but when I view PDF using any of the three
>>methods, the images get really distorted.. I was hoping that at least pdflatex
>>would do a nice job since it handles jpg files directly (without converting it
>>to any other format) but no luck.. what do I need to do to get the PDF output
>>of the images to look like what it is in the LyX window?
>>
>>Thanks,
>>nirmal
>>
Try tex2pdf, preserves the original jpg images, 
does the hyperref part for you.


http://developer.berlios.de/projects/tex2pdf/

-- 
Jean-Pierre



Re: duplicate menu's

2003-03-27 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> On Wed, Mar 26, 2003 at 10:41:03PM +0100, Martijn Brouwer wrote:
>> Works! Renaming ~/.lyx/ui/default.ui works to and preserves my
>> settings :-)

John> Ah, the problem is the "nobuffer" menus. Remove those
John> completely, and all references to them.

How come they appear in the menubar?

JMarc


Re: Advantages of qt over xforms?

2003-03-27 Thread Marcin Bukat

2. qt forntend lyx, gcc, qt as above
if LC_ALL=pl_PL, and LANG=pl menu is in Polish, but in math editor I 
have LateX command instead of symbols (Gamma, Delta...)


This is "as designed". Qt will *not* let us set a font that is of the
wrong locale, no matter what we do. And it thinks the symbol fonts are
of the wrong locale :(
It is, frankly, fucking stupid of Qt, but we cannot do anything, I am
afraid.
regards,
john
If I understand You correctly, qt thinks math fonts are in wrong locale, 
and permits loading of this fonts, am I right? So Are there some way to 
fake it? I mean font.alias can help or is it hardcoded in font itself?
wo




Re: How to make the index appear - OT

2003-03-27 Thread Munzir Taha
في 2:36 ص خميس 27 مارس 2003، Christian Ridderström كتبت:
> > --
> > Munzir Taha,
> > Microsoft Office User Specialist, (MOUS),
>
> I'm just curious here... how come a "MOUS" is not using Word? :-)
Actually I used to be a Microsoft addict before I know something about linux 
and its great apps. Now, I don't use Word at home but need it in work. 
However, speaking frankly, as a Word expert I think no wordprocessor program 
has yet catch all of Word features. At least, as an Arabic user I still need 
it. I am sure this will change in the near future. Arabeyes.org is doing a 
great job nowadays.

-- 
Munzir Taha,
Telecommunications and Electronics Engineer,
Certified Internet Webmaster, (CIW),
Microsoft Office User Specialist, (MOUS),
New Horizons Computer Learning Centers,
Riyadh, Saudi Arabia


springer llncs

2003-03-27 Thread Steve M. Robbins
I need to format a document using Springer's package for lecture
notes in compter science.  I got the latex macros from their web
site (LLNCS DOCUMENT CLASS -- version 2.13 (28-Jan-2002)) and
located them so that TeX can find them.

I fired up lyx, selected edit/reconfigure.  Among the output
was

+checking for document class llncs [llncs]... yes

so I figure all is well.  I quit & restarted lyx, created a new
document, and in layout/document dialog, I changed the document class
to "Springer - Lecture Notes in Comp. Sci.".  Immediately, I get
the following output to the terminal:

Cannot copy unknown style `Journal'
All layouts so far:
Standard
Chapter
Section
Subsection
Subsubsection
Paragraph
[...]

repeated four times.

Is this normal?  Things *seem* to work ok, but that output is
curious.  I'm using lyx 1.2.2 btw.

Hmm.  On closer examination, the llncs.layout file that comes
with lyx has four lines that read

  CopyStyle Journal

I suppose this is the source of my troubles.  Am I missing a
Journal .layout file?  Or does llncs.layout need updating?


Thanks for any enlightenment,
-Steve





Help Bibliography. natbib sort & compress errors

2003-03-27 Thread vsharma
I use LYX 1.3.0 on CYGWIN/Windows XP
I am using Bool{komascript}
I have in my preamble
\usepackage[numbers,round,sort]{natbib}
the bib style is vancouver
Problem
If i site aa(1)j(2) c (3)
in my document  and when i go back and add citation (3) before (1) thus 
aaa(3)aaa(1)j(2) c (3)
i get in the output aaa(3)aaa(1)j(2) c (3) and not

aaa(1)aaa(2)j(3) c (1) as the order has now changed
what am i doing wrong
please please can anyone help!!
vivek


Re: duplicate menu's

2003-03-27 Thread John Levon
On Thu, Mar 27, 2003 at 10:42:01AM +0100, Jean-Marc Lasgouttes wrote:

> How come they appear in the menubar?

We didn't remove all special handling for "nobuffer" ?

john


Re: Advantages of qt over xforms?

2003-03-27 Thread John Levon
On Thu, Mar 27, 2003 at 12:31:55PM +0100, Marcin Bukat wrote:

> If I understand You correctly, qt thinks math fonts are in wrong locale, 

Right.

> fake it? I mean font.alias can help or is it hardcoded in font itself?

I don't know, sorry.

john


section and figure heads

2003-03-27 Thread Frederic Leymarie
Hi

I am using the article format with 10pt times fonts.

I need to change the defaults for the look of the section and figure
headers.
I need to reduce the size of the section heads defaults so that it
is 12pt boldface (not 14pt)
I also need to have a dot "." after the section number

I need to also reduce to 12pt the "Referenced" header.


For figures, I need the "Figure x." to be in 10 pt helvetica boldface
with a dot "."  not a colon (the default),
and the caption to be helvetica 10pt.

Same thing for tables.


I looked at the lyx tricks website but could not find such details.


thanks
Frederic



--
Frederic FOL LEYMARIE, Ph.D., Manager of the SHAPE Lab.
http://www.lems.brown.edu/shape/
Brown University, Division of Engineering, LEMS, Box D
182-4 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2760, Alternate Voice: x2177, Fax: x9039
mailto:[EMAIL PROTECTED] , http://www.lems.brown.edu/~leymarie
---
It does play with dice ... but are they fixed?





Re: section and figure heads

2003-03-27 Thread Owen Lucas
here is my hatchet latex job

This requires some mucking arround with some of the settings in the .cls 
in your preamble or at the start of your document. With the number of 
mods you want to do it may be worth copying the article.cls file and 
editing that.

as for the size of the section headers etc you need change the part in 
the cls file that says something like the following

[EMAIL PROTECTED] [EMAIL PROTECTED]
   {-3.5ex [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] 
-.2ex}%
   {2.3ex [EMAIL PROTECTED]
   {\normalfont\Large\bfseries}}
you could just copy this to the preamble and change the \newcommand to 
\renewcommand and then play with the \Large command perhaps change it to 
\large

As for the dot that should be easy but I tryed what I expected would 
work and it didnt so perhaps some one else can help you there.

as for the figure change you should be able to put in ERT at the top of 
your document (I dont think it works in the preamble)

\renewcommand\figurename{\normalfont\normalsize\bfseries Figure}
\renewcommand\tablename{\normalfont\normalsize\bfseries Table}
and so on

once again I dont know about the . but I would have expected that there 
was one there automaticly.

but realy copy article.cls to myarticle.cls and change it to do what you 
want. ofcause this is not exactly as simple as changing just the bits 
you want and you will need to also mod a .layout file

cheers
owen
Hi

I am using the article format with 10pt times fonts.

I need to change the defaults for the look of the section and figure
headers.
I need to reduce the size of the section heads defaults so that it
is 12pt boldface (not 14pt)
I also need to have a dot "." after the section number
I need to also reduce to 12pt the "Referenced" header.

For figures, I need the "Figure x." to be in 10 pt helvetica boldface
with a dot "."  not a colon (the default),
and the caption to be helvetica 10pt.
Same thing for tables.

I looked at the lyx tricks website but could not find such details.

thanks
Frederic


--
Frederic FOL LEYMARIE, Ph.D., Manager of the SHAPE Lab.
http://www.lems.brown.edu/shape/
Brown University, Division of Engineering, LEMS, Box D
182-4 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2760, Alternate Voice: x2177, Fax: x9039
mailto:[EMAIL PROTECTED] , http://www.lems.brown.edu/~leymarie
---
It does play with dice ... but are they fixed?






Re: importing graphics

2003-03-27 Thread Nirmal Govind
> Try tex2pdf, preserves the original jpg images, 
> does the hyperref part for you.
> 

I downloaded and tried tex2pdf.. it gives me errors..
btw, from the log file, it seems like it uses pdflatex?? So how would
the output be different from the one using pdflatex directly? Just
curious.. I'm attaching the log file for tex2pdf in case you know what's
going wrong.. In the converters section, I wasn't sure what extra
flags needed to be specified.. the README doesn't talk abt the
options/flags available...

Thanks,
nirmal


tex2pdf-2956.log
Description: Binary data


Layout: How to center counter_chapter label?

2003-03-27 Thread Johnathan Burchill
Hi folks,

I'm modifying a thesis.layout file to get it to approximate the 
dvi file a little closer. 

DVI: (<--...--> is just a placeholder for spacing)
<-> Chapter  1
<> Introduction

LyX: default chapter layout using

Style Chapter
Margin  Static
LatexType   Command
LatexName   chapter
NeedProtect 1
NextNoIndent1
ParSkip 0.4
TopSep  4
BottomSep   0.8
ParSep  0.8
Align   Block
AlignPossible   Block, Left
LabelType   Counter_Chapter
LabelString "Chapter "
LabelStringAppendix "Appendix "
OptionalArgs
Font
Series  Bold
SizeLarger
EndFont
End

Output is:

Chapter 1
Introduction

Now I change the layout file to get the labels centered,
with something like this:
Style Chapter
Align   Center
End

LyX: Centered labels
<---> Chapter  1
<---> Introduction

I've searched the docs. Also the mailing list for
"center Counter_Chapter" without success.

Has anybody seen or solved this? How do you get
the top label centered over the bottom label?
My guess is that I might have to add a "Center_Counter_Chapter"
labeltype for the layouts, and I will delve into the source code 
if it can't be done in the layout. (It might be done manually, 
but that defeats the purpose of the "Counter_Chapter" 
labeltype.)

Using LyX 1.3.1, QT, GNU/linux(2419), but had same behavior with
1.2.x and libforms.

Thanks in advance for any suggestions or pointers.

Johnathan
-- 
Johnathan K. Burchill, Ph.D. candidate
Department of Physics and Astronomy
University of Calgary
2500 University Drive N.W.
Calgary, AB T2N 1N4
Canada

[EMAIL PROTECTED]



including uncited references

2003-03-27 Thread Nirmal Govind
Hi.. what's the easiest way to include uncited references from a bib
database? 

Thanks,
nirmal


Re: including uncited references

2003-03-27 Thread Christian Ridderström
On Thu, 27 Mar 2003, Nirmal Govind wrote:

> Hi.. what's the easiest way to include uncited references from a bib
> database? 
Easiest... soon you're going to want the 'optimal' way ;-)

AFAIK, you have to do \nocite{Author98a} in ERT.

I guess an enhancement request at bugzilla is in order for this, and I'll 
file it.

/Christian

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




Is this a solid workaround for using bibunits without bibliographytitle

2003-03-27 Thread Christian Ridderström
Hi

I'm using bibunits.sty to insert a special list of references in my 
thesis. In this case I don't want the usual "Bibliography"-title, and I'm 
using a tip from this list to fix that. My question is if this 
solution will cause problems later on.

Bascially I'm doing the following:
(The lyx-file is here: http://www.md.kth.se/~chr/lyx/examples/bibunits/ )

In preamble:\usepackage{bibunits}

In document:
(ERT)   \begin{bibunit}[unsrt]

Normal citations (or \nocite{}-commands)


(ERT)   \def\chapter*#1{}
(ERT)   \putbib[aBibtexFile]
(ERT)   \end{bibunit}

The rest of the thesis

I've figured out that "\def\chapter*#1{}" redefines the environment 
chapter*, but I'm not sure if this will be temporary, or if there is a 
risk that later 'chapter*'-environments will be affected?

In the original tip, the redefinition was to be inserted just before the 
bibliography, so there wasn't any risk of affecting a later 
chapter*-environment.

/Christian

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




math symbols are displayed as text

2003-03-27 Thread Johan Marc
Hi all,
I have just installed the precompiled lyx 1.3.1 rpm for rh 8 on my rh8
system, and I am wondering how I can make lyx to display all math
symbols as a symbol and not a red text? ( A \Leftrightarrow
is displayed as a red "Leftrightarrow" and not "<==>" )
j




Re: math symbols are displayed as text

2003-03-27 Thread John Levon
On Fri, Mar 28, 2003 at 05:10:23PM +1200, Johan Marc wrote:

> I have just installed the precompiled lyx 1.3.1 rpm for rh 8 on my rh8
> system, and I am wondering how I can make lyx to display all math
> symbols as a symbol and not a red text? ( A \Leftrightarrow
> is displayed as a red "Leftrightarrow" and not "<==>" )

install latex-ttf-fonts from ftp.lyx.org

john


Re: math symbols are displayed as text

2003-03-27 Thread Nirmal Govind

> system, and I am wondering how I can make lyx to display all math
> symbols as a symbol and not a red text? ( A \Leftrightarrow

Are you inside the math editor? If not, hit Ctrl-m and type
\Leftrightarrow and a space (or hit the rightarrow key) and you'll see
the symbol..

Or are you saying that the above isn't working??

nirmal


Re: importing graphics

2003-03-27 Thread Jean-Pierre.Chretien

>>Date: Thu, 27 Mar 2003 17:24:33 -0700
>>From: Nirmal Govind <[EMAIL PROTECTED]>
>>To: "Jean-Pierre.Chretien" <[EMAIL PROTECTED]>
>>Cc: [EMAIL PROTECTED]
>>Subject: Re: importing graphics
>>
>>> Try tex2pdf, preserves the original jpg images, 
>>> does the hyperref part for you.
>>> 
>>
>>I downloaded and tried tex2pdf.. it gives me errors..
>>btw, from the log file, it seems like it uses pdflatex?? So how would
>>the output be different from the one using pdflatex directly? Just
>>curious.. I'm attaching the log file for tex2pdf in case you know what's
>>going wrong.. In the converters section, I wasn't sure what extra
>>flags needed to be specified.. the README doesn't talk abt the
>>options/flags available...
>>
>>Thanks,
>>nirmal

tex2pdf aims to run pdflatex on tex file ready for plain latex
(i.e. creating dvi) without altering the original.

Basically it
 - copies all original tex files as -xxx.tex files (xxx defaults to pdf)
 - converts all ps or eps graphics to pdf using esptopdf
 (which lies with the latex binaries, as a perl scrip calling gs)
 - inserts the hyperref commands described by the configuration files
 (take the default if not done
 
In addition, it does all the necessary runs to cope with bibtex, index, 
glossary, check for metapost files, and gives a try (this is not
stable yet) to psfrag part.

So it "does pdflatex" for you, that means that you should not
take steps on your own by including pdftex option of graphicx 
(I.m not really sure for this) or hyperref itself.

You're message about input stack size is puzzling, 
first time I see it. I had to increase pool size and memory
dur tu hyperref buffering needs.

All seems correct up to there, you may run with -debug option
and see directly what's wrong with the -pdf files, because
this message kills the first pdflatex run, so that bibtex cannot work.

As this belongs rather to tex2pdf than to lyx, I Cc my answer
to the tex2pdf list.

-- 
Jean-Pierre

PS the reame is not useful for options, run tex2pdf -c to understand 
about those.

By the way, which tex2pdf version ? Which pdftex version ? 
Which hyperref version ? 
Here:
 ->tex2pdf -v
tex2pdf Version 3.1.20
(last CVS)

->pdflatex
This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2C 7.3.7x)
**

\ProvidesPackage{hyperref}
  [2002/05/27 v6.72r
  Hypertext links for LaTeX]




Re: including uncited references

2003-03-27 Thread Jean-Pierre.Chretien

>>X-Injected-Via-Gmane: http://gmane.org/
>>To: [EMAIL PROTECTED]
>>From: Christian Ridderström <[EMAIL PROTECTED]>
>>Subject: Re: including uncited references
>>Date: Fri, 28 Mar 2003 06:20:38 +0100
>>X-Complaints-To: [EMAIL PROTECTED]
>>X-X-Sender: [EMAIL PROTECTED]
>>
>>On Thu, 27 Mar 2003, Nirmal Govind wrote:
>>
>>> Hi.. what's the easiest way to include uncited references from a bib
>>> database? 
>>Easiest... soon you're going to want the 'optimal' way ;-)
>>
>>AFAIK, you have to do \nocite{Author98a} in ERT.
>>
>>I guess an enhancement request at bugzilla is in order for this, and I'll 
>>file it.

Another way: put all and only all the required citations in the .bib
file (unsing any database sorting and extraction tool), 
and add \nocite{*} in ERT.

\cite{*} should work also, but is seldomly needed :-)

-- 
Jean-Pierre



Re: Is this a solid workaround for using bibunits without bibliography title

2003-03-27 Thread Jean-Pierre.Chretien

>>X-Injected-Via-Gmane: http://gmane.org/
>>To: [EMAIL PROTECTED]
>>From: Christian Ridderström <[EMAIL PROTECTED]>
>>Subject: Is this a solid workaround for using bibunits without bibliography 
title
>>Date: Fri, 28 Mar 2003 06:36:39 +0100
>>X-Complaints-To: [EMAIL PROTECTED]
>>X-X-Sender: [EMAIL PROTECTED]
>>
>>Hi
>>
>>I'm using bibunits.sty to insert a special list of references in my 
>>thesis. In this case I don't want the usual "Bibliography"-title, and I'm 
>>using a tip from this list to fix that. My question is if this 
>>solution will cause problems later on.
>>
>>Bascially I'm doing the following:
>>(The lyx-file is here: http://www.md.kth.se/~chr/lyx/examples/bibunits/ )
>>
>>In preamble:  \usepackage{bibunits}
>>
>>In document:
>>  (ERT)   \begin{bibunit}[unsrt]
>>
>>  Normal citations (or \nocite{}-commands)
>>  
>>  
>>  (ERT)   \def\chapter*#1{}

What about refining the sectioning level of bibliography instead ?
\renewcommand{\bibliographysection}{\section}
and the local title
\renewcommand{\bibliographytext}{Specific bibliography}
>>  (ERT)   \putbib[aBibtexFile]

>>
>>I've figured out that "\def\chapter*#1{}" redefines the environment 
>>chapter*, but I'm not sure if this will be temporary, or if there is a 
>>risk that later 'chapter*'-environments will be affected?

It should depend at which level this is done, may be
setting braces to describe the scope of the change prevents
exporting it further, I'm not sure.

>>In the original tip, the redefinition was to be inserted just before the 
>>bibliography, so there wasn't any risk of affecting a later 
>>chapter*-environment.

This redefinition of chapter* may kill the appendix layout anyway.

-- 
Jean-Pierre




Re: including uncited references

2003-03-27 Thread Nirmal Govind
> Easiest... soon you're going to want the 'optimal' way ;-)

As long as optimal is easy.. :-)

> AFAIK, you have to do \nocite{Author98a} in ERT.

I was hoping to avoid ERT.. I had to use ERT earlier also when I used
bibentry.. the main problem with ERT is that one needs to remember (or
lookup) the key for the reference.. if there was a
way by which the LyX Insert Citation dialog could have an option that
says "Uncited Reference" or something, it would be awesome!

> I guess an enhancement request at bugzilla is in order for this, and
> I'll file it.

Great!

Thanks,
nirmal