Re: Equation help

2006-08-04 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Myriam Abramson [EMAIL PROTECTED]
Subject: Equation help
Date: 03 Aug 2006 21:35:05 -0400


Hi!

Any ideas on how to nicely write a fairly long equation on multiple
lines? here's an example of such an equation. Would you suggest
to extract the delta on another line? 

Set the cursor in equation
Edit-Math-Change formula type-AMS multline Envir.  (Alt-M T M)
Ctrl Enter where you want to split

AMS must be checked in the doc settings (but it is the case for you).

To illustrate, your equation split in three lines.

There are other ways, check the various align, gather,... AMS commands,
selectable with the path above.

-- 
Jean-Pierre


test.lyx
Description: test.lyx


Re: help with winXP installation: no textclass.lst no packages.lst

2006-08-04 Thread Michael Hartje
This is a known bug and will be fixed in the next release. For the 
meatime you can replace the file TeXFiles.py by the attached file in the 
folder

~LyXInstallDirectory~\Resources\scripts


Thanks Uwe, this workaround fits my needs; yes, I did reinstall Lyx two 
times before but with no difference; so I can now work and I am looking 
forward for the next bug release.


Michael



Re: swapping LyX modifier keys on Mac OS X

2006-08-04 Thread Jason Woodard

Jens,

Glad to hear you find the patch useful.  It's too bad there doesn't seem
to be an easy way to make the modifier keys configurable at runtime (if
I recall, someone looked into this a while ago) so for now patching Qt
is still the path of least resistance.

I was finally able to get 1.4.2 to build for PPC (GCC 3.3, OS X 10.4.7).
I Googled the compiler errors I was getting and discovered that I needed
to add -lSystemStubs to LDFLAGS to avoid undefined symbols.

I've posted a new disk image at http://kuala.smu.edu.sg/~jason/lyx/ and
linked that page to yours with the Intel version.

regards,

 -j


Jens Noeckel wrote:

Jason,
I can confirm that your patch still works for LyX 1.4.2 - I had actually 
tried this a week ago on an Intel Mac. That patch is a life saver for 
emacs people! I'll post the LyX 1.4.2 Mac Intel version with the key 
patch on my site in a few minutes (just the application). I won't be 
able to get to a computer for a day or two, but hope this helps...

The URL for my binaries is:
http://www.uoregon.edu/~noeckel/LyX/


Jens



Language in bibliography?

2006-08-04 Thread Curtis Osterhoudt


Hi, all,

 In my bibliography, I notice that many of the citations contain Polish, 
whereas I'd prefer everything in English :)  For example, a couple of books 
in the third edition have wydanie 3rd, a doctoral dissertation contains 
Praca doktorska, and  an article published in 1999 has Czerwiec 1999. I 
can't find anywhere in my LyX document (preamble, in the text itself, etc.) 
nor in the bibliography entries (either native BibTeX editing or the various 
frontends like Pybliographic or KBibTeX) where Polish is used. Does anyone 
have any hints for me?


Best wishes,
   Curtis O.




Re: Language in bibliography?

2006-08-04 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 In my bibliography, I notice that many of the citations contain Polish,
 whereas I'd prefer everything in English :)

IIRC you use the style plunsrt. Guess what the pl means? ;-) BTW, unsrt 
means unsorted, i.e. the way you inserted the citation, as opposed 
to alphabetically sorted.

Jürgen


Re: Language in bibliography?

2006-08-04 Thread Curtis Osterhoudt





From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Language in bibliography?
Date: Fri, 4 Aug 2006 11:10:02 +0200

Curtis Osterhoudt wrote:
 In my bibliography, I notice that many of the citations contain Polish,
 whereas I'd prefer everything in English :)

IIRC you use the style plunsrt. Guess what the pl means? ;-) BTW, unsrt
means unsorted, i.e. the way you inserted the citation, as opposed
to alphabetically sorted.

Jürgen


Jürgen,

  Damn you and your quick replies :)  I did a google search for a couple of 
the wacky words showing up in my bibliography, and realized -- with a kind 
of lead ball in my gut -- that that was EXACTLY the problem (and solution). 
And here I was thinking that the 'pl' stood for something like 'plain'.

   Thanks!

 Curtis




openoffice

2006-08-04 Thread jouke hijlkema

Hello all,

I just tried to export a lyx document to openoffice writer format. All 
seems to work well but when I try to open the resulting document with 
openoffice 2.0 it complains about a format error in Content.xml. Any 
idea what that might be ??


Thanks,

Jouke


Re: openoffice

2006-08-04 Thread Rainer M Krug
This sounds interesting - where can I find this functionality? Because
in LyX 1.4.2 in Linux there is no option under Export for this and I
would be interested in using it.

Rainer

jouke hijlkema wrote:
 Hello all,
 
 I just tried to export a lyx document to openoffice writer format. All
 seems to work well but when I try to open the resulting document with
 openoffice 2.0 it complains about a format error in Content.xml. Any
 idea what that might be ??
 
 Thanks,
 
 Jouke


-- 
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)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: Page break bug?

2006-08-04 Thread Helge Hafting

Reinhard Mayr aka Czerwinski wrote:

I checked that -- all pages are A4.

The page with the missing break contains
oa float figure
oa float table
osection and subsection headings
oa non-floatoing table
osome text


Latex never breaks a float, but should instead move it to
the next page.  Forcibly plaving a float could cause it
to extend way into the bottom margin.


The following page is in landscape format.


Hm.  Well, if text really overflows into the bottom margin, then
you have found a latex error.  Lyx developers can't fix that.
Instead, export to latex and take the resulting tex file to
a latex forum and have it figured out there.

If latex is in error, then latex must be fixed, not lyx.  If Lyx
generates stupid latex files, then lyx can be fixed.  But I don't
see how a lyx fault could cause this problem.


Helge Hafting



Re: setting non-utf8 locate for lyx

2006-08-04 Thread Helge Hafting

Christopher Winkler wrote:
Hello all, 


sorry, I keep on asking for help ...

After finally being able to compile lyx (1.4.2) with Kubuntu (Dapper), 
there is one thing that sucks a little bit.


If I want to run lyx in German, all umlauts in the menues are distorted.
No problem, I thought, let's start lyx with: 
LANG=de_DE; lyx-1.4.2


Well, that does not work, since: 
locale -a 
tells me, that in fact only [EMAIL PROTECTED] does exist on my system.
  


I don't really know ubuntu, but it is based on
debian, and in debian we do:

dpkg-reconfigure locales

You get a long list of possible locales, make sure [EMAIL PROTECTED]
is enabled in addition to the existing [EMAIL PROTECTED]

Helge Hafting




Description of the different document classes

2006-08-04 Thread Rainer M Krug
Hi

where can I find a description and differences between the different
document classes - not what they are usually used for, but what the
differences are?

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)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: One bibliography, separated by chapter?

2006-08-04 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 If I use chapterbib and do NOT
 use the [gather] option, then all of the bibliographies are gathered at the
 end of the document. The effect (as far as I can see) is equivalent to
 including each of the bibliographies at the end of the chapters, in comment
 boxes, and then having one bibliography at the end of the master file, not
 in a comment box.

Is it really a bibliography by chapter then? I think it's just an ordinary 
bibliography, and the fact that you are using an unsrt bib style lets it look 
as if it is divided by chapters.

    If I use the [gather] option, the same thing happens, and the master
 bibliography is listed in the TOC (and is listed as falling on the correct
 page), but NEVER SHOWS UP. The text goes directly from the end of the last
 chapter to the Index.

    I suppose my next trick will be to repeat these experiments with a
 minimal raw latex file and see if that's any different (I suspect it won't
 be; probably this is more of a problem with chapterbib playing nice than
 anything else).

I just tried myself, and I couldn't get it to work as well. My guess is that 
you have to export your files to latex and run latex/bibtex manually. LyX 
doesn't seem to run bibtex on the different aux files, as needed.

Jürgen


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/3/06, Paul Smith [EMAIL PROTECTED] wrote:

  Inkscape seems particularly apt to produce flowcharts, as it has got
  the 'connectors' features, making the arrows connected even when one
  moves the connected frames. And it can save the pictures as vectorial
  eps, pdf, and so on.

 Inkscape looks pretty nice, but unless I'm missing something, it does
 not support embedded LaTeX commands (and in particular math formulas)?

That is true that it does not support embedded LaTeX commands in
general, but one can virtually insert anything LaTeX can output (math
formulas included) by converting from eps to svg (the Inkscape's
format). The final picture (with the math formulas inserted) looks
great and it is vectorial, scalable.


To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Paul


integral.svg
Description: image/svg


Problem with 'Check TeX'

2006-08-04 Thread Rainer M Krug
I have a problem with 'Check TeX': it only runs after I pressed TOOLS 
RECONFIGURE

If I try to run it before, it tells me that it did not complete
successfully. Even if I try to run it again. If I do a Reconfigure, it
works - until I close LyX 1.4.2 (Linux) and restart it - same issue,
'Check TeX' only works after Reconfigure.

Any ideas - or is it a bug?

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)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: openoffice

2006-08-04 Thread Stephen Harris

Rainer M Krug wrote:

This sounds interesting - where can I find this functionality? Because
in LyX 1.4.2 in Linux there is no option under Export for this and I
would be interested in using it.

Rainer

jouke hijlkema wrote:

Hello all,

I just tried to export a lyx document to openoffice writer format. All
seems to work well but when I try to open the resulting document with
openoffice 2.0 it complains about a format error in Content.xml. Any
idea what that might be ??

Thanks,

Jouke





Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.

--

An ambient confluence
of mapped coherence ~

Stephen


Re: openoffice

2006-08-04 Thread Paul Smith

On 8/4/06, Stephen Harris [EMAIL PROTECTED] wrote:

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.


Maybe, it would be helpful to have it integrated in LyX itself.

Does Nick Thomas' script convert formulas?

Paul


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Jean-Pierre Chretien

Date: Fri, 4 Aug 2006 11:58:15 +0100
From: Paul Smith [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX

On 8/3/06, Paul Smith [EMAIL PROTECTED] wrote:
[...]

To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Thank you for this example.
To illustrate the difference in handling between Xfig and Inkscape, here is a 
beamer
slide with both formulas:
 SVG integral is Paul's saved as eps
 Xfig integral is an external inset of the formula in a rectangle.
As you may see, the beamer fonts are respected in the xfig inset.

If I add in preamble mathserif option to the beamer document class,
I get the second result.

IMHO, xfig is more powerful, as there is no need to change the fig file
to adapt to document default changes to familiy, series and shape.

-- 
Jean-Pierre




integsf.png
Description: integsf.png


integrm.png
Description: integrm.png


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Jean-Pierre Chretien [EMAIL PROTECTED] wrote:

To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Thank you for this example.
To illustrate the difference in handling between Xfig and Inkscape, here is a 
beamer
slide with both formulas:
 SVG integral is Paul's saved as eps
 Xfig integral is an external inset of the formula in a rectangle.
As you may see, the beamer fonts are respected in the xfig inset.

If I add in preamble mathserif option to the beamer document class,
I get the second result.


The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output.
You will not notice any difference if you use acroread. (A screenshot
is attached.)

Paul


integral.png
Description: PNG image


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Jean-Pierre Chretien

Date: Fri, 4 Aug 2006 13:59:30 +0100
From: Paul Smith [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX

On 8/4/06, Jean-Pierre Chretien [EMAIL PROTECTED] wrote:
 To illustrate what I said, I am sending a small svg picture with a
 math formula produced with LaTeX.


The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output.
You will not notice any difference if you use acroread. (A screenshot
is attached.)

My point was not about quality od the output, but about adaptation do document 
fonts. 

However, what I did was to export tp eps (to get a vector graphics eps)
and then to run pdflatex on the lyx file (which in turn runs epstopdf of the 
vector graphics
eps to get a vector graphic pdf).
Direct export from svg to pdf does nor crop the figure,
otherwise I would have tried direct export to pdf.

Looking closer to the eps file, it is a set of GS command to draw the formula: 
no fonts
in it, nor of course in the converted pdf file:
- pdffonts integral.pdf
name type emb sub uni object ID
  --- --- --- -

Thus it seems that Inkscape draws the formula in vector graphics.

I use Inkscape 0.43 (Nov 30 2005)
Maybe a more recent versioon does a better job with eps and pdf exports ?

-- 
Jean-Pierre



Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Jean-Pierre Chretien [EMAIL PROTECTED] wrote:

 To illustrate what I said, I am sending a small svg picture with a
 math formula produced with LaTeX.


The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output.
You will not notice any difference if you use acroread. (A screenshot
is attached.)

My point was not about quality od the output, but about adaptation do document 
fonts.

However, what I did was to export tp eps (to get a vector graphics eps)
and then to run pdflatex on the lyx file (which in turn runs epstopdf of the 
vector graphics
eps to get a vector graphic pdf).
Direct export from svg to pdf does nor crop the figure,
otherwise I would have tried direct export to pdf.

Looking closer to the eps file, it is a set of GS command to draw the formula: 
no fonts
in it, nor of course in the converted pdf file:
- pdffonts integral.pdf
name type emb sub uni object ID
  --- --- --- -

Thus it seems that Inkscape draws the formula in vector graphics.

I use Inkscape 0.43 (Nov 30 2005)
Maybe a more recent versioon does a better job with eps and pdf exports ?


It is correct your guess: Inkscape draws the formula in vector
graphics. You can export a cropped pdf picture directly from Inkscape:
fit page to selection in Document Properties. However, my svg picture
is already cropped; so, you just need to save it as pdf. Anyway, it is
true that formulas are drawn, but it does not really matter, in my
opinion, as you can always change the fonts with which LaTeX draws the
eps formulas.

Paul


ubuntu and lyx

2006-08-04 Thread Hartmut Haase
Can someone tell me which qt3 packages I have to install under ubuntu/debian 
to get lyx configured?
-- 
Viele Grüße,
Hartmut 

Hungerhilfe: http://www.thehungersite.com

Kampagne gegen den Ausverkauf der Deutschen Bahn:
http://www.bahn-fuer-alle.de

Das heutige Motto:
Try to value useful qualities in one who loves you. 



Re: openoffice

2006-08-04 Thread jouke hijlkema

I'm confused,

The lyx version I've downloaded this morning as being stable from the 
lyx site contains an openoffice option in the export menu. It doesn't 
work ... but the option is there :-)


Jouke

Paul Smith wrote:

On 8/4/06, Stephen Harris [EMAIL PROTECTED] wrote:

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.


Maybe, it would be helpful to have it integrated in LyX itself.

Does Nick Thomas' script convert formulas?

Paul




Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Rich Shepard

On Fri, 4 Aug 2006, Paul Smith wrote:


As you may see, the beamer fonts are respected in the xfig inset.



The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output. You
will not notice any difference if you use acroread. (A screenshot is
attached.)


All,

  I'm sorry that my request for vector drawing suggestions raised
testosterone levels so high. That was not my intent.

  The point that _I_ think is important is the number of choices available
to those of us who work in a F/OSS environment. It doesn't matter one bit --
at least to me -- what approach is used; they all work and each of us is
comfortable using a different application to reach the same end point. Heck,
I got excellent LaTeX fonts in my Tgif figures, too.

  I think the count of vector drawing applications (point-and-shoot, coding,
whatever) is about 18. This does not include data plotting applications (of
which I know of about a half-dozen). Those stuck behind closed Windows
should appreciate that we have a plethora of choices, not the only one that
comes out of Redmond. As this thread illustrates so well, each choice has
its following who are passionate that their comfortable way is The One True
Way.

  The same response of Oh, yeah? Let's put 'em on the bar and see who's
bigger used to regularly occur on the local linux/UNIX user group's mail
list. Someone would ask how to accomplish a task and within a few hours
solutions were presented as: bash shell scripts, grep, perl, python, ruby,
lisp, sed/awk, and so on.

  IMNSHO, the major point is that we have multiple ways of accomplishing the
same tasks and reaching the same goals. In the end -- on paper or projected
on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

  You're both correct, and I am grateful to learn from both of you how you
use your tool of choice. Thank you very much for that.

Carpe weekend,

Rich

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


Re: ubuntu and lyx

2006-08-04 Thread Sven Hoexter
On Fri, Aug 04, 2006 at 03:21:09PM +0200, Hartmut Haase wrote:
 Can someone tell me which qt3 packages I have to install under ubuntu/debian 
 to get lyx configured?
http://marc.theaimsgroup.com/?l=lyx-usersm=115442632416905w=2

and related posts ...

You would be better of running a native Debian ...

Sv*hiding_under_some_economics_books*en
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: openoffice

2006-08-04 Thread Stephen Harris

Paul Smith wrote:

On 8/4/06, Stephen Harris [EMAIL PROTECTED] wrote:

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.


Maybe, it would be helpful to have it integrated in LyX itself.

Does Nick Thomas' script convert formulas?

Paul



It did in the example file he sent me, ptolemy.sxw,
but I don't know how consistent it is.

--

Stephen


Lyx 1.4.2 for Win doesn't find new installed Tex packages

2006-08-04 Thread Sebastian Schetter

Hello!
I installed the bundle version of Lyx 1.4.2. (on a new WinXP system)
Now I installed the koma-skript with the Mik-Tex Package manager. This 
worked well with Lyx 1.4.1. but doesn't work with 1.4.2. Lyx doesn't 
find any new installed package with MikTex.
Has had anybody the same Problem? What can I do, that Lyx finds the 
installed packages?


Regards,
Sebastian


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Stephen Harris

Rich Shepard wrote:

On Fri, 4 Aug 2006, Paul Smith wrote:


As you may see, the beamer fonts are respected in the xfig inset.



  IMNSHO, the major point is that we have multiple ways of accomplishing 
the

same tasks and reaching the same goals. In the end -- on paper or projected
on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

  You're both correct, and I am grateful to learn from both of you how you
use your tool of choice. Thank you very much for that.

Carpe weekend,

Rich




Many roads lead to Rome but that doesn't mean they all take
the same time to get there or are equally as free of bumps.

http://www.maa.org/editorial/mathgames/mathgames_08_01_05.html

Lists a lot of drawing programs. The program I read most
recommended is OmniGraffle (4 Pro) which comes with Macs.
I'm also envious of BBedit.

--

Stephen


threeparttable in LyX?

2006-08-04 Thread Ares

Hello everyone,

does someone know if it is possible to use the threeparttable package
in LyX and how?

Regards,
Diego


toc formating

2006-08-04 Thread Kamran SHAFQAT

Hi,
I am trying to write my thesis using lyx (koma-script report class). But 
i would like to format the toc, lof and lot to have something like the 
table in attachment. I tried to make use of tocloft and  just having a 
look at titlesec/titletoc package but i am not sure if  this is the 
best  solution available.


The following commands are mentioned in the manual of tocloft to add a 
horizontal line across the whole width of the ToC below an entry for a Part


\part{Part title}
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}


i tired to put this in the preamble with Part tile replaced by title of 
first chapter of my document but i got error saying


[EMAIL PROTECTED] already define ...

can someone please have a look at the attachment and provide me some 
hint or the package that could be used for this.


formating  
thanks  for all the help



regards,


Kamran


pg4.pdf
Description: Adobe PDF document


Re: swapping LyX modifier keys on Mac OS X

2006-08-04 Thread Jens Noeckel

Jason,

thanks much - I've also put a link to your patched version for PPC on  
my page. Looking at the LyX wiki, I'm also thinking I should add  
several little things: maybe a new page called Modifier keys in  
LyX, both as a quick overview of how the default version works on a  
Mac, and then a discussion of (and links to) the emacs-keybinding  
versions. I would also include the Apple-X11 versions of LyX in that  
discussion; and in the future this might allow us to collect info on  
how to deal with qt4, or point to things like UControl, and the OSX- 
built-in ways of customizing the modifier keys freely. OS X' System  
Preferences menu already made a big first step in that direction,  
only it's not customizable on a per-application basis.


Also, it seems the page
http://wiki.lyx.org/LyX/LyXOnMac
where the main downloads are should also be linked to from the main  
page of the Mac group, http://wiki.lyx.org/Mac/Mac


I'll do this soon, unless I hear objections.

Jens


On Aug 4, 2006, at 1:38 AM, Jason Woodard wrote:


Jens,

Glad to hear you find the patch useful.  It's too bad there doesn't  
seem
to be an easy way to make the modifier keys configurable at runtime  
(if

I recall, someone looked into this a while ago) so for now patching Qt
is still the path of least resistance.

I was finally able to get 1.4.2 to build for PPC (GCC 3.3, OS X  
10.4.7).
I Googled the compiler errors I was getting and discovered that I  
needed

to add -lSystemStubs to LDFLAGS to avoid undefined symbols.

I've posted a new disk image at http://kuala.smu.edu.sg/~jason/lyx/  
and

linked that page to yours with the Intel version.

regards,

 -j


Jens Noeckel wrote:

Jason,
I can confirm that your patch still works for LyX 1.4.2 - I had  
actually tried this a week ago on an Intel Mac. That patch is a  
life saver for emacs people! I'll post the LyX 1.4.2 Mac Intel  
version with the key patch on my site in a few minutes (just the  
application). I won't be able to get to a computer for a day or  
two, but hope this helps...

The URL for my binaries is:
http://www.uoregon.edu/~noeckel/LyX/
Jens




Re: Lyx 1.4.2 for Win doesn't find new installed Tex packages

2006-08-04 Thread Paul A. Rubin

Sebastian Schetter wrote:

Hello!
I installed the bundle version of Lyx 1.4.2. (on a new WinXP system)
Now I installed the koma-skript with the Mik-Tex Package manager. This 
worked well with Lyx 1.4.1. but doesn't work with 1.4.2. Lyx doesn't 
find any new installed package with MikTex.
Has had anybody the same Problem? What can I do, that Lyx finds the 
installed packages?




Did you reconfigure LyX 1.4.2 after installing komascript?

/Paul



Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Curtis Osterhoudt



From: Jean-Pierre Chretien [EMAIL PROTECTED]
Reply-To: Jean-Pierre Chretien [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX
Date: Fri, 4 Aug 2006 14:38:52 +0200 (MEST)


Date: Fri, 4 Aug 2006 11:58:15 +0100
From: Paul Smith [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX

On 8/3/06, Paul Smith [EMAIL PROTECTED] wrote:
[...]

To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Thank you for this example.
To illustrate the difference in handling between Xfig and Inkscape, here is 
a beamer

slide with both formulas:
 SVG integral is Paul's saved as eps
 Xfig integral is an external inset of the formula in a rectangle.
As you may see, the beamer fonts are respected in the xfig inset.

If I add in preamble mathserif option to the beamer document class,
I get the second result.

IMHO, xfig is more powerful, as there is no need to change the fig file
to adapt to document default changes to familiy, series and shape.

--
Jean-Pierre





  I'm not trying to side-track this discussion, but there's a bit of an 
issue I've had with XFig itself (before I incorporate its figures into LyX, 
which works fabulously). I can start XFig so that all NEW text has the 
special flag and LaTeX fonts. However, if I want to edit a file in XFig 
which has been created elsewhere (I often produce plots in .eps format in, 
say, Mathematica, then use pstoedit to turn it into XFig format), the fonts, 
of course, don't have these special flags. I have written a Mathematica 
program to correctly set these flags in the XFig files, but one has to have 
Mathematica!. So my question is:


Is there a simple program to set these things (special flag, LaTeX 
fonts, perhaps some nice feature like scale-fonts-to-60%-of-original-size)? 
Is there some switch in pstoedit that I'm missing? Or is there a simple 
regex way from bash? I'll eventually get another way figured out; it's not a 
pressing concern.


Thanks,
Curtis O.




Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Curtis Osterhoudt



From: Stephen Harris [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Rich Shepard [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX
Date: Fri, 04 Aug 2006 09:12:06 -0700

Rich Shepard wrote:

On Fri, 4 Aug 2006, Paul Smith wrote:


As you may see, the beamer fonts are respected in the xfig inset.



  IMNSHO, the major point is that we have multiple ways of accomplishing 
the
same tasks and reaching the same goals. In the end -- on paper or 
projected

on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

  You're both correct, and I am grateful to learn from both of you how 
you

use your tool of choice. Thank you very much for that.

Carpe weekend,

Rich




Many roads lead to Rome but that doesn't mean they all take
the same time to get there or are equally as free of bumps.

http://www.maa.org/editorial/mathgames/mathgames_08_01_05.html

Lists a lot of drawing programs. The program I read most
recommended is OmniGraffle (4 Pro) which comes with Macs.
I'm also envious of BBedit.

--

Stephen


  Thank you for that link, Stephen. It looks like I'll find a lot of useful 
stuff there. However, at least some of the information on it is incorrect. 
For example, Dia has been available on Linux for *at least* 6 years, though 
that webpage claims it's only available for Windows. People should probably 
look in to each of those programs if they look at all interesting, 
regardless of what OS they use.


Curtis




Re: Fw: Postscript preview

2006-08-04 Thread LB
One more little experiment, if you don't mind, just to confirm symptoms: 
if you comment out one of the SET commands in lyx.bat, but replace it with 
a line of equal length (SET XXX=Y... with enough Xs 
and Ys to match the line you commented out), does the bug move to a 
different image (or disappear)?




Ok, it tried this.  I commented out SET LC_ALL=en_EN.  This resulted in a 
different image having the preview problem.
I placed SET XX=Y in lyx.bat and the preview problem moved back to 
the original image.  The same happens when I comment out the other line in 
the lyx.bat.


I also added extra lines in lyx.bat such as SET XX=Y this however 
did not make any difference as far as image preview is concerned.


Another puzzling thing is that the preview problem jumps between two 
specific figures eventhough I have many figures in the document and many of 
them are generated with Matlab.  The preview problem however never affects 
figures generated with other programs.


Thanks
Leo




Re: toc formating

2006-08-04 Thread Richard Heck

You can't put a \chapter or \addtocomments command in your preamble.
That's why you're getting the error. These commands go in the document
itself.

What you want to do here, I think, is put
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
as ERT immediately following the chapter title in the LyX file. The
\chapter command is already there, in effect: It's created by the
Chapter environment in your LyX file.

The titlesec/titletoc and tocloft packages are the ones you want.
Whether you use titletoc or tocloft, well, that's a matter of personal
preference, mostly.

Richard

Kamran SHAFQAT wrote:
 Hi,
 I am trying to write my thesis using lyx (koma-script report class).
 But i would like to format the toc, lof and lot to have something like
 the table in attachment. I tried to make use of tocloft and  just
 having a look at titlesec/titletoc package but i am not sure if  this
 is the best  solution available.

 The following commands are mentioned in the manual of tocloft to add a
 horizontal line across the whole width of the ToC below an entry for a
 Part

 \part{Part title}
 \addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}


 i tired to put this in the preamble with Part tile replaced by title
 of first chapter of my document but i got error saying

 [EMAIL PROTECTED] already define ...

 can someone please have a look at the attachment and provide me some
 hint or the package that could be used for this.

 formating  thanks  for all the help


 regards,


 Kamran



Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Ingo Klöcker
On Friday 04 August 2006 21:14, Curtis Osterhoudt wrote:
I'm not trying to side-track this discussion, but there's a bit of
 an issue I've had with XFig itself (before I incorporate its figures
 into LyX, which works fabulously). I can start XFig so that all NEW
 text has the special flag and LaTeX fonts. However, if I want to
 edit a file in XFig which has been created elsewhere (I often produce
 plots in .eps format in, say, Mathematica, then use pstoedit to turn
 it into XFig format), the fonts, of course, don't have these special
 flags. I have written a Mathematica program to correctly set these
 flags in the XFig files, but one has to have Mathematica!. So my
 question is:

  Is there a simple program to set these things (special flag,
 LaTeX fonts, perhaps some nice feature like
 scale-fonts-to-60%-of-original-size)? Is there some switch in
 pstoedit that I'm missing? Or is there a simple regex way from bash?
 I'll eventually get another way figured out; it's not a pressing
 concern.

The XFig format is a pretty simple text format. I've once written a 
small script (in Perl I think) which scales an image without changing 
the font size. (XFig does also change the font size when one scales an 
image.) It shouldn't be hard to write a script which does what you 
want. I've attached my script to give you a starting point.

Regards,
Ingo


scale_fig.pl
Description: Perl program


pgpiIoABPg7aj.pgp
Description: PGP signature


Re: Fw: Postscript preview

2006-08-04 Thread Stephen Harris

LB wrote:
One more little experiment, if you don't mind, just to confirm 
symptoms: if you comment out one of the SET commands in lyx.bat, but 
replace it with a line of equal length (SET 
XXX=Y... with enough Xs and Ys to match the line 
you commented out), does the bug move to a different image (or 
disappear)?




Ok, it tried this.  I commented out SET LC_ALL=en_EN.  This resulted in 
a different image having the preview problem.
I placed SET XX=Y in lyx.bat and the preview problem moved back 
to the original image.  The same happens when I comment out the other 
line in the lyx.bat.


I also added extra lines in lyx.bat such as SET XX=Y this 
however did not make any difference as far as image preview is concerned.


Another puzzling thing is that the preview problem jumps between two 
specific figures eventhough I have many figures in the document and many 
of them are generated with Matlab.  The preview problem however never 
affects figures generated with other programs.


Thanks
Leo





Do you have two installations of ghostscript on your machine?
One in a sub-directory for Matlab and another one in a sub-dir
of LyX or maybe a system-wide Ghostscript? If so, that means
if you rename the ghostscript executables, maybe they are gs.exe
and gswin32.exe, to gs.bak and gswin32.bak, under the Matlab
install of Ghostscript, then lyx.exe and lyx.bat should work
the same. Try it first with lyx.exe which you know works and if
it still works then the correct gs executable has been renamed.
Then lyx.bat will have to use the same gs executable since the
one under Matlab has been renamed and won't answer the call.

It dawned on me that Matlab might have its own gs to make eps'

Stephen

--

An ambient confluence
of mapped coherence ~

Stephen


Telefon double definition in g-brief and mavrosym

2006-08-04 Thread Michael Hartje

dear readers,

may be this is not lyx but TeX error. (I use the last Miktex WinXP)


mavrosym.sty (2006/05/11 v2.1) defines

\def\Telefon{{\mvchr84}}

while g-brief-de.layout (and the g-brief.cls in tex) defines

Style Telefon
...
LatexName   Telefon
...
End

this stops latex every time using g-brief with errors when running 
automatic through mavrosym while using g-brief.


I would recommend for mavrosym.sty to change Telefon to Telefone!

best regards

Michael



Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Curtis Osterhoudt




From: Ingo Klöcker [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX
Date: Fri, 04 Aug 2006 23:11:10 +0200

On Friday 04 August 2006 21:14, Curtis Osterhoudt wrote:
I'm not trying to side-track this discussion, but there's a bit of
 an issue I've had with XFig itself (before I incorporate its figures
 into LyX, which works fabulously). I can start XFig so that all NEW
 text has the special flag and LaTeX fonts. However, if I want to
 edit a file in XFig which has been created elsewhere (I often produce
 plots in .eps format in, say, Mathematica, then use pstoedit to turn
 it into XFig format), the fonts, of course, don't have these special
 flags. I have written a Mathematica program to correctly set these
 flags in the XFig files, but one has to have Mathematica!. So my
 question is:

  Is there a simple program to set these things (special flag,
 LaTeX fonts, perhaps some nice feature like
 scale-fonts-to-60%-of-original-size)? Is there some switch in
 pstoedit that I'm missing? Or is there a simple regex way from bash?
 I'll eventually get another way figured out; it's not a pressing
 concern.

The XFig format is a pretty simple text format. I've once written a
small script (in Perl I think) which scales an image without changing
the font size. (XFig does also change the font size when one scales an
image.) It shouldn't be hard to write a script which does what you
want. I've attached my script to give you a starting point.

Regards,
Ingo


 Thank you much, Ingo. That's exactly the sort of thing my program did, but 
this will probably be considerably easier (command line!). Great!


   C




Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Rich Shepard [EMAIL PROTECTED] wrote:

 As you may see, the beamer fonts are respected in the xfig inset.

 The inferior quality of my example as it appears on your beamer
 presentation is because you took the screenshot of the kpdf output. You
 will not notice any difference if you use acroread. (A screenshot is
 attached.)

All,

   I'm sorry that my request for vector drawing suggestions raised
testosterone levels so high. That was not my intent.

   The point that _I_ think is important is the number of choices available
to those of us who work in a F/OSS environment. It doesn't matter one bit --
at least to me -- what approach is used; they all work and each of us is
comfortable using a different application to reach the same end point. Heck,
I got excellent LaTeX fonts in my Tgif figures, too.

   I think the count of vector drawing applications (point-and-shoot, coding,
whatever) is about 18. This does not include data plotting applications (of
which I know of about a half-dozen). Those stuck behind closed Windows
should appreciate that we have a plethora of choices, not the only one that
comes out of Redmond. As this thread illustrates so well, each choice has
its following who are passionate that their comfortable way is The One True
Way.

   The same response of Oh, yeah? Let's put 'em on the bar and see who's
bigger used to regularly occur on the local linux/UNIX user group's mail
list. Someone would ask how to accomplish a task and within a few hours
solutions were presented as: bash shell scripts, grep, perl, python, ruby,
lisp, sed/awk, and so on.

   IMNSHO, the major point is that we have multiple ways of accomplishing the
same tasks and reaching the same goals. In the end -- on paper or projected
on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

   You're both correct, and I am grateful to learn from both of you how you
use your tool of choice. Thank you very much for that.


Maybe, Rich misunderstood me. I did not mean to be defending Inkscape
against Xfig (or any other program). My only intent was to illustrate,
to the public of this list, the possibilities of Inkscape, specially
regarding the insertion of math formulas. I am not enough literate
regarding drawing programs to be able of judging one better than the
other one.

Paul


Converting Beamer to Article In LyX

2006-08-04 Thread Rich Shepard

  I thought that I was following the instructions to convert a beamer class
presentation into an article so that I could use that for my talking points.
But, I cannot compile it.

  The document class was changed to article, and the preamble includes
\usepackage{beamerarticle}.

  Pressing ctrl-d causes latex to grind away for a long time before failing,
and trying view-pdflatex yields the same results.

  What have I left off?

Thanks,

Rich

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


Re: Converting Beamer to Article In LyX

2006-08-04 Thread Rich Shepard

On Fri, 4 Aug 2006, Rich Shepard wrote:


 What have I left off?


  Sigh. I did it again. Just after sending the original message I noticed
that I had the class as amsarticle rather than article. Correcting that
fixed the problem.

  I'll leave you all alone for the weekend.

Rich

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


Re: Help with euro symbol

2006-08-04 Thread Jordi Nadal

2006/8/3, Marc Vinyals [EMAIL PROTECTED]:

Some notes: first, and also from The Comprehensive LaTeX Symbol List,
you need to \usepackage{eurosym} to get these macros defined.


I've added \usepackage{eurosym} to document preamble and pasted some
euro symbols (appears «?» on LyX) and the ps/pdf output also shows «?»
instead of euro. Same as without eurosym.


It's strange, though, that LyX doesn't handle direct \euro keystrokes
while it has no problem with German ss or Latin ae. It might be a
key-mapping problem, since AltGr+E == Ctrl+Alt+E could be bound to a
menu item or whatever. This problem exists with lyx-1.4.2-gtk too, but
may be specific to the ES keyboard layout.


I think there are two problems here: what you describe (key-mapping
problem) and make lyx euro-aware.


Re: Help with euro symbol

2006-08-04 Thread Uwe Stöhr

Jordi Nadal wrote:


I've added \usepackage{eurosym} to document preamble and pasted some
euro symbols (appears «?» on LyX) and the ps/pdf output also shows «?»
instead of euro. Same as without eurosym.


Of course because LyX 1.4.x couldn't handle Unicode or the encoding the 
encodings to display the euro sign. LyX 1.5 wiil have this feature.


For the meantime use the eurosysm pacakge and then the comand \euro to 
display the € sign, see the attached example.


regards Uwe


newfile1.lyx
Description: application/lyx


Re: Description of the different document classes

2006-08-04 Thread Uwe Stöhr

Rainer M Krug wrote:


where can I find a description and differences between the different
document classes - not what they are usually used for, but what the
differences are?


Have a look at chapter 2 of the files UserguidesNV.xxx at

http://wiki.lyx.org/LyX/DocumentationDevelopment

regards Uwe


Re: Equation help

2006-08-04 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Myriam Abramson [EMAIL PROTECTED]
Subject: Equation help
Date: 03 Aug 2006 21:35:05 -0400


Hi!

Any ideas on how to nicely write a fairly long equation on multiple
lines? here's an example of such an equation. Would you suggest
to extract the delta on another line? 

Set the cursor in equation
Edit-Math-Change formula type-AMS multline Envir.  (Alt-M T M)
Ctrl Enter where you want to split

AMS must be checked in the doc settings (but it is the case for you).

To illustrate, your equation split in three lines.

There are other ways, check the various align, gather,... AMS commands,
selectable with the path above.

-- 
Jean-Pierre


test.lyx
Description: test.lyx


Re: help with winXP installation: no textclass.lst no packages.lst

2006-08-04 Thread Michael Hartje
This is a known bug and will be fixed in the next release. For the 
meatime you can replace the file TeXFiles.py by the attached file in the 
folder

~LyXInstallDirectory~\Resources\scripts


Thanks Uwe, this workaround fits my needs; yes, I did reinstall Lyx two 
times before but with no difference; so I can now work and I am looking 
forward for the next bug release.


Michael



Re: swapping LyX modifier keys on Mac OS X

2006-08-04 Thread Jason Woodard

Jens,

Glad to hear you find the patch useful.  It's too bad there doesn't seem
to be an easy way to make the modifier keys configurable at runtime (if
I recall, someone looked into this a while ago) so for now patching Qt
is still the path of least resistance.

I was finally able to get 1.4.2 to build for PPC (GCC 3.3, OS X 10.4.7).
I Googled the compiler errors I was getting and discovered that I needed
to add -lSystemStubs to LDFLAGS to avoid undefined symbols.

I've posted a new disk image at http://kuala.smu.edu.sg/~jason/lyx/ and
linked that page to yours with the Intel version.

regards,

 -j


Jens Noeckel wrote:

Jason,
I can confirm that your patch still works for LyX 1.4.2 - I had actually 
tried this a week ago on an Intel Mac. That patch is a life saver for 
emacs people! I'll post the LyX 1.4.2 Mac Intel version with the key 
patch on my site in a few minutes (just the application). I won't be 
able to get to a computer for a day or two, but hope this helps...

The URL for my binaries is:
http://www.uoregon.edu/~noeckel/LyX/


Jens



Language in bibliography?

2006-08-04 Thread Curtis Osterhoudt


Hi, all,

 In my bibliography, I notice that many of the citations contain Polish, 
whereas I'd prefer everything in English :)  For example, a couple of books 
in the third edition have wydanie 3rd, a doctoral dissertation contains 
Praca doktorska, and  an article published in 1999 has Czerwiec 1999. I 
can't find anywhere in my LyX document (preamble, in the text itself, etc.) 
nor in the bibliography entries (either native BibTeX editing or the various 
frontends like Pybliographic or KBibTeX) where Polish is used. Does anyone 
have any hints for me?


Best wishes,
   Curtis O.




Re: Language in bibliography?

2006-08-04 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 In my bibliography, I notice that many of the citations contain Polish,
 whereas I'd prefer everything in English :)

IIRC you use the style plunsrt. Guess what the pl means? ;-) BTW, unsrt 
means unsorted, i.e. the way you inserted the citation, as opposed 
to alphabetically sorted.

Jürgen


Re: Language in bibliography?

2006-08-04 Thread Curtis Osterhoudt





From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Language in bibliography?
Date: Fri, 4 Aug 2006 11:10:02 +0200

Curtis Osterhoudt wrote:
 In my bibliography, I notice that many of the citations contain Polish,
 whereas I'd prefer everything in English :)

IIRC you use the style plunsrt. Guess what the pl means? ;-) BTW, unsrt
means unsorted, i.e. the way you inserted the citation, as opposed
to alphabetically sorted.

Jürgen


Jürgen,

  Damn you and your quick replies :)  I did a google search for a couple of 
the wacky words showing up in my bibliography, and realized -- with a kind 
of lead ball in my gut -- that that was EXACTLY the problem (and solution). 
And here I was thinking that the 'pl' stood for something like 'plain'.

   Thanks!

 Curtis




openoffice

2006-08-04 Thread jouke hijlkema

Hello all,

I just tried to export a lyx document to openoffice writer format. All 
seems to work well but when I try to open the resulting document with 
openoffice 2.0 it complains about a format error in Content.xml. Any 
idea what that might be ??


Thanks,

Jouke


Re: openoffice

2006-08-04 Thread Rainer M Krug
This sounds interesting - where can I find this functionality? Because
in LyX 1.4.2 in Linux there is no option under Export for this and I
would be interested in using it.

Rainer

jouke hijlkema wrote:
 Hello all,
 
 I just tried to export a lyx document to openoffice writer format. All
 seems to work well but when I try to open the resulting document with
 openoffice 2.0 it complains about a format error in Content.xml. Any
 idea what that might be ??
 
 Thanks,
 
 Jouke


-- 
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)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: Page break bug?

2006-08-04 Thread Helge Hafting

Reinhard Mayr aka Czerwinski wrote:

I checked that -- all pages are A4.

The page with the missing break contains
oa float figure
oa float table
osection and subsection headings
oa non-floatoing table
osome text


Latex never breaks a float, but should instead move it to
the next page.  Forcibly plaving a float could cause it
to extend way into the bottom margin.


The following page is in landscape format.


Hm.  Well, if text really overflows into the bottom margin, then
you have found a latex error.  Lyx developers can't fix that.
Instead, export to latex and take the resulting tex file to
a latex forum and have it figured out there.

If latex is in error, then latex must be fixed, not lyx.  If Lyx
generates stupid latex files, then lyx can be fixed.  But I don't
see how a lyx fault could cause this problem.


Helge Hafting



Re: setting non-utf8 locate for lyx

2006-08-04 Thread Helge Hafting

Christopher Winkler wrote:
Hello all, 


sorry, I keep on asking for help ...

After finally being able to compile lyx (1.4.2) with Kubuntu (Dapper), 
there is one thing that sucks a little bit.


If I want to run lyx in German, all umlauts in the menues are distorted.
No problem, I thought, let's start lyx with: 
LANG=de_DE; lyx-1.4.2


Well, that does not work, since: 
locale -a 
tells me, that in fact only [EMAIL PROTECTED] does exist on my system.
  


I don't really know ubuntu, but it is based on
debian, and in debian we do:

dpkg-reconfigure locales

You get a long list of possible locales, make sure [EMAIL PROTECTED]
is enabled in addition to the existing [EMAIL PROTECTED]

Helge Hafting




Description of the different document classes

2006-08-04 Thread Rainer M Krug
Hi

where can I find a description and differences between the different
document classes - not what they are usually used for, but what the
differences are?

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)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: One bibliography, separated by chapter?

2006-08-04 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 If I use chapterbib and do NOT
 use the [gather] option, then all of the bibliographies are gathered at the
 end of the document. The effect (as far as I can see) is equivalent to
 including each of the bibliographies at the end of the chapters, in comment
 boxes, and then having one bibliography at the end of the master file, not
 in a comment box.

Is it really a bibliography by chapter then? I think it's just an ordinary 
bibliography, and the fact that you are using an unsrt bib style lets it look 
as if it is divided by chapters.

    If I use the [gather] option, the same thing happens, and the master
 bibliography is listed in the TOC (and is listed as falling on the correct
 page), but NEVER SHOWS UP. The text goes directly from the end of the last
 chapter to the Index.

    I suppose my next trick will be to repeat these experiments with a
 minimal raw latex file and see if that's any different (I suspect it won't
 be; probably this is more of a problem with chapterbib playing nice than
 anything else).

I just tried myself, and I couldn't get it to work as well. My guess is that 
you have to export your files to latex and run latex/bibtex manually. LyX 
doesn't seem to run bibtex on the different aux files, as needed.

Jürgen


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/3/06, Paul Smith [EMAIL PROTECTED] wrote:

  Inkscape seems particularly apt to produce flowcharts, as it has got
  the 'connectors' features, making the arrows connected even when one
  moves the connected frames. And it can save the pictures as vectorial
  eps, pdf, and so on.

 Inkscape looks pretty nice, but unless I'm missing something, it does
 not support embedded LaTeX commands (and in particular math formulas)?

That is true that it does not support embedded LaTeX commands in
general, but one can virtually insert anything LaTeX can output (math
formulas included) by converting from eps to svg (the Inkscape's
format). The final picture (with the math formulas inserted) looks
great and it is vectorial, scalable.


To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Paul


integral.svg
Description: image/svg


Problem with 'Check TeX'

2006-08-04 Thread Rainer M Krug
I have a problem with 'Check TeX': it only runs after I pressed TOOLS 
RECONFIGURE

If I try to run it before, it tells me that it did not complete
successfully. Even if I try to run it again. If I do a Reconfigure, it
works - until I close LyX 1.4.2 (Linux) and restart it - same issue,
'Check TeX' only works after Reconfigure.

Any ideas - or is it a bug?

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)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: openoffice

2006-08-04 Thread Stephen Harris

Rainer M Krug wrote:

This sounds interesting - where can I find this functionality? Because
in LyX 1.4.2 in Linux there is no option under Export for this and I
would be interested in using it.

Rainer

jouke hijlkema wrote:

Hello all,

I just tried to export a lyx document to openoffice writer format. All
seems to work well but when I try to open the resulting document with
openoffice 2.0 it complains about a format error in Content.xml. Any
idea what that might be ??

Thanks,

Jouke





Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.

--

An ambient confluence
of mapped coherence ~

Stephen


Re: openoffice

2006-08-04 Thread Paul Smith

On 8/4/06, Stephen Harris [EMAIL PROTECTED] wrote:

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.


Maybe, it would be helpful to have it integrated in LyX itself.

Does Nick Thomas' script convert formulas?

Paul


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Jean-Pierre Chretien

Date: Fri, 4 Aug 2006 11:58:15 +0100
From: Paul Smith [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX

On 8/3/06, Paul Smith [EMAIL PROTECTED] wrote:
[...]

To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Thank you for this example.
To illustrate the difference in handling between Xfig and Inkscape, here is a 
beamer
slide with both formulas:
 SVG integral is Paul's saved as eps
 Xfig integral is an external inset of the formula in a rectangle.
As you may see, the beamer fonts are respected in the xfig inset.

If I add in preamble mathserif option to the beamer document class,
I get the second result.

IMHO, xfig is more powerful, as there is no need to change the fig file
to adapt to document default changes to familiy, series and shape.

-- 
Jean-Pierre




integsf.png
Description: integsf.png


integrm.png
Description: integrm.png


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Jean-Pierre Chretien [EMAIL PROTECTED] wrote:

To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Thank you for this example.
To illustrate the difference in handling between Xfig and Inkscape, here is a 
beamer
slide with both formulas:
 SVG integral is Paul's saved as eps
 Xfig integral is an external inset of the formula in a rectangle.
As you may see, the beamer fonts are respected in the xfig inset.

If I add in preamble mathserif option to the beamer document class,
I get the second result.


The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output.
You will not notice any difference if you use acroread. (A screenshot
is attached.)

Paul


integral.png
Description: PNG image


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Jean-Pierre Chretien

Date: Fri, 4 Aug 2006 13:59:30 +0100
From: Paul Smith [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX

On 8/4/06, Jean-Pierre Chretien [EMAIL PROTECTED] wrote:
 To illustrate what I said, I am sending a small svg picture with a
 math formula produced with LaTeX.


The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output.
You will not notice any difference if you use acroread. (A screenshot
is attached.)

My point was not about quality od the output, but about adaptation do document 
fonts. 

However, what I did was to export tp eps (to get a vector graphics eps)
and then to run pdflatex on the lyx file (which in turn runs epstopdf of the 
vector graphics
eps to get a vector graphic pdf).
Direct export from svg to pdf does nor crop the figure,
otherwise I would have tried direct export to pdf.

Looking closer to the eps file, it is a set of GS command to draw the formula: 
no fonts
in it, nor of course in the converted pdf file:
- pdffonts integral.pdf
name type emb sub uni object ID
  --- --- --- -

Thus it seems that Inkscape draws the formula in vector graphics.

I use Inkscape 0.43 (Nov 30 2005)
Maybe a more recent versioon does a better job with eps and pdf exports ?

-- 
Jean-Pierre



Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Jean-Pierre Chretien [EMAIL PROTECTED] wrote:

 To illustrate what I said, I am sending a small svg picture with a
 math formula produced with LaTeX.


The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output.
You will not notice any difference if you use acroread. (A screenshot
is attached.)

My point was not about quality od the output, but about adaptation do document 
fonts.

However, what I did was to export tp eps (to get a vector graphics eps)
and then to run pdflatex on the lyx file (which in turn runs epstopdf of the 
vector graphics
eps to get a vector graphic pdf).
Direct export from svg to pdf does nor crop the figure,
otherwise I would have tried direct export to pdf.

Looking closer to the eps file, it is a set of GS command to draw the formula: 
no fonts
in it, nor of course in the converted pdf file:
- pdffonts integral.pdf
name type emb sub uni object ID
  --- --- --- -

Thus it seems that Inkscape draws the formula in vector graphics.

I use Inkscape 0.43 (Nov 30 2005)
Maybe a more recent versioon does a better job with eps and pdf exports ?


It is correct your guess: Inkscape draws the formula in vector
graphics. You can export a cropped pdf picture directly from Inkscape:
fit page to selection in Document Properties. However, my svg picture
is already cropped; so, you just need to save it as pdf. Anyway, it is
true that formulas are drawn, but it does not really matter, in my
opinion, as you can always change the fonts with which LaTeX draws the
eps formulas.

Paul


ubuntu and lyx

2006-08-04 Thread Hartmut Haase
Can someone tell me which qt3 packages I have to install under ubuntu/debian 
to get lyx configured?
-- 
Viele Grüße,
Hartmut 

Hungerhilfe: http://www.thehungersite.com

Kampagne gegen den Ausverkauf der Deutschen Bahn:
http://www.bahn-fuer-alle.de

Das heutige Motto:
Try to value useful qualities in one who loves you. 



Re: openoffice

2006-08-04 Thread jouke hijlkema

I'm confused,

The lyx version I've downloaded this morning as being stable from the 
lyx site contains an openoffice option in the export menu. It doesn't 
work ... but the option is there :-)


Jouke

Paul Smith wrote:

On 8/4/06, Stephen Harris [EMAIL PROTECTED] wrote:

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.


Maybe, it would be helpful to have it integrated in LyX itself.

Does Nick Thomas' script convert formulas?

Paul




Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Rich Shepard

On Fri, 4 Aug 2006, Paul Smith wrote:


As you may see, the beamer fonts are respected in the xfig inset.



The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output. You
will not notice any difference if you use acroread. (A screenshot is
attached.)


All,

  I'm sorry that my request for vector drawing suggestions raised
testosterone levels so high. That was not my intent.

  The point that _I_ think is important is the number of choices available
to those of us who work in a F/OSS environment. It doesn't matter one bit --
at least to me -- what approach is used; they all work and each of us is
comfortable using a different application to reach the same end point. Heck,
I got excellent LaTeX fonts in my Tgif figures, too.

  I think the count of vector drawing applications (point-and-shoot, coding,
whatever) is about 18. This does not include data plotting applications (of
which I know of about a half-dozen). Those stuck behind closed Windows
should appreciate that we have a plethora of choices, not the only one that
comes out of Redmond. As this thread illustrates so well, each choice has
its following who are passionate that their comfortable way is The One True
Way.

  The same response of Oh, yeah? Let's put 'em on the bar and see who's
bigger used to regularly occur on the local linux/UNIX user group's mail
list. Someone would ask how to accomplish a task and within a few hours
solutions were presented as: bash shell scripts, grep, perl, python, ruby,
lisp, sed/awk, and so on.

  IMNSHO, the major point is that we have multiple ways of accomplishing the
same tasks and reaching the same goals. In the end -- on paper or projected
on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

  You're both correct, and I am grateful to learn from both of you how you
use your tool of choice. Thank you very much for that.

Carpe weekend,

Rich

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


Re: ubuntu and lyx

2006-08-04 Thread Sven Hoexter
On Fri, Aug 04, 2006 at 03:21:09PM +0200, Hartmut Haase wrote:
 Can someone tell me which qt3 packages I have to install under ubuntu/debian 
 to get lyx configured?
http://marc.theaimsgroup.com/?l=lyx-usersm=115442632416905w=2

and related posts ...

You would be better of running a native Debian ...

Sv*hiding_under_some_economics_books*en
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: openoffice

2006-08-04 Thread Stephen Harris

Paul Smith wrote:

On 8/4/06, Stephen Harris [EMAIL PROTECTED] wrote:

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.


Maybe, it would be helpful to have it integrated in LyX itself.

Does Nick Thomas' script convert formulas?

Paul



It did in the example file he sent me, ptolemy.sxw,
but I don't know how consistent it is.

--

Stephen


Lyx 1.4.2 for Win doesn't find new installed Tex packages

2006-08-04 Thread Sebastian Schetter

Hello!
I installed the bundle version of Lyx 1.4.2. (on a new WinXP system)
Now I installed the koma-skript with the Mik-Tex Package manager. This 
worked well with Lyx 1.4.1. but doesn't work with 1.4.2. Lyx doesn't 
find any new installed package with MikTex.
Has had anybody the same Problem? What can I do, that Lyx finds the 
installed packages?


Regards,
Sebastian


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Stephen Harris

Rich Shepard wrote:

On Fri, 4 Aug 2006, Paul Smith wrote:


As you may see, the beamer fonts are respected in the xfig inset.



  IMNSHO, the major point is that we have multiple ways of accomplishing 
the

same tasks and reaching the same goals. In the end -- on paper or projected
on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

  You're both correct, and I am grateful to learn from both of you how you
use your tool of choice. Thank you very much for that.

Carpe weekend,

Rich




Many roads lead to Rome but that doesn't mean they all take
the same time to get there or are equally as free of bumps.

http://www.maa.org/editorial/mathgames/mathgames_08_01_05.html

Lists a lot of drawing programs. The program I read most
recommended is OmniGraffle (4 Pro) which comes with Macs.
I'm also envious of BBedit.

--

Stephen


threeparttable in LyX?

2006-08-04 Thread Ares

Hello everyone,

does someone know if it is possible to use the threeparttable package
in LyX and how?

Regards,
Diego


toc formating

2006-08-04 Thread Kamran SHAFQAT

Hi,
I am trying to write my thesis using lyx (koma-script report class). But 
i would like to format the toc, lof and lot to have something like the 
table in attachment. I tried to make use of tocloft and  just having a 
look at titlesec/titletoc package but i am not sure if  this is the 
best  solution available.


The following commands are mentioned in the manual of tocloft to add a 
horizontal line across the whole width of the ToC below an entry for a Part


\part{Part title}
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}


i tired to put this in the preamble with Part tile replaced by title of 
first chapter of my document but i got error saying


[EMAIL PROTECTED] already define ...

can someone please have a look at the attachment and provide me some 
hint or the package that could be used for this.


formating  
thanks  for all the help



regards,


Kamran


pg4.pdf
Description: Adobe PDF document


Re: swapping LyX modifier keys on Mac OS X

2006-08-04 Thread Jens Noeckel

Jason,

thanks much - I've also put a link to your patched version for PPC on  
my page. Looking at the LyX wiki, I'm also thinking I should add  
several little things: maybe a new page called Modifier keys in  
LyX, both as a quick overview of how the default version works on a  
Mac, and then a discussion of (and links to) the emacs-keybinding  
versions. I would also include the Apple-X11 versions of LyX in that  
discussion; and in the future this might allow us to collect info on  
how to deal with qt4, or point to things like UControl, and the OSX- 
built-in ways of customizing the modifier keys freely. OS X' System  
Preferences menu already made a big first step in that direction,  
only it's not customizable on a per-application basis.


Also, it seems the page
http://wiki.lyx.org/LyX/LyXOnMac
where the main downloads are should also be linked to from the main  
page of the Mac group, http://wiki.lyx.org/Mac/Mac


I'll do this soon, unless I hear objections.

Jens


On Aug 4, 2006, at 1:38 AM, Jason Woodard wrote:


Jens,

Glad to hear you find the patch useful.  It's too bad there doesn't  
seem
to be an easy way to make the modifier keys configurable at runtime  
(if

I recall, someone looked into this a while ago) so for now patching Qt
is still the path of least resistance.

I was finally able to get 1.4.2 to build for PPC (GCC 3.3, OS X  
10.4.7).
I Googled the compiler errors I was getting and discovered that I  
needed

to add -lSystemStubs to LDFLAGS to avoid undefined symbols.

I've posted a new disk image at http://kuala.smu.edu.sg/~jason/lyx/  
and

linked that page to yours with the Intel version.

regards,

 -j


Jens Noeckel wrote:

Jason,
I can confirm that your patch still works for LyX 1.4.2 - I had  
actually tried this a week ago on an Intel Mac. That patch is a  
life saver for emacs people! I'll post the LyX 1.4.2 Mac Intel  
version with the key patch on my site in a few minutes (just the  
application). I won't be able to get to a computer for a day or  
two, but hope this helps...

The URL for my binaries is:
http://www.uoregon.edu/~noeckel/LyX/
Jens




Re: Lyx 1.4.2 for Win doesn't find new installed Tex packages

2006-08-04 Thread Paul A. Rubin

Sebastian Schetter wrote:

Hello!
I installed the bundle version of Lyx 1.4.2. (on a new WinXP system)
Now I installed the koma-skript with the Mik-Tex Package manager. This 
worked well with Lyx 1.4.1. but doesn't work with 1.4.2. Lyx doesn't 
find any new installed package with MikTex.
Has had anybody the same Problem? What can I do, that Lyx finds the 
installed packages?




Did you reconfigure LyX 1.4.2 after installing komascript?

/Paul



Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Curtis Osterhoudt



From: Jean-Pierre Chretien [EMAIL PROTECTED]
Reply-To: Jean-Pierre Chretien [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX
Date: Fri, 4 Aug 2006 14:38:52 +0200 (MEST)


Date: Fri, 4 Aug 2006 11:58:15 +0100
From: Paul Smith [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX

On 8/3/06, Paul Smith [EMAIL PROTECTED] wrote:
[...]

To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Thank you for this example.
To illustrate the difference in handling between Xfig and Inkscape, here is 
a beamer

slide with both formulas:
 SVG integral is Paul's saved as eps
 Xfig integral is an external inset of the formula in a rectangle.
As you may see, the beamer fonts are respected in the xfig inset.

If I add in preamble mathserif option to the beamer document class,
I get the second result.

IMHO, xfig is more powerful, as there is no need to change the fig file
to adapt to document default changes to familiy, series and shape.

--
Jean-Pierre





  I'm not trying to side-track this discussion, but there's a bit of an 
issue I've had with XFig itself (before I incorporate its figures into LyX, 
which works fabulously). I can start XFig so that all NEW text has the 
special flag and LaTeX fonts. However, if I want to edit a file in XFig 
which has been created elsewhere (I often produce plots in .eps format in, 
say, Mathematica, then use pstoedit to turn it into XFig format), the fonts, 
of course, don't have these special flags. I have written a Mathematica 
program to correctly set these flags in the XFig files, but one has to have 
Mathematica!. So my question is:


Is there a simple program to set these things (special flag, LaTeX 
fonts, perhaps some nice feature like scale-fonts-to-60%-of-original-size)? 
Is there some switch in pstoedit that I'm missing? Or is there a simple 
regex way from bash? I'll eventually get another way figured out; it's not a 
pressing concern.


Thanks,
Curtis O.




Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Curtis Osterhoudt



From: Stephen Harris [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Rich Shepard [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX
Date: Fri, 04 Aug 2006 09:12:06 -0700

Rich Shepard wrote:

On Fri, 4 Aug 2006, Paul Smith wrote:


As you may see, the beamer fonts are respected in the xfig inset.



  IMNSHO, the major point is that we have multiple ways of accomplishing 
the
same tasks and reaching the same goals. In the end -- on paper or 
projected

on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

  You're both correct, and I am grateful to learn from both of you how 
you

use your tool of choice. Thank you very much for that.

Carpe weekend,

Rich




Many roads lead to Rome but that doesn't mean they all take
the same time to get there or are equally as free of bumps.

http://www.maa.org/editorial/mathgames/mathgames_08_01_05.html

Lists a lot of drawing programs. The program I read most
recommended is OmniGraffle (4 Pro) which comes with Macs.
I'm also envious of BBedit.

--

Stephen


  Thank you for that link, Stephen. It looks like I'll find a lot of useful 
stuff there. However, at least some of the information on it is incorrect. 
For example, Dia has been available on Linux for *at least* 6 years, though 
that webpage claims it's only available for Windows. People should probably 
look in to each of those programs if they look at all interesting, 
regardless of what OS they use.


Curtis




Re: Fw: Postscript preview

2006-08-04 Thread LB
One more little experiment, if you don't mind, just to confirm symptoms: 
if you comment out one of the SET commands in lyx.bat, but replace it with 
a line of equal length (SET XXX=Y... with enough Xs 
and Ys to match the line you commented out), does the bug move to a 
different image (or disappear)?




Ok, it tried this.  I commented out SET LC_ALL=en_EN.  This resulted in a 
different image having the preview problem.
I placed SET XX=Y in lyx.bat and the preview problem moved back to 
the original image.  The same happens when I comment out the other line in 
the lyx.bat.


I also added extra lines in lyx.bat such as SET XX=Y this however 
did not make any difference as far as image preview is concerned.


Another puzzling thing is that the preview problem jumps between two 
specific figures eventhough I have many figures in the document and many of 
them are generated with Matlab.  The preview problem however never affects 
figures generated with other programs.


Thanks
Leo




Re: toc formating

2006-08-04 Thread Richard Heck

You can't put a \chapter or \addtocomments command in your preamble.
That's why you're getting the error. These commands go in the document
itself.

What you want to do here, I think, is put
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
as ERT immediately following the chapter title in the LyX file. The
\chapter command is already there, in effect: It's created by the
Chapter environment in your LyX file.

The titlesec/titletoc and tocloft packages are the ones you want.
Whether you use titletoc or tocloft, well, that's a matter of personal
preference, mostly.

Richard

Kamran SHAFQAT wrote:
 Hi,
 I am trying to write my thesis using lyx (koma-script report class).
 But i would like to format the toc, lof and lot to have something like
 the table in attachment. I tried to make use of tocloft and  just
 having a look at titlesec/titletoc package but i am not sure if  this
 is the best  solution available.

 The following commands are mentioned in the manual of tocloft to add a
 horizontal line across the whole width of the ToC below an entry for a
 Part

 \part{Part title}
 \addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}


 i tired to put this in the preamble with Part tile replaced by title
 of first chapter of my document but i got error saying

 [EMAIL PROTECTED] already define ...

 can someone please have a look at the attachment and provide me some
 hint or the package that could be used for this.

 formating  thanks  for all the help


 regards,


 Kamran



Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Ingo Klöcker
On Friday 04 August 2006 21:14, Curtis Osterhoudt wrote:
I'm not trying to side-track this discussion, but there's a bit of
 an issue I've had with XFig itself (before I incorporate its figures
 into LyX, which works fabulously). I can start XFig so that all NEW
 text has the special flag and LaTeX fonts. However, if I want to
 edit a file in XFig which has been created elsewhere (I often produce
 plots in .eps format in, say, Mathematica, then use pstoedit to turn
 it into XFig format), the fonts, of course, don't have these special
 flags. I have written a Mathematica program to correctly set these
 flags in the XFig files, but one has to have Mathematica!. So my
 question is:

  Is there a simple program to set these things (special flag,
 LaTeX fonts, perhaps some nice feature like
 scale-fonts-to-60%-of-original-size)? Is there some switch in
 pstoedit that I'm missing? Or is there a simple regex way from bash?
 I'll eventually get another way figured out; it's not a pressing
 concern.

The XFig format is a pretty simple text format. I've once written a 
small script (in Perl I think) which scales an image without changing 
the font size. (XFig does also change the font size when one scales an 
image.) It shouldn't be hard to write a script which does what you 
want. I've attached my script to give you a starting point.

Regards,
Ingo


scale_fig.pl
Description: Perl program


pgpiIoABPg7aj.pgp
Description: PGP signature


Re: Fw: Postscript preview

2006-08-04 Thread Stephen Harris

LB wrote:
One more little experiment, if you don't mind, just to confirm 
symptoms: if you comment out one of the SET commands in lyx.bat, but 
replace it with a line of equal length (SET 
XXX=Y... with enough Xs and Ys to match the line 
you commented out), does the bug move to a different image (or 
disappear)?




Ok, it tried this.  I commented out SET LC_ALL=en_EN.  This resulted in 
a different image having the preview problem.
I placed SET XX=Y in lyx.bat and the preview problem moved back 
to the original image.  The same happens when I comment out the other 
line in the lyx.bat.


I also added extra lines in lyx.bat such as SET XX=Y this 
however did not make any difference as far as image preview is concerned.


Another puzzling thing is that the preview problem jumps between two 
specific figures eventhough I have many figures in the document and many 
of them are generated with Matlab.  The preview problem however never 
affects figures generated with other programs.


Thanks
Leo





Do you have two installations of ghostscript on your machine?
One in a sub-directory for Matlab and another one in a sub-dir
of LyX or maybe a system-wide Ghostscript? If so, that means
if you rename the ghostscript executables, maybe they are gs.exe
and gswin32.exe, to gs.bak and gswin32.bak, under the Matlab
install of Ghostscript, then lyx.exe and lyx.bat should work
the same. Try it first with lyx.exe which you know works and if
it still works then the correct gs executable has been renamed.
Then lyx.bat will have to use the same gs executable since the
one under Matlab has been renamed and won't answer the call.

It dawned on me that Matlab might have its own gs to make eps'

Stephen

--

An ambient confluence
of mapped coherence ~

Stephen


Telefon double definition in g-brief and mavrosym

2006-08-04 Thread Michael Hartje

dear readers,

may be this is not lyx but TeX error. (I use the last Miktex WinXP)


mavrosym.sty (2006/05/11 v2.1) defines

\def\Telefon{{\mvchr84}}

while g-brief-de.layout (and the g-brief.cls in tex) defines

Style Telefon
...
LatexName   Telefon
...
End

this stops latex every time using g-brief with errors when running 
automatic through mavrosym while using g-brief.


I would recommend for mavrosym.sty to change Telefon to Telefone!

best regards

Michael



Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Curtis Osterhoudt




From: Ingo Klöcker [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Flow Chart Drawing For LaTeX/LyX
Date: Fri, 04 Aug 2006 23:11:10 +0200

On Friday 04 August 2006 21:14, Curtis Osterhoudt wrote:
I'm not trying to side-track this discussion, but there's a bit of
 an issue I've had with XFig itself (before I incorporate its figures
 into LyX, which works fabulously). I can start XFig so that all NEW
 text has the special flag and LaTeX fonts. However, if I want to
 edit a file in XFig which has been created elsewhere (I often produce
 plots in .eps format in, say, Mathematica, then use pstoedit to turn
 it into XFig format), the fonts, of course, don't have these special
 flags. I have written a Mathematica program to correctly set these
 flags in the XFig files, but one has to have Mathematica!. So my
 question is:

  Is there a simple program to set these things (special flag,
 LaTeX fonts, perhaps some nice feature like
 scale-fonts-to-60%-of-original-size)? Is there some switch in
 pstoedit that I'm missing? Or is there a simple regex way from bash?
 I'll eventually get another way figured out; it's not a pressing
 concern.

The XFig format is a pretty simple text format. I've once written a
small script (in Perl I think) which scales an image without changing
the font size. (XFig does also change the font size when one scales an
image.) It shouldn't be hard to write a script which does what you
want. I've attached my script to give you a starting point.

Regards,
Ingo


 Thank you much, Ingo. That's exactly the sort of thing my program did, but 
this will probably be considerably easier (command line!). Great!


   C




Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Rich Shepard [EMAIL PROTECTED] wrote:

 As you may see, the beamer fonts are respected in the xfig inset.

 The inferior quality of my example as it appears on your beamer
 presentation is because you took the screenshot of the kpdf output. You
 will not notice any difference if you use acroread. (A screenshot is
 attached.)

All,

   I'm sorry that my request for vector drawing suggestions raised
testosterone levels so high. That was not my intent.

   The point that _I_ think is important is the number of choices available
to those of us who work in a F/OSS environment. It doesn't matter one bit --
at least to me -- what approach is used; they all work and each of us is
comfortable using a different application to reach the same end point. Heck,
I got excellent LaTeX fonts in my Tgif figures, too.

   I think the count of vector drawing applications (point-and-shoot, coding,
whatever) is about 18. This does not include data plotting applications (of
which I know of about a half-dozen). Those stuck behind closed Windows
should appreciate that we have a plethora of choices, not the only one that
comes out of Redmond. As this thread illustrates so well, each choice has
its following who are passionate that their comfortable way is The One True
Way.

   The same response of Oh, yeah? Let's put 'em on the bar and see who's
bigger used to regularly occur on the local linux/UNIX user group's mail
list. Someone would ask how to accomplish a task and within a few hours
solutions were presented as: bash shell scripts, grep, perl, python, ruby,
lisp, sed/awk, and so on.

   IMNSHO, the major point is that we have multiple ways of accomplishing the
same tasks and reaching the same goals. In the end -- on paper or projected
on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

   You're both correct, and I am grateful to learn from both of you how you
use your tool of choice. Thank you very much for that.


Maybe, Rich misunderstood me. I did not mean to be defending Inkscape
against Xfig (or any other program). My only intent was to illustrate,
to the public of this list, the possibilities of Inkscape, specially
regarding the insertion of math formulas. I am not enough literate
regarding drawing programs to be able of judging one better than the
other one.

Paul


Converting Beamer to Article In LyX

2006-08-04 Thread Rich Shepard

  I thought that I was following the instructions to convert a beamer class
presentation into an article so that I could use that for my talking points.
But, I cannot compile it.

  The document class was changed to article, and the preamble includes
\usepackage{beamerarticle}.

  Pressing ctrl-d causes latex to grind away for a long time before failing,
and trying view-pdflatex yields the same results.

  What have I left off?

Thanks,

Rich

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


Re: Converting Beamer to Article In LyX

2006-08-04 Thread Rich Shepard

On Fri, 4 Aug 2006, Rich Shepard wrote:


 What have I left off?


  Sigh. I did it again. Just after sending the original message I noticed
that I had the class as amsarticle rather than article. Correcting that
fixed the problem.

  I'll leave you all alone for the weekend.

Rich

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


Re: Help with euro symbol

2006-08-04 Thread Jordi Nadal

2006/8/3, Marc Vinyals [EMAIL PROTECTED]:

Some notes: first, and also from The Comprehensive LaTeX Symbol List,
you need to \usepackage{eurosym} to get these macros defined.


I've added \usepackage{eurosym} to document preamble and pasted some
euro symbols (appears «?» on LyX) and the ps/pdf output also shows «?»
instead of euro. Same as without eurosym.


It's strange, though, that LyX doesn't handle direct \euro keystrokes
while it has no problem with German ss or Latin ae. It might be a
key-mapping problem, since AltGr+E == Ctrl+Alt+E could be bound to a
menu item or whatever. This problem exists with lyx-1.4.2-gtk too, but
may be specific to the ES keyboard layout.


I think there are two problems here: what you describe (key-mapping
problem) and make lyx euro-aware.


Re: Help with euro symbol

2006-08-04 Thread Uwe Stöhr

Jordi Nadal wrote:


I've added \usepackage{eurosym} to document preamble and pasted some
euro symbols (appears «?» on LyX) and the ps/pdf output also shows «?»
instead of euro. Same as without eurosym.


Of course because LyX 1.4.x couldn't handle Unicode or the encoding the 
encodings to display the euro sign. LyX 1.5 wiil have this feature.


For the meantime use the eurosysm pacakge and then the comand \euro to 
display the € sign, see the attached example.


regards Uwe


newfile1.lyx
Description: application/lyx


Re: Description of the different document classes

2006-08-04 Thread Uwe Stöhr

Rainer M Krug wrote:


where can I find a description and differences between the different
document classes - not what they are usually used for, but what the
differences are?


Have a look at chapter 2 of the files UserguidesNV.xxx at

http://wiki.lyx.org/LyX/DocumentationDevelopment

regards Uwe


Re: Equation help

2006-08-04 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Myriam Abramson <[EMAIL PROTECTED]>
>>Subject: Equation help
>>Date: 03 Aug 2006 21:35:05 -0400
>>
>>
>>Hi!
>>
>>Any ideas on how to nicely write a fairly long equation on multiple
>>lines? here's an example of such an equation. Would you suggest
>>to extract the delta on another line? 

Set the cursor in equation
Edit->Math->Change formula type->AMS multline Envir.  (Alt-M T M)
Ctrl Enter where you want to split

AMS must be checked in the doc settings (but it is the case for you).

To illustrate, your equation split in three lines.

There are other ways, check the various align, gather,... AMS commands,
selectable with the path above.

-- 
Jean-Pierre


test.lyx
Description: test.lyx


Re: help with winXP installation: no textclass.lst no packages.lst

2006-08-04 Thread Michael Hartje
This is a known bug and will be fixed in the next release. For the 
meatime you can replace the file TeXFiles.py by the attached file in the 
folder

~LyXInstallDirectory~\Resources\scripts


Thanks Uwe, this workaround fits my needs; yes, I did reinstall Lyx two 
times before but with no difference; so I can now work and I am looking 
forward for the next bug release.


Michael



Re: swapping LyX modifier keys on Mac OS X

2006-08-04 Thread Jason Woodard

Jens,

Glad to hear you find the patch useful.  It's too bad there doesn't seem
to be an easy way to make the modifier keys configurable at runtime (if
I recall, someone looked into this a while ago) so for now patching Qt
is still the path of least resistance.

I was finally able to get 1.4.2 to build for PPC (GCC 3.3, OS X 10.4.7).
I Googled the compiler errors I was getting and discovered that I needed
to add "-lSystemStubs" to LDFLAGS to avoid undefined symbols.

I've posted a new disk image at http://kuala.smu.edu.sg/~jason/lyx/ and
linked that page to yours with the Intel version.

regards,

 -j


Jens Noeckel wrote:

Jason,
I can confirm that your patch still works for LyX 1.4.2 - I had actually 
tried this a week ago on an Intel Mac. That patch is a life saver for 
emacs people! I'll post the LyX 1.4.2 Mac Intel version with the key 
patch on my site in a few minutes (just the application). I won't be 
able to get to a computer for a day or two, but hope this helps...

The URL for my binaries is:
http://www.uoregon.edu/~noeckel/LyX/


Jens



Language in bibliography?

2006-08-04 Thread Curtis Osterhoudt


Hi, all,

 In my bibliography, I notice that many of the citations contain Polish, 
whereas I'd prefer everything in English :)  For example, a couple of books 
in the third edition have "wydanie 3rd", a doctoral dissertation contains 
"Praca doktorska", and  an article published in 1999 has "Czerwiec 1999". I 
can't find anywhere in my LyX document (preamble, in the text itself, etc.) 
nor in the bibliography entries (either native BibTeX editing or the various 
frontends like Pybliographic or KBibTeX) where Polish is used. Does anyone 
have any hints for me?


Best wishes,
   Curtis O.




Re: Language in bibliography?

2006-08-04 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
> In my bibliography, I notice that many of the citations contain Polish,
> whereas I'd prefer everything in English :)

IIRC you use the style "plunsrt". Guess what the "pl" means? ;-) BTW, unsrt 
means "unsorted", i.e. the way you inserted the citation, as opposed 
to "alphabetically sorted".

Jürgen


Re: Language in bibliography?

2006-08-04 Thread Curtis Osterhoudt





From: Juergen Spitzmueller <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Subject: Re: Language in bibliography?
Date: Fri, 4 Aug 2006 11:10:02 +0200

Curtis Osterhoudt wrote:
> In my bibliography, I notice that many of the citations contain Polish,
> whereas I'd prefer everything in English :)

IIRC you use the style "plunsrt". Guess what the "pl" means? ;-) BTW, unsrt
means "unsorted", i.e. the way you inserted the citation, as opposed
to "alphabetically sorted".

Jürgen


Jürgen,

  Damn you and your quick replies :)  I did a google search for a couple of 
the wacky words showing up in my bibliography, and realized -- with a kind 
of lead ball in my gut -- that that was EXACTLY the problem (and solution). 
And here I was thinking that the 'pl' stood for something like 'plain'.

   Thanks!

 Curtis




openoffice

2006-08-04 Thread jouke hijlkema

Hello all,

I just tried to export a lyx document to openoffice writer format. All 
seems to work well but when I try to open the resulting document with 
openoffice 2.0 it complains about a format error in Content.xml. Any 
idea what that might be ??


Thanks,

Jouke


Re: openoffice

2006-08-04 Thread Rainer M Krug
This sounds interesting - where can I find this functionality? Because
in LyX 1.4.2 in Linux there is no option under Export for this and I
would be interested in using it.

Rainer

jouke hijlkema wrote:
> Hello all,
> 
> I just tried to export a lyx document to openoffice writer format. All
> seems to work well but when I try to open the resulting document with
> openoffice 2.0 it complains about a format error in Content.xml. Any
> idea what that might be ??
> 
> Thanks,
> 
> Jouke


-- 
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)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: Page break bug?

2006-08-04 Thread Helge Hafting

Reinhard Mayr aka Czerwinski wrote:

I checked that -- all pages are A4.

The page with the missing break contains
oa float figure
oa float table
osection and subsection headings
oa non-floatoing table
osome text


Latex never breaks a float, but should instead move it to
the next page.  Forcibly plaving a float could cause it
to extend way into the bottom margin.


The following page is in landscape format.


Hm.  Well, if text really overflows into the bottom margin, then
you have found a latex error.  Lyx developers can't fix that.
Instead, export to latex and take the resulting tex file to
a latex forum and have it figured out there.

If latex is in error, then latex must be fixed, not lyx.  If Lyx
generates "stupid" latex files, then lyx can be fixed.  But I don't
see how a lyx fault could cause this problem.


Helge Hafting



Re: setting non-utf8 locate for lyx

2006-08-04 Thread Helge Hafting

Christopher Winkler wrote:
Hello all, 


sorry, I keep on asking for help ...

After finally being able to compile lyx (1.4.2) with Kubuntu (Dapper), 
there is one thing that sucks a little bit.


If I want to run lyx in German, all umlauts in the menues are distorted.
No problem, I thought, let's start lyx with: 
LANG=de_DE; lyx-1.4.2


Well, that does not work, since: 
locale -a 
tells me, that in fact only [EMAIL PROTECTED] does exist on my system.
  


I don't really know ubuntu, but it is based on
debian, and in debian we do:

dpkg-reconfigure locales

You get a long list of possible locales, make sure [EMAIL PROTECTED]
is enabled in addition to the existing [EMAIL PROTECTED]

Helge Hafting




  1   2   >