Re: Typing oe ligatures in French

2004-06-30 Thread G. Milde
On 30.06.04, Reuben Thomas wrote:
> Dominik Waßenhoven <[EMAIL PROTECTED]> writes:
> 
> > You could add a shortcut to your local .bind-file, e.g.
> >
> > \bind "M-o" "command-sequence ert-insert; self-insert \oe{};
> > inset-toggle"
> > \bind "M-S-O"   "command-sequence ert-insert; self-insert \OE{};
> > inset-toggle"
> 
> Thanks, this works fine...but for some reason, only if I have no
> preferences file in my ~/.lyx directory; otherwise, my ~/.lyx/lyxrc
> file is ignored.
> 
> I can get around this problem by adding the lines to the preferences
> file, but I presume they'll be lost if I change any of the
> preferences.
> 
> I'm using LyX 1.3.4. Is this a bug? Or am I doing something wrong?

In older versions of LyX, you could insert \bind commands directly into
lyxrc. Now, with the GUI-configuration, .lyx/lyxrc is discarded and the
preferences set with Edit>Preferences are saved to .lyx/preferences.

As \bind commands in the .lyx/preferences file might be overwritten with
the next save from Edit>Preferences, I recommend creating a custom *.bind
file and call it via Edit>Preferences. The \bind_file command is used to
call the standard bind files from there.


Günter



Example: I have a file ~/.lyx/bind/gm.bind

###
#
# gm.bind  private keybindings file
#
###

# Since LyX 1.1.6 the keybinding file is set in a GUI dialog. Where in
# previous versions it was possible to load several bind-files and to
# define additional bindings in the .lyxrc resource file, now only one
# bind-file is loaded from LyX. However, it is still possible to load a
# keybinding file from another bind-file.
#   Thus, to customize the bindings, you can write your own bind-file (or use
# this template) and load the default bindings from here.
# In the GUI, set the bindings to your privat bind-file. LyX will search for
# private keybinding files in ~/.lyx/bind/ .
#
# Before defining your own bindings, select one of the available default
# binding sets. These are resource files (like this one) that define a
# large set of (keyboard) bindings. These files live in the /bind directory of
# the LyX system directory and have the .bind suffix.
#
# Currently, you can choose from the following flavors:
#
# cua.bind  for Windows-, Mac- and Motif-like bindings
# emacs.bindfor Emacs-like bindings.
#
# The \bind_file command looks in the LyX bind directory for a file
# of the given name, so a full path should not be given.

\bind_file cua.bind
#\bind_file emacs.bind

# we also would like to incorporate some additional menu shortcuts
\bind_file de_menus.bind

# Based on the default, you can now change part or all of it with the
# \bind command.

# unfortunately, some bindings are broken in de_menus.bind
# Veraltete Tastenbelegung; für rückwärtige Kompatibilität beibehalten
\bind "M-a S-quotedbl"  "layout Section*"   # M-a S-2
\bind "M-a S-section"   "layout Subsection*"# M-a S-3
\bind "M-a S-dollar""layout Subsubsection*" # M-a S-4

# missing in de_menus.bind
\bind "M-a S-equal" "layout Part*"
\bind "M-a S-exclam""layout Chapter*"
\bind "M-a S-percent"   "layout Paragraph*"
\bind "M-a S-ampersand" "layout Subparagraph*"

...


-- 
G.Milde at web.de


Re: Typing oe ligatures in French

2004-06-30 Thread Jean-Pierre Chretien

>>> I'm using LyX 1.3.4. Is this a bug? Or am I doing something wrong?
>>
>>My interpretation is that you're doing something wrong.

The lines must go in a local bind file,
If they are patched directly in the lyxrc or preference file, 
it won't work.

All you have to do is cretae a local.bind file in ~/.lyx/bind
or /usr/share/lyx/bind, patch the oe lines in it together with
any other stuff (here I have the code to use the copy, paste, find,..keys
of my sun keyboard), \bind to cua or emacs and
change the preferences binding to local.


-- 
Jean-Pierre



Re: Typing oe ligatures in French

2004-06-30 Thread Angus Leeming
Reuben Thomas wrote:

> Dominik Waßenhoven <[EMAIL PROTECTED]> writes:
> 
>> You could add a shortcut to your local .bind-file, e.g.
>>
>> \bind "M-o"  "command-sequence ert-insert; self-insert \oe{};
>> inset-toggle"
>> \bind "M-S-O""command-sequence ert-insert; self-insert \OE{};
>> inset-toggle"
> 
> Thanks, this works fine...but for some reason, only if I have no
> preferences file in my ~/.lyx directory; otherwise, my ~/.lyx/lyxrc

If there is a file ~/.lyx/preferences, it is read instead of ~/.lyx/lyxrc.
In fact, I'd rather surprised ~/.lyx/lyxrc is read at all...

Nope you're right. Here's the code:

readRcFile("lyxrc.defaults");
system_lyxrc = lyxrc;
system_formats = formats;
system_converters = converters;
system_lcolor = lcolor;

// If there is a preferences file we read that instead
// of the old lyxrc file.
if (!readRcFile("preferences"))
readRcFile("lyxrc");

So, shove all the stuff in ~/.lyx/lyxrc in the ~/.lyx/preferences file and
away you go.

> file is ignored.
> 
> I can get around this problem by adding the lines to the preferences
> file, but I presume they'll be lost if I change any of the
> preferences.
> 
> I'm using LyX 1.3.4. Is this a bug? Or am I doing something wrong?

My interpretation is that you're doing something wrong.

-- 
Angus



truetype screenfonts

2004-06-30 Thread Martijn Brouwer
Hi,
What do I need to do to get truetype screenfonts? On my desktop I have 
them (vera sans), but not on my laptop allthough I can use them in other 
prorams (OpenOffice).

Bye,
Martijn Brouwer



Re: Typing oe ligatures in French

2004-06-30 Thread Reuben Thomas
Dominik WaÃenhoven <[EMAIL PROTECTED]> writes:

> You could add a shortcut to your local .bind-file, e.g.
>
> \bind "M-o"   "command-sequence ert-insert; self-insert \oe{};
> inset-toggle"
> \bind "M-S-O" "command-sequence ert-insert; self-insert \OE{};
> inset-toggle"

Thanks, this works fine...but for some reason, only if I have no
preferences file in my ~/.lyx directory; otherwise, my ~/.lyx/lyxrc
file is ignored.

I can get around this problem by adding the lines to the preferences
file, but I presume they'll be lost if I change any of the
preferences.

I'm using LyX 1.3.4. Is this a bug? Or am I doing something wrong?

-- 
http://rrt.sc3d.org/



Could not get fontset problem

2004-06-30 Thread marc
Hi List,

I've a small problem. Everytime when I open a document I get 
"Could not get fontset" 

lyx -dbg 515 returns lots of fonts and lyx trys to open match #15. But
instead of loading the font I get the error message above.


Any hints for me?

TIA 
marc(..)


Re: Dot and Cross Products

2004-06-30 Thread Bruce Pourciau
The Math Panel does not seem to contain the size dot one needs for the
dot product of vectors, namely, a dot bigger than \cdot but smaller than
\bullet. Steve suggested \centerdot, which does give a dot of about the
right size, but it's not centered--it's too low, almost at the baseline.
I suppose I could read up on how to raise the \centerdot, but you'd
think there would be a simpler way.

Bruce

Bruce

Helge Hafting wrote:
> 
> Bruce Pourciau wrote:
> 
> >Any one know how to get a dot which is bigger than \cdot but smaller
> >than \bullet? I need this to represent the dot product of vectors in
> >mathematics. And how about a heavier version of \times, to represent the
> >cross product of vectors? Can I get this by doing \times in bold? (I'd
> >test this right now, but I'm not at the moment at a machine with LaTeX installed.)
> >
> >Bruce Pourciau
> >
> >
> Did you try opening the "math panel" and browse the many
> pages of math symbols available?
> 
> Helge Hafting


Re: View of Lyx

2004-06-30 Thread Sam Lewis
On 30 Jun 2004 09:50:41 +0100 Angus Leeming spake thusly:

> Jan Smid wrote:
>
> > Hi,
> >
> > because I can better concentrate when reading a real piece of paper,
> > I  often print  out  several  pages of  my  thesis  to correct  them
> > manually and then transfer the corrections back into the lyx

Sounds reasonable.

> > document. When doing this, it is a little bit annonying to orientate
> > in  the text  on  the  screen because  the  screen  view is  totally
> > different from the print version. Is  it somehow configurable to let
> > the  text on  screen  appear  a little  bit  more  like the  printed
> > version?

The  shortcut c-f  presents you  with a  search function. Just  type the
'to-be-corrected-string',  followed  by  pressing  alt-n  and  you  will
instantly be at the appropriate passage  of your text, without having to
move your cursor. You may even take  advantage of the replace feature to
expedite the process.

> No.

Always  wondered how  meaningful  the  term WYSIWYM  is  for our  superb
document processor, LyX.

Cheers, Sam


Re: LyX Errors

2004-06-30 Thread Angus Leeming
Chavoux Luyt wrote:

> Thanks a lot Angus
> 
> Just one question: Can one do this directly in Lyx (when you are in
> "math mode"), or do you have to use the raw LaTeX?

File->New
Insert->Floats->Figure
The title of your caption 
Insert->Math->Inline formula
Y=a+bx
 contains a math inset.
Insert->Graphics
(Insert the name of some graphic file and press OK)
Layout->Paragraph
(Set the Alignment parameter to Center and press OK)

Voila. You have created what I sent to you.

Read the User Guide. It was written for a purpose you know ;-)

-- 
Angus



Re: LyX Errors

2004-06-30 Thread Chavoux Luyt
Thanks a lot Angus
Just one question: Can one do this directly in Lyx (when you are in 
"math mode"), or do you have to use the raw LaTeX?

Angus Leeming wrote:
Chavoux Luyt wrote:
 

Here is the shortened Lyx file. I'm sorry if it is too long, but I
didn't know what was  important and whar not.
   

I take it that you never fired up lyx from the console so that you could
see any warning messages it printed out when it loaded your document?
 

You are perfectly right, I didn't even think of doing that... I'll do it 
in future. :)

Greetings
Chavoux


Bibliography problem

2004-06-30 Thread Isa Usman
Hello,

I have a multi-part document with chapters as separate files. I've put
the bib file within a separate lyx file. When i run lyx to get the
output under linux, my bibliography doesn't appear. But under a windows
installation it does.

All my file paths for images etc within lyx are relative and they show
up okay. In both cases lyx (ver 1.3.3) can see the bib file when i'm
inserting citations.

This is the directory structure that i have got.

[Top]
|->thesis.lyx {Include Chapter1 > Chaptern}
|->preamble.tex
|->refs.bib
[chapter1]
|->chapter1.lyx
.
.
.
[chaptern]
|->chaptern.lyx
[References]
|->ref.lyx {Inserted bibtex reference here(../refs.bib)}
[Images]
[chapter1]

.
.
.
[chaptern]

Thanks
Isa




Re: Re-sizing figures

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

> On Wed, 30 Jun 2004, Angus Leeming wrote:
> 
>> If you fire up the Graphics dialog and set the "LyX Display->Scale:"
>> entry to 200%, say and press Apply, then the image is resized, but the
>> resized image overwrites the caption?
> 
> Angus,
> 
>   With the cursor in the figure box I can open the dialog box and
>   manipulate
> the horizontal scale. But, the vertical scale remains greyed out. What do
> I need to do to activate that widget?

This is the scaling of the figure in the paper output, right?
You should set the units combobox for the horizontal scale to something
other than %scale.

-- 
Angus



Re: Re-sizing figures

2004-06-30 Thread Rich Shepard
On Wed, 30 Jun 2004, Angus Leeming wrote:

> If you fire up the Graphics dialog and set the "LyX Display->Scale:" entry
> to 200%, say and press Apply, then the image is resized, but the resized
> image overwrites the caption?

Angus,

  With the cursor in the figure box I can open the dialog box and manipulate
the horizontal scale. But, the vertical scale remains greyed out. What do I
need to do to activate that widget?

Thanks,

Rich

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



Re: Re-sizing figures

2004-06-30 Thread Georg Baum
Rich Shepard wrote:

>   I use 'tgif' to create the figures for the book. (This is not intended
>   to
> produce a side thread on vector-graphic tools for linux; I found tgif the
> easiest to learn and produce the types of illustrations I need.) When the
> illustration is too small on the typeset page for the text to be read I
> need to make it larger. I do this in 'tgif', save and print (which
> produces the .eps flavor).
> 
>   When I then view both the lyx figure float and the xdvi output the
> newly-expanded figure covers part of the caption.

I think I encountered this error also, but was too lazy to report it. I
never looked at the dvi, because I made a postscript version outside of lyx
with a Makefile, but the lyx screen was broken. Another possibility to get
this error is to open a document with a lot of figures (~ 50 and not much
text in my case) and scrolling too fast to the bottom while they are
converted.

>   If scaling the figure is the proper way to enlarge it then I need to
>   learn
> how to do this.

Since tgif produces vector graphics, both ways are suitable, but the lyx way
is a bit faster and more flexible. Scaling in lyx is done by right clicking
on the image and then entering the width and/or height values. You can
choose between values like 3cm, 50% of the textwidth or 150% of the natural
image width etc.


Georg





Re: Re-sizing figures

2004-06-30 Thread Ingar Pareliussen
>   Er, ... no. I see that I wasn't clear because I didn't know about the
> display and scale options. (Don't see them on the menus, either.)
> 
>   I use 'tgif' to create the figures for the book. (This is not intended to
> produce a side thread on vector-graphic tools for linux; I found tgif the
> easiest to learn and produce the types of illustrations I need.) When the
> illustration is too small on the typeset page for the text to be read I need
> to make it larger. I do this in 'tgif', save and print (which produces the
> .eps flavor).
> 
>   When I then view both the lyx figure float and the xdvi output the
> newly-expanded figure covers part of the caption.
> 

Hi Rich, I had this problem writing my thesis and I did resolve it, but I 
do not remember all the details, however, I think I can give you a general 
idee how to solve it. You should right click on the graphics and in the 
midle tab chose "clip to bounding box" and "get from file". 

You probably have do this every time you change the size of the eps. If 
this does not work try to turn off the clip to bounding box. I seem to 
remember that I had to try several ways, and that in some 
cases I needed to turn on "clip to bounding box", then "get from file" and then 
remove the "clip to bounding box".

I hope this help, I would be explain better if I understood more :).

Ingar 


Re: Re-sizing figures

2004-06-30 Thread Rich Shepard
On Wed, 30 Jun 2004, Angus Leeming wrote:

> So, you have a figure float containing a graphic and a caption:
>
> float:Figure
> |--|
> | ---  |
> | | your_figure.eps |  |
> | ---  |
> | Figure #: The caption to your figure |
> |--|

Angus,

  Yes.

> If you fire up the Graphics dialog and set the "LyX Display->Scale:" entry
> to 200%, say and press Apply, then the image is resized, but the resized
> image overwrites the caption?

  Er, ... no. I see that I wasn't clear because I didn't know about the
display and scale options. (Don't see them on the menus, either.)

  I use 'tgif' to create the figures for the book. (This is not intended to
produce a side thread on vector-graphic tools for linux; I found tgif the
easiest to learn and produce the types of illustrations I need.) When the
illustration is too small on the typeset page for the text to be read I need
to make it larger. I do this in 'tgif', save and print (which produces the
.eps flavor).

  When I then view both the lyx figure float and the xdvi output the
newly-expanded figure covers part of the caption.

  If scaling the figure is the proper way to enlarge it then I need to learn
how to do this.

Many thanks!

Rich

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



Re: LyX Errors: what can be the problem? & Text Cross-references?

2004-06-30 Thread Angus Leeming
Chavoux Luyt wrote:
> Here is the shortened Lyx file. I'm sorry if it is too long, but I
> didn't know what was  important and whar not.

I take it that you never fired up lyx from the console so that you could
see any warning messages it printed out when it loaded your document?

$ qlyx13x luyt.lyx
unusual contents found: [char Y mathalpha][char   mathalpha][char =
mathalpha][char   mathalpha][char a mathalpha][char   mathalpha][char -
mathalpha][char   mathalpha][char b mathalpha][char x mathalpha]
unusual contents found: [char Y mathalpha][char   mathalpha][char =
mathalpha][char   mathalpha][char a mathalpha][char x mathalpha][char  
mathalpha][char - mathalpha][char b mathalpha][sup [char x mathalpha]
[char 2 mathalpha]]

LyX's math editor doesn't sanity-check your latex. If you input garbage,
then garbage is what you get.

The latex way is to use 'Floats' to contain your figures. The Float inset
will allow you to insert a caption. See attached file which now works
perfectly.

Regards,
-- 
Angus

luyt.lyx
Description: application/lyx


Re: Re-sizing figures

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

> On Wed, 30 Jun 2004, Angus Leeming wrote:
> 
>> Is this a probem with the paper output or with the view on the lyx
>> screen? If the latter, what frontend are you using?
> 
> Angus,
> 
>   Latter (screen view); lyx-1.3.3-qt. I've not tried it with -1.3.4 on my
> notebook.

So, you have a figure float containing a graphic and a caption:

float:Figure 
|--|
| ---  |
| | your_figure.eps |  |
| ---  |
| Figure #: The caption to your figure |
|--|

If you fire up the Graphics dialog and set the "LyX Display->Scale:" entry
to 200%, say and press Apply, then the image is resized, but the resized
image overwrites the caption?

Nope, I don't see that. Can you send a small test case illustrating the
problem together with the steps needed to trigger it.

-- 
Angus



Re: LyX Errors: what can be the problem? & Text Cross-references?

2004-06-30 Thread Chavoux Luyt
Hi
Angus Leeming wrote:
Luyt Du Chavoux, Mnr wrote:
 

Hi
I'm pretty new to Linux (Knoppix3.3 -> Debian testing/unstable) and LyX.
I liked what I saw about LyX and want to write my thesis in it if I can.
   

Hello, Luyt.
Please post a minimal .lyx file demonstrating the problems. You don't need
to post the figure, but please reference it inside the .lyx file.
 

Hi
Here is the shortened Lyx file. I'm sorry if it is too long, but I 
didn't know what was  important and whar not.

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing onehalf
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Title
The myth of
\begin_inset Quotes sld
\end_inset
carrying capacity
\begin_inset Quotes erd
\end_inset
and the search for sustainable stocking rates
\layout Author
Chavoux Luyt
\layout Abstract
\noindent
(Carrying capacity (K) has been a useful concept to ecologists.
It has been less useful to veld managers.
This literature review looks at some of the theoretical shortcomings of
K).
\layout Abstract
\noindent
\emph on
Keywords
\emph default
: Carrying capacity, population growth models, stocking density, sustainable
stocking rates.
\layout Section*
\noindent
Introduction
\layout Standard
\noindent \align left
\begin_inset Quotes sld
\end_inset
The maximum population size that can be supported indefinitely by a given
environment, at which intra-specific competition has reduced the per capita
net rate of increase to zero.
An idealised concept not to be taken literally in practice
\begin_inset Quotes erd
\end_inset
(
\begin_inset LatexCommand \ref{Begon et al. 1996}
\end_inset
).
The term
\begin_inset Quotes sld
\end_inset
carrying capacity
\begin_inset Quotes srd
\end_inset
has a long history in ecology and all too often, it has been taken 
literally
in veld management.
\layout Standard
\noindent \align left

\begin_inset Graphics
   filename /home/boer/doks/fig2.bmp
\end_inset
\layout Description
\noindent
Fig.2 The relation between animal gain and stocking rate (Jones & Sandland
1974).
Using different stocking densities they determined experimentally that
the gain in mass per animal (Average Daily Gain) drops linearly with an
increase in stocking density having a relationship of the form:
\begin_inset Formula Y = a - bx
\end_inset
(Y is ADG per animal, x is stocking density and a and b are parameters
determined experimentally).
The production per hectare on the other hand, is a relationship of the
form:
\begin_inset Formula Y = ax -bx^{2}
\end_inset
with the same parameters as above.
In this example, up to about 1 animal per hectare there is no change in
productivity per animal, usually ascribed to too much low-quality 
vegetative
material (Morris et al.
1999) or maximum gain physiologically possible (Jones and Sandland 1974).
Then, when the "critical stocking rate" is reached, there is a linear drop
in production per animal.
Assuming no change in the vegetation, the economic carrying capacity (max
production per hectare) is reached at a stocking density of about 2.6 
animals
per hectare and if reproduction equals mortality (K) at the point where
animals only just maintain their own body mass, ecological carrying 
capacity
is reached at a stocking density of about 4.8 animals per hectare.
\layout Section*

References
\layout Standard
\noindent
\begin_inset LatexCommand \label{Begon et al. 1996}
\end_inset
Begon, M., J.
L.
Harper, C.
R.
Townsend.
1996.
Ecology: individuals, populations and communities 3rd Edition.
Blackwell Science.
Oxford.
\layout Standard
\noindent
\begin_inset LatexCommand \label{Boughey 1968}
\end_inset
Boughey, A.
S.
1968.
Ecology of Populations.
Macmillan.
New York.
\layout Standard
\noindent
\begin_inset LatexCommand \label{Brooks et al. 1977}
\end_inset
Brooks P.
M., J.
Hanks & J.
V.
Ludbrook.
1977.
Bone Marrow as an index of condition in African ungulates.
South African Journal of Wildlife Research 7: 61-66.
\layout Standard
\noindent
\begin_inset LatexCommand \label{Caughley 1976}
\end_inset
Caughley, G.
1976.
Wildlife Management and the Dynamics of Ungulate Populations.
Applied Biology 1: 183-246.
\layout Standard
\noindent
\begin_inset LatexCommand \label{Jones & Sandland 1974}
\end_inset
Jones, R.
J.
& R.
L.
Sandland.
1974.
The relation between animal gain and stocking rate : Derivation of the
relation from the results of grazing trials.
Journal of Agricultural Science, Cambridge 83: 335-342.
\layout Standard
\noindent
\begin_inset LatexCommand \label{Morris et al. 1999}
\end_inset
Morris, C.
D., M.
B.
Hardy & P.
E.
Bartholomew.
1999.
Stocking rate.
Pp.186-193 in: Tainton, N.
M.
(ed).

Re: Re-sizing figures

2004-06-30 Thread Rich Shepard
On Wed, 30 Jun 2004, Angus Leeming wrote:

> Is this a probem with the paper output or with the view on the lyx screen?
> If the latter, what frontend are you using?

Angus,

  Latter (screen view); lyx-1.3.3-qt. I've not tried it with -1.3.4 on my
notebook.

Rich

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



Re: \thispagestyle{empty} not working for me

2004-06-30 Thread Rich Shepard
On Wed, 30 Jun 2004, Helge Hafting wrote:

> \thispagestyle sets the style for this page only, it might not do anything
> for the next page. Its intended use is when you occationally need a
> single page with a different style.

Helge,

  While I understood this I didn't know what to use for multiple pages.
Forcing \pagestyle{empty} does the trick.

> \pagestyle sets the style to be used for pages from now on and until
> the next style command.

  Got it, thank you.

> Note that several other commands affect the pagestyle.  For any book-like
> document, expect any chapter start (including special chapters
> like preface and TOC) to use some special "first page of chapter" style
> on the first page, and then reset the pagestyle to "normal" after the
> initial page.  This is why preface and TOC brought the numbering back.

  The ToC pagination was fine; it was the Preface that caused problems.

> You can deal with this in several ways:
> * redefine the normal pagestyle to something not include numbers
> * repeat styling commands after each "chapter" start.
> * \thispagestyle on _every_ page

  Or, in my case, use the empty page style between the title and ToC and
headings the page style for the rest of the book.

Many thanks,

Rich

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



Re: \thispagestyle{empty} not working for me

2004-06-30 Thread Rich Shepard
On Wed, 30 Jun 2004, G. Milde wrote:

> So a simple Layout->Document->Page style == "empty" together with with
> \pagestyle{headings} as ERT before the ToC should do the trick.

Guenter,

  No, not quite.

  I left the Layout->Document->Page style as "default" (but I have no idea
what that implies). Just after the title, on a line by itself, I have
"/pagestyle{empty}". Just before the ToC, on a line by itself, I have
"\pagestyle{headings}".

> I had this problem as well some time ago. I think it is related to the
> special nature of the titlepage (which gets a special pagestyle,
> modifying the default).

  That makes sense. Thanks.

> Also, only text in the Author, Date, Title, ... paragraphs go to the
> titlepage. Just curious: Did you try what happens, if you set the
> \thispagestyle{empty} ERT not in a standard paragraph but in the author,
> say?

  No, I didn't. The problem was only with the interior pages of the Preface.
I guess I need to learn a lot more LaTeX in addition to my comfort with LyX.

Rich

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



Re: tabular - horizontal width

2004-06-30 Thread Lyx User
Thanks for your pointer.
I think what I actually need is a tabular* instead of the
tabular environment (and with rubber space), but I don't think that is
possible in lyx.

I would like the equivalent of 

[EMAIL PROTECTED]|l|l|}
a a a a a & b b b b b b \\
\end{tabular*}

Jonne.


On Wed, 30 Jun 2004 13:26:26 +0200, Christian Ridderström wrote:

> Hi "Lyx User"
> 
>> Are those units documented somewhere? Like text%, line%, col%, etc.?
> 
> Maybe this helps:
>   http://wiki.lyx.org/pmwiki.php/FAQ/Units
> 
> /Christian




Re: tabular - horizontal width

2004-06-30 Thread Christian Ridderström
Hi "Lyx User"

> Are those units documented somewhere? Like text%, line%, col%, etc.?

Maybe this helps:
http://wiki.lyx.org/pmwiki.php/FAQ/Units

/Christian

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




tabular - horizontal width

2004-06-30 Thread Lyx User
Hi all,

My question concerns the tabular environment.
I have a tabular with two columns and I want the full tabular to be
exactly 1.0\textwidth width (horizontal width equal to text around the
tabular).
I tried to give column one width "20 text%" and column two "80 text%",
but that does not work out, the sum is bigger than "100 text%". I assume
because borders/margins are not included in the column's width.
I also tried one column of "100 text%" which also is too wide (I didn't
forget \noindent).

Are those units documented somewhere? Like text%, line%, col%, etc.?
Can I solve this problem using a LaTeX argument?

Thanks.


%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{array}

\makeatletter

%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

\usepackage{babel}
\makeatother
\begin{document}
\noindent |\hfill{}|

\noindent a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
% or something like \noindent |\hfill |

\noindent \begin{tabular}{|p{1.0\textwidth}|}
\hline
100 text\%\tabularnewline
\hline
\end{tabular}

% I tried to give a LaTeX argument in the LyX dialog
\noindent \begin{tabular}{|[EMAIL PROTECTED]
\hline
20 text\%&
80 text\%\tabularnewline
\hline
\end{tabular}

\noindent \begin{tabular}{|p{0.20\columnwidth}|p{0.80\columnwidth}|}
\hline
20 col\%&
80 col\%\tabularnewline
\hline
\end{tabular}
\end{document}




Re: View of Lyx

2004-06-30 Thread Angus Leeming
Jan Smid wrote:

> Hi,
> 
> because I can better concentrate when reading a real piece of paper, I
> often print out several pages of my thesis to correct them manually and
> then transfer the corrections back into the lyx document. When doing
> this, it is a little bit annonying to orientate in the text on the screen
> because the screen view is totally different from the print version. Is
> it somehow configurable to let the text on screen appear a little bit
> more like the printed version?

No.

> I know that the typesetting is done by latex; but IMHO it should be
> possible to somehow "guess" how the document will probably look like.

And your humble opinion is based on what exactly? 

That said, modern version of xdvi and kdvi support 'source specials' which
encode the equivalent position in the raw latex (or lyx) file. João
Assirati has added code to the 1.4.x tree that will enable you to click on
the xdvi (or kdvi) screen and the view in lyx will change accordingly.

Regards,
-- 
Angus



Re: Natbib citation style change?

2004-06-30 Thread Juergen Spitzmueller
Rudi van der Linde wrote:

> Is it possible to remove the comma before the 'and', i.e. the output
> should be
> Yao, Smith and Johnson.

You have to edit the bst file (or create a new one with "latex makebst",
which is very straightforward).

If you are using plainnat.bst, save a copy "myplainnat.bst" and edit the
lines 216 and 302, changing
{ "," * }
to
{ "" * }
Don't forget to run texhash afterwards.

Jürgen.



View of Lyx

2004-06-30 Thread Jan Smid
Hi,

because I can better concentrate when reading a real piece of paper, I often 
print out several pages of my thesis to correct them manually and then 
transfer the corrections back into the lyx document. When doing this, it is a 
little bit annonying to orientate in the text on the screen because the 
screen view is totally different from the print version. Is it somehow 
configurable to let the text on screen appear a little bit more like the 
printed version?
I know that the typesetting is done by latex; but IMHO it should be possible 
to somehow "guess" how the document will probably look like.

TIA

-j



Re: Lists

2004-06-30 Thread Jose' Matos
On Tuesday 29 June 2004 16:43, Roberto wrote:
> Does anybody know of any brazilian lyx list (mainly for portuguese
> character code related topics)?

Oi, :-)

 Are there so many of those issues to demand a list? Usually this is a good 
place to put those question as most of the problems are common to several 
languages...

-- 
José Abílio


Re: \thispagestyle{empty} not working for me

2004-06-30 Thread Jean-Pierre Chretien

>>  Why does the explicit \pagestyle{empty} fix the problem when
>>\thispagestyle{empty} was not sufficient by itself?

\thispagestyle{empty} *was* sufficient by itself, as your modified example
shows.

In fact we can forget all what was said about fancy stuff, svmono
does not use at all fancyhdr package: the running headers and
footers are coded in the class.

So it's equivalent to remove header/footer formatting with a couple of
\pagestyle{empty}
\pagestyle{headings}
commands, or to act locally with \thispagestyle{empty}
The latter is clearly more appropriate for one page only.

-- 
Jean-Pierre

%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{svmono}
\usepackage{palatino}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\usepackage{array}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{amssymb}
\usepackage[numbers]{natbib}

\makeatletter

%% LyX specific LaTeX commands.
\newcommand{\noun}[1]{\textsc{#1}}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% Textclass specific LaTeX commands.
 \newenvironment{lyxlist}[1]
   {\begin{list}{}
 {\settowidth{\labelwidth}{#1}
  \setlength{\leftmargin}{\labelwidth}
  \addtolength{\leftmargin}{\labelsep}
  \renewcommand{\makelabel}[1]{##1\hfil}}}
   {\end{list}}
 \newenvironment{lyxcode}
   {\begin{list}{}{
 \setlength{\rightmargin}{\leftmargin}
 \setlength{\listparindent}{0pt}% needed for AMS classes
 \raggedright
 \setlength{\itemsep}{0pt}
 \setlength{\parsep}{0pt}
 \normalfont\ttfamily}%
\item[]}
   {\end{list}}

%% User specified LaTeX commands.
\usepackage{multicol}
\usepackage{amsmath}

%% No pagination on part page
\renewcommand\part{%
  [EMAIL PROTECTED]
\cleardoublepage
  \else
\clearpage
  \fi
  \thispagestyle{empty}%
  [EMAIL PROTECTED]
\onecolumn
[EMAIL PROTECTED]
  \else
[EMAIL PROTECTED]
  \fi
   [EMAIL PROTECTED]@spart}
%% end part page redefinition

\usepackage{array}
\def\PBS#1{\let\temp=\\#1\let\\=\temp}
\newcolumntype{P}[1]{>{\PBS\raggedright}p{#1}}

\usepackage{babel}
\makeatother
\begin{document}

\author{\noun{Richard B. Shepard}}


\title{Quantifying Environmental Impact Assessments Using Fuzzy Logic}

\maketitle
\thispagestyle{empty}

Richard B. Shepard, Ph.D.

Applied Ecosystem Services, Inc.

2404 SW 22 Street

Troutdale, OR 97060-1247

U.S.A.

[EMAIL PROTECTED]

\null\vfill

Copyright \copyright 2004 Springer-Verlag New York, Inc.

All rights reserved. This work may not be translated or copied in
whole or in part without the written permission of the publisher (Springer-Verlag
New York, Inc., 175 Fifth Avenue, New York, NY 10010, USA), except
for brief excerpts in connection with reviews, or scholarly analysis.
Use in connection with any form of information storage and retrieval,
electronic adaptation, computer software, or by similar or dissimilar
methods now know or hereafter developed is forbidden. The use in this
publication of trade names, trademarks, service marks, and similar
terms, even if they are not identified as such, is not to be taken
as an expression of opinion as to whether or not they are subject
to proprietary rights.

Authorization to photocopy items for internal or personal use, or
for the internal or personal use of specific clients, is granted Springer-Verlag
New York, Inc., provided that the appropriate fee is paid directly
to Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923,
USA (Telephone (508) 750-8400), stating the ISBN number of the volume,
the volume title, and the first and last page numbers of each chapter
copied. The copyright owner's consent does not include copying for
general distribution, promotion, new works, or resale. In these cases,
specific written permission must first be obtained from the publisher.

Typeset in Palatino by \LaTeX.\\


Printed in the United States of America.\\
\\
9 8 7 6 5 4 3 2 1\\
\\
www.springer-ny.com\\
\\
Springer-Verlag~~New York Berlin Heidelberg\\
\emph{A member of Bertelsmann-Springer Science+Business Media GmbH}


\chapter*{Preface}

\addcontentsline{toc}{chapter}{Preface}

% check the \pagestyle command solution
%\pagestyle{empty}


Formal requirements for the assessment of environmental impacts of
development activities may have begun in the United States with the
passage of the National Environmental Policy Act (NEPA) in 1969, but
it now is found in more than 200 countries world-wide. The details
vary, but the underlying goals of minimizing environmental degradation
and improving environmental conditions are the same. In many countries,
these national requirements are supplemented by additional requirements
by states, provinces, counties, cities and other political division

Re: Re-sizing figures

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

> On Tue, 29 Jun 2004, Rich Shepard wrote:
> 
>> Is there a quick way to have the figure float re-adjusted so the caption
>> has space above it when the figure (.eps) is made larger?
> 
>   I just discovered -- accidentally -- that killing the lyx process and
> restarting it, then re-loading the document does space the caption
> properly. Seems rather drastic, however.

Is this a probem with the paper output or with the view on the lyx screen?
If the latter, what frontend are you using?

-- 
Angus



Natbib citation style change?

2004-06-30 Thread Rudi van der Linde
Hi All,

I have looked in the Natbib documentation and could not find a solution to
my problem. I do not have a direct connection to the Internet and was unable
to do more research. I apologise if this is already listed in the archives /
wiki / etc.

I am using the \citet* command (native LyX) to generate a full list of
authors.

I get the following output in my document:
Yao, Smith, and Johnson.

Is it possible to remove the comma before the 'and', i.e. the output should
be
Yao, Smith and Johnson.

Many thanks

Rudi van der Linde
[EMAIL PROTECTED]


This message (and attachments) is subject to restrictions and a disclaimer.
Please refer to http://www.ansys.co.za/index.html or [EMAIL PROTECTED]
for full details.