table cells alignment

2006-08-02 Thread pol
Is it possible to set specific alignment to cells in the same column?
This would be useful when some cells contain numbers, whereas others contain
numbers. 

I remember it was possible too align cells to the decimal point, but i do
not remember how to do;  any hints?

thanks
--pol
 



Re: table cells alignment

2006-08-02 Thread Juergen Spitzmueller
pol wrote:
 Is it possible to set specific alignment to cells in the same column?
 This would be useful when some cells contain numbers, whereas others
 contain numbers.

yes, if you make the single cells multicolumn cells.

 I remember it was possible too align cells to the decimal point, but i do
 not remember how to do;  any hints?

package dcolumn.

Jürgen


chapterbib example

2006-08-02 Thread Rainer M Krug
Hi

is there anywhere an example on how to use chapterbib? I don't seem to
be able to get it to work and I need Bibliographies per chapter (each
chapter in an included sub-document)

Thanks

Rainer

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

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


Re: chapterbib example

2006-08-02 Thread Richard Heck

It's discussed in section 12.6 of /The LaTeX Companion/.

Richard

Rainer M Krug wrote:
 Hi

 is there anywhere an example on how to use chapterbib? I don't seem to
 be able to get it to work and I need Bibliographies per chapter (each
 chapter in an included sub-document)

 Thanks

 Rainer

   



Re: Fw: Postscript preview

2006-08-02 Thread Stephen Harris

LB wrote:
I uninstalled Lyx and reinstalled it into c:\lyx\lyx14.  This solved 
my figure problem!!!


Thank you. I can now use 1.4.2


Looks like I spoke too soon.  Now a different figure does not want to be 
displayed.


Leo





Does it display the same old symptoms; it works with lyx.exe
or if you delete one of the set commands in lyx.bat?

If the figure doesn't work with lyx.exe then it is the file.
Try it with both (the old one which now works and the broken
new one) in the same directory. A rather inexplicable matter.

Perplexed,

Stephen


Re: Overwrite existing files

2006-08-02 Thread Paul A. Rubin

Ed Gatzke wrote:

Is there any way to turn off the dialog for export errors, for The file already
exists, Overwrite?


I don't think so (short of modifying the source and recompiling).


I select export and switch to another application, a few second later the error
dialog get buried (on XP), and I can't even click the LyX window to get back to
the application (you have to click the dialog or click in explorer.)


Can you click the Show Desktop icon (or type Win-D, where Win is the 
Windows key) to minimize everything, then click the LyX button in the 
task bar and get to the dialog?


/Paul



Centrage horizontal des figure dans lyx 1.4.2

2006-08-02 Thread THIBAULT Florent
Bonjour à tous ,

Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très 
bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les 
figures que j'insère dans les espaces « figure flottante »

A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts 
horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où 
il suffit de cocher l'option « tableau long ».

 

Quelqu'un pourrait il m'aider ?

Merci d'avance,

 

   Florent

 



Re: Centrage horizontal des figure dans lyx 1.4.2

2006-08-02 Thread A. Scottedward Hodel
If I understand the question correctly, you need to change the  
paragraph setting within the figure to be centered instead of  
justified.


On Aug 2, 2006, at 10:27 AM, THIBAULT Florent wrote:


Bonjour à tous ,

Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se  
passe très bien à l'exception d'un détail : je n'arrive pas à  
centrer horizontalement les figures que j'insère dans les espaces «  
figure flottante »


A part l'utilisation, lourde et génératrice d'erreurs, de deux  
ressorts horizontaux, je n'ai pas trouvé de solution comme dans le  
cas des tableaux où il suffit de cocher l'option « tableau long ».


Quelqu'un pourrait il m'aider ?

Merci d'avance,



   Florent







Re: swapping LyX modifier keys on Mac OS X

2006-08-02 Thread Jens Noeckel

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




On Aug 1, 2006, at 10:53 PM, Jason Woodard wrote:


Apologies -- I hadn't seen the 1.4.2 binaries posted at
http://wiki.lyx.org/LyX/LyXOnMac.

Will try again to compile 1.4.2 for the PPC and post at the URL below
if/when successful.  (I should probably edit the Wiki, too.)  I don't
have an Intel Mac, though, so probably won't be able to help there.

 -j


Jason Woodard wrote:


Hi,
I've been away from the mailing list for a while, but noticed in
reading the archives that requests continue to surface for a patched
version of LyX (actually of Qt/Mac) that makes the Mac's Command and
Control keys do what Emacs users expect them to do.
I'm happy to report that the patch I posted back in 2004 still works
for LyX 1.4 and Qt/Mac 3.3.6.  I've appended it below for reference.
As before, you can use it by following the instructions in the
INSTALL.MacOSX file in the LyX source distribution, but patching the
Qt distribution before you build LyX itself.
(To do that, cut and paste the text at the end of this note into a
plain text file; call it anything and put it anywhere you like.   
Then,

from the top-level directory in the Qt source distribution, issue the
command patch -p0  YOUR-PATCH-FILE where YOUR-PATCH-FILE is the
path to the patch file you created.)
I've also posted a LyX 1.4.1 .dmg file containing a patched LyX.app.
It's at:
http://kuala.smu.edu.sg/~jason/lyx/
(I couldn't get 1.4.2 to build; I suspect it's not a coincidence that
there's no 1.4.2 binary for OS X at the moment either.)
Note that most people who use this patch also use an OS-level  
keyboard
mapper like uControl or fKeys [ http://www.kodachi.com/software/ 
fKeys ]

to map the Caps Lock key to the Control modifier.
Although I no longer monitor this list regularly, I will continue to
post patched binaries at the URL above when I build them for myself.
Thanks, as always, to the LyX team for all your hard work.
regards,
-j
Jason Woodard
[EMAIL PROTECTED]
--- src/kernel/qapplication_mac.cpp.orig2006-03-09 00:47:45 +0800
+++ src/kernel/qapplication_mac.cpp2006-08-01 19:47:52 +0800
@@ -1212,11 +1212,11 @@
 static key_sym modifier_syms[] = {
 { shiftKey, MAP_KEY(Qt::ShiftButton) },
 { rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
-{ controlKey, MAP_KEY(Qt::MetaButton) },
-{ rightControlKey, MAP_KEY(Qt::MetaButton) },
-{ cmdKey, MAP_KEY(Qt::ControlButton) },
-{ optionKey, MAP_KEY(Qt::AltButton) },
-{ rightOptionKey, MAP_KEY(Qt::AltButton) },
+{ controlKey, MAP_KEY(Qt::ControlButton) },
+{ rightControlKey, MAP_KEY(Qt::ControlButton) },
+{ cmdKey, MAP_KEY(Qt::AltButton) },
+// { optionKey, MAP_KEY(Qt::AltButton) },
+// { rightOptionKey, MAP_KEY(Qt::AltButton) },
 { kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },
 {   0, MAP_KEY(0) } };
 static int get_modifiers(int key, bool from_mouse=FALSE)




Re: Fwd: lyx1.4.2 in kubuntu

2006-08-02 Thread Christopher Winkler
Thank you all, 

with your help I have finally tamed the beast.
(one of the problems was, that the path to the qt-directory was not 
correct... for all future readers: (K)ubuntus qt-path 
is: /usr/share/qt, not /usr/lib nor /usr/lib/qt neither whatsoever ...)

Best greetings

Christopher


setting non-utf8 locate for lyx

2006-08-02 Thread Christopher Winkler
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.

Well: how can I create a de_DE locale on my system?
Maybe lyx has something on board for those cases?

Thank you

Christopher


installing lyx on windows

2006-08-02 Thread Eric Inazaki
Does lyx choke (i.e. fail to start) when it's installed in
C:\Program Files directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.  This happened to me on my first
installation attempt.  I tried reinstalling to C:\ and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
Program Files. If that's true, then what gives?

A suggestion, if lyx really does have a problem being installed in
Program Files then it'd be nice if that fact were well publicized
(I found no mention of it on the lyx homepage, nor on the wiki).
Also, when I did it, the default installation directory was
C:\Program Files, this should probably be changed.   

regards,
eric




Re: installing lyx on windows

2006-08-02 Thread Paul A. Rubin

Eric Inazaki wrote:

Does lyx choke (i.e. fail to start) when it's installed in
C:\Program Files directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.


No, it works fine from C:\Program Files\...


This happened to me on my first
installation attempt.  I tried reinstalling to C:\ and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
Program Files. If that's true, then what gives?


Did it give you a message about not finding class files?  There have 
been instances where LyX installed properly but the configuration script 
failed, and subsequently LyX would not start because it could not find 
the requisite configuration information.  (But it would at least display 
the GUI and cough up a message to that effect.)


A suggestion, if lyx really does have a problem being installed in
Program Files then it'd be nice if that fact were well publicized
(I found no mention of it on the lyx homepage, nor on the wiki).
Also, when I did it, the default installation directory was
C:\Program Files, this should probably be changed.   


Really?  On my systems, I think it defaulted to C:\Program Files\lyx14
 (not positive, since I changed from the default).

By the way, were you logged in with administrator permissions when you 
attempted the installation?


/Paul



Re: installing lyx on windows

2006-08-02 Thread Bo Peng

On 8/2/06, Eric Inazaki [EMAIL PROTECTED] wrote:

Does lyx choke (i.e. fail to start) when it's installed in
C:\Program Files directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.  This happened to me on my first
installation attempt.  I tried reinstalling to C:\ and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
Program Files. If that's true, then what gives?


Due to the anti-space nature of latex, it is safer to install lyx
under a path without space. However, the developers have tried their
best to let lyx works as *usual* (?) under windows. As a result, lyx
1.4.2 should work under c:\program files. If lyx can not start under
your machines, it should be investigated.

So, what exactly happened when you start lyx when it is installed
under c:\program files?

Bo


Re: installing lyx on windows

2006-08-02 Thread Eric Inazaki
Paul A. Rubin [EMAIL PROTECTED] writes:

 
 Eric Inazaki wrote:
 
 Did it give you a message about not finding class files?  There have 
 been instances where LyX installed properly but the configuration script 
 failed, and subsequently LyX would not start because it could not find 
 the requisite configuration information.  (But it would at least display 
 the GUI and cough up a message to that effect.)
 

Right after I installed lyx, it spent a lot of time downloading stuff.
They looked like template files, might have class files, I wasn't paying
that close attention.  And it may or may not have been lyx that was doing
the downloading, could've been MikTeX which I installed at about the
same time.  (The dialog boxes didn't say what program they were affiliated
with).

After all that was done (as near as I could tell), I would go to Start-
Programs and click on lyx then a command window would pop up for about
a half-second, disappear and that's all she wrote.
 
  A suggestion, if lyx really does have a problem being installed in
  Program Files then it'd be nice if that fact were well publicized
  (I found no mention of it on the lyx homepage, nor on the wiki).
  Also, when I did it, the default installation directory was
  C:\Program Files, this should probably be changed.   
 
 Really?  On my systems, I think it defaulted to C:\Program Files\lyx14
   (not positive, since I changed from the default).
 
 By the way, were you logged in with administrator permissions when you 
 attempted the installation?
 

Well, yeah okay C:\Program Files\lyxsomething-or-other.  And yes,
I did this as the admin.  

So you're saying that you could install and run lyx at the Program Files
directory, out of the box, with no problems and without having to futz
around with anything?

eric




Re: installing lyx on windows

2006-08-02 Thread Eric Inazaki
Bo Peng [EMAIL PROTECTED] writes:

 
 On 8/2/06, Eric Inazaki [EMAIL PROTECTED] wrote:
  Does lyx choke (i.e. fail to start) when it's installed in
  C:\Program Files directory?  This is with lyx 1.4.2 and
  Windows 2000, by the way.  This happened to me on my first
  installation attempt.  I tried reinstalling to C:\ and that
  works okay.  Looking through some of these older messages, it
  seems that some folks don't have a problem installing to
  Program Files. If that's true, then what gives?
 
 Due to the anti-space nature of latex, it is safer to install lyx
 under a path without space. However, the developers have tried their
 best to let lyx works as *usual* (?) under windows. As a result, lyx
 1.4.2 should work under c:\program files. If lyx can not start under
 your machines, it should be investigated.
 
 So, what exactly happened when you start lyx when it is installed
 under c:\program files?
 
 Bo
 
 

I launch lyx from the Start/Program menu, a command window appears then
disappears a split second later and that's it.  No alert dialog, no
nothing.  

As far a I'm concerned, lyx doesn't _have to_ be installed in program files.
Installing it in c:\ is okay.  Would've been nice to have had a heads-up is
all.

It's starting to sound like I might have done something screwy.  Bet if I
tried again from scratch I won't see this problem.

eric



My webpage about LY X, LATEX and BibTEX

2006-08-02 Thread Ares

Hello everyone,
I published a page about my tips and tricks on  LyX, LATEX and BibTEX at:

http://www.webalice.it/ares001/job/Tips.htm

Let me know if you find it useful or if you find any error...

Regards,
Diego


Re: Overwrite existing files

2006-08-02 Thread Ed Gatzke

 Can you click the Show Desktop icon (or type Win-D, where Win is the 
 Windows key) to minimize everything, then click the LyX button in the 
 task bar and get to the dialog?
 


I can just as easily  Alt-Tab to the Lyx window or click on the taskbar.

It is an odd behavior to lose the error dialog under a window.

It gets buried because I tell Lyx to export pdf then switch to another
application.  The error dialog takes a while to pop up and ends up under 
the other application.


I tried putting something like
rm -f $$o; ps2pdf $$i $$o
in my lyxrc.defaults for ps conversion to pdf.  This does not get executed 
like a normal bash command for me so it does not act like two separate 
commands.

I tried writing a single shell script that would remove the pdf before 
calling ps2pdf but I now realize lyx is calling stuff in a sandbox /tmp 
directory and then movinig the file to the working directory.  I see my 
script executing, but the pdf in the working directory never gets erased 
and I get the silly error dialog.






Fw: jPicEdt graphics

2006-08-02 Thread Eugenio
Hi all,

I've been using lyx 1.3.7 on windows XP for quite a while and everything is 
working fine.

When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics that 
looked fine in version 1.3.7.

In order to test the system, I deinstalled 1.4.2, and made tried it with 1.4.1 
with no luck, so I switched back to 1.3.7 and my graphics looks good again.

The problem is only with lines and arrows, as far as I found at this moment.

Any idea about what can be wrong with the setup of 1.4.2?

Thanks

Eugenio

Re: installing lyx on windows

2006-08-02 Thread Paul A. Rubin

Eric Inazaki wrote:
Did it give you a message about not finding class files?  There have 
been instances where LyX installed properly but the configuration script 
failed, and subsequently LyX would not start because it could not find 
the requisite configuration information.  (But it would at least display 
the GUI and cough up a message to that effect.)


Right after I installed lyx, it spent a lot of time downloading stuff.
They looked like template files, might have class files, I wasn't paying
that close attention.  And it may or may not have been lyx that was doing
the downloading, could've been MikTeX which I installed at about the
same time.  (The dialog boxes didn't say what program they were affiliated
with).


After LyX installs, it automatically runs a configuration script that, 
among other things, snoops around your LaTeX installation looking to see 
which among a roster of common classes are installed.  That 
information is written to some configuration files.  MikTeX treats this 
the same way it treats a document trying to load a class, and so 
(depending on how you have MikTeX configured) it will either do nothing, 
automatically install the classes, or bug you whether or not to install 
each one.  (I'm category three, so every time I install a new LyX 
version I get multiple nags from MikTeX.)  If you're on the auto-install 
plan, probably that was the downloading you observed.


After all that was done (as near as I could tell), I would go to Start-
Programs and click on lyx then a command window would pop up for about
a half-second, disappear and that's all she wrote.


Well, I'm pretty sure that's not the configuration burped error.


So you're saying that you could install and run lyx at the Program Files
directory, out of the box, with no problems and without having to futz
around with anything?


Windows being Windows, the most I'm willing to say is that LyX typically 
installs properly in C:\Program Files (but your actual mileage, if you 
get any, may vary).


If you clean out an detritus and try another install under C:\Program 
Files, it might fly this time.  If not, try opening a command prompt in 
the LyX bin directory and run lyx.bat from there.  That way, if it spits 
up an error message, you'll have a chance to see it without the window 
closing on you.


/Paul




Re: My webpage about LY X, LATEX and BibTEX

2006-08-02 Thread Uwe Stöhr

Ares wrote:


Hello everyone,
I published a page about my tips and tricks on  LyX, LATEX and BibTEX at:

http://www.webalice.it/ares001/job/Tips.htm

Let me know if you find it useful or if you find any error...


Good work. But why don't you add this to the LyX Wiki:

http://wiki.lyx.org/

Some of the informations on your page are already there. You could help 
to improve the wiki with your infos.


regards Uwe


Re: Fw: jPicEdt graphics

2006-08-02 Thread Uwe Stöhr

Eugenio wrote:


I've been using lyx 1.3.7 on windows XP for quite a while and everything is 
working fine.

When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics that 
looked fine in version 1.3.7.


Are the graphics incorrectly be displayed inside LyX but correctly in 
the output?


What version of Imagemagick is installed/used together with the working 
LyX 1.3.7? You can test this by openening a console in LyX's install 
subfolder \etc\Imagemagick and using then the command:

convert -version

regards Uwe


Re: installing lyx on windows

2006-08-02 Thread Bo Peng

 Right after I installed lyx, it spent a lot of time downloading stuff.


Lyx is checking for some classes, miktex does not have them so it
installs them automatically. 1.4.3 will give you more prompt
information, but this process will take the same long time.



Windows being Windows, the most I'm willing to say is that LyX typically
installs properly in C:\Program Files (but your actual mileage, if you
get any, may vary).


:-)


If you clean out an detritus and try another install under C:\Program
Files, it might fly this time.  If not, try opening a command prompt in
the LyX bin directory and run lyx.bat from there.  That way, if it spits
up an error message, you'll have a chance to see it without the window
closing on you.


This is what I would suggest.

Bo


Re: Fw: jPicEdt graphics

2006-08-02 Thread Eugenio
I forgot to mention that graphics display right in the output.  The problem
is only inside Lyx.

I'm using Imagemagick 6.2.3 dated 06/08/05 and is the same used for 1.3.7

Eugenio


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]
To: Eugenio [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, August 02, 2006 3:03 PM
Subject: Re: Fw: jPicEdt graphics


 Eugenio wrote:

  I've been using lyx 1.3.7 on windows XP for quite a while and everything
is working fine.
 
  When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics
that looked fine in version 1.3.7.

 Are the graphics incorrectly be displayed inside LyX but correctly in
 the output?

 What version of Imagemagick is installed/used together with the working
 LyX 1.3.7? You can test this by openening a console in LyX's install
 subfolder \etc\Imagemagick and using then the command:
 convert -version

 regards Uwe




Re: Fw: jPicEdt graphics

2006-08-02 Thread Uwe Stöhr

Eugenio wrote:


I forgot to mention that graphics display right in the output.  The problem
is only inside Lyx.

I'm using Imagemagick 6.2.3 dated 06/08/05 and is the same used for 1.3.7


Then please file a bug report at
bugzilla.lyx.org
and attach there a problematic jPicEdt-file.

regards Uwe


One bibliography, separated by chapter?

2006-08-02 Thread Curtis Osterhoudt

Hi, all,

  I ended up sending this message in a reply to another message which it 
has nothing to do with, so I'm re-sending it. It could be that no one had 
anything to say in the first place -- I apologize for cluttering up the list 
with a reposting if that's the case!


At the end of my dissertation, I would like to include a bibliography which 
is divided into sections like References for Chapter 1, References for 
Chapter 2, etc. I do not want separate bibliographies at the end of each 
chapter. The package \chapterbib with the gather option seems just what I 
want, only I can't get it to work for my LyX document.


I am using a master document, with several \included sub-documents. All of 
these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert  List/TOC  BibTeX Bibliography command) *within* a comment 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a comment box. They are all (especially in the Master document; 
I don't know if the others matter) of style plunsrt since I want them 
listed in the order in which they're cited in the text. In the Master file's 
preamble, I have \usepackage{chapterbib}, although at the moment, it doesn't 
seem to matter whether or not I have this (probably because the 
bibliographies are in comment boxes?). Things seem to work as expected (one 
big unsectioned bibliography at the end). However, if I use the gather 
option to chapterbib, the bibliography shows up in the TOC (if I have that 
option checked), but does not show up in the actual document.


I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution. Is there now an 
easier way to get a single end-of-document sectioned bibliography with LyX? 
It seems to me that the Sectioned bibliography checkbox isn't what I want, 
but I could be wrong.


 Regards,
 Curtis O.




Re: Overwrite existing files

2006-08-02 Thread Paul A. Rubin

Ed Gatzke wrote:


It is an odd behavior to lose the error dialog under a window.

It gets buried because I tell Lyx to export pdf then switch to another
application.  The error dialog takes a while to pop up and ends up under 
the other application.


This sort of thing occurs to me occasionally with other applications. 
In fact, I've had one or two instances where the error dialog was hidden 
behind the window of the application that generated it (don't ask me how 
this happened, probably Windows being Windows).  That's more difficult 
to recover from, since (assuming the dialog is modal) you can't move the 
top (parent) window because it can't receive focus until you exit the 
dialog, which you can't do because it's hidden.



I tried putting something like
rm -f $$o; ps2pdf $$i $$o
in my lyxrc.defaults for ps conversion to pdf.  This does not get executed 
like a normal bash command for me so it does not act like two separate 
commands.


I tried writing a single shell script that would remove the pdf before 
calling ps2pdf but I now realize lyx is calling stuff in a sandbox /tmp 
directory and then movinig the file to the working directory.  I see my 
script executing, but the pdf in the working directory never gets erased 
and I get the silly error dialog.


Correct.  There is a way, using custom export, to have LyX convert to 
PDF and then pass the PDF to a script you would write (which 
hypothetically could delete the old PDF and then store the new one). 
The problem is that I cannot find a way to communicate, through custom 
export, the working directory (where the old file lives and where the 
new file is to be written).  So unless you wanted the script to prompt 
you for the target directory each time (which is probably more work than 
manually deleting the old PDF), that seems to be no help.


You might file this as a feature request in bugzilla.

/Paul




Flow Chart Drawing For LaTeX/LyX

2006-08-02 Thread Rich Shepard

  The last time I tried counting I found more than 17 different vector
drawing applications that are suitable for use with LaTeX/LyX documents.
I've used Tgif, Xfig, jpicedt, IDE, and PSTricks. Each has strengths and
weaknesses, so I use whichever seems to be the best for a particular type of
illustration.

  What I want to draw now are software flowcharts that illustrate how a
model is structured and how data flow from one component to another. What
would be ideal is a set of primatives for various standard nodes: data
entry, decision points, printer, database storage, etc.

  Does anyone know of any such library of pre-built images that can be
incorporated into a larger figure?

TIA,

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


Help with euro symbol

2006-08-02 Thread Jordi Nadal

Hello all.

I'm using LyX 1.4.2 from Debian sid Package and I have trouble with
euro symbol. When I press altgr+e the euro symbol is correctly
inserted in a QT-dialog but it doesn't work in the main document. When
pasting the euro symbol from clipboard  a «?» gets inserted instead of
«€» and this is also present in PDF or PS output. It works well in QT
dialogs and in plain LaTeX.

I've tried UTF-8 locale as well as 8859-15.

Other special characters like accented a «à» work well.

I can't found nothing helpful in Google nor in LyX wiki.

Thanks in advance.


Re: Help with euro symbol

2006-08-02 Thread Rich Shepard

On Thu, 3 Aug 2006, Jordi Nadal wrote:


I'm using LyX 1.4.2 from Debian sid Package and I have trouble with euro
symbol. When I press altgr+e the euro symbol is correctly inserted in a
QT-dialog but it doesn't work in the main document. When pasting the euro
symbol from clipboard a «?» gets inserted instead of «» and this is also
present in PDF or PS output. It works well in QT dialogs and in plain
LaTeX.


Jordi,

  Perhaps this won't help because I mis-understand your problem. According
to the The Comprehensive LaTeX Symbol List (page 13), you can use (in an ERT
box) \geneuro, \geneuronarrow,
\geneurowide, or \officialeuro. If you have the textcomp package included,
then you have additional choices.

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

table cells alignment

2006-08-02 Thread pol
Is it possible to set specific alignment to cells in the same column?
This would be useful when some cells contain numbers, whereas others contain
numbers. 

I remember it was possible too align cells to the decimal point, but i do
not remember how to do;  any hints?

thanks
--pol
 



Re: table cells alignment

2006-08-02 Thread Juergen Spitzmueller
pol wrote:
 Is it possible to set specific alignment to cells in the same column?
 This would be useful when some cells contain numbers, whereas others
 contain numbers.

yes, if you make the single cells multicolumn cells.

 I remember it was possible too align cells to the decimal point, but i do
 not remember how to do;  any hints?

package dcolumn.

Jürgen


chapterbib example

2006-08-02 Thread Rainer M Krug
Hi

is there anywhere an example on how to use chapterbib? I don't seem to
be able to get it to work and I need Bibliographies per chapter (each
chapter in an included sub-document)

Thanks

Rainer

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

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


Re: chapterbib example

2006-08-02 Thread Richard Heck

It's discussed in section 12.6 of /The LaTeX Companion/.

Richard

Rainer M Krug wrote:
 Hi

 is there anywhere an example on how to use chapterbib? I don't seem to
 be able to get it to work and I need Bibliographies per chapter (each
 chapter in an included sub-document)

 Thanks

 Rainer

   



Re: Fw: Postscript preview

2006-08-02 Thread Stephen Harris

LB wrote:
I uninstalled Lyx and reinstalled it into c:\lyx\lyx14.  This solved 
my figure problem!!!


Thank you. I can now use 1.4.2


Looks like I spoke too soon.  Now a different figure does not want to be 
displayed.


Leo





Does it display the same old symptoms; it works with lyx.exe
or if you delete one of the set commands in lyx.bat?

If the figure doesn't work with lyx.exe then it is the file.
Try it with both (the old one which now works and the broken
new one) in the same directory. A rather inexplicable matter.

Perplexed,

Stephen


Re: Overwrite existing files

2006-08-02 Thread Paul A. Rubin

Ed Gatzke wrote:

Is there any way to turn off the dialog for export errors, for The file already
exists, Overwrite?


I don't think so (short of modifying the source and recompiling).


I select export and switch to another application, a few second later the error
dialog get buried (on XP), and I can't even click the LyX window to get back to
the application (you have to click the dialog or click in explorer.)


Can you click the Show Desktop icon (or type Win-D, where Win is the 
Windows key) to minimize everything, then click the LyX button in the 
task bar and get to the dialog?


/Paul



Centrage horizontal des figure dans lyx 1.4.2

2006-08-02 Thread THIBAULT Florent
Bonjour à tous ,

Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très 
bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les 
figures que j'insère dans les espaces « figure flottante »

A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts 
horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où 
il suffit de cocher l'option « tableau long ».

 

Quelqu'un pourrait il m'aider ?

Merci d'avance,

 

   Florent

 



Re: Centrage horizontal des figure dans lyx 1.4.2

2006-08-02 Thread A. Scottedward Hodel
If I understand the question correctly, you need to change the  
paragraph setting within the figure to be centered instead of  
justified.


On Aug 2, 2006, at 10:27 AM, THIBAULT Florent wrote:


Bonjour à tous ,

Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se  
passe très bien à l'exception d'un détail : je n'arrive pas à  
centrer horizontalement les figures que j'insère dans les espaces «  
figure flottante »


A part l'utilisation, lourde et génératrice d'erreurs, de deux  
ressorts horizontaux, je n'ai pas trouvé de solution comme dans le  
cas des tableaux où il suffit de cocher l'option « tableau long ».


Quelqu'un pourrait il m'aider ?

Merci d'avance,



   Florent







Re: swapping LyX modifier keys on Mac OS X

2006-08-02 Thread Jens Noeckel

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




On Aug 1, 2006, at 10:53 PM, Jason Woodard wrote:


Apologies -- I hadn't seen the 1.4.2 binaries posted at
http://wiki.lyx.org/LyX/LyXOnMac.

Will try again to compile 1.4.2 for the PPC and post at the URL below
if/when successful.  (I should probably edit the Wiki, too.)  I don't
have an Intel Mac, though, so probably won't be able to help there.

 -j


Jason Woodard wrote:


Hi,
I've been away from the mailing list for a while, but noticed in
reading the archives that requests continue to surface for a patched
version of LyX (actually of Qt/Mac) that makes the Mac's Command and
Control keys do what Emacs users expect them to do.
I'm happy to report that the patch I posted back in 2004 still works
for LyX 1.4 and Qt/Mac 3.3.6.  I've appended it below for reference.
As before, you can use it by following the instructions in the
INSTALL.MacOSX file in the LyX source distribution, but patching the
Qt distribution before you build LyX itself.
(To do that, cut and paste the text at the end of this note into a
plain text file; call it anything and put it anywhere you like.   
Then,

from the top-level directory in the Qt source distribution, issue the
command patch -p0  YOUR-PATCH-FILE where YOUR-PATCH-FILE is the
path to the patch file you created.)
I've also posted a LyX 1.4.1 .dmg file containing a patched LyX.app.
It's at:
http://kuala.smu.edu.sg/~jason/lyx/
(I couldn't get 1.4.2 to build; I suspect it's not a coincidence that
there's no 1.4.2 binary for OS X at the moment either.)
Note that most people who use this patch also use an OS-level  
keyboard
mapper like uControl or fKeys [ http://www.kodachi.com/software/ 
fKeys ]

to map the Caps Lock key to the Control modifier.
Although I no longer monitor this list regularly, I will continue to
post patched binaries at the URL above when I build them for myself.
Thanks, as always, to the LyX team for all your hard work.
regards,
-j
Jason Woodard
[EMAIL PROTECTED]
--- src/kernel/qapplication_mac.cpp.orig2006-03-09 00:47:45 +0800
+++ src/kernel/qapplication_mac.cpp2006-08-01 19:47:52 +0800
@@ -1212,11 +1212,11 @@
 static key_sym modifier_syms[] = {
 { shiftKey, MAP_KEY(Qt::ShiftButton) },
 { rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
-{ controlKey, MAP_KEY(Qt::MetaButton) },
-{ rightControlKey, MAP_KEY(Qt::MetaButton) },
-{ cmdKey, MAP_KEY(Qt::ControlButton) },
-{ optionKey, MAP_KEY(Qt::AltButton) },
-{ rightOptionKey, MAP_KEY(Qt::AltButton) },
+{ controlKey, MAP_KEY(Qt::ControlButton) },
+{ rightControlKey, MAP_KEY(Qt::ControlButton) },
+{ cmdKey, MAP_KEY(Qt::AltButton) },
+// { optionKey, MAP_KEY(Qt::AltButton) },
+// { rightOptionKey, MAP_KEY(Qt::AltButton) },
 { kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },
 {   0, MAP_KEY(0) } };
 static int get_modifiers(int key, bool from_mouse=FALSE)




Re: Fwd: lyx1.4.2 in kubuntu

2006-08-02 Thread Christopher Winkler
Thank you all, 

with your help I have finally tamed the beast.
(one of the problems was, that the path to the qt-directory was not 
correct... for all future readers: (K)ubuntus qt-path 
is: /usr/share/qt, not /usr/lib nor /usr/lib/qt neither whatsoever ...)

Best greetings

Christopher


setting non-utf8 locate for lyx

2006-08-02 Thread Christopher Winkler
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.

Well: how can I create a de_DE locale on my system?
Maybe lyx has something on board for those cases?

Thank you

Christopher


installing lyx on windows

2006-08-02 Thread Eric Inazaki
Does lyx choke (i.e. fail to start) when it's installed in
C:\Program Files directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.  This happened to me on my first
installation attempt.  I tried reinstalling to C:\ and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
Program Files. If that's true, then what gives?

A suggestion, if lyx really does have a problem being installed in
Program Files then it'd be nice if that fact were well publicized
(I found no mention of it on the lyx homepage, nor on the wiki).
Also, when I did it, the default installation directory was
C:\Program Files, this should probably be changed.   

regards,
eric




Re: installing lyx on windows

2006-08-02 Thread Paul A. Rubin

Eric Inazaki wrote:

Does lyx choke (i.e. fail to start) when it's installed in
C:\Program Files directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.


No, it works fine from C:\Program Files\...


This happened to me on my first
installation attempt.  I tried reinstalling to C:\ and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
Program Files. If that's true, then what gives?


Did it give you a message about not finding class files?  There have 
been instances where LyX installed properly but the configuration script 
failed, and subsequently LyX would not start because it could not find 
the requisite configuration information.  (But it would at least display 
the GUI and cough up a message to that effect.)


A suggestion, if lyx really does have a problem being installed in
Program Files then it'd be nice if that fact were well publicized
(I found no mention of it on the lyx homepage, nor on the wiki).
Also, when I did it, the default installation directory was
C:\Program Files, this should probably be changed.   


Really?  On my systems, I think it defaulted to C:\Program Files\lyx14
 (not positive, since I changed from the default).

By the way, were you logged in with administrator permissions when you 
attempted the installation?


/Paul



Re: installing lyx on windows

2006-08-02 Thread Bo Peng

On 8/2/06, Eric Inazaki [EMAIL PROTECTED] wrote:

Does lyx choke (i.e. fail to start) when it's installed in
C:\Program Files directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.  This happened to me on my first
installation attempt.  I tried reinstalling to C:\ and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
Program Files. If that's true, then what gives?


Due to the anti-space nature of latex, it is safer to install lyx
under a path without space. However, the developers have tried their
best to let lyx works as *usual* (?) under windows. As a result, lyx
1.4.2 should work under c:\program files. If lyx can not start under
your machines, it should be investigated.

So, what exactly happened when you start lyx when it is installed
under c:\program files?

Bo


Re: installing lyx on windows

2006-08-02 Thread Eric Inazaki
Paul A. Rubin [EMAIL PROTECTED] writes:

 
 Eric Inazaki wrote:
 
 Did it give you a message about not finding class files?  There have 
 been instances where LyX installed properly but the configuration script 
 failed, and subsequently LyX would not start because it could not find 
 the requisite configuration information.  (But it would at least display 
 the GUI and cough up a message to that effect.)
 

Right after I installed lyx, it spent a lot of time downloading stuff.
They looked like template files, might have class files, I wasn't paying
that close attention.  And it may or may not have been lyx that was doing
the downloading, could've been MikTeX which I installed at about the
same time.  (The dialog boxes didn't say what program they were affiliated
with).

After all that was done (as near as I could tell), I would go to Start-
Programs and click on lyx then a command window would pop up for about
a half-second, disappear and that's all she wrote.
 
  A suggestion, if lyx really does have a problem being installed in
  Program Files then it'd be nice if that fact were well publicized
  (I found no mention of it on the lyx homepage, nor on the wiki).
  Also, when I did it, the default installation directory was
  C:\Program Files, this should probably be changed.   
 
 Really?  On my systems, I think it defaulted to C:\Program Files\lyx14
   (not positive, since I changed from the default).
 
 By the way, were you logged in with administrator permissions when you 
 attempted the installation?
 

Well, yeah okay C:\Program Files\lyxsomething-or-other.  And yes,
I did this as the admin.  

So you're saying that you could install and run lyx at the Program Files
directory, out of the box, with no problems and without having to futz
around with anything?

eric




Re: installing lyx on windows

2006-08-02 Thread Eric Inazaki
Bo Peng [EMAIL PROTECTED] writes:

 
 On 8/2/06, Eric Inazaki [EMAIL PROTECTED] wrote:
  Does lyx choke (i.e. fail to start) when it's installed in
  C:\Program Files directory?  This is with lyx 1.4.2 and
  Windows 2000, by the way.  This happened to me on my first
  installation attempt.  I tried reinstalling to C:\ and that
  works okay.  Looking through some of these older messages, it
  seems that some folks don't have a problem installing to
  Program Files. If that's true, then what gives?
 
 Due to the anti-space nature of latex, it is safer to install lyx
 under a path without space. However, the developers have tried their
 best to let lyx works as *usual* (?) under windows. As a result, lyx
 1.4.2 should work under c:\program files. If lyx can not start under
 your machines, it should be investigated.
 
 So, what exactly happened when you start lyx when it is installed
 under c:\program files?
 
 Bo
 
 

I launch lyx from the Start/Program menu, a command window appears then
disappears a split second later and that's it.  No alert dialog, no
nothing.  

As far a I'm concerned, lyx doesn't _have to_ be installed in program files.
Installing it in c:\ is okay.  Would've been nice to have had a heads-up is
all.

It's starting to sound like I might have done something screwy.  Bet if I
tried again from scratch I won't see this problem.

eric



My webpage about LY X, LATEX and BibTEX

2006-08-02 Thread Ares

Hello everyone,
I published a page about my tips and tricks on  LyX, LATEX and BibTEX at:

http://www.webalice.it/ares001/job/Tips.htm

Let me know if you find it useful or if you find any error...

Regards,
Diego


Re: Overwrite existing files

2006-08-02 Thread Ed Gatzke

 Can you click the Show Desktop icon (or type Win-D, where Win is the 
 Windows key) to minimize everything, then click the LyX button in the 
 task bar and get to the dialog?
 


I can just as easily  Alt-Tab to the Lyx window or click on the taskbar.

It is an odd behavior to lose the error dialog under a window.

It gets buried because I tell Lyx to export pdf then switch to another
application.  The error dialog takes a while to pop up and ends up under 
the other application.


I tried putting something like
rm -f $$o; ps2pdf $$i $$o
in my lyxrc.defaults for ps conversion to pdf.  This does not get executed 
like a normal bash command for me so it does not act like two separate 
commands.

I tried writing a single shell script that would remove the pdf before 
calling ps2pdf but I now realize lyx is calling stuff in a sandbox /tmp 
directory and then movinig the file to the working directory.  I see my 
script executing, but the pdf in the working directory never gets erased 
and I get the silly error dialog.






Fw: jPicEdt graphics

2006-08-02 Thread Eugenio
Hi all,

I've been using lyx 1.3.7 on windows XP for quite a while and everything is 
working fine.

When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics that 
looked fine in version 1.3.7.

In order to test the system, I deinstalled 1.4.2, and made tried it with 1.4.1 
with no luck, so I switched back to 1.3.7 and my graphics looks good again.

The problem is only with lines and arrows, as far as I found at this moment.

Any idea about what can be wrong with the setup of 1.4.2?

Thanks

Eugenio

Re: installing lyx on windows

2006-08-02 Thread Paul A. Rubin

Eric Inazaki wrote:
Did it give you a message about not finding class files?  There have 
been instances where LyX installed properly but the configuration script 
failed, and subsequently LyX would not start because it could not find 
the requisite configuration information.  (But it would at least display 
the GUI and cough up a message to that effect.)


Right after I installed lyx, it spent a lot of time downloading stuff.
They looked like template files, might have class files, I wasn't paying
that close attention.  And it may or may not have been lyx that was doing
the downloading, could've been MikTeX which I installed at about the
same time.  (The dialog boxes didn't say what program they were affiliated
with).


After LyX installs, it automatically runs a configuration script that, 
among other things, snoops around your LaTeX installation looking to see 
which among a roster of common classes are installed.  That 
information is written to some configuration files.  MikTeX treats this 
the same way it treats a document trying to load a class, and so 
(depending on how you have MikTeX configured) it will either do nothing, 
automatically install the classes, or bug you whether or not to install 
each one.  (I'm category three, so every time I install a new LyX 
version I get multiple nags from MikTeX.)  If you're on the auto-install 
plan, probably that was the downloading you observed.


After all that was done (as near as I could tell), I would go to Start-
Programs and click on lyx then a command window would pop up for about
a half-second, disappear and that's all she wrote.


Well, I'm pretty sure that's not the configuration burped error.


So you're saying that you could install and run lyx at the Program Files
directory, out of the box, with no problems and without having to futz
around with anything?


Windows being Windows, the most I'm willing to say is that LyX typically 
installs properly in C:\Program Files (but your actual mileage, if you 
get any, may vary).


If you clean out an detritus and try another install under C:\Program 
Files, it might fly this time.  If not, try opening a command prompt in 
the LyX bin directory and run lyx.bat from there.  That way, if it spits 
up an error message, you'll have a chance to see it without the window 
closing on you.


/Paul




Re: My webpage about LY X, LATEX and BibTEX

2006-08-02 Thread Uwe Stöhr

Ares wrote:


Hello everyone,
I published a page about my tips and tricks on  LyX, LATEX and BibTEX at:

http://www.webalice.it/ares001/job/Tips.htm

Let me know if you find it useful or if you find any error...


Good work. But why don't you add this to the LyX Wiki:

http://wiki.lyx.org/

Some of the informations on your page are already there. You could help 
to improve the wiki with your infos.


regards Uwe


Re: Fw: jPicEdt graphics

2006-08-02 Thread Uwe Stöhr

Eugenio wrote:


I've been using lyx 1.3.7 on windows XP for quite a while and everything is 
working fine.

When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics that 
looked fine in version 1.3.7.


Are the graphics incorrectly be displayed inside LyX but correctly in 
the output?


What version of Imagemagick is installed/used together with the working 
LyX 1.3.7? You can test this by openening a console in LyX's install 
subfolder \etc\Imagemagick and using then the command:

convert -version

regards Uwe


Re: installing lyx on windows

2006-08-02 Thread Bo Peng

 Right after I installed lyx, it spent a lot of time downloading stuff.


Lyx is checking for some classes, miktex does not have them so it
installs them automatically. 1.4.3 will give you more prompt
information, but this process will take the same long time.



Windows being Windows, the most I'm willing to say is that LyX typically
installs properly in C:\Program Files (but your actual mileage, if you
get any, may vary).


:-)


If you clean out an detritus and try another install under C:\Program
Files, it might fly this time.  If not, try opening a command prompt in
the LyX bin directory and run lyx.bat from there.  That way, if it spits
up an error message, you'll have a chance to see it without the window
closing on you.


This is what I would suggest.

Bo


Re: Fw: jPicEdt graphics

2006-08-02 Thread Eugenio
I forgot to mention that graphics display right in the output.  The problem
is only inside Lyx.

I'm using Imagemagick 6.2.3 dated 06/08/05 and is the same used for 1.3.7

Eugenio


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]
To: Eugenio [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, August 02, 2006 3:03 PM
Subject: Re: Fw: jPicEdt graphics


 Eugenio wrote:

  I've been using lyx 1.3.7 on windows XP for quite a while and everything
is working fine.
 
  When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics
that looked fine in version 1.3.7.

 Are the graphics incorrectly be displayed inside LyX but correctly in
 the output?

 What version of Imagemagick is installed/used together with the working
 LyX 1.3.7? You can test this by openening a console in LyX's install
 subfolder \etc\Imagemagick and using then the command:
 convert -version

 regards Uwe




Re: Fw: jPicEdt graphics

2006-08-02 Thread Uwe Stöhr

Eugenio wrote:


I forgot to mention that graphics display right in the output.  The problem
is only inside Lyx.

I'm using Imagemagick 6.2.3 dated 06/08/05 and is the same used for 1.3.7


Then please file a bug report at
bugzilla.lyx.org
and attach there a problematic jPicEdt-file.

regards Uwe


One bibliography, separated by chapter?

2006-08-02 Thread Curtis Osterhoudt

Hi, all,

  I ended up sending this message in a reply to another message which it 
has nothing to do with, so I'm re-sending it. It could be that no one had 
anything to say in the first place -- I apologize for cluttering up the list 
with a reposting if that's the case!


At the end of my dissertation, I would like to include a bibliography which 
is divided into sections like References for Chapter 1, References for 
Chapter 2, etc. I do not want separate bibliographies at the end of each 
chapter. The package \chapterbib with the gather option seems just what I 
want, only I can't get it to work for my LyX document.


I am using a master document, with several \included sub-documents. All of 
these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert  List/TOC  BibTeX Bibliography command) *within* a comment 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a comment box. They are all (especially in the Master document; 
I don't know if the others matter) of style plunsrt since I want them 
listed in the order in which they're cited in the text. In the Master file's 
preamble, I have \usepackage{chapterbib}, although at the moment, it doesn't 
seem to matter whether or not I have this (probably because the 
bibliographies are in comment boxes?). Things seem to work as expected (one 
big unsectioned bibliography at the end). However, if I use the gather 
option to chapterbib, the bibliography shows up in the TOC (if I have that 
option checked), but does not show up in the actual document.


I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution. Is there now an 
easier way to get a single end-of-document sectioned bibliography with LyX? 
It seems to me that the Sectioned bibliography checkbox isn't what I want, 
but I could be wrong.


 Regards,
 Curtis O.




Re: Overwrite existing files

2006-08-02 Thread Paul A. Rubin

Ed Gatzke wrote:


It is an odd behavior to lose the error dialog under a window.

It gets buried because I tell Lyx to export pdf then switch to another
application.  The error dialog takes a while to pop up and ends up under 
the other application.


This sort of thing occurs to me occasionally with other applications. 
In fact, I've had one or two instances where the error dialog was hidden 
behind the window of the application that generated it (don't ask me how 
this happened, probably Windows being Windows).  That's more difficult 
to recover from, since (assuming the dialog is modal) you can't move the 
top (parent) window because it can't receive focus until you exit the 
dialog, which you can't do because it's hidden.



I tried putting something like
rm -f $$o; ps2pdf $$i $$o
in my lyxrc.defaults for ps conversion to pdf.  This does not get executed 
like a normal bash command for me so it does not act like two separate 
commands.


I tried writing a single shell script that would remove the pdf before 
calling ps2pdf but I now realize lyx is calling stuff in a sandbox /tmp 
directory and then movinig the file to the working directory.  I see my 
script executing, but the pdf in the working directory never gets erased 
and I get the silly error dialog.


Correct.  There is a way, using custom export, to have LyX convert to 
PDF and then pass the PDF to a script you would write (which 
hypothetically could delete the old PDF and then store the new one). 
The problem is that I cannot find a way to communicate, through custom 
export, the working directory (where the old file lives and where the 
new file is to be written).  So unless you wanted the script to prompt 
you for the target directory each time (which is probably more work than 
manually deleting the old PDF), that seems to be no help.


You might file this as a feature request in bugzilla.

/Paul




Flow Chart Drawing For LaTeX/LyX

2006-08-02 Thread Rich Shepard

  The last time I tried counting I found more than 17 different vector
drawing applications that are suitable for use with LaTeX/LyX documents.
I've used Tgif, Xfig, jpicedt, IDE, and PSTricks. Each has strengths and
weaknesses, so I use whichever seems to be the best for a particular type of
illustration.

  What I want to draw now are software flowcharts that illustrate how a
model is structured and how data flow from one component to another. What
would be ideal is a set of primatives for various standard nodes: data
entry, decision points, printer, database storage, etc.

  Does anyone know of any such library of pre-built images that can be
incorporated into a larger figure?

TIA,

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


Help with euro symbol

2006-08-02 Thread Jordi Nadal

Hello all.

I'm using LyX 1.4.2 from Debian sid Package and I have trouble with
euro symbol. When I press altgr+e the euro symbol is correctly
inserted in a QT-dialog but it doesn't work in the main document. When
pasting the euro symbol from clipboard  a «?» gets inserted instead of
«€» and this is also present in PDF or PS output. It works well in QT
dialogs and in plain LaTeX.

I've tried UTF-8 locale as well as 8859-15.

Other special characters like accented a «à» work well.

I can't found nothing helpful in Google nor in LyX wiki.

Thanks in advance.


Re: Help with euro symbol

2006-08-02 Thread Rich Shepard

On Thu, 3 Aug 2006, Jordi Nadal wrote:


I'm using LyX 1.4.2 from Debian sid Package and I have trouble with euro
symbol. When I press altgr+e the euro symbol is correctly inserted in a
QT-dialog but it doesn't work in the main document. When pasting the euro
symbol from clipboard a «?» gets inserted instead of «» and this is also
present in PDF or PS output. It works well in QT dialogs and in plain
LaTeX.


Jordi,

  Perhaps this won't help because I mis-understand your problem. According
to the The Comprehensive LaTeX Symbol List (page 13), you can use (in an ERT
box) \geneuro, \geneuronarrow,
\geneurowide, or \officialeuro. If you have the textcomp package included,
then you have additional choices.

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

table cells alignment

2006-08-02 Thread pol
Is it possible to set specific alignment to cells in the same column?
This would be useful when some cells contain numbers, whereas others contain
numbers. 

I remember it was possible too align cells to the decimal point, but i do
not remember how to do;  any hints?

thanks
--pol
 



Re: table cells alignment

2006-08-02 Thread Juergen Spitzmueller
pol wrote:
> Is it possible to set specific alignment to cells in the same column?
> This would be useful when some cells contain numbers, whereas others
> contain numbers.

yes, if you make the single cells "multicolumn" cells.

> I remember it was possible too align cells to the decimal point, but i do
> not remember how to do;  any hints?

package dcolumn.

Jürgen


chapterbib example

2006-08-02 Thread Rainer M Krug
Hi

is there anywhere an example on how to use chapterbib? I don't seem to
be able to get it to work and I need Bibliographies per chapter (each
chapter in an included sub-document)

Thanks

Rainer

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

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


Re: chapterbib example

2006-08-02 Thread Richard Heck

It's discussed in section 12.6 of /The LaTeX Companion/.

Richard

Rainer M Krug wrote:
> Hi
>
> is there anywhere an example on how to use chapterbib? I don't seem to
> be able to get it to work and I need Bibliographies per chapter (each
> chapter in an included sub-document)
>
> Thanks
>
> Rainer
>
>   



Re: Fw: Postscript preview

2006-08-02 Thread Stephen Harris

LB wrote:
I uninstalled Lyx and reinstalled it into c:\lyx\lyx14.  This solved 
my figure problem!!!


Thank you. I can now use 1.4.2


Looks like I spoke too soon.  Now a different figure does not want to be 
displayed.


Leo





Does it display the same old symptoms; it works with lyx.exe
or if you delete one of the "set" commands in lyx.bat?

If the figure doesn't work with lyx.exe then it is the file.
Try it with both (the old one which now works and the broken
new one) in the same directory. A rather inexplicable matter.

Perplexed,

Stephen


Re: Overwrite existing files

2006-08-02 Thread Paul A. Rubin

Ed Gatzke wrote:

Is there any way to turn off the dialog for export errors, for "The file already
exists, Overwrite?"


I don't think so (short of modifying the source and recompiling).


I select export and switch to another application, a few second later the error
dialog get buried (on XP), and I can't even click the LyX window to get back to
the application (you have to click the dialog or click in explorer.)


Can you click the "Show Desktop" icon (or type Win-D, where Win is the 
Windows key) to minimize everything, then click the LyX button in the 
task bar and get to the dialog?


/Paul



Centrage horizontal des figure dans lyx 1.4.2

2006-08-02 Thread THIBAULT Florent
Bonjour à tous ,

Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très 
bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les 
figures que j'insère dans les espaces « figure flottante »

A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts 
horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où 
il suffit de cocher l'option « tableau long ».

 

Quelqu'un pourrait il m'aider ?

Merci d'avance,

 

   Florent

 



Re: Centrage horizontal des figure dans lyx 1.4.2

2006-08-02 Thread A. Scottedward Hodel
If I understand the question correctly, you need to change the  
paragraph setting within the figure to be "centered" instead of  
"justified."


On Aug 2, 2006, at 10:27 AM, THIBAULT Florent wrote:


Bonjour à tous ,

Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se  
passe très bien à l'exception d'un détail : je n'arrive pas à  
centrer horizontalement les figures que j'insère dans les espaces «  
figure flottante »


A part l'utilisation, lourde et génératrice d'erreurs, de deux  
ressorts horizontaux, je n'ai pas trouvé de solution comme dans le  
cas des tableaux où il suffit de cocher l'option « tableau long ».


Quelqu'un pourrait il m'aider ?

Merci d'avance,



   Florent







Re: swapping LyX modifier keys on Mac OS X

2006-08-02 Thread Jens Noeckel

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




On Aug 1, 2006, at 10:53 PM, Jason Woodard wrote:


Apologies -- I hadn't seen the 1.4.2 binaries posted at
http://wiki.lyx.org/LyX/LyXOnMac.

Will try again to compile 1.4.2 for the PPC and post at the URL below
if/when successful.  (I should probably edit the Wiki, too.)  I don't
have an Intel Mac, though, so probably won't be able to help there.

 -j


Jason Woodard wrote:


Hi,
I've been away from the mailing list for a while, but noticed in
reading the archives that requests continue to surface for a patched
version of LyX (actually of Qt/Mac) that makes the Mac's Command and
Control keys do what Emacs users expect them to do.
I'm happy to report that the patch I posted back in 2004 still works
for LyX 1.4 and Qt/Mac 3.3.6.  I've appended it below for reference.
As before, you can use it by following the instructions in the
INSTALL.MacOSX file in the LyX source distribution, but patching the
Qt distribution before you build LyX itself.
(To do that, cut and paste the text at the end of this note into a
plain text file; call it anything and put it anywhere you like.   
Then,

from the top-level directory in the Qt source distribution, issue the
command "patch -p0 < YOUR-PATCH-FILE" where YOUR-PATCH-FILE is the
path to the patch file you created.)
I've also posted a LyX 1.4.1 .dmg file containing a patched LyX.app.
It's at:
http://kuala.smu.edu.sg/~jason/lyx/
(I couldn't get 1.4.2 to build; I suspect it's not a coincidence that
there's no 1.4.2 binary for OS X at the moment either.)
Note that most people who use this patch also use an OS-level  
keyboard
mapper like uControl or fKeys [ http://www.kodachi.com/software/ 
fKeys ]

to map the Caps Lock key to the Control modifier.
Although I no longer monitor this list regularly, I will continue to
post patched binaries at the URL above when I build them for myself.
Thanks, as always, to the LyX team for all your hard work.
regards,
-j
Jason Woodard
[EMAIL PROTECTED]
--- src/kernel/qapplication_mac.cpp.orig2006-03-09 00:47:45 +0800
+++ src/kernel/qapplication_mac.cpp2006-08-01 19:47:52 +0800
@@ -1212,11 +1212,11 @@
 static key_sym modifier_syms[] = {
 { shiftKey, MAP_KEY(Qt::ShiftButton) },
 { rightShiftKeyBit, MAP_KEY(Qt::ShiftButton) },
-{ controlKey, MAP_KEY(Qt::MetaButton) },
-{ rightControlKey, MAP_KEY(Qt::MetaButton) },
-{ cmdKey, MAP_KEY(Qt::ControlButton) },
-{ optionKey, MAP_KEY(Qt::AltButton) },
-{ rightOptionKey, MAP_KEY(Qt::AltButton) },
+{ controlKey, MAP_KEY(Qt::ControlButton) },
+{ rightControlKey, MAP_KEY(Qt::ControlButton) },
+{ cmdKey, MAP_KEY(Qt::AltButton) },
+// { optionKey, MAP_KEY(Qt::AltButton) },
+// { rightOptionKey, MAP_KEY(Qt::AltButton) },
 { kEventKeyModifierNumLockMask, MAP_KEY(Qt::Keypad) },
 {   0, MAP_KEY(0) } };
 static int get_modifiers(int key, bool from_mouse=FALSE)




Re: Fwd: lyx1.4.2 in kubuntu

2006-08-02 Thread Christopher Winkler
Thank you all, 

with your help I have finally tamed the beast.
(one of the problems was, that the path to the qt-directory was not 
correct... for all future readers: (K)ubuntus qt-path 
is: /usr/share/qt, not /usr/lib nor /usr/lib/qt neither whatsoever ...)

Best greetings

Christopher


setting non-utf8 locate for lyx

2006-08-02 Thread Christopher Winkler
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.

Well: how can I create a de_DE locale on my system?
Maybe lyx has something on board for those cases?

Thank you

Christopher


installing lyx on windows

2006-08-02 Thread Eric Inazaki
Does lyx choke (i.e. fail to start) when it's installed in
"C:\Program Files" directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.  This happened to me on my first
installation attempt.  I tried reinstalling to "C:\" and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
"Program Files". If that's true, then what gives?

A suggestion, if lyx really does have a problem being installed in
"Program Files" then it'd be nice if that fact were well publicized
(I found no mention of it on the lyx homepage, nor on the wiki).
Also, when I did it, the default installation directory was
"C:\Program Files", this should probably be changed.   

regards,
eric




Re: installing lyx on windows

2006-08-02 Thread Paul A. Rubin

Eric Inazaki wrote:

Does lyx choke (i.e. fail to start) when it's installed in
"C:\Program Files" directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.


No, it works fine from C:\Program Files\...


This happened to me on my first
installation attempt.  I tried reinstalling to "C:\" and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
"Program Files". If that's true, then what gives?


Did it give you a message about not finding class files?  There have 
been instances where LyX installed properly but the configuration script 
failed, and subsequently LyX would not start because it could not find 
the requisite configuration information.  (But it would at least display 
the GUI and cough up a message to that effect.)


A suggestion, if lyx really does have a problem being installed in
"Program Files" then it'd be nice if that fact were well publicized
(I found no mention of it on the lyx homepage, nor on the wiki).
Also, when I did it, the default installation directory was
"C:\Program Files", this should probably be changed.   


Really?  On my systems, I think it defaulted to C:\Program Files\lyx14
 (not positive, since I changed from the default).

By the way, were you logged in with administrator permissions when you 
attempted the installation?


/Paul



Re: installing lyx on windows

2006-08-02 Thread Bo Peng

On 8/2/06, Eric Inazaki <[EMAIL PROTECTED]> wrote:

Does lyx choke (i.e. fail to start) when it's installed in
"C:\Program Files" directory?  This is with lyx 1.4.2 and
Windows 2000, by the way.  This happened to me on my first
installation attempt.  I tried reinstalling to "C:\" and that
works okay.  Looking through some of these older messages, it
seems that some folks don't have a problem installing to
"Program Files". If that's true, then what gives?


Due to the anti-space nature of latex, it is safer to install lyx
under a path without space. However, the developers have tried their
best to let lyx works as *usual* (?) under windows. As a result, lyx
1.4.2 should work under c:\program files. If lyx can not start under
your machines, it should be investigated.

So, what exactly happened when you start lyx when it is installed
under c:\program files?

Bo


Re: installing lyx on windows

2006-08-02 Thread Eric Inazaki
Paul A. Rubin <[EMAIL PROTECTED]> writes:

> 
> Eric Inazaki wrote:
> 
> Did it give you a message about not finding class files?  There have 
> been instances where LyX installed properly but the configuration script 
> failed, and subsequently LyX would not start because it could not find 
> the requisite configuration information.  (But it would at least display 
> the GUI and cough up a message to that effect.)
> >

Right after I installed lyx, it spent a lot of time downloading stuff.
They looked like template files, might have class files, I wasn't paying
that close attention.  And it may or may not have been lyx that was doing
the downloading, could've been MikTeX which I installed at about the
same time.  (The dialog boxes didn't say what program they were affiliated
with).

After all that was done (as near as I could tell), I would go to Start->
Programs and click on "lyx" then a command window would pop up for about
a half-second, disappear and that's all she wrote.
 
> > A suggestion, if lyx really does have a problem being installed in
> > "Program Files" then it'd be nice if that fact were well publicized
> > (I found no mention of it on the lyx homepage, nor on the wiki).
> > Also, when I did it, the default installation directory was
> > "C:\Program Files", this should probably be changed.   
> 
> Really?  On my systems, I think it defaulted to C:\Program Files\lyx14
>   (not positive, since I changed from the default).
> 
> By the way, were you logged in with administrator permissions when you 
> attempted the installation?
> 

Well, yeah okay "C:\Program Files\lyx".  And yes,
I did this as the admin.  

So you're saying that you could install and run lyx at the "Program Files"
directory, out of the box, with no problems and without having to futz
around with anything?

eric




Re: installing lyx on windows

2006-08-02 Thread Eric Inazaki
Bo Peng <[EMAIL PROTECTED]> writes:

> 
> On 8/2/06, Eric Inazaki <[EMAIL PROTECTED]> wrote:
> > Does lyx choke (i.e. fail to start) when it's installed in
> > "C:\Program Files" directory?  This is with lyx 1.4.2 and
> > Windows 2000, by the way.  This happened to me on my first
> > installation attempt.  I tried reinstalling to "C:\" and that
> > works okay.  Looking through some of these older messages, it
> > seems that some folks don't have a problem installing to
> > "Program Files". If that's true, then what gives?
> 
> Due to the anti-space nature of latex, it is safer to install lyx
> under a path without space. However, the developers have tried their
> best to let lyx works as *usual* (?) under windows. As a result, lyx
> 1.4.2 should work under c:\program files. If lyx can not start under
> your machines, it should be investigated.
> 
> So, what exactly happened when you start lyx when it is installed
> under c:\program files?
> 
> Bo
> 
> 

I launch lyx from the Start/Program menu, a command window appears then
disappears a split second later and that's it.  No alert dialog, no
nothing.  

As far a I'm concerned, lyx doesn't _have to_ be installed in "program files".
Installing it in "c:\" is okay.  Would've been nice to have had a heads-up is
all.

It's starting to sound like I might have done something screwy.  Bet if I
tried again from scratch I won't see this problem.

eric



My webpage about LY X, LATEX and BibTEX

2006-08-02 Thread Ares

Hello everyone,
I published a page about my tips and tricks on  LyX, LATEX and BibTEX at:

http://www.webalice.it/ares001/job/Tips.htm

Let me know if you find it useful or if you find any error...

Regards,
Diego


Re: Overwrite existing files

2006-08-02 Thread Ed Gatzke

> Can you click the "Show Desktop" icon (or type Win-D, where Win is the 
> Windows key) to minimize everything, then click the LyX button in the 
> task bar and get to the dialog?
> 


I can just as easily  Alt-Tab to the Lyx window or click on the taskbar.

It is an odd behavior to lose the error dialog under a window.

It gets buried because I tell Lyx to export pdf then switch to another
application.  The error dialog takes a while to pop up and ends up under 
the other application.


I tried putting something like
"rm -f $$o; ps2pdf $$i $$o"
in my lyxrc.defaults for ps conversion to pdf.  This does not get executed 
like a normal bash command for me so it does not act like two separate 
commands.

I tried writing a single shell script that would remove the pdf before 
calling ps2pdf but I now realize lyx is calling stuff in a sandbox /tmp 
directory and then movinig the file to the working directory.  I see my 
script executing, but the pdf in the working directory never gets erased 
and I get the silly error dialog.






Fw: jPicEdt graphics

2006-08-02 Thread Eugenio
Hi all,

I've been using lyx 1.3.7 on windows XP for quite a while and everything is 
working fine.

When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics that 
looked fine in version 1.3.7.

In order to test the system, I deinstalled 1.4.2, and made tried it with 1.4.1 
with no luck, so I switched back to 1.3.7 and my graphics looks good again.

The problem is only with lines and arrows, as far as I found at this moment.

Any idea about what can be wrong with the setup of 1.4.2?

Thanks

Eugenio

Re: installing lyx on windows

2006-08-02 Thread Paul A. Rubin

Eric Inazaki wrote:
Did it give you a message about not finding class files?  There have 
been instances where LyX installed properly but the configuration script 
failed, and subsequently LyX would not start because it could not find 
the requisite configuration information.  (But it would at least display 
the GUI and cough up a message to that effect.)


Right after I installed lyx, it spent a lot of time downloading stuff.
They looked like template files, might have class files, I wasn't paying
that close attention.  And it may or may not have been lyx that was doing
the downloading, could've been MikTeX which I installed at about the
same time.  (The dialog boxes didn't say what program they were affiliated
with).


After LyX installs, it automatically runs a configuration script that, 
among other things, snoops around your LaTeX installation looking to see 
which among a roster of "common" classes are installed.  That 
information is written to some configuration files.  MikTeX treats this 
the same way it treats a document trying to load a class, and so 
(depending on how you have MikTeX configured) it will either do nothing, 
automatically install the classes, or bug you whether or not to install 
each one.  (I'm category three, so every time I install a new LyX 
version I get multiple nags from MikTeX.)  If you're on the auto-install 
plan, probably that was the downloading you observed.


After all that was done (as near as I could tell), I would go to Start->
Programs and click on "lyx" then a command window would pop up for about
a half-second, disappear and that's all she wrote.


Well, I'm pretty sure that's not the "configuration burped" error.


So you're saying that you could install and run lyx at the "Program Files"
directory, out of the box, with no problems and without having to futz
around with anything?


Windows being Windows, the most I'm willing to say is that LyX typically 
installs properly in C:\Program Files (but your actual mileage, if you 
get any, may vary).


If you clean out an detritus and try another install under C:\Program 
Files, it might fly this time.  If not, try opening a command prompt in 
the LyX bin directory and run lyx.bat from there.  That way, if it spits 
up an error message, you'll have a chance to see it without the window 
closing on you.


/Paul




Re: My webpage about LY X, LATEX and BibTEX

2006-08-02 Thread Uwe Stöhr

Ares wrote:


Hello everyone,
I published a page about my tips and tricks on  LyX, LATEX and BibTEX at:

http://www.webalice.it/ares001/job/Tips.htm

Let me know if you find it useful or if you find any error...


Good work. But why don't you add this to the LyX Wiki:

http://wiki.lyx.org/

Some of the informations on your page are already there. You could help 
to improve the wiki with your infos.


regards Uwe


Re: Fw: jPicEdt graphics

2006-08-02 Thread Uwe Stöhr

Eugenio wrote:


I've been using lyx 1.3.7 on windows XP for quite a while and everything is 
working fine.

When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics that 
looked fine in version 1.3.7.


Are the graphics incorrectly be displayed inside LyX but correctly in 
the output?


What version of Imagemagick is installed/used together with the working 
LyX 1.3.7? You can test this by openening a console in LyX's install 
subfolder \etc\Imagemagick and using then the command:

convert -version

regards Uwe


Re: installing lyx on windows

2006-08-02 Thread Bo Peng

> Right after I installed lyx, it spent a lot of time downloading stuff.


Lyx is checking for some classes, miktex does not have them so it
installs them automatically. 1.4.3 will give you more prompt
information, but this process will take the same long time.



Windows being Windows, the most I'm willing to say is that LyX typically
installs properly in C:\Program Files (but your actual mileage, if you
get any, may vary).


:-)


If you clean out an detritus and try another install under C:\Program
Files, it might fly this time.  If not, try opening a command prompt in
the LyX bin directory and run lyx.bat from there.  That way, if it spits
up an error message, you'll have a chance to see it without the window
closing on you.


This is what I would suggest.

Bo


Re: Fw: jPicEdt graphics

2006-08-02 Thread Eugenio
I forgot to mention that graphics display right in the output.  The problem
is only inside Lyx.

I'm using Imagemagick 6.2.3 dated 06/08/05 and is the same used for 1.3.7

Eugenio


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>
To: "Eugenio" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, August 02, 2006 3:03 PM
Subject: Re: Fw: jPicEdt graphics


> Eugenio wrote:
>
> > I've been using lyx 1.3.7 on windows XP for quite a while and everything
is working fine.
> >
> > When I made the switch to 1.4.2, I lost the lines for jPicEdt graphics
that looked fine in version 1.3.7.
>
> Are the graphics incorrectly be displayed inside LyX but correctly in
> the output?
>
> What version of Imagemagick is installed/used together with the working
> LyX 1.3.7? You can test this by openening a console in LyX's install
> subfolder \etc\Imagemagick and using then the command:
> convert -version
>
> regards Uwe
>



Re: Fw: jPicEdt graphics

2006-08-02 Thread Uwe Stöhr

Eugenio wrote:


I forgot to mention that graphics display right in the output.  The problem
is only inside Lyx.

I'm using Imagemagick 6.2.3 dated 06/08/05 and is the same used for 1.3.7


Then please file a bug report at
bugzilla.lyx.org
and attach there a problematic jPicEdt-file.

regards Uwe


One bibliography, separated by chapter?

2006-08-02 Thread Curtis Osterhoudt

Hi, all,

  I ended up sending this message in a "reply" to another message which it 
has nothing to do with, so I'm re-sending it. It could be that no one had 
anything to say in the first place -- I apologize for cluttering up the list 
with a reposting if that's the case!


At the end of my dissertation, I would like to include a bibliography which 
is divided into sections like "References for Chapter 1", "References for 
Chapter 2", etc. I do not want separate bibliographies at the end of each 
chapter. The package \chapterbib with the "gather" option seems just what I 
want, only I can't get it to work for my LyX document.


I am using a master document, with several \included sub-documents. All of 
these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert > List/TOC > BibTeX Bibliography command) *within* a "comment" 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a "comment" box. They are all (especially in the Master document; 
I don't know if the others matter) of style "plunsrt" since I want them 
listed in the order in which they're cited in the text. In the Master file's 
preamble, I have \usepackage{chapterbib}, although at the moment, it doesn't 
seem to matter whether or not I have this (probably because the 
bibliographies are in comment boxes?). Things seem to work as expected (one 
big unsectioned bibliography at the end). However, if I use the "gather" 
option to chapterbib, the bibliography shows up in the TOC (if I have that 
option checked), but does not show up in the actual document.


I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution. Is there now an 
easier way to get a single end-of-document sectioned bibliography with LyX? 
It seems to me that the "Sectioned bibliography" checkbox isn't what I want, 
but I could be wrong.


 Regards,
 Curtis O.




Re: Overwrite existing files

2006-08-02 Thread Paul A. Rubin

Ed Gatzke wrote:


It is an odd behavior to lose the error dialog under a window.

It gets buried because I tell Lyx to export pdf then switch to another
application.  The error dialog takes a while to pop up and ends up under 
the other application.


This sort of thing occurs to me occasionally with other applications. 
In fact, I've had one or two instances where the error dialog was hidden 
behind the window of the application that generated it (don't ask me how 
this happened, probably Windows being Windows).  That's more difficult 
to recover from, since (assuming the dialog is modal) you can't move the 
top (parent) window because it can't receive focus until you exit the 
dialog, which you can't do because it's hidden.



I tried putting something like
"rm -f $$o; ps2pdf $$i $$o"
in my lyxrc.defaults for ps conversion to pdf.  This does not get executed 
like a normal bash command for me so it does not act like two separate 
commands.


I tried writing a single shell script that would remove the pdf before 
calling ps2pdf but I now realize lyx is calling stuff in a sandbox /tmp 
directory and then movinig the file to the working directory.  I see my 
script executing, but the pdf in the working directory never gets erased 
and I get the silly error dialog.


Correct.  There is a way, using custom export, to have LyX convert to 
PDF and then pass the PDF to a script you would write (which 
hypothetically could delete the old PDF and then store the new one). 
The problem is that I cannot find a way to communicate, through custom 
export, the working directory (where the old file lives and where the 
new file is to be written).  So unless you wanted the script to prompt 
you for the target directory each time (which is probably more work than 
manually deleting the old PDF), that seems to be no help.


You might file this as a feature request in bugzilla.

/Paul




Flow Chart Drawing For LaTeX/LyX

2006-08-02 Thread Rich Shepard

  The last time I tried counting I found more than 17 different vector
drawing applications that are suitable for use with LaTeX/LyX documents.
I've used Tgif, Xfig, jpicedt, IDE, and PSTricks. Each has strengths and
weaknesses, so I use whichever seems to be the best for a particular type of
illustration.

  What I want to draw now are software flowcharts that illustrate how a
model is structured and how data flow from one component to another. What
would be ideal is a set of primatives for various standard nodes: data
entry, decision points, printer, database storage, etc.

  Does anyone know of any such library of pre-built images that can be
incorporated into a larger figure?

TIA,

Rich

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


Help with euro symbol

2006-08-02 Thread Jordi Nadal

Hello all.

I'm using LyX 1.4.2 from Debian sid Package and I have trouble with
euro symbol. When I press altgr+e the euro symbol is correctly
inserted in a QT-dialog but it doesn't work in the main document. When
pasting the euro symbol from clipboard  a «?» gets inserted instead of
«€» and this is also present in PDF or PS output. It works well in QT
dialogs and in plain LaTeX.

I've tried UTF-8 locale as well as 8859-15.

Other special characters like accented a «à» work well.

I can't found nothing helpful in Google nor in LyX wiki.

Thanks in advance.


Re: Help with euro symbol

2006-08-02 Thread Rich Shepard

On Thu, 3 Aug 2006, Jordi Nadal wrote:


I'm using LyX 1.4.2 from Debian sid Package and I have trouble with euro
symbol. When I press altgr+e the euro symbol is correctly inserted in a
QT-dialog but it doesn't work in the main document. When pasting the euro
symbol from clipboard a «?» gets inserted instead of «» and this is also
present in PDF or PS output. It works well in QT dialogs and in plain
LaTeX.


Jordi,

  Perhaps this won't help because I mis-understand your problem. According
to the The Comprehensive LaTeX Symbol List (page 13), you can use (in an ERT
box) \geneuro, \geneuronarrow,
\geneurowide, or \officialeuro. If you have the textcomp package included,
then you have additional choices.

Rich

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