Re: bug in reconfigure (windows port)

2004-10-14 Thread David A. Case
On Fri, Oct 15, 2004, Juan Luis Chulilla wrote:

> I was not able to add any more latex class to lyx using the unix
> procedure (add class to tetex, add .layout file to lyx, Edit/
> Reconfigure. Finally today I have found that executing configure.bat
> and then configure in a console of windows, lyx reconfigure its latex
> entry (which has let me use beamer, i.e.)

For what it is worth, I didn't have any trouble adding the beamer class to LyX
for Windows, just using the usual Edit/Reconfigure path.  Study carefully what
shows up in the console when you do the Edit/Reconfigure ... that usually
signals what is going wrong, if there are errors.  Without knowing more about
what happened when you tried things the "unix" way, it's hard to be more
precise

dac



Re: LyX to Word --> Success

2004-10-14 Thread Uwe Stöhr
Stefano Franchi wrote:
The conversion from Latex to OpenOffice took just one command:
htlatex filename "xhtml,ooffice" " -cmozhtf" " -coo"
(It took me a while to figure out the right command, because the 
instructions on the webpage were a bit ambiguous. I talked with the  
developer of TeX4ht and he has posted a bugfix already. Hurrah for open 
source!)
Yust for your information: The command
oolatex filename
is identic to
htlatex filename "xhtml,ooffice" " -cmozhtf" " -coo"
as described in
http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn3.html
But I encountered a new problem: Using the corresponding htlatex call 
brings me an error

--- warning --- Can't find/open file ` -coo.lg'
while oolatex doesn't have this. So it seems that the commands are not 
identic in my installation. (I installed tex4ht via MiKTeX)

So I give up. If anybody knows a way to convert LyX to Openoffice under 
Windows, please mail it to this list.

thanks and regards
Uwe


bug in reconfigure (windows port)

2004-10-14 Thread Juan Luis Chulilla
I use lyx port in a windows xp. After some itchy corrections (like
learn the precise version of imagemagick that works, avoiding spaces
in directory names and the like), I found an almost terminal problem.
Lyx worked QUITE fine -- we built a monography just with it -- but I
was not able to add any more latex class to lyx using the unix
procedure (add class to tetex, add .layout file to lyx, Edit/
Reconfigure. Finally today I have found that executing configure.bat
and then configure in a console of windows, lyx reconfigure its latex
entry (which has let me use beamer, i.e.)

Do you people know if it is really a bug for windows port? I mean, I'm
starting to be a lyx apostle, but if, hum, a luser has to do a lot of
tricks like the one I mentioned above, it sounds to be hard to achieve
conversions.


Changing Font

2004-10-14 Thread Jason L W Lynn
I have a very large lyx document that is currently set to use the
'default' font (if you go into layout->document->layout, the font is set
to 'default').  I'm guessing this is a mixture of Times Roman fonts and
something else.  I need to have a font where the majority of the book is
not Times Roman, but is Garamond.  Is this possible?

Thanks,

-- 
Jason L W Lynn <[EMAIL PROTECTED]>



Maybe, it is a bug related with the spell-checker

2004-10-14 Thread Paul Smith
Dear All

I am not sure whether the following is a bug: I have pasted a piece of
a LyX document whose language was set to be German (actually, it was
an example done by Herbert) into a document whose language is not
German; when I perform a spell-checking of my document, LyX tries to
do the spell-checking with the German dictionary, which obviously does
not find in my computer. I should add that German is not selected as
the spell-checker language (in my LyX configuration).

Thanks in advance,

Paul


Re: problem with XFig figures under PDF

2004-10-14 Thread foofoofoo barbarbar
--- Angus Leeming <[EMAIL PROTECTED]> wrote:
> You need to expand your detail a little.
> 
> * Are you using the Graphics inset or the External
> inset to 'hold' 
> these .fig files. The approaches used to generate
> latex from each are 
> fundamentally different in the 1.3.x code.

I'm not sure as I'm not fully familiar with those
terms yet, or whath the difference between them is. 
This is how I've inserted the images: I position the
cursor where I want the picture, click on the image
icon in LyX's toolbar, hit Browse, and simply select
the *.fig file.  Some converter is run in the
background and after a second or two the image shows
up in the document.

> I suspect that you are using the Graphics inset,
> because the 
> external_templates file shipped with LyX 1.3.x does
> not handle 
> pdflatex conversion at all.

Yes, unlike the external_templates files I've seen on
the Net, the one that comes with this version does not
mention any conversions to PDF.  Can I just use an
external_templates file from the Net, or are these
most likely for some devel version of LyX, and
unlikely to work in my case?  Would this one work with
my version?
 
http://wiki.lyx.org/pmwiki.php/DevelExternalTemplates/Template





___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


Re: Math font problem in Mac-LyX 1.3.5

2004-10-14 Thread Stephen Buonopane
When I double click on one of these fonts it opens the FontBook 
application and there is no obvious "install font" option
Are you using OS X 10.2, which does not have FontBook? I am using OS 
X 10.3.5?
Strange, I tried to double-click on the files again, and it just 
opened the FontBook, and no "install font" option.
Not even if I remove a font, and then double-click on the font file. 
But the first time I tried it opened the FontBook,
and previewed the font, and there was a "install font" button.

Sorry, I have no good explanation -- I'm not a MacOS expert.
/Peter
I had previously fooled around with these fonts in FontBook, so that is 
probably why I do not get the install option.
Thanks.

Steve


Re: Math font problem in Mac-LyX 1.3.5

2004-10-14 Thread Peter Ljunglöf
2004-10-14 kl. 15.32, Stephen Buonopane wrote:
(I installed by double-clicking on each font file, and then choosing 
"install font" - of some strange reason the font file has been 
removed from the original location, but it works, so I'm happy)
Peter,
Which font files are you double clicking on? I am guessing you went 
into  LyX.app/Contents/Resources/Fonts using Go To Folder  from the 
Finder.
All of them (the .ttf files)
When I double click on one of these fonts it opens the FontBook 
application and there is no obvious "install font" option
Are you using OS X 10.2, which does not have FontBook? I am using OS X 
10.3.5?
Strange, I tried to double-click on the files again, and it just opened 
the FontBook, and no "install font" option.
Not even if I remove a font, and then double-click on the font file. 
But the first time I tried it opened the FontBook,
and previewed the font, and there was a "install font" button.

Sorry, I have no good explanation -- I'm not a MacOS expert.
/Peter


Re: Math font problem in Mac-LyX 1.3.5

2004-10-14 Thread Stephen Buonopane

Thanks for the tip; I simply installed the font files in 
LyX.app/Contents/Resources/Fonts, and now it works!
(I installed by double-clicking on each font file, and then choosing 
"install font" - of some strange reason the font file has been removed 
from the original location, but it works, so I'm happy)

Peter,
Which font files are you double clicking on? I am guessing you went 
into  LyX.app/Contents/Resources/Fonts using Go To Folder  from the 
Finder.

When I double click on one of these fonts it opens the FontBook 
application and there is no obvious "install font" option
Are you using OS X 10.2, which does not have FontBook? I am using OS X 
10.3.5?

Stephen


Re: KDE upgrade + accents

2004-10-14 Thread José Abílio Oliveira Matos
On Thu, Oct 14, 2004 at 12:26:18PM +0200, Alfonso Gazo wrote:
> Hi again,
> 
> Relating the KDE upgrade + accents issue, I've installed this RPM for FC2:
> lyx-1.3.5-1fc2_qt.i386.rpm
> 
> And no success with accents issue.
> 
> Then, I've installed the XForms RPM:
> lyx-1.3.5-1fc2_xforms.i386.rpm
> 
> And all accents issues have been *solved*. So it seems an issue with QT 
> libraries.

  That is true. This was a problem that appeared after a patch to qt to deal
with different input methods. As soon as I have some indication that this
was solved I will post a message here.

> Indeed I prefer the QT frontend, but at least now I can write again with 
> LyX :-)

  This I can understand. :-)

> Regards,

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: KDE upgrade + accents

2004-10-14 Thread Alfonso Gazo
Hi again,
Relating the KDE upgrade + accents issue, I've installed this RPM for FC2:
lyx-1.3.5-1fc2_qt.i386.rpm
And no success with accents issue.
Then, I've installed the XForms RPM:
lyx-1.3.5-1fc2_xforms.i386.rpm
And all accents issues have been *solved*. So it seems an issue with QT 
libraries.

Indeed I prefer the QT frontend, but at least now I can write again with 
LyX :-)

Regards,
José Abílio Oliveira Matos wrote:
On Wed, Oct 06, 2004 at 12:00:41AM +0200, Juan Luis Chulilla wrote:
I had that problem with suse 9.1 and KDE 3.2. My solution was to use
this language specification:in /etc/sysconfig/language , I use RC_LANG
= "es_ES.ISO-8859-15" instead of UTF-8 used as default.

  This is a different kind of problem. :-)
  
  I have changed too previously, to avoid UTF-8.
  
  Now I'm using kde 3.3.0 and with it qt-3.3.3
  
  The funny part is that if I start lyx with
LANG=pt_PT.ISO-8859-15 lyx it doesn't print the accents.

  That is instead of ´a I get a while previously I got á.

Hope this helps

  No, but thanks for your help.



Re: problem with XFig figures under PDF

2004-10-14 Thread Jean-Pierre Chretien

>>To: [EMAIL PROTECTED]
>>From: Angus Leeming <[EMAIL PROTECTED]>
>>Subject: Re: problem with XFig figures under PDF
>>Date: Thu, 14 Oct 2004 09:47:39 +0100
>>
>>Maciej Kalisiak wrote:
[...]
>>It all comes down to what converter you use to define the conversion 
>>from .fig to .pdf. You can probably wrap the native fig2dev call in a 
>>shell script to also rotate the generated pdf file.

If gs takes care of the conversion, check the version: there were problems
(and there must be thread about this in the list).
I had them with gs 7.05, which disappeared with current 8.14.

Tha landscape/portrait setting in xfig may be important as well.
Even if it's grayed when you export to eps or pdf, I always take care
to set to portrait, as I think that an individual figure should always be presented
as it is (this option does not exist, the portrait/landscape is there for printing 
purpose,
not for graphic component manipulation).

The interpretation of landscape orientation in PDF is ambiguous in fact, and
I come often across PDF documents which include both formats (exported from
documents which allow such thing to happen), which cannot be printed correctly.
I think that *visual* documents with alternating portrait and landscape pages are OK,
but they *should* be exported in a printable document (or the printing tool
*should* understand the situation).

Sorry for these OT considerations, HTH

-- 
Jean-Pierre





Re: Math font problem in Mac-LyX 1.3.5

2004-10-14 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Ljunglöf <[EMAIL PROTECTED]> writes:

Peter> Thanks for the tip; I simply installed the font files in
Peter> LyX.app/Contents/Resources/Fonts, and now it works! (I
Peter> installed by double-clicking on each font file, and then
Peter> choosing "install font" - of some strange reason the font file
Peter> has been removed from the original location, but it works, so
Peter> I'm happy)

You can also grab lyx-1.3.5-3macos_aqua.tgz from
ftp.lyx.org/pub/lyx/bin/1.3.5, which does not require to install the
fonts.



Re: bibtex and lyx problems

2004-10-14 Thread Jean-Pierre Chretien

>>Date: Thu, 14 Oct 2004 09:45:24 +0200
>>From: ingo frost <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: bibtex and lyx problems
>
>>When I try a different style like "gerplan" lyx does not parse the file:
I guess you mean gerplain here...

>>"30 errores appeared, you should try to fix them". The errors all look
>>like thisone:
>>
>> >Undefined control sequence.
>> > ...pbell, Ingo}: {\em Biologie}, \btxpagelong
>> >  {}\ 513.

You're missing a package needed by the bibtex style:

%head /usr/local/TeX/texmf/bibtex/bst/germbib/gerplain.bst
% BibTeX standard bibliography style `plain'
% version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
% Copyright (C) 1985, all rights reserved.
% Copying of this file is authorized only if either
% (1) you make absolutely no changes to your copy, including name, or
% (2) if you do make changes, you name it something other than
% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
% This restriction helps ensure that all standard styles are identical.
% The file btxbst.doc has the documentation for this style.
%   15-feb-92   (MW)Updated for use with `bibgerman.sty': things like "and"

Add
\usepackage{bibgerman}
in the preamble.

-- 
Jean-Pierre



something like
gerplan.sty (or gerplain.sty ?) where \btxpagelong is defined.
Check the user guide of this bst file.




Re: Math font problem in Mac-LyX 1.3.5

2004-10-14 Thread Peter Ljunglöf
Thanks for the tip; I simply installed the font files in 
LyX.app/Contents/Resources/Fonts, and now it works!
(I installed by double-clicking on each font file, and then choosing 
"install font" - of some strange reason the font file has been removed 
from the original location, but it works, so I'm happy)

/Peter Ljunglöf
I wrote:
BUT: there's another problem now: Math symbols becomes garbage! I've 
tried several fonts and sizes, and the result is the same. The old 
version (1.3.4) still works fine. (Note: it's just the LyX window 
that looks strange -- the LaTeX code and the dvi files are just 
fine).
Stephen Buonopane and Jean-Marc Lasgouttes wrote:
Stephen> This is a problem that many have been experiencing on
Stephen> Lyx/Mac. In my case it happens in both 1.3.4 and 1.3.5. There
Stephen> are some workarounds that involve copying some font files
Stephen> from Lyx.app bundle to your user/Library/Fonts directory.
Stephen> Search the lyx-users list and also lyx-devel there should be
Stephen> more detailed instructions. Unfortunately they are not
Stephen> foolproof...in my case it did not work. Good luck, Steve
Jean-Marc> Note that we have a tentative patch for this problem, and 
hopefully
Jean-Marc> 1.3.5 will be updated soon-ish.

---
--- Peter Ljunglöf  PhD student, Göteborg University --
--- [EMAIL PROTECTED]  http://www.cs.chalmers.se/~peb 
---


Re: problem with XFig figures under PDF

2004-10-14 Thread Angus Leeming
Maciej Kalisiak wrote:

> My LyX document contains a bunch of *.fig files.  Under PS
> everything looks
> great.  Under PDF (via pdflatex or dvipdfm) each figure gets its own
> page, and is rotated to be in landscape mode, and resized to take
> most of that full
> page.  I'm using the latest LyX version that comes with Debian:
> 1.3.4-2
> 
> What can I do to get PDF generation to work just like the PS one? 
> I've seen some "external_templates" on the Net that look different
> from mine and look like they may be able to handle PDF versions of
> fig better, but I'm not
> familiar with editing that file.   Any help would be greatly
> appreciated.

You need to expand your detail a little.

* Are you using the Graphics inset or the External inset to 'hold' 
these .fig files. The approaches used to generate latex from each are 
fundamentally different in the 1.3.x code.

I suspect that you are using the Graphics inset, because the 
external_templates file shipped with LyX 1.3.x does not handle 
pdflatex conversion at all.

It all comes down to what converter you use to define the conversion 
from .fig to .pdf. You can probably wrap the native fig2dev call in a 
shell script to also rotate the generated pdf file.

Just some thoughts,

-- 
Angus



Re: bibtex and lyx problems

2004-10-14 Thread Herbert Voss
ingo frost wrote:
 >Undefined control sequence.
 > ...pbell, Ingo}: {\em Biologie}, \btxpagelong
there is no definition of \btxpagelong ...
Delete this command in your bibfile or
you can try with \def\btxpagelong{}
in the preamble, but this makes only the doc run,
but doesn't solve the problem.
Herbert

--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: bibtex and lyx problems

2004-10-14 Thread Angus Leeming
ingo frost wrote:

> hello from berlin,
> 
> I have now tried two distributions (knoppix debian, and suse linux)
> and tried to install the newest lyx version and I still have
> problems to get the bibtex in my lyx document to work and I did not
> find any resuorces on the web concerning these problems, please help
> me:
> 
> If I use a library style like "plain" lyx parses the file without
> errors but in the output are two mistakes: In the text every
> citation has a (author?) remark and in the citation index some
> titles are switched to lower case letters (this is a crucial problem
> if you have some german titles!).
> 
> When I try a different style like "gerplan" lyx does not parse the
> file: "30 errores appeared, you should try to fix them". The errors
> all look like thisone:
> 
>  >Undefined control sequence.
>  > ...pbell, Ingo}: {\em Biologie}, \btxpagelong
>  >  {}\ 513.
>  >The control sequence at the end of the top line
>  >of your error message was never \def'ed. If you have
>  >misspelled it (e.g., `\hobx'), type `I' and the correct
>  >spelling (e.g., `I\hbox'). Otherwise just continue,
>  >and I'll forget about whatever was undefined.
> 
> When I try to parse these file by hand with latex and
> bibtex, there are no errors.. but I need to get them parsed by lyx!

The message above is output by the latex compiler, not by lyx. Go 
into the tmp/lyxtmp.../lyx_tmpbuf0 directory where you'll find the 
failing .tex file and try and run latex 'by hand' on it. The .log 
file should tell yo more.

> So any Idea what I can try to fix these problems???
> 
> ingo

-- 
Angus



bibtex and lyx problems

2004-10-14 Thread ingo frost
hello from berlin,
I have now tried two distributions (knoppix debian, and suse linux)
and tried to install the newest lyx version and I still have problems
to get the bibtex in my lyx document to work and I did not find any
resuorces on the web concerning these problems, please help me:
If I use a library style like "plain" lyx parses the file without errors
but in the output are two mistakes: In the text every citation has a
(author?) remark and in the citation index some titles are switched to
lower case letters (this is a crucial problem if you have some german
titles!).
When I try a different style like "gerplan" lyx does not parse the file:
"30 errores appeared, you should try to fix them". The errors all look
like thisone:
>Undefined control sequence.
> ...pbell, Ingo}: {\em Biologie}, \btxpagelong
>  {}\ 513.
>The control sequence at the end of the top line
>of your error message was never \def'ed. If you have
>misspelled it (e.g., `\hobx'), type `I' and the correct
>spelling (e.g., `I\hbox'). Otherwise just continue,
>and I'll forget about whatever was undefined.
When I try to parse these file by hand with latex and
bibtex, there are no errors.. but I need to get them parsed by lyx!
So any Idea what I can try to fix these problems???
ingo


Re: LyX to Word --> Success

2004-10-14 Thread Stefano Franchi
Hi Uwe,
	I cannot speak about Windows because I'm on MacOs/XDarwin (that is, I 
use LyX for Mac (Qt), but I use htlatex and OpenOffice from XDarwin).
	On my system it was actually rather trivial. I installed  TeX4ht with 
fink, and OpenOffice from their installer. fink didn't ask to install 
any supplementary package, so I guess zip had been installed already (I 
have a full Linux-like system installed  via fink).   The conversion 
from Latex to OpenOffice took just one command:

htlatex filename "xhtml,ooffice" " -cmozhtf" " -coo"
(It took me a while to figure out the right command, because the 
instructions on the webpage were a bit ambiguous. I talked with the  
developer of TeX4ht and he has posted a bugfix already. Hurrah for open 
source!)

That was it. The .sxw file was fine and perfectly readable by 
OpenOffice. The output from OpenOffice, in turn, was read into Word 
with no problems. However, I don't use images, and cannot comment on 
that either. My main problem was how to convert into Word a LyX file 
that uses Jurabib for the references (and therefore requires  several  
LaTex runs to be processed). The book "The LaTex Web companion" may 
also help--I checked it out and has a lot of gory details on how 
htlatex works, including the various passes, the configuration files, 
etc. But perhaps there is a problem with your installation of the 
package?  I can send you my file if you'd like to test it on your 
system.

Best,
Stefano
On Oct 14, 2004, at 2:45 PM, Uwe Stöhr wrote:
Stefano Franchi wrote:
Thanks so much to everyone who helped me figure out how to go from 
LyX to Word. The key hint was to use htlatex to convert into 
OpenOffice and then export from OpenOffice to Microsoft word. Works 
beautifully and almost out of the box
How did you manage this? I tried extensively to convert LaTeX files 
via htlatex/oolatex without success.

TeX4ht doesn't want hyperref commands. It also don't accept 
cmyk-colors.
But deleting these stuff does't help, TeX4ht hangs up on inserted pdf 
figures. If I delete them, oolatex runs without errors but wants at 
the end a program "zip.exe" to zip the .xml files into .sxw (OOo 
writer format).
I copied the windows compiled "zip" from the unix tools into a system 
folder and then also the zipping worked.
But the resulting .sxw file can't be opened by OOo 1.1.3 due to format 
errors in the file content.xml. That means the conversion failed.

I tried three different LaTeX documents with and without figures and 
all couldn't be converted, even the conversion of my very short 
curriculum vitae failed.

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