Help with citing multiple references at once

2006-08-06 Thread Adrian M. Peter
Hello,

 

I am having trouble trying to cite multiple references at once.  In LyX, I
select citation and put in multiple references at once, for the sake of this
example let's say two: 'ref1' and 'ref2'.  In the LyX, document it shows up
as [ref1,ref2].  However, when I view the DVI or export to PDF the
references show up as [ref1], [ref2] instead of [ref1,ref2].  I am pretty
sure this has to do with the IEEEtran article class I am using.  But is
there a way to force it to include the multiple references in a single set
of brackets?  I am using LyX 1.4.1 on Widows.  Thank you for you help.

 

Adrian

  



Re: Fw: Postscript preview

2006-08-06 Thread Stephen Harris

Paul A. Rubin wrote:

LB wrote:


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.


This is again confusing, though perhaps no more confusing than the 
fact that deleting unneeded environment variables (other than LC_ALL 
and the aiksaurus one) did not help.


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.


Is there anything that the names/paths of the two affected figures 
have in common which is not shared by the other files.  For instance, 
are they the longest paths, do they lie deeper in the directory tree 
than other figures, ... ?


Stephen's idea of a second Ghostscript installation strikes me as 
possible but unlikely (and unlikely to be the culprit), since there 
would need to be something causing ImageMagick to alternate between 
the two GS installations on a figure-by-figure basis within the 
document (meaning that something in the figure names/paths would have 
to be triggering the switching).  Also, Mathematica exports EPS 
without using GS and without installing its own GS, so I suspect the 
same might be true of MATLAB.  Still, the whole bug is unlikely, so we 
shouldn't presume anything.


It would be nice if we could intercept the call from IM to GS and see 
what's being passed, but so far I have not figured out how.


/Paul




-

http://www.mathworks.com/support/solutions/data/1-ZBALJ.html?solution=1-ZBALJ

The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances.



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs. With an earlier distro of
LyX I also had XemTeX installed which comes with its own Gs.
It had a different version of Gs and the .dlls conflicted with LyX
which was solved by moving Xemtex to the end of Windows Path.

I'm pretty sure that lyx.exe checks the LyX directory for various
executables because Enrico's batfiles seem to use this principle.
I'm not so sure about lyx.bat because I thought it was possible
that those set commands could change which Gs was invoked.
I don't know what they do, the consequences of their mechanism.

One major difference in the our environments and Leo's is that
he has Matlab installed and we don't. I'm pretty sure that Matlab
has Gs installed since I've googled and seen it listed as a sub-dir
of Matlab's directory structure (though only for Linux). It should
take Leo less than thirty seconds to find out with Win Explorer.
I 've a hunch that his Matlab Gs version is earlier than his system
Gs, supposing that there are two instances.

My troubleshooting idea was to eliminate both ways a Gs version
conflict could happen and to use lyx.exe first before lyx.bat to see
if the .eps file itself (command line parameters used) perhaps had
a version glitch and I thought it would take about 5 minutes
(without Matlab running) to see if this affected the problem. I
think the Matlab doc I just reported upon supports this possibility.
We also have a more recent version of system Ghostscript.

My Sherlock Holmes sig, (inmates on death row tell jokes by #)

Stephen


Re: openoffice

2006-08-06 Thread Stephen Harris

Juergen Fenn wrote:

Stephen Harris [EMAIL PROTECTED] writes:

  

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]



Yes, it still uses the OOo1 format sxw.

  

which probably works a bit better on Linux than Windows.



I've just tried it out on my Win98 box. There seem to be commands in
the convtex.bat file that do not work under Win98. There also seem to
be problems with handling paths. I've rewritten the batch file and the
two other config files provided in the package to fit to my system,
but it still doesn't work. :-(

I'll keep on trying. 8-) Thanks for the hint, anyway. Didn't know
about the project yet. Seems an interesting idea because the only
other project for converting TeX  OOo that I know of is oolatex from
tex4ht, and this doesn't work either in MiKTeX 2.4...

Regards,
Jürgen.


  

You mention Win98. I have Enrico's production of CygLyX1.4.1 working
on Win98 in case there is version capability limitation. He has also 
released

CygLyx1.4.2 but I haven't tested that yet. I haven't tried Convtex on Win98
either (it has a sick cdrom drive). Nick Thomas is actively working on this
and wants testers and I'm sure he would appreciate somebody with some
scripting knowledge as a tester.

oolatex is a variant of htlatex with certain command line switches.
The command htlatex foo.tex = foo.html which can be imported into
Word, and changed to .doc, which OpenOffice can import works in
WinXP, untested in Win98(my mother has its mouse).

The unpolished output of htlatex:
http://www.mathematik.uni-marburg.de/~gumm/LyX/Using_XYpic_in_LyX.htm

The spaces in LY X can be fixed/typeset, see Ares 
http://wiki.lyx.org/LyX/Links
or to go directly: http://www.webalice.it/ares001/job/tips.html   
TipsTricks


I will send a copy of this post to Nick Thomas to introduce you.

Regards,
Stephen* http://www.webalice.it/ares001/job/tips.html
*




Re: index entries appear twice

2006-08-06 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 Now, I have the following problem. The entry appears twice in the index.

 It appears for the first time giving the page numbers of where the entry
 is in footnotes.

 Then it appears a second time giving the page numbers where the entry is
 in the main body of the text.

 Is there any way that I can convince it to adopt an all-in-one approach?

Your best bet is to use xindy instead of makeindex. With makeindex, you need 
some hacks to make it work, see this thread for explanation:
http://groups.google.de/group/comp.text.tex/browse_thread/thread/db7b96c84cbf4779/1a87f8217f89dba8

HTH,
Jürgen


Re: Help with citing multiple references at once

2006-08-06 Thread Lorenzo Paulatto
Adrian M. Peter ha scritto:
 I am having trouble trying to cite multiple references at once.

If I remember correctly there is something about you problem in the
extended features manual.

bye

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)
 

 

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 

 Sponsor:

 Scopri RIS il sistema di ricarica infinita. Meglio delle cartucce, meglio 
degli inchiostri, economico, facile da installare e da utilizzare, solo su 
refill.it

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5191d=6-8


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Bo Peng [EMAIL PROTECTED] wrote:

 And you do not get the ps output, is not it? If so, then the bug seems
 to be confirmed.

Please submit a bug in lyx bugzilla so that it will be taken care of for 1.4.3.


Thanks, Bo. I am trying to do so, but unfortunately there is no way to
attach the problematic files into bugzilla. Any ideas?

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

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

  And you do not get the ps output, is not it? If so, then the bug seems
  to be confirmed.

 Please submit a bug in lyx bugzilla so that it will be taken care of for 
1.4.3.

Thanks, Bo. I am trying to do so, but unfortunately there is no way to
attach the problematic files into bugzilla. Any ideas?


Successful meanwhile:

http://bugzilla.lyx.org/show_bug.cgi?id=2737

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Enrico Forestieri
Paul Smith [EMAIL PROTECTED] writes:
  On 8/5/06, Enrico Forestieri [EMAIL PROTECTED] wrote:
   I have tried to include a figure.pstex_t into a LyX document with
   'Insert - File - External Material', but I get the error when I
   'View - Postscript':
 
  Try including figure.fig directly.
 
 Just tried that, but getting the following error:

Please, add \usepackage{color} to the preamble.
I have no problem with your .fig file after that.

-- 
Enrico






Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Enrico Forestieri [EMAIL PROTECTED] wrote:

   I have tried to include a figure.pstex_t into a LyX document with
   'Insert - File - External Material', but I get the error when I
   'View - Postscript':
 
  Try including figure.fig directly.

 Just tried that, but getting the following error:

Please, add \usepackage{color} to the preamble.
I have no problem with your .fig file after that.


Yes, it works, as well as with the package xcolor. But should not it
be inserted by LyX automatically? If not, I will have to close the bug
that I opened this morning.

Paul


how to make the math symbol panels always appear?

2006-08-06 Thread Michael

Hi all,

I am a new LyX user. I particularly like the instant preview feature of the
LyX math typing environment and actually this is my primary motivation of
trying out LyX.

I want to ask if there is a way to make math symbol panels always appear as
a toolbar in the toolbar areas of the LyX GUI window? Many other editing
software display math symbol panels as a horizontal bar on the toolbar area
so it is easily accessible.

Currently in LyX I have to right click in the math equation box, and scroll
down a few menu items to find the symbol that I want. This is quite
troublesome.

Thanks a lot!


Re: AMS article show the language in the page titles

2006-08-06 Thread Jean-Marc Lasgouttes
 eris-lyx == eris-lyx  [EMAIL PROTECTED] writes:

eris-lyx Hello, I am brand new to LyX and LaTeX and have a question.
eris-lyx When I load the amsart-test.lyx example file and view it as
eris-lyx PDF, DVI, or Postscript output, the second and subsequent
eris-lyx pages all are titled englishDAVID L. JOHNSON. In my own
eris-lyx test document I created using the article (AMS) class, the
eris-lyx second and subsequent pages are titled englishMY DOCUMENT
eris-lyx TITLE using the title rather than the author.

This is a bug in the ams classes that only shows with some versions of
babel. You you update to latest versions of both programs, everything
should be OK.

JMarc


Re: branches cosmetics

2006-08-06 Thread Jean-Marc Lasgouttes
 Sven == Sven Schreiber [EMAIL PROTECTED] writes:

Sven Hi, I've just been working with branches for the first time, and
Sven noticed some minor quirks:

Sven 1) Apparently one cannot have spaces in branches names? And more
Sven importantly, later on the names are not editable?

Sven 3) In the branch dialog the add button doesn't react to return
Sven key even when it has the focus.

Please submit bugs for these two items, if you did not already.

JMarc


Re: interactive viewing of math symbols

2006-08-06 Thread Jean-Marc Lasgouttes
 Shourya == Shourya Prakash Otta [EMAIL PROTECTED] writes:

Shourya Thanks Bo. Should have checked it out before sending an
Shourya email. Looks like any key stroke works, other than a return
Shourya key.

This is a known problem, but I am not sure how to fix it.

JMarc


Re: Weird... Styles dropdown stopped working

2006-08-06 Thread Jean-Marc Lasgouttes
 John == John Coppens [EMAIL PROTECTED] writes:

John 1) I visited trolltech.com, and looked up the QDropDown widget.
John There I found that there were different styles according to the
John Motif 1/2, Windows, etc versions... The button I had was the
John Motif 1 version, so I was a little concerned about being
John outdated. I never found out how to determine which version I
John have...

John 2) I ran 'qtconfig' and found that the style of the buttons can
John easily be changed there. So I changed it, and, presto, it
John worked.

John I'd love to hear an explanation...

I do not have any. This bug has been reported earlier, but we never
managed to pinpoint it. Now at least we know it is related to the gui
style. 

JMarc


Re: Fw: Postscript preview

2006-08-06 Thread Paul A. Rubin

Stephen Harris wrote:


The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances.



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs.


It does indeed.  So I agree that hypothetically Leo's MATLAB 
installation could be generating PS files (using it's own copy of GS) 
that would be indigestible to LyX-ImageMagick-GS (using a different 
copy of GS in the last step).


That still raises the question of why those images would be successfully 
displayed in LyX (same LyX-ImageMagick-GS sequence) if an environment 
variable is deleted ... unless deletion of the environment variable 
affected which copy of GS was used (both on the command path?) ... in 
which case the bug would disappear, not switch to a different image.


All that said, this bug is clearly not playing fair, so it would be a 
good idea for Leo to check into this just to rule it out.


/Paul



New binaries on ftp.lyx.org

2006-08-06 Thread Jean-Marc Lasgouttes

Dear all, 

Now that I am back from vacation, I have uploaded the binaries that
were on ftp.devel.lyx.org to ftp.lyx.org/pub/lyx/bin/1.4.2

The platforms are: Mac/PPC, Mac/Intel, Cygwin, SUSE 10.1, Ubuntu
Dapper.

Please tell me if I forgot something. 

JMarc


preamble in general index

2006-08-06 Thread Catherine Heyrendt


I need a preamble to my general index, and I have found the following 
documentation:


http://tug.org/TeXnik/mainFAQ.cgi?file=Index/preamble

Having 2 indexes, how would I need to alter the following so that it 
applies to a general (as opposed to authors) index? (my almost-done phD 
thesis has to do with humanities, not science sadly...) Many thanks.


\newcommand{\theindexpreamble}{}
\renewenvironment{theindex}
   [EMAIL PROTECTED]
  [EMAIL PROTECTED]
\else
  [EMAIL PROTECTED]
\fi
\columnseprule \z@
\columnsep 35\p@
\twocolumn[\section*{\indexname}
%
  \theindexpreamble\\
  \renewcommand{\theindexpreamble}{}%
%
]%
[EMAIL PROTECTED]
{\MakeUppercase\indexname}%
\thispagestyle{plain}\parindent\z@
\parskip\z@ [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
   [EMAIL PROTECTED]


In the text you can write anywhere

\printindex

\renewcommand{\theindexpreamble}{% open the preamble!

This is the text for the preamble ... This is the text for the preamble 
...


}% close the preamble!


Re: Fw: Postscript preview

2006-08-06 Thread Stephen Harris

Paul A. Rubin wrote:

Stephen Harris wrote:


The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances.



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs.


It does indeed.  So I agree that hypothetically Leo's MATLAB 
installation could be generating PS files (using it's own copy of GS) 
that would be indigestible to LyX-ImageMagick-GS (using a different 
copy of GS in the last step).


That still raises the question of why those images would be 
successfully displayed in LyX (same LyX-ImageMagick-GS sequence) if 
an environment variable is deleted ... unless deletion of the 
environment variable affected which copy of GS was used (both on the 
command path?) ... in which case the bug would disappear, not switch 
to a different image.


All that said, this bug is clearly not playing fair, so it would be a 
good idea for Leo to check into this just to rule it out.


/Paul



Yes there has to be another dimension to this. Recall he reinstalled LyX to
C:\Lyx\lyx14 and the original problem files, I think it was test.ps, 
displayed

Ok, but then another figure reared its ugly wolverine head. I would think
that means that only some files are produced with the problem--either the
same gs executable produces files which vary in compatibility or maybe
system gs is producing the eps and it sometimes can't be read by an
older matlab gs executable. Well, that is getting pretty thin.

Maybe he could use the 1.4.1 lyx.bat and put Python at the beginning
of the Path_prefix and try it and if it doesn't work, then try ghostscript
at the beginning of Path_prefix also, but I think it is already. It would
seem that the set variables in lyx1.4.2 batfile would have to part of it,
but I don't know what they mean and they don't show up LC_ALL
I will google one more time matlab and aikasaurus but I think that
is just for Aspell. I'm not feeling well and can't concentrate. I've been
up for two days fighting with a virus and am tired and have lost one
partition on my hard drive. I guess its a trojan. Nope, I got a hit on
allosaurus and matlab, but no aikasaurus. It's a Linux critter anyway.

Regards,
Stephen


Re: Error while converting xfig figure

2006-08-06 Thread Enrico Forestieri
Paul Smith [EMAIL PROTECTED] writes:
 On 8/6/06, Enrico Forestieri [EMAIL PROTECTED] wrote:
[...]
  Please, add \usepackage{color} to the preamble.
  I have no problem with your .fig file after that.
 
 Yes, it works, as well as with the package xcolor. But should not it
 be inserted by LyX automatically? If not, I will have to close the bug
 that I opened this morning.

I think it was already in bugzilla:
http://bugzilla.lyx.org/show_bug.cgi?id=2716

-- 
Enrico





Re: Composing a letter with Header/Footer

2006-08-06 Thread Richard Heck

Yes, it's true: the \opening macro in letter.cls includes:
\thispagestyle{firstpage} or \thispagestyle{empty}, depending upon
whether \fromaddress is empty. However, one simple solution, I believe,
would be declare, just after \opening, \thispagestyle{fancy} in ERT.
Exactly where this should be put I don't know, but if you put it at the
beginning of the first paragraph, that might do the trick.

Alternatively, you could just redeclare the \opening macro. Find
letter.cls on your system, cut and paste the \opening macro into the
preamble, and remove the offending \thispagestyle commands. Oh, and
change the \newcommand to a \renewcommand.

Richard

Pepe Barbe wrote:
 Hi,

 I am new to LyX and LaTeX in general, but I have a basic grasp of how
 to work with them.

 Currently I am interested in using LyX to create a template for
 letters. The letter template would work fine for except that I would
 like to add a footer. I tried using the fancyhdr package but it does
 not work at all. It seems that the \opening macro in the letter
 template redefines the pagestyle, so when I include this command the
 Fancy Headers defined in the preamble just disappear (I am just
 guessing here).

 I was wondering if someone might point me to some solution to this
 problem as I am sure I am not the one asking this question for the
 first time.

 I found this post to be regarding the same issue but I haven't been
 able to make it work yet:

 http://article.gmane.org/gmane.editors.lyx.general/29213

 If anyone has some idea on how to make this work, I would appreciate
 that.

 Thanks,
 Pepe



Re: how to make the math symbol panels always appear?

2006-08-06 Thread Richard Heck

 [I]s a way to make math symbol panels always appear as a toolbar in
 the toolbar areas of the LyX GUI window? Many other editing software
 display math symbol panels as a horizontal bar on the toolbar area so
 it is easily accessible. Currently in LyX I have to right click in the
 math equation box, and scroll down a few menu items to find the symbol
 that I want. This is quite troublesome.
I'm not sure you'd really want to do quite that: The math panel has
dozens of things on it, and that would make for a very large toolbar!
However, that said, the toolbars are easily editable. Look at the file
stdtoolbars.ui and, in particular, at the math toolbar that is defined
there and you will see what is possible: You can put whatever symbols
you like on the toolbar, and do much else besides.

The best way to proceed here is to create a new file---say,
mytoolbars.ui---in your local LyX
directory---/home/you/.lyx/ui/mytoolbars.ui, say---and create whatever
toolbars you want in that file. Then copy default.ui or classic.ui,
whichever you are using, to /home/you/.lyx/ui/ as well and add the line
Include mytoolbars.ui
Then, in the Toolbars section, include a line like:
mymath on,top
to put your math toolbar on top and on by default.

Richard



Re: menu-open documents

2006-08-06 Thread Jens Noeckel


On Aug 5, 2006, at 2:40 PM, Paul A. Rubin wrote:


Jens Noeckel wrote:

Hi,
in LyX 1.4.2 on Mac OS X, I'm missing a LyX function that used to  
work in LyX 1.3.6: menu-open documents which used to bring up a  
menu with all open buffers that I could then navigate with the  
arrow keys. Under xemacs.bind, this function is bound to C-x C-b.  
I've looked at the list of lfuncs and tried various things but  
nothing brings up this buffer menu anymore. When I enter menu- 
open documents in the minibuffer, LyX does NOT complain that the  
function is unknown, and echos the correct keybinding for it in  
the status line. But no buffer menu appears. So I'm suspecting  
this is a bug.


No, it's just a consequence of changes to the menus from 1.3.x to  
1.4.x.


Try menu-open view.  The menu-open command emulates your  
clicking on a menu (or typing its accelerator key).  The old  
documents menu is gone, and the new document menu only applies  
to the current buffer. The list of loaded documents is now at the  
bottom of the view menu.


Thanks, that's what I wanted to know. So it would probably be a good  
idea to permanently modify the versions of emacs.bind and xemacs.bind  
that are shipped with LyX 1.4.2 accordingly: i.e, replace the line

\bind C-x C-bmenu-open documents
by
\bind C-x C-bmenu-open view
in order to get back that emacs-like feature. Looks like none of the  
other standard bind files makes use of that particular function...


Jens




Help with citing multiple references at once

2006-08-06 Thread Adrian M. Peter
Hello,

 

I am having trouble trying to cite multiple references at once.  In LyX, I
select citation and put in multiple references at once, for the sake of this
example let's say two: 'ref1' and 'ref2'.  In the LyX, document it shows up
as [ref1,ref2].  However, when I view the DVI or export to PDF the
references show up as [ref1], [ref2] instead of [ref1,ref2].  I am pretty
sure this has to do with the IEEEtran article class I am using.  But is
there a way to force it to include the multiple references in a single set
of brackets?  I am using LyX 1.4.1 on Widows.  Thank you for you help.

 

Adrian

  



Re: Fw: Postscript preview

2006-08-06 Thread Stephen Harris

Paul A. Rubin wrote:

LB wrote:


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.


This is again confusing, though perhaps no more confusing than the 
fact that deleting unneeded environment variables (other than LC_ALL 
and the aiksaurus one) did not help.


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.


Is there anything that the names/paths of the two affected figures 
have in common which is not shared by the other files.  For instance, 
are they the longest paths, do they lie deeper in the directory tree 
than other figures, ... ?


Stephen's idea of a second Ghostscript installation strikes me as 
possible but unlikely (and unlikely to be the culprit), since there 
would need to be something causing ImageMagick to alternate between 
the two GS installations on a figure-by-figure basis within the 
document (meaning that something in the figure names/paths would have 
to be triggering the switching).  Also, Mathematica exports EPS 
without using GS and without installing its own GS, so I suspect the 
same might be true of MATLAB.  Still, the whole bug is unlikely, so we 
shouldn't presume anything.


It would be nice if we could intercept the call from IM to GS and see 
what's being passed, but so far I have not figured out how.


/Paul




-

http://www.mathworks.com/support/solutions/data/1-ZBALJ.html?solution=1-ZBALJ

The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances.



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs. With an earlier distro of
LyX I also had XemTeX installed which comes with its own Gs.
It had a different version of Gs and the .dlls conflicted with LyX
which was solved by moving Xemtex to the end of Windows Path.

I'm pretty sure that lyx.exe checks the LyX directory for various
executables because Enrico's batfiles seem to use this principle.
I'm not so sure about lyx.bat because I thought it was possible
that those set commands could change which Gs was invoked.
I don't know what they do, the consequences of their mechanism.

One major difference in the our environments and Leo's is that
he has Matlab installed and we don't. I'm pretty sure that Matlab
has Gs installed since I've googled and seen it listed as a sub-dir
of Matlab's directory structure (though only for Linux). It should
take Leo less than thirty seconds to find out with Win Explorer.
I 've a hunch that his Matlab Gs version is earlier than his system
Gs, supposing that there are two instances.

My troubleshooting idea was to eliminate both ways a Gs version
conflict could happen and to use lyx.exe first before lyx.bat to see
if the .eps file itself (command line parameters used) perhaps had
a version glitch and I thought it would take about 5 minutes
(without Matlab running) to see if this affected the problem. I
think the Matlab doc I just reported upon supports this possibility.
We also have a more recent version of system Ghostscript.

My Sherlock Holmes sig, (inmates on death row tell jokes by #)

Stephen


Re: openoffice

2006-08-06 Thread Stephen Harris

Juergen Fenn wrote:

Stephen Harris [EMAIL PROTECTED] writes:

  

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]



Yes, it still uses the OOo1 format sxw.

  

which probably works a bit better on Linux than Windows.



I've just tried it out on my Win98 box. There seem to be commands in
the convtex.bat file that do not work under Win98. There also seem to
be problems with handling paths. I've rewritten the batch file and the
two other config files provided in the package to fit to my system,
but it still doesn't work. :-(

I'll keep on trying. 8-) Thanks for the hint, anyway. Didn't know
about the project yet. Seems an interesting idea because the only
other project for converting TeX  OOo that I know of is oolatex from
tex4ht, and this doesn't work either in MiKTeX 2.4...

Regards,
Jürgen.


  

You mention Win98. I have Enrico's production of CygLyX1.4.1 working
on Win98 in case there is version capability limitation. He has also 
released

CygLyx1.4.2 but I haven't tested that yet. I haven't tried Convtex on Win98
either (it has a sick cdrom drive). Nick Thomas is actively working on this
and wants testers and I'm sure he would appreciate somebody with some
scripting knowledge as a tester.

oolatex is a variant of htlatex with certain command line switches.
The command htlatex foo.tex = foo.html which can be imported into
Word, and changed to .doc, which OpenOffice can import works in
WinXP, untested in Win98(my mother has its mouse).

The unpolished output of htlatex:
http://www.mathematik.uni-marburg.de/~gumm/LyX/Using_XYpic_in_LyX.htm

The spaces in LY X can be fixed/typeset, see Ares 
http://wiki.lyx.org/LyX/Links
or to go directly: http://www.webalice.it/ares001/job/tips.html   
TipsTricks


I will send a copy of this post to Nick Thomas to introduce you.

Regards,
Stephen* http://www.webalice.it/ares001/job/tips.html
*




Re: index entries appear twice

2006-08-06 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
 Now, I have the following problem. The entry appears twice in the index.

 It appears for the first time giving the page numbers of where the entry
 is in footnotes.

 Then it appears a second time giving the page numbers where the entry is
 in the main body of the text.

 Is there any way that I can convince it to adopt an all-in-one approach?

Your best bet is to use xindy instead of makeindex. With makeindex, you need 
some hacks to make it work, see this thread for explanation:
http://groups.google.de/group/comp.text.tex/browse_thread/thread/db7b96c84cbf4779/1a87f8217f89dba8

HTH,
Jürgen


Re: Help with citing multiple references at once

2006-08-06 Thread Lorenzo Paulatto
Adrian M. Peter ha scritto:
 I am having trouble trying to cite multiple references at once.

If I remember correctly there is something about you problem in the
extended features manual.

bye

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)
 

 

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 

 Sponsor:

 Scopri RIS il sistema di ricarica infinita. Meglio delle cartucce, meglio 
degli inchiostri, economico, facile da installare e da utilizzare, solo su 
refill.it

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5191d=6-8


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Bo Peng [EMAIL PROTECTED] wrote:

 And you do not get the ps output, is not it? If so, then the bug seems
 to be confirmed.

Please submit a bug in lyx bugzilla so that it will be taken care of for 1.4.3.


Thanks, Bo. I am trying to do so, but unfortunately there is no way to
attach the problematic files into bugzilla. Any ideas?

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

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

  And you do not get the ps output, is not it? If so, then the bug seems
  to be confirmed.

 Please submit a bug in lyx bugzilla so that it will be taken care of for 
1.4.3.

Thanks, Bo. I am trying to do so, but unfortunately there is no way to
attach the problematic files into bugzilla. Any ideas?


Successful meanwhile:

http://bugzilla.lyx.org/show_bug.cgi?id=2737

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Enrico Forestieri
Paul Smith [EMAIL PROTECTED] writes:
  On 8/5/06, Enrico Forestieri [EMAIL PROTECTED] wrote:
   I have tried to include a figure.pstex_t into a LyX document with
   'Insert - File - External Material', but I get the error when I
   'View - Postscript':
 
  Try including figure.fig directly.
 
 Just tried that, but getting the following error:

Please, add \usepackage{color} to the preamble.
I have no problem with your .fig file after that.

-- 
Enrico






Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Enrico Forestieri [EMAIL PROTECTED] wrote:

   I have tried to include a figure.pstex_t into a LyX document with
   'Insert - File - External Material', but I get the error when I
   'View - Postscript':
 
  Try including figure.fig directly.

 Just tried that, but getting the following error:

Please, add \usepackage{color} to the preamble.
I have no problem with your .fig file after that.


Yes, it works, as well as with the package xcolor. But should not it
be inserted by LyX automatically? If not, I will have to close the bug
that I opened this morning.

Paul


how to make the math symbol panels always appear?

2006-08-06 Thread Michael

Hi all,

I am a new LyX user. I particularly like the instant preview feature of the
LyX math typing environment and actually this is my primary motivation of
trying out LyX.

I want to ask if there is a way to make math symbol panels always appear as
a toolbar in the toolbar areas of the LyX GUI window? Many other editing
software display math symbol panels as a horizontal bar on the toolbar area
so it is easily accessible.

Currently in LyX I have to right click in the math equation box, and scroll
down a few menu items to find the symbol that I want. This is quite
troublesome.

Thanks a lot!


Re: AMS article show the language in the page titles

2006-08-06 Thread Jean-Marc Lasgouttes
 eris-lyx == eris-lyx  [EMAIL PROTECTED] writes:

eris-lyx Hello, I am brand new to LyX and LaTeX and have a question.
eris-lyx When I load the amsart-test.lyx example file and view it as
eris-lyx PDF, DVI, or Postscript output, the second and subsequent
eris-lyx pages all are titled englishDAVID L. JOHNSON. In my own
eris-lyx test document I created using the article (AMS) class, the
eris-lyx second and subsequent pages are titled englishMY DOCUMENT
eris-lyx TITLE using the title rather than the author.

This is a bug in the ams classes that only shows with some versions of
babel. You you update to latest versions of both programs, everything
should be OK.

JMarc


Re: branches cosmetics

2006-08-06 Thread Jean-Marc Lasgouttes
 Sven == Sven Schreiber [EMAIL PROTECTED] writes:

Sven Hi, I've just been working with branches for the first time, and
Sven noticed some minor quirks:

Sven 1) Apparently one cannot have spaces in branches names? And more
Sven importantly, later on the names are not editable?

Sven 3) In the branch dialog the add button doesn't react to return
Sven key even when it has the focus.

Please submit bugs for these two items, if you did not already.

JMarc


Re: interactive viewing of math symbols

2006-08-06 Thread Jean-Marc Lasgouttes
 Shourya == Shourya Prakash Otta [EMAIL PROTECTED] writes:

Shourya Thanks Bo. Should have checked it out before sending an
Shourya email. Looks like any key stroke works, other than a return
Shourya key.

This is a known problem, but I am not sure how to fix it.

JMarc


Re: Weird... Styles dropdown stopped working

2006-08-06 Thread Jean-Marc Lasgouttes
 John == John Coppens [EMAIL PROTECTED] writes:

John 1) I visited trolltech.com, and looked up the QDropDown widget.
John There I found that there were different styles according to the
John Motif 1/2, Windows, etc versions... The button I had was the
John Motif 1 version, so I was a little concerned about being
John outdated. I never found out how to determine which version I
John have...

John 2) I ran 'qtconfig' and found that the style of the buttons can
John easily be changed there. So I changed it, and, presto, it
John worked.

John I'd love to hear an explanation...

I do not have any. This bug has been reported earlier, but we never
managed to pinpoint it. Now at least we know it is related to the gui
style. 

JMarc


Re: Fw: Postscript preview

2006-08-06 Thread Paul A. Rubin

Stephen Harris wrote:


The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances.



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs.


It does indeed.  So I agree that hypothetically Leo's MATLAB 
installation could be generating PS files (using it's own copy of GS) 
that would be indigestible to LyX-ImageMagick-GS (using a different 
copy of GS in the last step).


That still raises the question of why those images would be successfully 
displayed in LyX (same LyX-ImageMagick-GS sequence) if an environment 
variable is deleted ... unless deletion of the environment variable 
affected which copy of GS was used (both on the command path?) ... in 
which case the bug would disappear, not switch to a different image.


All that said, this bug is clearly not playing fair, so it would be a 
good idea for Leo to check into this just to rule it out.


/Paul



New binaries on ftp.lyx.org

2006-08-06 Thread Jean-Marc Lasgouttes

Dear all, 

Now that I am back from vacation, I have uploaded the binaries that
were on ftp.devel.lyx.org to ftp.lyx.org/pub/lyx/bin/1.4.2

The platforms are: Mac/PPC, Mac/Intel, Cygwin, SUSE 10.1, Ubuntu
Dapper.

Please tell me if I forgot something. 

JMarc


preamble in general index

2006-08-06 Thread Catherine Heyrendt


I need a preamble to my general index, and I have found the following 
documentation:


http://tug.org/TeXnik/mainFAQ.cgi?file=Index/preamble

Having 2 indexes, how would I need to alter the following so that it 
applies to a general (as opposed to authors) index? (my almost-done phD 
thesis has to do with humanities, not science sadly...) Many thanks.


\newcommand{\theindexpreamble}{}
\renewenvironment{theindex}
   [EMAIL PROTECTED]
  [EMAIL PROTECTED]
\else
  [EMAIL PROTECTED]
\fi
\columnseprule \z@
\columnsep 35\p@
\twocolumn[\section*{\indexname}
%
  \theindexpreamble\\
  \renewcommand{\theindexpreamble}{}%
%
]%
[EMAIL PROTECTED]
{\MakeUppercase\indexname}%
\thispagestyle{plain}\parindent\z@
\parskip\z@ [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
   [EMAIL PROTECTED]


In the text you can write anywhere

\printindex

\renewcommand{\theindexpreamble}{% open the preamble!

This is the text for the preamble ... This is the text for the preamble 
...


}% close the preamble!


Re: Fw: Postscript preview

2006-08-06 Thread Stephen Harris

Paul A. Rubin wrote:

Stephen Harris wrote:


The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances.



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs.


It does indeed.  So I agree that hypothetically Leo's MATLAB 
installation could be generating PS files (using it's own copy of GS) 
that would be indigestible to LyX-ImageMagick-GS (using a different 
copy of GS in the last step).


That still raises the question of why those images would be 
successfully displayed in LyX (same LyX-ImageMagick-GS sequence) if 
an environment variable is deleted ... unless deletion of the 
environment variable affected which copy of GS was used (both on the 
command path?) ... in which case the bug would disappear, not switch 
to a different image.


All that said, this bug is clearly not playing fair, so it would be a 
good idea for Leo to check into this just to rule it out.


/Paul



Yes there has to be another dimension to this. Recall he reinstalled LyX to
C:\Lyx\lyx14 and the original problem files, I think it was test.ps, 
displayed

Ok, but then another figure reared its ugly wolverine head. I would think
that means that only some files are produced with the problem--either the
same gs executable produces files which vary in compatibility or maybe
system gs is producing the eps and it sometimes can't be read by an
older matlab gs executable. Well, that is getting pretty thin.

Maybe he could use the 1.4.1 lyx.bat and put Python at the beginning
of the Path_prefix and try it and if it doesn't work, then try ghostscript
at the beginning of Path_prefix also, but I think it is already. It would
seem that the set variables in lyx1.4.2 batfile would have to part of it,
but I don't know what they mean and they don't show up LC_ALL
I will google one more time matlab and aikasaurus but I think that
is just for Aspell. I'm not feeling well and can't concentrate. I've been
up for two days fighting with a virus and am tired and have lost one
partition on my hard drive. I guess its a trojan. Nope, I got a hit on
allosaurus and matlab, but no aikasaurus. It's a Linux critter anyway.

Regards,
Stephen


Re: Error while converting xfig figure

2006-08-06 Thread Enrico Forestieri
Paul Smith [EMAIL PROTECTED] writes:
 On 8/6/06, Enrico Forestieri [EMAIL PROTECTED] wrote:
[...]
  Please, add \usepackage{color} to the preamble.
  I have no problem with your .fig file after that.
 
 Yes, it works, as well as with the package xcolor. But should not it
 be inserted by LyX automatically? If not, I will have to close the bug
 that I opened this morning.

I think it was already in bugzilla:
http://bugzilla.lyx.org/show_bug.cgi?id=2716

-- 
Enrico





Re: Composing a letter with Header/Footer

2006-08-06 Thread Richard Heck

Yes, it's true: the \opening macro in letter.cls includes:
\thispagestyle{firstpage} or \thispagestyle{empty}, depending upon
whether \fromaddress is empty. However, one simple solution, I believe,
would be declare, just after \opening, \thispagestyle{fancy} in ERT.
Exactly where this should be put I don't know, but if you put it at the
beginning of the first paragraph, that might do the trick.

Alternatively, you could just redeclare the \opening macro. Find
letter.cls on your system, cut and paste the \opening macro into the
preamble, and remove the offending \thispagestyle commands. Oh, and
change the \newcommand to a \renewcommand.

Richard

Pepe Barbe wrote:
 Hi,

 I am new to LyX and LaTeX in general, but I have a basic grasp of how
 to work with them.

 Currently I am interested in using LyX to create a template for
 letters. The letter template would work fine for except that I would
 like to add a footer. I tried using the fancyhdr package but it does
 not work at all. It seems that the \opening macro in the letter
 template redefines the pagestyle, so when I include this command the
 Fancy Headers defined in the preamble just disappear (I am just
 guessing here).

 I was wondering if someone might point me to some solution to this
 problem as I am sure I am not the one asking this question for the
 first time.

 I found this post to be regarding the same issue but I haven't been
 able to make it work yet:

 http://article.gmane.org/gmane.editors.lyx.general/29213

 If anyone has some idea on how to make this work, I would appreciate
 that.

 Thanks,
 Pepe



Re: how to make the math symbol panels always appear?

2006-08-06 Thread Richard Heck

 [I]s a way to make math symbol panels always appear as a toolbar in
 the toolbar areas of the LyX GUI window? Many other editing software
 display math symbol panels as a horizontal bar on the toolbar area so
 it is easily accessible. Currently in LyX I have to right click in the
 math equation box, and scroll down a few menu items to find the symbol
 that I want. This is quite troublesome.
I'm not sure you'd really want to do quite that: The math panel has
dozens of things on it, and that would make for a very large toolbar!
However, that said, the toolbars are easily editable. Look at the file
stdtoolbars.ui and, in particular, at the math toolbar that is defined
there and you will see what is possible: You can put whatever symbols
you like on the toolbar, and do much else besides.

The best way to proceed here is to create a new file---say,
mytoolbars.ui---in your local LyX
directory---/home/you/.lyx/ui/mytoolbars.ui, say---and create whatever
toolbars you want in that file. Then copy default.ui or classic.ui,
whichever you are using, to /home/you/.lyx/ui/ as well and add the line
Include mytoolbars.ui
Then, in the Toolbars section, include a line like:
mymath on,top
to put your math toolbar on top and on by default.

Richard



Re: menu-open documents

2006-08-06 Thread Jens Noeckel


On Aug 5, 2006, at 2:40 PM, Paul A. Rubin wrote:


Jens Noeckel wrote:

Hi,
in LyX 1.4.2 on Mac OS X, I'm missing a LyX function that used to  
work in LyX 1.3.6: menu-open documents which used to bring up a  
menu with all open buffers that I could then navigate with the  
arrow keys. Under xemacs.bind, this function is bound to C-x C-b.  
I've looked at the list of lfuncs and tried various things but  
nothing brings up this buffer menu anymore. When I enter menu- 
open documents in the minibuffer, LyX does NOT complain that the  
function is unknown, and echos the correct keybinding for it in  
the status line. But no buffer menu appears. So I'm suspecting  
this is a bug.


No, it's just a consequence of changes to the menus from 1.3.x to  
1.4.x.


Try menu-open view.  The menu-open command emulates your  
clicking on a menu (or typing its accelerator key).  The old  
documents menu is gone, and the new document menu only applies  
to the current buffer. The list of loaded documents is now at the  
bottom of the view menu.


Thanks, that's what I wanted to know. So it would probably be a good  
idea to permanently modify the versions of emacs.bind and xemacs.bind  
that are shipped with LyX 1.4.2 accordingly: i.e, replace the line

\bind C-x C-bmenu-open documents
by
\bind C-x C-bmenu-open view
in order to get back that emacs-like feature. Looks like none of the  
other standard bind files makes use of that particular function...


Jens




Help with citing multiple references at once

2006-08-06 Thread Adrian M. Peter
Hello,

 

I am having trouble trying to cite multiple references at once.  In LyX, I
select citation and put in multiple references at once, for the sake of this
example let's say two: 'ref1' and 'ref2'.  In the LyX, document it shows up
as [ref1,ref2].  However, when I view the DVI or export to PDF the
references show up as [ref1], [ref2] instead of [ref1,ref2].  I am pretty
sure this has to do with the IEEEtran article class I am using.  But is
there a way to force it to include the multiple references in a single set
of brackets?  I am using LyX 1.4.1 on Widows.  Thank you for you help.

 

Adrian

  



Re: Fw: Postscript preview

2006-08-06 Thread Stephen Harris

Paul A. Rubin wrote:

LB wrote:


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.


This is again confusing, though perhaps no more confusing than the 
fact that deleting unneeded environment variables (other than LC_ALL 
and the aiksaurus one) did not help.


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.


Is there anything that the names/paths of the two affected figures 
have in common which is not shared by the other files.  For instance, 
are they the longest paths, do they lie deeper in the directory tree 
than other figures, ... ?


Stephen's idea of a second Ghostscript installation strikes me as 
possible but unlikely (and unlikely to be the culprit), since there 
would need to be something causing ImageMagick to alternate between 
the two GS installations on a figure-by-figure basis within the 
document (meaning that something in the figure names/paths would have 
to be triggering the switching).  Also, Mathematica exports EPS 
without using GS and without installing its own GS, so I suspect the 
same might be true of MATLAB.  Still, the whole bug is unlikely, so we 
shouldn't presume anything.


It would be nice if we could intercept the call from IM to GS and see 
what's being passed, but so far I have not figured out how.


/Paul




-

http://www.mathworks.com/support/solutions/data/1-ZBALJ.html?solution=1-ZBALJ

"The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances."



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs. With an earlier distro of
LyX I also had XemTeX installed which comes with its own Gs.
It had a different version of Gs and the .dlls conflicted with LyX
which was solved by moving Xemtex to the end of Windows Path.

I'm pretty sure that lyx.exe checks the LyX directory for various
executables because Enrico's batfiles seem to use this principle.
I'm not so sure about lyx.bat because I thought it was possible
that those set commands could change which Gs was invoked.
I don't know what they do, the consequences of their mechanism.

One major difference in the our environments and Leo's is that
he has Matlab installed and we don't. I'm pretty sure that Matlab
has Gs installed since I've googled and seen it listed as a sub-dir
of Matlab's directory structure (though only for Linux). It should
take Leo less than thirty seconds to find out with Win Explorer.
I 've a hunch that his Matlab Gs version is earlier than his system
Gs, supposing that there are two instances.

My troubleshooting idea was to eliminate both ways a Gs version
conflict could happen and to use lyx.exe first before lyx.bat to see
if the .eps file itself (command line parameters used) perhaps had
a version glitch and I thought it would take about 5 minutes
(without Matlab running) to see if this affected the problem. I
think the Matlab doc I just reported upon supports this possibility.
We also have a more recent version of system Ghostscript.

My Sherlock Holmes sig, (inmates on death row tell jokes by #)

Stephen


Re: openoffice

2006-08-06 Thread Stephen Harris

Juergen Fenn wrote:

Stephen Harris <[EMAIL PROTECTED]> writes:

  

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]



Yes, it still uses the OOo1 format sxw.

  

which probably works a bit better on Linux than Windows.



I've just tried it out on my Win98 box. There seem to be commands in
the convtex.bat file that do not work under Win98. There also seem to
be problems with handling paths. I've rewritten the batch file and the
two other config files provided in the package to fit to my system,
but it still doesn't work. :-(

I'll keep on trying. 8-) Thanks for the hint, anyway. Didn't know
about the project yet. Seems an interesting idea because the only
other project for converting TeX > OOo that I know of is oolatex from
tex4ht, and this doesn't work either in MiKTeX 2.4...

Regards,
Jürgen.


  

You mention Win98. I have Enrico's production of CygLyX1.4.1 working
on Win98 in case there is version capability limitation. He has also 
released

CygLyx1.4.2 but I haven't tested that yet. I haven't tried Convtex on Win98
either (it has a sick cdrom drive). Nick Thomas is actively working on this
and wants testers and I'm sure he would appreciate somebody with some
scripting knowledge as a tester.

oolatex is a variant of htlatex with certain command line switches.
The command "htlatex foo.tex" = foo.html which can be imported into
Word, and changed to .doc, which OpenOffice can import works in
WinXP, untested in Win98(my mother has its mouse).

The unpolished output of htlatex:
http://www.mathematik.uni-marburg.de/~gumm/LyX/Using_XYpic_in_LyX.htm

The spaces in LY X can be fixed/typeset, see Ares 
http://wiki.lyx.org/LyX/Links
or to go directly: http://www.webalice.it/ares001/job/tips.html   
Tips


I will send a copy of this post to Nick Thomas to introduce you.

Regards,
Stephen* 
*




Re: index entries appear twice

2006-08-06 Thread Juergen Spitzmueller
Catherine Heyrendt wrote:
> Now, I have the following problem. The entry appears twice in the index.
>
> It appears for the first time giving the page numbers of where the entry
> is in footnotes.
>
> Then it appears a second time giving the page numbers where the entry is
> in the main body of the text.
>
> Is there any way that I can convince it to adopt an all-in-one approach?

Your best bet is to use xindy instead of makeindex. With makeindex, you need 
some hacks to make it work, see this thread for explanation:
http://groups.google.de/group/comp.text.tex/browse_thread/thread/db7b96c84cbf4779/1a87f8217f89dba8

HTH,
Jürgen


Re: Help with citing multiple references at once

2006-08-06 Thread Lorenzo Paulatto
Adrian M. Peter ha scritto:
> I am having trouble trying to cite multiple references at once.

If I remember correctly there is something about you problem in the
extended features manual.

bye

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)
 

 

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 

 Sponsor:

 Scopri RIS il sistema di ricarica infinita. Meglio delle cartucce, meglio 
degli inchiostri, economico, facile da installare e da utilizzare, solo su 
refill.it

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5191=6-8


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Bo Peng <[EMAIL PROTECTED]> wrote:

> And you do not get the ps output, is not it? If so, then the bug seems
> to be confirmed.

Please submit a bug in lyx bugzilla so that it will be taken care of for 1.4.3.


Thanks, Bo. I am trying to do so, but unfortunately there is no way to
attach the problematic files into bugzilla. Any ideas?

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Paul Smith <[EMAIL PROTECTED]> wrote:

> > And you do not get the ps output, is not it? If so, then the bug seems
> > to be confirmed.
>
> Please submit a bug in lyx bugzilla so that it will be taken care of for 
1.4.3.

Thanks, Bo. I am trying to do so, but unfortunately there is no way to
attach the problematic files into bugzilla. Any ideas?


Successful meanwhile:

http://bugzilla.lyx.org/show_bug.cgi?id=2737

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Enrico Forestieri
Paul Smith <[EMAIL PROTECTED]> writes:
 > On 8/5/06, Enrico Forestieri <[EMAIL PROTECTED]> wrote:
> > > I have tried to include a figure.pstex_t into a LyX document with
> > > 'Insert -> File -> External Material', but I get the error when I
> > > 'View -> Postscript':
> >
> > Try including figure.fig directly.
> 
> Just tried that, but getting the following error:

Please, add \usepackage{color} to the preamble.
I have no problem with your .fig file after that.

-- 
Enrico






Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Enrico Forestieri <[EMAIL PROTECTED]> wrote:

> > > I have tried to include a figure.pstex_t into a LyX document with
> > > 'Insert -> File -> External Material', but I get the error when I
> > > 'View -> Postscript':
> >
> > Try including figure.fig directly.
>
> Just tried that, but getting the following error:

Please, add \usepackage{color} to the preamble.
I have no problem with your .fig file after that.


Yes, it works, as well as with the package xcolor. But should not it
be inserted by LyX automatically? If not, I will have to close the bug
that I opened this morning.

Paul


how to make the math symbol panels always appear?

2006-08-06 Thread Michael

Hi all,

I am a new LyX user. I particularly like the instant preview feature of the
LyX math typing environment and actually this is my primary motivation of
trying out LyX.

I want to ask if there is a way to make math symbol panels always appear as
a toolbar in the toolbar areas of the LyX GUI window? Many other editing
software display math symbol panels as a horizontal bar on the toolbar area
so it is easily accessible.

Currently in LyX I have to right click in the math equation box, and scroll
down a few menu items to find the symbol that I want. This is quite
troublesome.

Thanks a lot!


Re: AMS article show the language in the page titles

2006-08-06 Thread Jean-Marc Lasgouttes
> "eris-lyx" == eris-lyx  <[EMAIL PROTECTED]> writes:

eris-lyx> Hello, I am brand new to LyX and LaTeX and have a question.
eris-lyx> When I load the amsart-test.lyx example file and view it as
eris-lyx> PDF, DVI, or Postscript output, the second and subsequent
eris-lyx> pages all are titled "englishDAVID L. JOHNSON". In my own
eris-lyx> test document I created using the article (AMS) class, the
eris-lyx> second and subsequent pages are titled "englishMY DOCUMENT
eris-lyx> TITLE" using the title rather than the author.

This is a bug in the ams classes that only shows with some versions of
babel. You you update to latest versions of both programs, everything
should be OK.

JMarc


Re: branches cosmetics

2006-08-06 Thread Jean-Marc Lasgouttes
> "Sven" == Sven Schreiber <[EMAIL PROTECTED]> writes:

Sven> Hi, I've just been working with branches for the first time, and
Sven> noticed some minor quirks:

Sven> 1) Apparently one cannot have spaces in branches names? And more
Sven> importantly, later on the names are not editable?

Sven> 3) In the branch dialog the add button doesn't react to return
Sven> key even when it has the focus.

Please submit bugs for these two items, if you did not already.

JMarc


Re: interactive viewing of math symbols

2006-08-06 Thread Jean-Marc Lasgouttes
> "Shourya" == Shourya Prakash Otta <[EMAIL PROTECTED]> writes:

Shourya> Thanks Bo. Should have checked it out before sending an
Shourya> email. Looks like any key stroke works, other than a return
Shourya> key.

This is a known problem, but I am not sure how to fix it.

JMarc


Re: Weird... Styles dropdown stopped working

2006-08-06 Thread Jean-Marc Lasgouttes
> "John" == John Coppens <[EMAIL PROTECTED]> writes:

John> 1) I visited trolltech.com, and looked up the QDropDown widget.
John> There I found that there were different styles according to the
John> Motif 1/2, Windows, etc versions... The button I had was the
John> Motif 1 version, so I was a little concerned about being
John> outdated. I never found out how to determine which version I
John> have...

John> 2) I ran 'qtconfig' and found that the style of the buttons can
John> easily be changed there. So I changed it, and, presto, it
John> worked.

John> I'd love to hear an explanation...

I do not have any. This bug has been reported earlier, but we never
managed to pinpoint it. Now at least we know it is related to the gui
style. 

JMarc


Re: Fw: Postscript preview

2006-08-06 Thread Paul A. Rubin

Stephen Harris wrote:


"The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances."



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs.


It does indeed.  So I agree that hypothetically Leo's MATLAB 
installation could be generating PS files (using it's own copy of GS) 
that would be indigestible to LyX->ImageMagick->GS (using a different 
copy of GS in the last step).


That still raises the question of why those images would be successfully 
displayed in LyX (same LyX->ImageMagick->GS sequence) if an environment 
variable is deleted ... unless deletion of the environment variable 
affected which copy of GS was used (both on the command path?) ... in 
which case the bug would disappear, not switch to a different image.


All that said, this bug is clearly not playing fair, so it would be a 
good idea for Leo to check into this just to rule it out.


/Paul



New binaries on ftp.lyx.org

2006-08-06 Thread Jean-Marc Lasgouttes

Dear all, 

Now that I am back from vacation, I have uploaded the binaries that
were on ftp.devel.lyx.org to ftp.lyx.org/pub/lyx/bin/1.4.2

The platforms are: Mac/PPC, Mac/Intel, Cygwin, SUSE 10.1, Ubuntu
Dapper.

Please tell me if I forgot something. 

JMarc


preamble in general index

2006-08-06 Thread Catherine Heyrendt


I need a preamble to my general index, and I have found the following 
documentation:


http://tug.org/TeXnik/mainFAQ.cgi?file=Index/preamble

Having 2 indexes, how would I need to alter the following so that it 
applies to a general (as opposed to authors) index? (my almost-done phD 
thesis has to do with humanities, not science sadly...) Many thanks.


\newcommand{\theindexpreamble}{}
\renewenvironment{theindex}
   [EMAIL PROTECTED]
  [EMAIL PROTECTED]
\else
  [EMAIL PROTECTED]
\fi
\columnseprule \z@
\columnsep 35\p@
\twocolumn[\section*{\indexname}
%
  \theindexpreamble\\
  \renewcommand{\theindexpreamble}{}%
%
]%
[EMAIL PROTECTED]
{\MakeUppercase\indexname}%
\thispagestyle{plain}\parindent\z@
\parskip\z@ [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
   [EMAIL PROTECTED]


In the text you can write anywhere

\printindex

\renewcommand{\theindexpreamble}{% open the preamble!

This is the text for the preamble ... This is the text for the preamble 
...


}% close the preamble!


Re: Fw: Postscript preview

2006-08-06 Thread Stephen Harris

Paul A. Rubin wrote:

Stephen Harris wrote:


"The MATLAB Component Runtime (MCR) 7.0 and 7.1 do not contain a
copy of the GhostScript program included with MATLAB. Therefore,
applications deployed on a target machine rely on a locally-
installed version of GhostScript, if one exists, for exporting
some graphics. Since the version of GhostScript installed on the
target machine may be different than the one included with MATLAB,
the command line parameters potentially may be different as well.
This difference causes an error in some instances."



I think this supports the possibility of a Ghostscript conflict and that
Matlab comes with its own version of Gs.


It does indeed.  So I agree that hypothetically Leo's MATLAB 
installation could be generating PS files (using it's own copy of GS) 
that would be indigestible to LyX->ImageMagick->GS (using a different 
copy of GS in the last step).


That still raises the question of why those images would be 
successfully displayed in LyX (same LyX->ImageMagick->GS sequence) if 
an environment variable is deleted ... unless deletion of the 
environment variable affected which copy of GS was used (both on the 
command path?) ... in which case the bug would disappear, not switch 
to a different image.


All that said, this bug is clearly not playing fair, so it would be a 
good idea for Leo to check into this just to rule it out.


/Paul



Yes there has to be another dimension to this. Recall he reinstalled LyX to
C:\Lyx\lyx14 and the original problem files, I think it was test.ps, 
displayed

Ok, but then another figure reared its ugly wolverine head. I would think
that means that only some files are produced with the problem--either the
same gs executable produces files which vary in compatibility or maybe
system gs is producing the eps and it sometimes can't be read by an
older matlab gs executable. Well, that is getting pretty thin.

Maybe he could use the 1.4.1 lyx.bat and put Python at the beginning
of the Path_prefix and try it and if it doesn't work, then try ghostscript
at the beginning of Path_prefix also, but I think it is already. It would
seem that the set variables in lyx1.4.2 batfile would have to part of it,
but I don't know what they mean and they don't show up LC_ALL
I will google one more time matlab and aikasaurus but I think that
is just for Aspell. I'm not feeling well and can't concentrate. I've been
up for two days fighting with a virus and am tired and have lost one
partition on my hard drive. I guess its a trojan. Nope, I got a hit on
allosaurus and matlab, but no aikasaurus. It's a Linux critter anyway.

Regards,
Stephen


Re: Error while converting xfig figure

2006-08-06 Thread Enrico Forestieri
Paul Smith <[EMAIL PROTECTED]> writes:
> On 8/6/06, Enrico Forestieri <[EMAIL PROTECTED]> wrote:
[...]
> > Please, add \usepackage{color} to the preamble.
> > I have no problem with your .fig file after that.
> 
> Yes, it works, as well as with the package xcolor. But should not it
> be inserted by LyX automatically? If not, I will have to close the bug
> that I opened this morning.

I think it was already in bugzilla:
http://bugzilla.lyx.org/show_bug.cgi?id=2716

-- 
Enrico





Re: Composing a letter with Header/Footer

2006-08-06 Thread Richard Heck

Yes, it's true: the \opening macro in letter.cls includes:
\thispagestyle{firstpage} or \thispagestyle{empty}, depending upon
whether \fromaddress is empty. However, one simple solution, I believe,
would be declare, just after \opening, \thispagestyle{fancy} in ERT.
Exactly where this should be put I don't know, but if you put it at the
beginning of the first paragraph, that might do the trick.

Alternatively, you could just redeclare the \opening macro. Find
letter.cls on your system, cut and paste the \opening macro into the
preamble, and remove the offending \thispagestyle commands. Oh, and
change the "\newcommand" to a "\renewcommand".

Richard

Pepe Barbe wrote:
> Hi,
>
> I am new to LyX and LaTeX in general, but I have a basic grasp of how
> to work with them.
>
> Currently I am interested in using LyX to create a template for
> letters. The letter template would work fine for except that I would
> like to add a footer. I tried using the fancyhdr package but it does
> not work at all. It seems that the \opening macro in the letter
> template redefines the pagestyle, so when I include this command the
> Fancy Headers defined in the preamble just disappear (I am just
> guessing here).
>
> I was wondering if someone might point me to some solution to this
> problem as I am sure I am not the one asking this question for the
> first time.
>
> I found this post to be regarding the same issue but I haven't been
> able to make it work yet:
>
> http://article.gmane.org/gmane.editors.lyx.general/29213
>
> If anyone has some idea on how to make this work, I would appreciate
> that.
>
> Thanks,
> Pepe



Re: how to make the math symbol panels always appear?

2006-08-06 Thread Richard Heck

> [I]s a way to make math symbol panels always appear as a toolbar in
> the toolbar areas of the LyX GUI window? Many other editing software
> display math symbol panels as a horizontal bar on the toolbar area so
> it is easily accessible. Currently in LyX I have to right click in the
> math equation box, and scroll down a few menu items to find the symbol
> that I want. This is quite troublesome.
I'm not sure you'd really want to do quite that: The math panel has
dozens of things on it, and that would make for a very large toolbar!
However, that said, the toolbars are easily editable. Look at the file
stdtoolbars.ui and, in particular, at the math toolbar that is defined
there and you will see what is possible: You can put whatever symbols
you like on the toolbar, and do much else besides.

The best way to proceed here is to create a new file---say,
mytoolbars.ui---in your local LyX
directory---/home/you/.lyx/ui/mytoolbars.ui, say---and create whatever
toolbars you want in that file. Then copy default.ui or classic.ui,
whichever you are using, to /home/you/.lyx/ui/ as well and add the line
Include "mytoolbars.ui"
Then, in the Toolbars section, include a line like:
"mymath" "on,top"
to put your math toolbar on top and on by default.

Richard



Re: menu-open documents

2006-08-06 Thread Jens Noeckel


On Aug 5, 2006, at 2:40 PM, Paul A. Rubin wrote:


Jens Noeckel wrote:

Hi,
in LyX 1.4.2 on Mac OS X, I'm missing a LyX function that used to  
work in LyX 1.3.6: "menu-open documents" which used to bring up a  
menu with all open buffers that I could then navigate with the  
arrow keys. Under xemacs.bind, this function is bound to C-x C-b.  
I've looked at the list of lfuncs and tried various things but  
nothing brings up this buffer menu anymore. When I enter "menu- 
open documents" in the minibuffer, LyX does NOT complain that the  
function is unknown, and echos the correct keybinding for it in  
the status line. But no buffer menu appears. So I'm suspecting  
this is a bug.


No, it's just a consequence of changes to the menus from 1.3.x to  
1.4.x.


Try "menu-open view".  The "menu-open" command emulates your  
clicking on a menu (or typing its accelerator key).  The old  
"documents" menu is gone, and the new "document" menu only applies  
to the current buffer. The list of loaded documents is now at the  
bottom of the "view" menu.


Thanks, that's what I wanted to know. So it would probably be a good  
idea to permanently modify the versions of emacs.bind and xemacs.bind  
that are shipped with LyX 1.4.2 accordingly: i.e, replace the line

\bind "C-x C-b""menu-open documents"
by
\bind "C-x C-b""menu-open view"
in order to get back that emacs-like feature. Looks like none of the  
other standard bind files makes use of that particular function...


Jens