How to get --- instead of ---

2006-12-15 Thread Rainer M Krug

Hi

I would like to have "---" in a table, i.e. three minuses after each 
other, but LyX is always changing it to a long dash. How can I prevent this?


I tried \{---} \--- in a LaTeX box, but in the first case an error 
message, in the second box replaced as well. Any ideas?


Rainer

--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: How to get --- instead of ---

2006-12-15 Thread christian . ridderstrom

On Fri, 15 Dec 2006, Rainer M Krug wrote:

I would like to have "---" in a table, i.e. three minuses after each 
other, but LyX is always changing it to a long dash. How can I prevent 
this?


I haven't tried it, but this could work:

-{}-{}-

if you put it in a LaTeX box.

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Fwd: How to get --- instead of ---

2006-12-15 Thread Stefano Baroni



Begin forwarded message:


From: Stefano Baroni <[EMAIL PROTECTED]>
Date: December 15, 2006 9:30:45 AM GMT+01:00
To: [EMAIL PROTECTED]
Subject: Re: How to get --- instead of ---

There might be a smarter way, but ERT[{-}{-}{-}] will do.
SB

On Dec 15, 2006, at 9:24 AM, Rainer M Krug wrote:


Hi

I would like to have "---" in a table, i.e. three minuses after  
each other, but LyX is always changing it to a long dash. How can  
I prevent this?


I tried \{---} \--- in a LaTeX box, but in the first case an error  
message, in the second box replaced as well. Any ideas?


Rainer

--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html





---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html





Re: Lyx 1.5svn and pdflatex

2006-12-15 Thread Georg Baum
Guy Rutenberg wrote:

> hi,
> 
> I compiled from source lyx 1.5 from the svn. And discovered that pdflatex
> is not a listed under the view menu or the file->export as default anymore
> and one should add it himself (through setting dialog) if he wants to use
> it. Does this reflect anything about pdflatex? Why they didn't list it as
> default option like it was in older versions?

Did you use your old preferences file? If yes, go to the preferences menu
and tick the checkbox "document format" of all formats that are missing fom
the view menu but should be there.


Georg



Re: How to get --- instead of ---

2006-12-15 Thread Rainer M Krug

[EMAIL PROTECTED] wrote:

On Fri, 15 Dec 2006, Rainer M Krug wrote:

I would like to have "---" in a table, i.e. three minuses after each 
other, but LyX is always changing it to a long dash. How can I prevent 
this?


I haven't tried it, but this could work:

-{}-{}-


Perfect

Thanks a lot

Rainer


if you put it in a LaTeX box.

/Christian




--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


bug on Mac OS X?

2006-12-15 Thread Stefano Baroni
Folks: Lyx 1.4.3 does not seem to exit gracefully with -Q (the  
standard Mac OSX sequence to exit applications) on Mac OSX 10.4.8.  
Not a big deal, but I think this should be considered as a bug.  
Thanks for making LyX available to us. Stefano


---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html





Re: Plain ol' LaTeX issues -- Thread End

2006-12-15 Thread Rich Shepard

On Fri, 15 Dec 2006, Jean-Pierre Chretien wrote:


Anyway, if you use frequently lyx with landscape docs, you may
- create a ps2 format (named eg PS(L))
- create a converter from dvi to ps2 with dvips -t landscape -o $$0 $$i

To solve the orientation issue, just associate gv -swap to the ps2 format
(-swap exchanges seascape and landscape, but there is no such option as
dvips -t seascape foo.dvi)


  Thanks, Jean-Pierre. Other than one table in my book that needed to be
rotated, this is my first need to create a document oriented this way. I
suspect that it will continue to be a rare occurrence. Now, however, I know
how to cope with the situation.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


"Appendices" in each Chapter or part?

2006-12-15 Thread Rainer M Krug

Hi

I have a main document with each part being a child document included 
and some parts even child documents via input. I would like to have an 
"appendix" in each Part - is this possible? At the moment the whole 
numbering stays in "Appendix Mode" after the first appendix.


Thanks

Rainer


--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Question concerning Preamble in Child Documents

2006-12-15 Thread Rainer M Krug

Hi

Am I right in assuming that when I have a preamble in the Child 
Document, this preamble is ignored when the Child Document is used from 
the Main Document, i.e. if I have a special preamble in the Child 
Document, I have to copy it to the Main Document?


Thanks,


Rainer

--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: Question concerning Preamble in Child Documents

2006-12-15 Thread Jean-Pierre Chretien

>>Date: Fri, 15 Dec 2006 18:11:49 +0200
>>From: Rainer M Krug <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Question concerning Preamble in Child Documents
>>
>>Hi
>>
>>Am I right in assuming that when I have a preamble in the Child 
>>Document, this preamble is ignored when the Child Document is used from 
>>the Main Document, i.e. if I have a special preamble in the Child 
>>Document, I have to copy it to the Main Document?

Definitely.
This is the price to pay to get someting more flexible than
the \uncludeonly mechanism.

-- 
Jean-Pierre



Re: Tables inside an enumerate environment

2006-12-15 Thread Hillel

I tried your suggestion and read the docs, but for some reason I can't get
it right.

I created a simple lyx file, with a few words of text followed by a box that
holds a table with multiple rows. When I set the box vertical alignment to
"bottom", the box is correctly aligned. However, when I set the box vertical
alignment to "middle" or "top" there is no difference in the output. In both
cases the preceding line of text if aligned to the middle of the table.
Another interesting thing is that when in addition to "Box Vertical - Top",
I also set "Content Vertical - middle" (instead of the default "Content
Vertical - Top"), The box top suddenly does align with the text line,
although its still bad since its the box top is aligned with the text line
*bottom* part.

My goal is to get the top of the text line aligned to the top of the box. Is
this a bug or am I doing something wrong?

--
Lyx Version 1.4.3
Latex 2003/12/01
Hillel

On 12/13/06, Uwe Stöhr <[EMAIL PROTECTED]> wrote:


Hillel schrieb:

> I am new to LyX and I'm trying to use tables inside an enumerate
> environment. My problem is that with respect to vertical alignment, the
> number (of the current enumerate item) is aligned to the vertical center
of
> the table, while I want it aligned to its top.

Put the table inside into a minipage and set the alignment "top" or
bottom" for the minipage box.
(See chapter 5.2 and 5.4 of the Extended-Insets manual:
http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets )

regards Uwe



Re: Question concerning Preamble in Child Documents

2006-12-15 Thread Georg Baum
Rainer M Krug wrote:

> Hi
> 
> Am I right in assuming that when I have a preamble in the Child
> Document, this preamble is ignored when the Child Document is used from
> the Main Document, i.e. if I have a special preamble in the Child
> Document, I have to copy it to the Main Document?

Yes. If you don't want to compile the child documnt separately then delete
the preamble of the child document. If you want to compile it separately
then it is better to put the preamble into a separate .tex file and only
have

\include{preamble.tex}

in both the main and child doc, because you cannot get inconsistent
preambles this way.


Georg



Re: Question concerning Preamble in Child Documents

2006-12-15 Thread Stefano Franchi


On 15 Dec, 2006, at 10:12 AM, Georg Baum wrote:



Yes. If you don't want to compile the child documnt separately then 
delete
the preamble of the child document. If you want to compile it 
separately
then it is better to put the preamble into a separate .tex file and 
only

have

\include{preamble.tex}

in both the main and child doc, because you cannot get inconsistent
preambles this way.



I have a related question:

	I am working on a book that will eventually have to be typeset in 
various formats (i.e., double-spaced for reviewers, with publishers 
specs, etc).  I work on the single chapters individually and I need to 
typeset them as such in my own, proof-like kind of format. My strategy 
so far has been to have different master documents (which only contain 
include statements) with different preambles corresponding to the 
different book formats, and yet a different preamble for the single 
chapters.
Here is the question: will the preambles of the individual chapters be 
completely ignored once they are included in the master document, or is 
it advisable to erase the child preambles when typesetting the master 
document (as Georg seems to hint)? Since the latter option is obviously 
quite cumbersome, this gives rise to a further question: is my strategy 
completely silly and if so are there better ways to solve with this 
problem?


Thanks for the help,

Stefano

__
Stefano Franchi
Department of Philosophy  Ph:  (64)  9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-8768
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Question concerning Preamble in Child Documents

2006-12-15 Thread Georg Baum
Stefano Franchi wrote:

> Here is the question: will the preambles of the individual chapters be
> completely ignored once they are included in the master document,

Yes.

> or is 
> it advisable to erase the child preambles when typesetting the master
> document (as Georg seems to hint)? Since the latter option is obviously
> quite cumbersome, this gives rise to a further question: is my strategy
> completely silly and if so are there better ways to solve with this
> problem?

No, this strategy looks good to me. I suggested to erase the child preamble
if it is identical to the master preamble because otherwise you can easily
forget that there is another one in the master, and if you change one you
also have to change the other.
In your case I guess that the child preamble is identical for all child
documents, therefore I would put it into a separete .tex file and include
that in the preamble of all child documents.


Georg



Re: [fix] Personal Dictionary not working

2006-12-15 Thread Paul A. Rubin

Uwe Stöhr wrote:

Paul A. Rubin schrieb:

One small problem remains:  when I made the change, my personal 
dictionary ended up in C:\Aspell\Personal\ despite the path I gave LyX 
in Tools -> Preferences... -> Language settings -> Spellchecker -> 
Perosnal dictionary (C:\Documents and Settings\what a handome guy I 
am\Application Data\Aspell\en.pws).


For me the *.pws files are created in "C:\Documents and Settings". It 
seems that you have already an older Aspell installed because the ones 
that come with the last installers are by default installed in 
C:\Documents and Settings. C:\Aspell was the install directory of former 
Aspell versions.


regards Uwe



Actually, I have Aspell files installed in both places.  You're right 
that C:\Aspell is left over from LyX 1.3.x (and 1.4.1).  I suppose this 
means that there is a registry entry somewhere pointing to the older 
installation.  The question, though, is why LyX ignores what I put in 
the preferences dialog (I pointed to the Docs and Settings folder) and 
insists on using the older folder?


Cheers,
Paul



Re: LyX Graphics Distorted

2006-12-15 Thread Paul A. Rubin

Fuad Tabba wrote:
You're right, it is a BMP file but the LaTeX code does not have an 
extension
assocaited with te file. In LyX the file does have bmp as an extension, 
it's

the LaTeX output which doesn't. Where do you suggest I add the "bmp"? I
tried exporting it to LaTeX, adding the .bmp there and reimporting it with
the same result...

Thanks.



Ok, I've tracked down at least part of this.  For reasons I don't 
understand (bug? feature?), if you include a BMP file that resides in a 
directory other than the home of the LyX file, *and* if the path to it 
contains spaces, then LyX includes the extension in the emitted LaTeX 
code.  Otherwise, the extension is omitted.  Now that should not be a 
problem in general, since LyX automatically uses ImageMagick to generate 
an EPS version of the image file when using View->DVI (or View->PDF 
...), and LyX exports the .eps file along with the .tex file if you use 
File -> Export -> LaTeX.  At least it does for me.  So I suppose a 
reasonable question to ask at this point is whether you have ImageMagick 
installed (and whether it's either on your system command path or on 
LyX's Tools -> Preferences... -> Paths -> PATH Prefix)?


/Paul



"no textclasses found" on windows

2006-12-15 Thread Cobus Jacobs
Hi 

Has anyone solved the "textclasses not found" issue with the windows install?

I've read on the net it has something to do with the userdir. I tried the 
"-userdir x" option (with classic LyX install), and got it to run, although 
some packages seemed to be missing. I really wanted to run the alternative 
install (LyXWinInstaller), but that never seemed to work, even with the 
"-userdir"option or deleting the "application data\lyx*" folder. I have my "My 
documents" folder on 'n different drive, but my "documents and setting\user" 
folder still resides on the C-drive with winXP.

Help please
Cobus

Re: "no textclasses found" on windows

2006-12-15 Thread Paul A. Rubin

Cobus Jacobs wrote:

Hi

Has anyone solved the "textclasses not found" issue with the windows
install?


I'm not entirely sure this is one issue -- I think there may be multiple 
possible errors leading to the same symptom.


I've read on the net it has something to do with the userdir. I tried
the "-userdir x" option (with classic LyX install), and got it to
run, although some packages seemed to be missing.


By packages, do you mean helper programs (ImageMagick, Ghostscript, ...) 
or do you mean LaTeX classes?  If the latter, I'm not sure switching 
installers is necessary; MikTeX should be able to download any missing 
bits you need.



I really wanted to
run the alternative install (LyXWinInstaller), but that never seemed
to work, even with the "-userdir"option or deleting the "application
data\lyx*" folder. I have my "My documents" folder on 'n different
drive, but my "documents and setting\user" folder still resides on
the C-drive with winXP.


It should not matter where "My Documents" lives.  Have you tried 
deleting any and all LyX installations (including the stuff under Docs 
and Settings) and rerunning LyXWinInstaller?  Assuming the answer is yes 
(and it did not generate textclass.lst, etc.), did you try running the 
configuration script manually (open a DOS prompt, park in Documents and 
Settings\your name here\Application Data, and run 'python>python.exe \Resources\configure.py')?


/Paul



Fbox in equations

2006-12-15 Thread James
I am trying to put a box around equations.  In Latex, you use an \fbox to
accomplish this.  However, I cannot figure out how to get Lyx to do this
properly, particularly in the case of a displayed equation.  Any tips?

James


Re: Fbox in equations

2006-12-15 Thread José Matos
On Friday 15 December 2006 11:32 pm, James wrote:
> I am trying to put a box around equations.  In Latex, you use an \fbox to
> accomplish this.  However, I cannot figure out how to get Lyx to do this
> properly, particularly in the case of a displayed equation.  Any tips?

  Insert this as LaTeX.
|\fbox{|.|}|

  where I represent the ert (latex) inside bars ||.

For version 1.5.0 we have direct support for this feature.

> James

-- 
José Abílio


Re: Fbox in equations

2006-12-15 Thread Les Denham
On Friday 15 December 2006 17:32, James wrote:
> I am trying to put a box around equations.  In Latex, you use an \fbox to
> accomplish this.  However, I cannot figure out how to get Lyx to do this
> properly, particularly in the case of a displayed equation.  Any tips?
The attached example shows the Lyx source and PDF output.

Les


test.lyx
Description: application/lyx


test.pdf
Description: Adobe PDF document