Re: double superscript a lyx bug?

2006-02-23 Thread Jean-Marc Lasgouttes
 Uwe == Uwe Stöhr [EMAIL PROTECTED] writes:

Uwe Sven Schreiber schrieb:
 Hi, I just ran into the same thing reported by Bo Peng a short
 while ago -- if in math you make an explicit superscript but also
 append a ' as a shortcut for prime (= matrix transpose sign
 here), latex complains about double superscript. I know how to
 workaround, but I read somewhere that lyx tries to produce correct
 latex files (absent any ERT). So, is this a bug by official
 standards?

Uwe Yes it is, there is already a bug report at bugzilla:

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

Thanks for unearthing this and in particular bug 67 (I think I missed
it at the time). I do not think unfortunately that the patch can be
used...

JMarc


Re: Palatino leads to many overfull hbox-es

2006-02-23 Thread Helge Hafting

Peter Hegt wrote:


Hi,

I use the Palatinodefault fontsize, paper A5, margins default, but
this leads to many words sticking out into the right margin.


Consider the microtype package.  It helps by stretching/shrinking the font
width slightly, in addition to the usual stretching of whitespace.

Before _I got ca. 3 hyphenations per A4 page, now I have 3 pages
per hyphentation.

Helge Hafting 



Re: Automatic formatting of a particular word?

2006-02-23 Thread Helge Hafting

Andre Poenitz wrote:


On Mon, Feb 20, 2006 at 02:36:01PM -0800, Rich Shepard wrote:
 


On Mon, 20 Feb 2006, Kevin Pfeiffer wrote:

   


... how can I get this behavior with any word?
   


Good question. Maybe Herbert or someone else can help.
 


 That's like the user calling the help desk because she cannot find the
any key on her keyboard. But the instructions say to press any key!
   



I keep telling people that the 'any key' is the '5' on the numeric keys
block. It works and has not much potential to break thing when hit at
the wrong time.
 


No, suggest the mysterious reset button instead. That should
teach sw developers to use almost any key instead. :-)

Helge Hafting


Re: Automatic formatting of a particular word?

2006-02-23 Thread Kevin Pfeiffer
Helge Hafting writes:
 Andre Poenitz wrote:
 On Mon, Feb 20, 2006 at 02:36:01PM -0800, Rich Shepard wrote:
 On Mon, 20 Feb 2006, Kevin Pfeiffer wrote:
[...]

Dear Thread-Contributors,

This is all very interesting perhaps, but please, I am subscribed to the 
list -- you do not need to cc me with replies to this thread (or 
anything else in the lyx-users list). I'd actually prefer not to get 
such cc's as it means twice the mail, twice the viewing, and a strange 
feeling of deja vu.

-Kevin



-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


RE: Palatino leads to many overfull hbox-es

2006-02-23 Thread Peter Hegt
Hi, 

Tried \usepackage{microtype}, result looks quite nice. Much less
overfull hbox-es. Maybe I could reduce the left  right margins a little
to get to about 60 letters per line (or is this a sin, even for A5?) 

Met vriendelijke groet,

Peter Hegt

-Original Message-
From: Helge Hafting [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 februari 2006 11:43
To: Peter Hegt
Cc: lyx-users@lists.lyx.org
Subject: Re: Palatino leads to many overfull hbox-es

Peter Hegt wrote:

Hi,

I use the Palatinodefault fontsize, paper A5, margins default, but 
this leads to many words sticking out into the right margin.

Consider the microtype package.  It helps by stretching/shrinking the
font width slightly, in addition to the usual stretching of whitespace.

Before _I got ca. 3 hyphenations per A4 page, now I have 3 pages per
hyphentation.

Helge Hafting 



importing chart from excel ?

2006-02-23 Thread Luqman H
hi,

i have copy-paste chart graph from excel to mspaint,
and then save it to png, and open it into lyx document

but the result is not as smooth when printing it in excel directly.

is there any way to input the chart into lyx without
loosing quality...?

thanks


test - ignore

2006-02-23 Thread Uwe Stöhr

test


Re: lyx compatibility to MsWord etc

2006-02-23 Thread Charles de Miramon
Stephen Harris wrote:

 Currently I think tex4ht will convert latex to html. Then the
 html can be imported by Word. This doesn't work great.
 
Wrong. Tex4ht converts well to Oowriter. I've done it for a 54 pages article
with footnotes, a jurabib bibliography, tables and some custom macros. With
some massaging, it worked very well. TeX4ht has some bugs but the
maintainer is very active and responsive. 

Cheers,
Charles
-- 
http://www.kde-france.org



Re: inserting image

2006-02-23 Thread Uwe Stöhr

Paul Schwartz schrieb:

  I am trying to insert image inside one document:
  - one small image of a button inside the document itself,
  - one small image of the same button inside a table
  ...
  display-PDF(pdflatex). I got five errors for each image.

To fix the problem, copy the attached file latex.bat to LyX's install
subdirectory ~\LyX\bin.
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe



Re: Still: citation reference is wrong

2006-02-23 Thread Charles de Miramon
Charles de Miramon wrote:

 Matthias Schmidt wrote:
 
 
 well, I checked it: latex is running 3 times, and the bibliography is
 inserted within Lyx. So, the problem continues to exist! I don't
 understand, why I can see the citation reference in Lyx correct, but
 in the dvi-preview and pdf-print it is wrong
 
 
 Give a minimal LyX file and bibliography file.
 
 Cheers,
 Charles

Matthias sent me his file and the problem was a tricky one. He chose the
plain bibliography style when you should always use a bibliography style
compatible with the bibliography package.

BibTeX is very hard to understand, unintuitive and sometimes spit some
cryptic error messages. The BibTeX support in LyX is very fragile. Here you
could choose an incompatible bibliography style.

In LyX 1.4, I have just tried that. Create a little document, choose the
natbib style, insert a reference, compile. Then change to the jurabib
package and the jurabib style and try to compile. Boom, error. You will
have to export to latex and rerun bibtex on it, to make it work.

Cheers,
Charles 
-- 
http://www.kde-france.org



Re: importing chart from excel ?

2006-02-23 Thread Mael Hilléreau

is there any way to input the chart into lyx without
loosing quality...?



Export to PDF from excel (using PDF995, or another PDF printer or 
openoffice if not available) and then include the PDF into LyX.


Regards,
Mael.

--
Mael Hilléreau



Re: importing chart from excel ?

2006-02-23 Thread John Pye
This might be useful as well -- I seem to remember that it's possible to 
get out a WMF file of the chart somehow. If so, you could convert using 
this (I haven't tried it though):


http://www.skynet.ie/~caolan/Packages/libwmf.html

Talking of PDF printers, I use PDF Factory and also FinePrint. I 
just checked the fineprint.com site and it says that you can export 
printed-output in a number of useful formats including JPEG, TIF, BMP. 
Maybe there is a vector format that it can export as well...?

See the bottom of this page:
http://www.fineprint.com/products/fineprint/benefits.html

Cheers
JP

PS A very easy to use (but non-free) PDF printer is PDF Factory. And 
btw, it goes really well with with its paper-saving sibling, 
FinePrint. I think it's at fineprint.com.


Mael Hilléreau wrote:


is there any way to input the chart into lyx without
loosing quality...?



Export to PDF from excel (using PDF995, or another PDF printer or 
openoffice if not available) and then include the PDF into LyX.


Regards,
Mael.



Re: lyx compatibility to MsWord etc

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Charles de Miramon [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 4:22 AM
Subject: Re: lyx compatibility to MsWord etc



Stephen Harris wrote:


Currently I think tex4ht will convert latex to html. Then the
html can be imported by Word. This doesn't work great.

Wrong. Tex4ht converts well to Oowriter. I've done it for a 54 pages 
article
with footnotes, a jurabib bibliography, tables and some custom macros. 
With

some massaging, it worked very well. TeX4ht has some bugs but the
maintainer is very active and responsive.

Cheers,
Charles
--
http://www.kde-france.org




http://www.mathematik.uni-marburg.de/~gumm/

Using XY-pic in LyX (Documentation) html or pdf

LyX converted the original file to .pdf and the
conversion is nearly perfect, which earns the word great.
No editing of the source doc is needed to fix the output.

Compare this to the quality of conversion of tex4ht using
htlatex which made the same file in html format. 15 to 25
errors is good but not great in my book. The html flaws
don't get magically corrected when importing html into
.doc format. Yes, the maintainer quickly sent a fix for one
error (XY-pic) which was repeated a few times. Because
latex2html was worse (fi ligatures) doesn't make htlatex great.

My standards dictate that using comment enabled pdf will
create a lot less work than proofreading and editing sections
of a thesis converted from LyX-Latex-tex4ht-Word.
Since that was the context, comment-enabled pdf is a
great method and tex4ht good, or even very good. Perhaps
your example doesn't include logo words with space problems.

By massaging don't you mean proofreading and editing. Also
I once posted that Fabrice Popineau stated that tex4ht was the
best method (better than png) available for conversion from
Latex to Word. It is, but that still falls short of great when
compared to LyX-pdf conversion. This topic has lots of
press and there is already a consensus expert opinion which
uses a larger sample and fails to support: 'wrong, it is too great'.

Macro regards,
Stephen





Importing files written with SWP 4.0

2006-02-23 Thread Piero Pasotti
Hi,
  I'm a newcomer to the Lyx's world. Unfortunately I have the need to
frequently exchange .tex files with people working with Scientific
Workplace 4.0. I'm facing some problembs both in exporting lyx files
to .tex and in importing swp .tex files to Lix.
  Could anybody suggest me a general solution to this problem? Does
exist any working translator from Tcilatex to Lix's Tex and viceversa?





Re: LyX on Cygwin

2006-02-23 Thread Enrico Forestieri
Stephen Harris [EMAIL PROTECTED] writes:

 SH: The qt3 install got further this time but failed with this error:
 
 -DQT_NO_STL -DQT_NO_COMPRESS
 -I/usr/local/src/qt3/mkspecs/cygwin-g++-win32
 -DAVE_QCONFIG_CPP /usr/local/src/qt3/src/tools/qglobal.cpp
 In file included from /usr/local/src/qt3/src/tools/qglobal.cpp:38:
 /usr/local/src/qt3/mkspecs/cygwin-g++-win32/qplatformdefs.h:67:20: resolv.h:
 No such file or directory
 make: *** [qglobal.o] Error 1

Ok, you need to install the minires-devel cygwin package. This is one
of the packages that I hoped not having forgotten...
I am going to update the wiki page. Thank you for helping in sorting
this out.

 SH: I have been using X-Win32 as my X server. In order to make
 our systems closer, I downloaded most of the X11 files and headers.

No, no. X11 is not needed at all ;-)

 But I seem to remember something about xforms. Are they still needed
 even though the build is with qt3? I searched Cygwin and there were
 no hits for xforms. Is this required and how about xpm?
 http://savannah.nongnu.org/download/xforms/xforms-1.0.90.tar.gz

Neither xforms is required. You need to have installed only the packages
listed on the wiki page (well, with the addition of minires-devel ;-) ).

--
Enrico




Re: Can't find eps file when exporting

2006-02-23 Thread Jean-Pierre Chrétien
Gunnar [EMAIL PROTECTED] writes:

[...]


 
  The first error in the output you supplied in your initial post was
 
  dvips: Could not find figure
  file
  /tmp/lyx_tmpdir96260XiyjK/lyx_tmpbuf0/0_home_gunnar_Skola_appollonius.eps;

I just ran on the same problem...
The important point here is that the path is absolute.

 I must say, I'm not quite sure what the error is now. Suddelny things seems 
 to 
 work. I'm sorry for trying to confuse you. I'll try to understand what's 
 going on. 

If you're using TeXLive-2005, the dvips default behaviour has
shifted to secure: in particular, dvips won't accept absolute paths,
which LyX uses in the temporary.
You should run dvips -R0 in the Preference-Converter section, where dvips
is involved, to come back to unsecure mode.

If you're not admin, maybe this has been changed on your TeX distribution,
which could explain how it could work again magically.

-- 
Jean-Pierre






Re: Importing files written with SWP 4.0

2006-02-23 Thread Nusret BALCI
I tend to think that there is no general and perfect
solution yet, but I'm not an expert by any means. One
thing that may alleviate the grief can be this:
Scientific workplace can save files in a format called
portable latex. If your colleagues can save their
files as portable latex, that would possibly help.
Although not without problems, this makes it possible
to build your document in freely available tex
distributions most of the time (probably always ?).
Then, you can import the file better, but still not
without glitches, as LyX converter doen't understand
all of the latex, ams packages, and so on. 
Regards,

Nusret


--- Piero Pasotti [EMAIL PROTECTED] wrote:

 Hi,
   I'm a newcomer to the Lyx's world. Unfortunately I
 have the need to
 frequently exchange .tex files with people working
 with Scientific
 Workplace 4.0. I'm facing some problembs both in
 exporting lyx files
 to .tex and in importing swp .tex files to Lix.
   Could anybody suggest me a general solution to
 this problem? Does
 exist any working translator from Tcilatex to Lix's
 Tex and viceversa?
 
 
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Importing files written with SWP 4.0

2006-02-23 Thread Sven Schreiber
Piero Pasotti schrieb:
 Hi,
   I'm a newcomer to the Lyx's world. Unfortunately I have the need to
 frequently exchange .tex files with people working with Scientific
 Workplace 4.0. I'm facing some problembs both in exporting lyx files
 to .tex and in importing swp .tex files to Lix.
   Could anybody suggest me a general solution to this problem? Does
 exist any working translator from Tcilatex to Lix's Tex and viceversa?
 
 
 

On windows Uwe's 1.3.7-package does a good job of importing latex docs
into lyx.

Alternatively you could look on the wiki for how to use tex2lyx from the
command line (1.3.7 can read tex2lyx's output).
-Sven


Re: lyx compatibility to MsWord etc

2006-02-23 Thread Charles de Miramon
Stephen Harris wrote:

 
 By massaging don't you mean proofreading and editing. Also
 I once posted that Fabrice Popineau stated that tex4ht was the
 best method (better than png) available for conversion from
 Latex to Word. It is, but that still falls short of great when
 compared to LyX-pdf conversion. 

I totally agree with you. TeX4ht will not work well with documents
impossible (or very difficult) to create in Word with formulas, diagrams,
etc. But in my field of work, Medieval History, it is possible today to
write an article in Lyx and at the end of the process convert it to MsWord. 

It is very important for me because 100 % of Scientific Journals and
Publishers in my field of study demand MsWord. I don't really care for a
'perfect' translation ; Journals will then reformat the article in their
own DTP system, I just don't want to loose any formatting information.

One should say loudly that TeX4ht works because it is too common knowledge
in LaTeX circles that Word and LaTeX are incompatible.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: inserting image

2006-02-23 Thread Enrico Forestieri
Uwe Stöhr [EMAIL PROTECTED] writes:

 To fix the problem, copy the attached file latex.bat to LyX's install
 subdirectory ~\LyX\bin.

Uwe,

the first line $ cat latex.bat of the latex.bat file at

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

should be removed. 

-- 
Enrico




Re: Looking for way of writing pseudocode

2006-02-23 Thread Paul Smith
On 2/22/06, Hannan Sadar [EMAIL PROTECTED] wrote:
  I need to write some pseudocode. Is there some specific package? Or it
  suffices LyX code?
 
 You could use one of the following LaTeX package (Probably there are more):

 pseudocode
 alg
 algorithm2e

 you need to go to http://www.ctan.org/ and choose the type you prefer

Thanks, Martin and Hannan. The pseudocode packages looks good!

Paul


Re: Can't find eps file when exporting

2006-02-23 Thread Herbert Voss

Jean-Pierre Chrétien wrote:

Gunnar [EMAIL PROTECTED] writes:

[...]




The first error in the output you supplied in your initial post was

dvips: Could not find figure
file
/tmp/lyx_tmpdir96260XiyjK/lyx_tmpbuf0/0_home_gunnar_Skola_appollonius.eps;



I just ran on the same problem...
The important point here is that the path is absolute.


I must say, I'm not quite sure what the error is now. Suddelny things seems to 
work. I'm sorry for trying to confuse you. I'll try to understand what's 
going on. 



If you're using TeXLive-2005, the dvips default behaviour has
shifted to secure: in particular, dvips won't accept absolute paths,
which LyX uses in the temporary.
You should run dvips -R0 in the Preference-Converter section, where dvips
is involved, to come back to unsecure mode.

If you're not admin, maybe this has been changed on your TeX distribution,
which could explain how it could work again magically.


it is the config.ps. z0 enables absolute path names


% z1 is secure, i.e., inhibits execution of `shell commands` in
% \specials.  Dvips allows this by default.
z0


Herbert




Re: lyx compatibility to MsWord etc

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Charles de Miramon [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 7:09 AM
Subject: Re: lyx compatibility to MsWord etc



But in my field of work, Medieval History, it is possible today to
write an article in Lyx and at the end of the process convert it to 
MsWord.




What an interesting line of work, studying intrigues of Court.
I read The Prince when I was too young to understand it.
Never saw the attraction of re-enacting old battles.


It is very important for me because 100 % of Scientific Journals and
Publishers in my field of study demand MsWord. I don't really care for a
'perfect' translation ; Journals will then reformat the article in their
own DTP system, I just don't want to loose any formatting information.




One should say loudly that TeX4ht works because it is too common
knowledge in LaTeX circles that Word and LaTeX are incompatible.



I was surprised that it did as good as job as it did. I had been
conditioned on what to expect by computer folklore. And the
field of study of the OP might be publishable similar to yours. I
tried using Adobe Pro to convert pdf to Word (they made a deal)
and that combo did an unacceptable job on that LyX/XY-pic tutorial.


Cheers,
Charles
--
http://www.kde-france.org




I'll take a look at your website,
Stephen









Re: Can't find eps file when exporting

2006-02-23 Thread Georg Baum
Am Donnerstag, 23. Februar 2006 15:16 schrieb Jean-Pierre Chrétien:
 If you're using TeXLive-2005, the dvips default behaviour has
 shifted to secure: in particular, dvips won't accept absolute paths,
 which LyX uses in the temporary.

LyX will use relative paths in 1.4.0.

 You should run dvips -R0 in the Preference-Converter section, where 
dvips
 is involved, to come back to unsecure mode.

Why is an absolute path insecure?


Georg



Re: LyX-Code and Typewriter environment: how to change the font?

2006-02-23 Thread Joerg Hau
Hi,

On Tuesday 21 February 2006 00:22, Paul A. Rubin wrote:
  How does one change the font that is used (a) for the LyX-Code
  environment, (b) for typewriter character markup?

 If you mean you want to change LyX-Code globally (for all documents on
 your system), you need to hack the file lyxmacros.inc in the
 ...\Resources\lyx\layouts directory on Windows systems (at least for
 versions 1.3.6 and 1.3.7) or .../share/lyx/layouts on Unix-like systems.

That would be too much hassle: I'm co-editing the same document with 
another person, and (for various reasons) we do this on at least four 
different computers :-(

 In the section beginning Style LyX-Code there is a \newenvironment
 command, near the end of which is \normalfont\ttfamily.  You can
 change \ttfamily to something like \rmfamily or \sffamily (although IMHO
 a monospaced font would seem to be needed here). You should also be
 able to append a size command, for instance

 \normalfont\rmfamily\large

 or

 \normalfont\sffamily\fontsize{9pt}{11pt}.

Yes, basically I'd like a monospaced, narrower and eventually smaller font 
(the common Courier-type is too laaarge for my taste  purpose).

 Changing the typewriter font itself, so that for instance \ttfamily does
 something different from what it does now, is something I think you'll
 have to do with LaTeX commands in the preamble.  Perhaps a LaTeX guru
 (which decidedly excludes me) can help.

Imho this would be the way to go, especially due to said portability ... 
something along the line of \renewcommand\ttfont{\mynewfont\small}, but I 
haven't found the right syntax yet ... any ideas?

Cheers,

- Joerg


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
All standard disclaimers apply.
Never take life seriously. You won't get out alive anyway.


Re: importing chart from excel ?

2006-02-23 Thread Sara Stymne
Hi!

If the quality of the png-file is good, but not the quality of the the
pdf-file created from lyx, the loss of quality appears when lyx converts
the picture from png to eps. This can be solved by using pdflatex
instead of latex, which directly uses png-images.

/Sara

Luqman H wrote:

hi,

i have copy-paste chart graph from excel to mspaint,
and then save it to png, and open it into lyx document

but the result is not as smooth when printing it in excel directly.

is there any way to input the chart into lyx without
loosing quality...?

thanks

  




Re: inserting image

2006-02-23 Thread Paul Schwartz


on Thursday, February 23, 2006 11:24 AM - Uwe Stöhr schrieb :
Subject: Re: inserting image



Paul Schwartz schrieb:


I am trying to insert image inside one document:
- one small image of a button inside the document itself,
- one small image of the same button inside a table
...
display-PDF(pdflatex). I got five errors for each image.


To fix the problem, copy the attached file latex.bat to LyX's install
subdirectory ~\LyX\bin.
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe








$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1





Thank you Uwe,

1)I copy the .bat file hoping that I do not pollute it. Will come back to 
you to confirm.


2) However, I am preoccupied because it seems that i downloaded the version 
1.1 of the installer from the ftp server


Reference of the file: LyXWin137Complete-1-1.exe, 54 416 Kbytes, date 
(download) 17/02/06 23:50. So i am supposed to have the updated installer!


Regards

Paul



Re: Importing files written with SWP 4.0

2006-02-23 Thread Bo Peng
  --- Piero Pasotti [EMAIL PROTECTED] wrote:
 I collaborated a while back with someone using SWP.  Based on that
 experience, when SWP exports a file as LaTeX, the .tex file tends to
 load a lot of proprietary style files that come with SWP (and not with
 any standard distribution of LaTeX that I've heard of).

I talked a SWP guy and he said that you can use 'portable tex output'
to make the tex file a bit more compatible to real latex. Also, it is
possible to config SWP to use miktex instead of its own tex engine. I
suppose that in this way, you would not use any SWP-specific style
files.

Anyway, I gave up SWP for lyx a few years ago and have no idea how to
do these with the current SWP version. (BTW, the version number of SWP
grows much faster than lyx. :-)

Cheers,
Bo


Locating bibliography inside a document

2006-02-23 Thread LB

Hello

I've always been using BibTex to create references.  However for the next 
article that I preparing for submission, the publisher requires the 
bibliography to be inside the tex document so that they receive one complete 
file.  The bibliography style I'm using is IEEEtran.bst which is what the 
publisher also needs.


I'm hoping that I could copy and paste entrees from my .bib file into Lyx 
but it did not work when I did that directly.  Is there a tex command that 
should surround the pasted version of the .bib file?  Is this possible to do 
at all?


I'm using Lyx 1.3.5 on Windows XP.

Thank you
LB 





Re: LyX on Cygwin

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 6:15 AM
Subject: Re: LyX on Cygwin



Stephen Harris [EMAIL PROTECTED] writes:


SH: The qt3 install got further this time but failed with this error:

-DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/local/src/qt3/mkspecs/cygwin-g++-win32
-DAVE_QCONFIG_CPP /usr/local/src/qt3/src/tools/qglobal.cpp
In file included from /usr/local/src/qt3/src/tools/qglobal.cpp:38:
/usr/local/src/qt3/mkspecs/cygwin-g++-win32/qplatformdefs.h:67:20: 
resolv.h:

No such file or directory
make: *** [qglobal.o] Error 1


Ok, you need to install the minires-devel cygwin package. This is one
of the packages that I hoped not having forgotten...
I am going to update the wiki page. Thank you for helping in sorting
this out.

Enrico



That did the trick, Qt3 configured! You are doing all the hard work!

There is a Cygwin icon in the upper left-hand corner of the command
window. I left-click on it and it opens a drop-down menu. Then I
choose Edit-mark and drag the mouse cursor over all those lines of
./configure options. Then I choose Edit-copy and paste those
lines into Notepad and save the file. If on the off chance a configure
run should fail, at a later date one can copy line by line from Notepad
into the Cygwin command window, using Edit-paste to insert those
lines of configure options. It saves typing for those of us who don't
like typing. I figure some new users might not know this gadgetry.

Well, I might as well get on with this and deliver a report. The make
went a ways and then failed with this error message:

ream.o ./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./qutfcodec.o 
./moc_yac
c.o ./qfile_unix.o ./qdir_unix.o 
./qfileinfo_unix.o -lkernel32 -luser32 -lgd
i32 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm 
-l

wsock32 -lwinspool -lopengl32
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
open
linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata: 
No

such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'

SH: Do you have the same version, 3.4.4?
Also I noticed that I don't have a path: /usr/lib/qt3 and I used the 
default.

I wasn't sure what file to edit so I copied /cygwin/lib which contains a qt3
to be under /usr/lib/qt3/mkspecs  though I don't have
cygwin-g++-win32/i386pe.x-no-rdata

What I have:

Directory of C:\Cygwin\lib\qt3\mkspecs\cygwin-g++

01/24/2006  10:21 AMDIR  .
01/24/2006  10:21 AMDIR  ..
08/11/2005  02:59 PM 2,194 qmake.conf
08/11/2005  02:59 PM 2,332 qplatformdefs.h
  2 File(s)  4,526 bytes

But I do have a .../mkspecs/cygwin-g++-win32/i386pe.x.-no-rdat
C:\Cygwin\usr\local\src\qt3\mkspecs

That file etc. didn't get copied over to the /lib directory by the script.
So I made this .../i386pe.x.-no-rdat conform to the script, but no dice.
Copied what I found to where the script said it looked and couldn't find.

Next I notice
C:\Cygwin\usr\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\i686-pc-cygwin
has no /bin and no ld. It just contains a directory called /bits
So I made that conform to the script (mkdir bin and copied /bin files).
Run /usr/bin/make confclean; set the Path and Qtdir again; run 
link_includes;

run configure again with all options; edit all: # line; then /usr/bin/make;

Returned same error:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
open
linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata: 
No

such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'

Regards,
Stephen





Fw: inserting image

2006-02-23 Thread Paul Schwartz
- Original Message - 
From: Paul Schwartz [EMAIL PROTECTED]

on feb 23,2006 9:39 PM, paul schwartz wrote


on Thursday, February 23, 2006 11:24 AM - Uwe Stöhr schrieb :
Subject: Re: inserting image



Paul Schwartz schrieb:


I am trying to insert image inside one document:
- one small image of a button inside the document itself,
- one small image of the same button inside a table
...
display-PDF(pdflatex). I got five errors for each image.


To fix the problem, copy the attached file latex.bat to LyX's install
subdirectory ~\LyX\bin.
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe








$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1





Thank you Uwe,

1)I copy the .bat file hoping that I do not pollute it. Will come back to 
you to confirm.


2) However, I am preoccupied because it seems that i downloaded the 
version 1.1 of the installer from the ftp server


Reference of the file: LyXWin137Complete-1-1.exe, 54 416 Kbytes, date 
(download) 17/02/06 23:50. So i am supposed to have the updated installer!


Regards

Paul


10:15 PM

After replacing .bat file in the bin directory and checking inserting image, 
i have the same result than yesterday.
Comparing .bat file the one downloaded and yours, they are apparently the 
same. I am joining them herewith.


Sorry but my problem is not solved, may be i am performing a wrong process 
or making a mistake ?
You said that it was a matter of document in french language. So I'll try an 
experience with english and advise you.


Schuss

Paul 



Fw: inserting image

2006-02-23 Thread Paul Schwartz

Sorry I forget to join the .bat comparison


From: Paul Schwartz [EMAIL PROTECTED]
on feb 23,2006 9:39 PM, paul schwartz wrote


on Thursday, February 23, 2006 11:24 AM - Uwe Stöhr schrieb :
Subject: Re: inserting image



Paul Schwartz schrieb:


I am trying to insert image inside one document:
- one small image of a button inside the document itself,
- one small image of the same button inside a table
...
display-PDF(pdflatex). I got five errors for each image.


To fix the problem, copy the attached file latex.bat to LyX's install
subdirectory ~\LyX\bin.
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe








$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1





Thank you Uwe,

1)I copy the .bat file hoping that I do not pollute it. Will come back to 
you to confirm.


2) However, I am preoccupied because it seems that i downloaded the 
version 1.1 of the installer from the ftp server


Reference of the file: LyXWin137Complete-1-1.exe, 54 416 Kbytes, date 
(download) 17/02/06 23:50. So i am supposed to have the updated 
installer!


Regards

Paul


10:15 PM

After replacing .bat file in the bin directory and checking inserting 
image, i have the same result than yesterday.
Comparing .bat file the one downloaded and yours, they are apparently 
the same. I am joining them herewith.


Sorry but my problem is not solved, may be i am performing a wrong process 
or making a mistake ?
You said that it was a matter of document in french language. So I'll try 
an experience with english and advise you.


Schuss

Paul 


Former file installed

$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1

The one you send me

$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1

inserting image

2006-02-23 Thread Paul Schwartz


Sorry again,

1) I tried with an English language file without changing the basic language
of the document, i.e. remaining in French :it appears to be the same result.
I inserted three images, I got 15 errors. always trying to display PDF
(pdflatex)
Here is a copy of the prepared file.

2) I changed the language in format-document into anglais (English),
inserted two images then it works properly.

Note: when I insert a floating image then i have no problem

Have you an idea to bypass this problem and have French accentuation
available

Thanks

regards
Paul


timerate_decrease.png
Description: PNG image


timerate_increase.png
Description: PNG image


testing_image_insertion.lyx
Description: application/lyx


Re: I need workaround of encoding problem

2006-02-23 Thread Marcelo Acuña
 I can't to use spellchecker. Accented letters
 and ñ, Ñ are not recognized by ispell, aspell.
   
 
 export LANG=es_ES
 Then run lyx from the same xterm, so it uses the
 modified  language.  You should still get the
 lyx
 GUI in your language, assuming it is translated.
 And now the spellchecker works too. :-)
 
 
 No work for me :-(
 What can I do? I need run spellcheck.
   
 
 Your lyx installation is clearly broken, perhaps a
 reinstall
 is in place.  What operating system do you use, how
 did
 you install lyx? 
 
 If you get lyx itself working fine (with menu) but
 still
 have trouble with the spellchecker, ask again.
 
 Helge Hafting
 
I get a new hard disk, and I installed suse 9.3, with
this I installed lyx 1.3.5. I make several
installations with different options, (english US,
spanish, english UK, for default language, etc.)
Spellchecker no work in any case. I make trial with
export LANG=es_ES, I get that lyx appears with menu,
but spellchecker no work.
Marcelo
 



___ 
A tu celular ¿no le falta algo? 
Usá Yahoo! Messenger y Correo Yahoo! en tu teléfono celular. 
Más información en http://movil.yahoo.com.ar


inserting image

2006-02-23 Thread Paul Schwartz

Hi,

finally when I select English in the format of the document, I still can 
type in French language including the French accentuations, display the text 
in pdf (pdflatex) and insert images without problem.


Shall i understand that language=French is just a matter of dictionnary ? or 
is there other inconveniences ? otherwise it is not a problem for me to 
adjust language to use one or the other dictionnary (French or English or 
other ...)


Thanks

Paul 



Re: I need workaround of encoding problem

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Marcelo Acuña [EMAIL PROTECTED]

To: Helge Hafting [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 3:40 PM
Subject: Re: I need workaround of encoding problem



I can't to use spellchecker. Accented letters
and ñ, Ñ are not recognized by ispell, aspell.


export LANG=es_ES
Then run lyx from the same xterm, so it uses the
modified  language.  You should still get the
lyx
GUI in your language, assuming it is translated.
And now the spellchecker works too. :-)


No work for me :-(
What can I do? I need run spellcheck.


Your lyx installation is clearly broken, perhaps a
reinstall
is in place.  What operating system do you use, how
did
you install lyx?

If you get lyx itself working fine (with menu) but
still
have trouble with the spellchecker, ask again.

Helge Hafting


I get a new hard disk, and I installed suse 9.3, with
this I installed lyx 1.3.5. I make several
installations with different options, (english US,
spanish, english UK, for default language, etc.)
Spellchecker no work in any case. I make trial with
export LANG=es_ES, I get that lyx appears with menu,
but spellchecker no work.
Marcelo



Be systematic with your troubleshooting. Make a small
file of misspelled words. Test that Aspell works all by
itself. From the command line in your Aspell directory
containing mispelled.txt type: aspell -c misspelled.txt
If you have the Aspell program and a dictionary installed,
this should start checking that file for spelling errors. LyX
can't use Aspell unless Aspell works first, all by itself.

This way you can tell if the spellchecker itself is not
working or if it is a problem with LyX. Does your
spellchecker recognize the tilde over ene? Misspell
anos in your misspelled.txt list of words and see if
the missing tilde is recognized. If not the problem is
probably your dictionary. That does not eliminate
the possibility that there might be a problem later
with LyX. But if not standalone, then not with LyX.
With Linux you can have multiple dicts but there is
probably a config file for that covered in Aspell docs.

Regards,
Stephen 





Re: I need workaround of encoding problem

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Marcelo Acuña [EMAIL PROTECTED]

To: Helge Hafting [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 3:40 PM
Subject: Re: I need workaround of encoding problem



I can't to use spellchecker. Accented letters
and ñ, Ñ are not recognized by ispell, aspell.



I get a new hard disk, and I installed suse 9.3, with
this I installed lyx 1.3.5. I make several
installations with different options, (english US,
spanish, english UK, for default language, etc.)
Spellchecker no work in any case. I make trial with
export LANG=es_ES, I get that lyx appears with menu,
but spellchecker no work.
Marcelo



I forgot to mention something. You have a new hard disk.
You need to install your LyX helper programs (Aspell etc.)
before installing LyX. Otherwise LyX can't incorporate them.

If you installed Aspell after LyX, then Lyx doesn't know about it.
You would need to go to LyX-Edit-Reconfigure in order to
update LyX's awareness that Aspell (or other apps) is now installed.
You should still manually (not in LyX) check that Aspell works.

I'll bet you a dollar to a donut* that you have a dictionary problem,
Stephen

*In the olden days in the US a dollar used to be worth more than
the cost of a donut so I would be laying favorable odds to you. 





Re: LyX on Cygwin

2006-02-23 Thread Enrico Forestieri
Stephen Harris [EMAIL PROTECTED] writes:

 That did the trick, Qt3 configured! You are doing all the hard work!
 
 There is a Cygwin icon in the upper left-hand corner of the command
 window. I left-click on it and it opens a drop-down menu. Then I
 choose Edit-mark and drag the mouse cursor over all those lines of
 ./configure options. Then I choose Edit-copy and paste those
 lines into Notepad and save the file. If on the off chance a configure
 run should fail, at a later date one can copy line by line from Notepad
 into the Cygwin command window, using Edit-paste to insert those
 lines of configure options. It saves typing for those of us who don't
 like typing. I figure some new users might not know this gadgetry.

If you use an rxvt window (look in the c:\cygwin\bin folder and
double click on rxvt.exe) copy and paste is much simpler.
In a windows application do a copy as usual and then in the rxvt
window simply press the middle mouse button to paste.
Conversely, in an rxvt window simply select what you want to copy
(it is automatically copied in the windows clipboard) and than
do a paste in a windows app.

 Well, I might as well get on with this and deliver a report. The make
 went a ways and then failed with this error message:
 
 ream.o ./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./qutfcodec.o 
 ./moc_yac
 c.o ./qfile_unix.o ./qdir_unix.o 
 ./qfileinfo_unix.o -lkernel32 -luser32 -lgd
 i32 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm 
  -l
 wsock32 -lwinspool -lopengl32
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
 open
  linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata: 
 No
 such file or directory
 collect2: ld returned 1 exit status
 make[2]: *** [../../bin/moc] Error 1
 make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
 make[1]: *** [src-moc] Error 2
 make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'

This is quite strange. Are you sure that you are not trying to build
a dynamic library? My instructions are for building a static Qt library.
I can't build a dynamic Qt because I only have 256 Mb of memory and
the build stops with an out of memory error. In this case I can't be of
much help...

Check that you use the -static switch to configure.

 SH: Do you have the same version, 3.4.4?

Yes, I have the latest gcc available in cygwin.

 Also I noticed that I don't have a path: /usr/lib/qt3 and I used the 
 default.
 I wasn't sure what file to edit so I copied /cygwin/lib which contains a qt3
 to be under /usr/lib/qt3/mkspecs  though I don't have
 cygwin-g++-win32/i386pe.x-no-rdata
 
 What I have:
 
  Directory of C:\Cygwin\lib\qt3\mkspecs\cygwin-g++
 
 01/24/2006  10:21 AMDIR  .
 01/24/2006  10:21 AMDIR  ..
 08/11/2005  02:59 PM 2,194 qmake.conf
 08/11/2005  02:59 PM 2,332 qplatformdefs.h
2 File(s)  4,526 bytes

Uh, oh... have you installed the cygwin Qt package by chance?

 But I do have a .../mkspecs/cygwin-g++-win32/i386pe.x.-no-rdat
 C:\Cygwin\usr\local\src\qt3\mkspecs
 
 That file etc. didn't get copied over to the /lib directory by the script.
 So I made this .../i386pe.x.-no-rdat conform to the script, but no dice.
 Copied what I found to where the script said it looked and couldn't find.

Well, you should need to do no more and no less than what I put on
the wiki, otherwise it means that somenthing is going wrong...

 Next I notice
 C:\Cygwin\usr\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\i686-pc-cygwin
 has no /bin and no ld. It just contains a directory called /bits
 So I made that conform to the script (mkdir bin and copied /bin files).
 Run /usr/bin/make confclean; set the Path and Qtdir again; run 
 link_includes;
 run configure again with all options; edit all: # line; then /usr/bin/make;
 
 Returned same error:
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
 open
  linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata: 
 No
 such file or directory
 collect2: ld returned 1 exit status
 make[2]: *** [../../bin/moc] Error 1
 make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
 make[1]: *** [src-moc] Error 2
 make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'

I cannot understand from where that prefix /usr/lib/qt3 comes from.
If you have installed the official cygwin Qt packages, perhaps this is
a symptom of a sort of clashing.

-- 
Enrico





Re: lyx compatibility to MsWord etc

2006-02-23 Thread [EMAIL PROTECTED]
in my experience it will not work.

time is wasted on converting documents from lyx2word and visa versa. a lot
of time!

its a pain in the arse working in word, but so be it.

a lot about this issue is already written in the lyx wiki and in previous
threads on this mail list. do check it out!

sorry, but thats the way it is, IMHO


martin

On 22/02/06, Charles de Miramon [EMAIL PROTECTED] wrote:

 Tom Tom wrote:

  Hi all,
 
  I am about to begin to write up my Phd-thesis and
  would like to do this in lyx.
  One thing that worries me is that the Profs who will
  correct it are working in MsWord!
 
 The easiest way is to give pdf files to your supervisors. They print it,
 mark it and gave them back to you.


  Is there an tested/validated way to convert lyx files
  to .doc?
 
  I have read something about lyx-latex-rtf-doc .
  This sounds not really promising, I guess all the
  layout will be lost?!

 No, the tex - doc converters are today much more powerful than they were
 a
 couple of years ago and you will be able to keep most of your layout.

 The most powerful way is lyx - latex - oowriter -- doc with tex4ht

 The alternative way is lyx - latex - rtf with rtf2latex

 Tex4ht is more powerful with bibliographies and custom environments.
 rtf2latex has a more limited set of features but is fast and easier to
 use.

 It all depends on what you are writing. Create an example with the most
 complex stuff you will be writing (math, tables, bibliography) and test
 conversion.

 Charles

 --
 http://www.kde-france.org




Re: double superscript a lyx bug?

2006-02-23 Thread Jean-Marc Lasgouttes
 Uwe == Uwe Stöhr [EMAIL PROTECTED] writes:

Uwe Sven Schreiber schrieb:
 Hi, I just ran into the same thing reported by Bo Peng a short
 while ago -- if in math you make an explicit superscript but also
 append a ' as a shortcut for prime (= matrix transpose sign
 here), latex complains about double superscript. I know how to
 workaround, but I read somewhere that lyx tries to produce correct
 latex files (absent any ERT). So, is this a bug by official
 standards?

Uwe Yes it is, there is already a bug report at bugzilla:

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

Thanks for unearthing this and in particular bug 67 (I think I missed
it at the time). I do not think unfortunately that the patch can be
used...

JMarc


Re: Palatino leads to many overfull hbox-es

2006-02-23 Thread Helge Hafting

Peter Hegt wrote:


Hi,

I use the Palatinodefault fontsize, paper A5, margins default, but
this leads to many words sticking out into the right margin.


Consider the microtype package.  It helps by stretching/shrinking the font
width slightly, in addition to the usual stretching of whitespace.

Before _I got ca. 3 hyphenations per A4 page, now I have 3 pages
per hyphentation.

Helge Hafting 



Re: Automatic formatting of a particular word?

2006-02-23 Thread Helge Hafting

Andre Poenitz wrote:


On Mon, Feb 20, 2006 at 02:36:01PM -0800, Rich Shepard wrote:
 


On Mon, 20 Feb 2006, Kevin Pfeiffer wrote:

   


... how can I get this behavior with any word?
   


Good question. Maybe Herbert or someone else can help.
 


 That's like the user calling the help desk because she cannot find the
any key on her keyboard. But the instructions say to press any key!
   



I keep telling people that the 'any key' is the '5' on the numeric keys
block. It works and has not much potential to break thing when hit at
the wrong time.
 


No, suggest the mysterious reset button instead. That should
teach sw developers to use almost any key instead. :-)

Helge Hafting


Re: Automatic formatting of a particular word?

2006-02-23 Thread Kevin Pfeiffer
Helge Hafting writes:
 Andre Poenitz wrote:
 On Mon, Feb 20, 2006 at 02:36:01PM -0800, Rich Shepard wrote:
 On Mon, 20 Feb 2006, Kevin Pfeiffer wrote:
[...]

Dear Thread-Contributors,

This is all very interesting perhaps, but please, I am subscribed to the 
list -- you do not need to cc me with replies to this thread (or 
anything else in the lyx-users list). I'd actually prefer not to get 
such cc's as it means twice the mail, twice the viewing, and a strange 
feeling of deja vu.

-Kevin



-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


RE: Palatino leads to many overfull hbox-es

2006-02-23 Thread Peter Hegt
Hi, 

Tried \usepackage{microtype}, result looks quite nice. Much less
overfull hbox-es. Maybe I could reduce the left  right margins a little
to get to about 60 letters per line (or is this a sin, even for A5?) 

Met vriendelijke groet,

Peter Hegt

-Original Message-
From: Helge Hafting [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 februari 2006 11:43
To: Peter Hegt
Cc: lyx-users@lists.lyx.org
Subject: Re: Palatino leads to many overfull hbox-es

Peter Hegt wrote:

Hi,

I use the Palatinodefault fontsize, paper A5, margins default, but 
this leads to many words sticking out into the right margin.

Consider the microtype package.  It helps by stretching/shrinking the
font width slightly, in addition to the usual stretching of whitespace.

Before _I got ca. 3 hyphenations per A4 page, now I have 3 pages per
hyphentation.

Helge Hafting 



importing chart from excel ?

2006-02-23 Thread Luqman H
hi,

i have copy-paste chart graph from excel to mspaint,
and then save it to png, and open it into lyx document

but the result is not as smooth when printing it in excel directly.

is there any way to input the chart into lyx without
loosing quality...?

thanks


test - ignore

2006-02-23 Thread Uwe Stöhr

test


Re: lyx compatibility to MsWord etc

2006-02-23 Thread Charles de Miramon
Stephen Harris wrote:

 Currently I think tex4ht will convert latex to html. Then the
 html can be imported by Word. This doesn't work great.
 
Wrong. Tex4ht converts well to Oowriter. I've done it for a 54 pages article
with footnotes, a jurabib bibliography, tables and some custom macros. With
some massaging, it worked very well. TeX4ht has some bugs but the
maintainer is very active and responsive. 

Cheers,
Charles
-- 
http://www.kde-france.org



Re: inserting image

2006-02-23 Thread Uwe Stöhr

Paul Schwartz schrieb:

  I am trying to insert image inside one document:
  - one small image of a button inside the document itself,
  - one small image of the same button inside a table
  ...
  display-PDF(pdflatex). I got five errors for each image.

To fix the problem, copy the attached file latex.bat to LyX's install
subdirectory ~\LyX\bin.
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe



Re: Still: citation reference is wrong

2006-02-23 Thread Charles de Miramon
Charles de Miramon wrote:

 Matthias Schmidt wrote:
 
 
 well, I checked it: latex is running 3 times, and the bibliography is
 inserted within Lyx. So, the problem continues to exist! I don't
 understand, why I can see the citation reference in Lyx correct, but
 in the dvi-preview and pdf-print it is wrong
 
 
 Give a minimal LyX file and bibliography file.
 
 Cheers,
 Charles

Matthias sent me his file and the problem was a tricky one. He chose the
plain bibliography style when you should always use a bibliography style
compatible with the bibliography package.

BibTeX is very hard to understand, unintuitive and sometimes spit some
cryptic error messages. The BibTeX support in LyX is very fragile. Here you
could choose an incompatible bibliography style.

In LyX 1.4, I have just tried that. Create a little document, choose the
natbib style, insert a reference, compile. Then change to the jurabib
package and the jurabib style and try to compile. Boom, error. You will
have to export to latex and rerun bibtex on it, to make it work.

Cheers,
Charles 
-- 
http://www.kde-france.org



Re: importing chart from excel ?

2006-02-23 Thread Mael Hilléreau

is there any way to input the chart into lyx without
loosing quality...?



Export to PDF from excel (using PDF995, or another PDF printer or 
openoffice if not available) and then include the PDF into LyX.


Regards,
Mael.

--
Mael Hilléreau



Re: importing chart from excel ?

2006-02-23 Thread John Pye
This might be useful as well -- I seem to remember that it's possible to 
get out a WMF file of the chart somehow. If so, you could convert using 
this (I haven't tried it though):


http://www.skynet.ie/~caolan/Packages/libwmf.html

Talking of PDF printers, I use PDF Factory and also FinePrint. I 
just checked the fineprint.com site and it says that you can export 
printed-output in a number of useful formats including JPEG, TIF, BMP. 
Maybe there is a vector format that it can export as well...?

See the bottom of this page:
http://www.fineprint.com/products/fineprint/benefits.html

Cheers
JP

PS A very easy to use (but non-free) PDF printer is PDF Factory. And 
btw, it goes really well with with its paper-saving sibling, 
FinePrint. I think it's at fineprint.com.


Mael Hilléreau wrote:


is there any way to input the chart into lyx without
loosing quality...?



Export to PDF from excel (using PDF995, or another PDF printer or 
openoffice if not available) and then include the PDF into LyX.


Regards,
Mael.



Re: lyx compatibility to MsWord etc

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Charles de Miramon [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 4:22 AM
Subject: Re: lyx compatibility to MsWord etc



Stephen Harris wrote:


Currently I think tex4ht will convert latex to html. Then the
html can be imported by Word. This doesn't work great.

Wrong. Tex4ht converts well to Oowriter. I've done it for a 54 pages 
article
with footnotes, a jurabib bibliography, tables and some custom macros. 
With

some massaging, it worked very well. TeX4ht has some bugs but the
maintainer is very active and responsive.

Cheers,
Charles
--
http://www.kde-france.org




http://www.mathematik.uni-marburg.de/~gumm/

Using XY-pic in LyX (Documentation) html or pdf

LyX converted the original file to .pdf and the
conversion is nearly perfect, which earns the word great.
No editing of the source doc is needed to fix the output.

Compare this to the quality of conversion of tex4ht using
htlatex which made the same file in html format. 15 to 25
errors is good but not great in my book. The html flaws
don't get magically corrected when importing html into
.doc format. Yes, the maintainer quickly sent a fix for one
error (XY-pic) which was repeated a few times. Because
latex2html was worse (fi ligatures) doesn't make htlatex great.

My standards dictate that using comment enabled pdf will
create a lot less work than proofreading and editing sections
of a thesis converted from LyX-Latex-tex4ht-Word.
Since that was the context, comment-enabled pdf is a
great method and tex4ht good, or even very good. Perhaps
your example doesn't include logo words with space problems.

By massaging don't you mean proofreading and editing. Also
I once posted that Fabrice Popineau stated that tex4ht was the
best method (better than png) available for conversion from
Latex to Word. It is, but that still falls short of great when
compared to LyX-pdf conversion. This topic has lots of
press and there is already a consensus expert opinion which
uses a larger sample and fails to support: 'wrong, it is too great'.

Macro regards,
Stephen





Importing files written with SWP 4.0

2006-02-23 Thread Piero Pasotti
Hi,
  I'm a newcomer to the Lyx's world. Unfortunately I have the need to
frequently exchange .tex files with people working with Scientific
Workplace 4.0. I'm facing some problembs both in exporting lyx files
to .tex and in importing swp .tex files to Lix.
  Could anybody suggest me a general solution to this problem? Does
exist any working translator from Tcilatex to Lix's Tex and viceversa?





Re: LyX on Cygwin

2006-02-23 Thread Enrico Forestieri
Stephen Harris [EMAIL PROTECTED] writes:

 SH: The qt3 install got further this time but failed with this error:
 
 -DQT_NO_STL -DQT_NO_COMPRESS
 -I/usr/local/src/qt3/mkspecs/cygwin-g++-win32
 -DAVE_QCONFIG_CPP /usr/local/src/qt3/src/tools/qglobal.cpp
 In file included from /usr/local/src/qt3/src/tools/qglobal.cpp:38:
 /usr/local/src/qt3/mkspecs/cygwin-g++-win32/qplatformdefs.h:67:20: resolv.h:
 No such file or directory
 make: *** [qglobal.o] Error 1

Ok, you need to install the minires-devel cygwin package. This is one
of the packages that I hoped not having forgotten...
I am going to update the wiki page. Thank you for helping in sorting
this out.

 SH: I have been using X-Win32 as my X server. In order to make
 our systems closer, I downloaded most of the X11 files and headers.

No, no. X11 is not needed at all ;-)

 But I seem to remember something about xforms. Are they still needed
 even though the build is with qt3? I searched Cygwin and there were
 no hits for xforms. Is this required and how about xpm?
 http://savannah.nongnu.org/download/xforms/xforms-1.0.90.tar.gz

Neither xforms is required. You need to have installed only the packages
listed on the wiki page (well, with the addition of minires-devel ;-) ).

--
Enrico




Re: Can't find eps file when exporting

2006-02-23 Thread Jean-Pierre Chrétien
Gunnar [EMAIL PROTECTED] writes:

[...]


 
  The first error in the output you supplied in your initial post was
 
  dvips: Could not find figure
  file
  /tmp/lyx_tmpdir96260XiyjK/lyx_tmpbuf0/0_home_gunnar_Skola_appollonius.eps;

I just ran on the same problem...
The important point here is that the path is absolute.

 I must say, I'm not quite sure what the error is now. Suddelny things seems 
 to 
 work. I'm sorry for trying to confuse you. I'll try to understand what's 
 going on. 

If you're using TeXLive-2005, the dvips default behaviour has
shifted to secure: in particular, dvips won't accept absolute paths,
which LyX uses in the temporary.
You should run dvips -R0 in the Preference-Converter section, where dvips
is involved, to come back to unsecure mode.

If you're not admin, maybe this has been changed on your TeX distribution,
which could explain how it could work again magically.

-- 
Jean-Pierre






Re: Importing files written with SWP 4.0

2006-02-23 Thread Nusret BALCI
I tend to think that there is no general and perfect
solution yet, but I'm not an expert by any means. One
thing that may alleviate the grief can be this:
Scientific workplace can save files in a format called
portable latex. If your colleagues can save their
files as portable latex, that would possibly help.
Although not without problems, this makes it possible
to build your document in freely available tex
distributions most of the time (probably always ?).
Then, you can import the file better, but still not
without glitches, as LyX converter doen't understand
all of the latex, ams packages, and so on. 
Regards,

Nusret


--- Piero Pasotti [EMAIL PROTECTED] wrote:

 Hi,
   I'm a newcomer to the Lyx's world. Unfortunately I
 have the need to
 frequently exchange .tex files with people working
 with Scientific
 Workplace 4.0. I'm facing some problembs both in
 exporting lyx files
 to .tex and in importing swp .tex files to Lix.
   Could anybody suggest me a general solution to
 this problem? Does
 exist any working translator from Tcilatex to Lix's
 Tex and viceversa?
 
 
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Importing files written with SWP 4.0

2006-02-23 Thread Sven Schreiber
Piero Pasotti schrieb:
 Hi,
   I'm a newcomer to the Lyx's world. Unfortunately I have the need to
 frequently exchange .tex files with people working with Scientific
 Workplace 4.0. I'm facing some problembs both in exporting lyx files
 to .tex and in importing swp .tex files to Lix.
   Could anybody suggest me a general solution to this problem? Does
 exist any working translator from Tcilatex to Lix's Tex and viceversa?
 
 
 

On windows Uwe's 1.3.7-package does a good job of importing latex docs
into lyx.

Alternatively you could look on the wiki for how to use tex2lyx from the
command line (1.3.7 can read tex2lyx's output).
-Sven


Re: lyx compatibility to MsWord etc

2006-02-23 Thread Charles de Miramon
Stephen Harris wrote:

 
 By massaging don't you mean proofreading and editing. Also
 I once posted that Fabrice Popineau stated that tex4ht was the
 best method (better than png) available for conversion from
 Latex to Word. It is, but that still falls short of great when
 compared to LyX-pdf conversion. 

I totally agree with you. TeX4ht will not work well with documents
impossible (or very difficult) to create in Word with formulas, diagrams,
etc. But in my field of work, Medieval History, it is possible today to
write an article in Lyx and at the end of the process convert it to MsWord. 

It is very important for me because 100 % of Scientific Journals and
Publishers in my field of study demand MsWord. I don't really care for a
'perfect' translation ; Journals will then reformat the article in their
own DTP system, I just don't want to loose any formatting information.

One should say loudly that TeX4ht works because it is too common knowledge
in LaTeX circles that Word and LaTeX are incompatible.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: inserting image

2006-02-23 Thread Enrico Forestieri
Uwe Stöhr [EMAIL PROTECTED] writes:

 To fix the problem, copy the attached file latex.bat to LyX's install
 subdirectory ~\LyX\bin.

Uwe,

the first line $ cat latex.bat of the latex.bat file at

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

should be removed. 

-- 
Enrico




Re: Looking for way of writing pseudocode

2006-02-23 Thread Paul Smith
On 2/22/06, Hannan Sadar [EMAIL PROTECTED] wrote:
  I need to write some pseudocode. Is there some specific package? Or it
  suffices LyX code?
 
 You could use one of the following LaTeX package (Probably there are more):

 pseudocode
 alg
 algorithm2e

 you need to go to http://www.ctan.org/ and choose the type you prefer

Thanks, Martin and Hannan. The pseudocode packages looks good!

Paul


Re: Can't find eps file when exporting

2006-02-23 Thread Herbert Voss

Jean-Pierre Chrétien wrote:

Gunnar [EMAIL PROTECTED] writes:

[...]




The first error in the output you supplied in your initial post was

dvips: Could not find figure
file
/tmp/lyx_tmpdir96260XiyjK/lyx_tmpbuf0/0_home_gunnar_Skola_appollonius.eps;



I just ran on the same problem...
The important point here is that the path is absolute.


I must say, I'm not quite sure what the error is now. Suddelny things seems to 
work. I'm sorry for trying to confuse you. I'll try to understand what's 
going on. 



If you're using TeXLive-2005, the dvips default behaviour has
shifted to secure: in particular, dvips won't accept absolute paths,
which LyX uses in the temporary.
You should run dvips -R0 in the Preference-Converter section, where dvips
is involved, to come back to unsecure mode.

If you're not admin, maybe this has been changed on your TeX distribution,
which could explain how it could work again magically.


it is the config.ps. z0 enables absolute path names


% z1 is secure, i.e., inhibits execution of `shell commands` in
% \specials.  Dvips allows this by default.
z0


Herbert




Re: lyx compatibility to MsWord etc

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Charles de Miramon [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 7:09 AM
Subject: Re: lyx compatibility to MsWord etc



But in my field of work, Medieval History, it is possible today to
write an article in Lyx and at the end of the process convert it to 
MsWord.




What an interesting line of work, studying intrigues of Court.
I read The Prince when I was too young to understand it.
Never saw the attraction of re-enacting old battles.


It is very important for me because 100 % of Scientific Journals and
Publishers in my field of study demand MsWord. I don't really care for a
'perfect' translation ; Journals will then reformat the article in their
own DTP system, I just don't want to loose any formatting information.




One should say loudly that TeX4ht works because it is too common
knowledge in LaTeX circles that Word and LaTeX are incompatible.



I was surprised that it did as good as job as it did. I had been
conditioned on what to expect by computer folklore. And the
field of study of the OP might be publishable similar to yours. I
tried using Adobe Pro to convert pdf to Word (they made a deal)
and that combo did an unacceptable job on that LyX/XY-pic tutorial.


Cheers,
Charles
--
http://www.kde-france.org




I'll take a look at your website,
Stephen









Re: Can't find eps file when exporting

2006-02-23 Thread Georg Baum
Am Donnerstag, 23. Februar 2006 15:16 schrieb Jean-Pierre Chrétien:
 If you're using TeXLive-2005, the dvips default behaviour has
 shifted to secure: in particular, dvips won't accept absolute paths,
 which LyX uses in the temporary.

LyX will use relative paths in 1.4.0.

 You should run dvips -R0 in the Preference-Converter section, where 
dvips
 is involved, to come back to unsecure mode.

Why is an absolute path insecure?


Georg



Re: LyX-Code and Typewriter environment: how to change the font?

2006-02-23 Thread Joerg Hau
Hi,

On Tuesday 21 February 2006 00:22, Paul A. Rubin wrote:
  How does one change the font that is used (a) for the LyX-Code
  environment, (b) for typewriter character markup?

 If you mean you want to change LyX-Code globally (for all documents on
 your system), you need to hack the file lyxmacros.inc in the
 ...\Resources\lyx\layouts directory on Windows systems (at least for
 versions 1.3.6 and 1.3.7) or .../share/lyx/layouts on Unix-like systems.

That would be too much hassle: I'm co-editing the same document with 
another person, and (for various reasons) we do this on at least four 
different computers :-(

 In the section beginning Style LyX-Code there is a \newenvironment
 command, near the end of which is \normalfont\ttfamily.  You can
 change \ttfamily to something like \rmfamily or \sffamily (although IMHO
 a monospaced font would seem to be needed here). You should also be
 able to append a size command, for instance

 \normalfont\rmfamily\large

 or

 \normalfont\sffamily\fontsize{9pt}{11pt}.

Yes, basically I'd like a monospaced, narrower and eventually smaller font 
(the common Courier-type is too laaarge for my taste  purpose).

 Changing the typewriter font itself, so that for instance \ttfamily does
 something different from what it does now, is something I think you'll
 have to do with LaTeX commands in the preamble.  Perhaps a LaTeX guru
 (which decidedly excludes me) can help.

Imho this would be the way to go, especially due to said portability ... 
something along the line of \renewcommand\ttfont{\mynewfont\small}, but I 
haven't found the right syntax yet ... any ideas?

Cheers,

- Joerg


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
All standard disclaimers apply.
Never take life seriously. You won't get out alive anyway.


Re: importing chart from excel ?

2006-02-23 Thread Sara Stymne
Hi!

If the quality of the png-file is good, but not the quality of the the
pdf-file created from lyx, the loss of quality appears when lyx converts
the picture from png to eps. This can be solved by using pdflatex
instead of latex, which directly uses png-images.

/Sara

Luqman H wrote:

hi,

i have copy-paste chart graph from excel to mspaint,
and then save it to png, and open it into lyx document

but the result is not as smooth when printing it in excel directly.

is there any way to input the chart into lyx without
loosing quality...?

thanks

  




Re: inserting image

2006-02-23 Thread Paul Schwartz


on Thursday, February 23, 2006 11:24 AM - Uwe Stöhr schrieb :
Subject: Re: inserting image



Paul Schwartz schrieb:


I am trying to insert image inside one document:
- one small image of a button inside the document itself,
- one small image of the same button inside a table
...
display-PDF(pdflatex). I got five errors for each image.


To fix the problem, copy the attached file latex.bat to LyX's install
subdirectory ~\LyX\bin.
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe








$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1





Thank you Uwe,

1)I copy the .bat file hoping that I do not pollute it. Will come back to 
you to confirm.


2) However, I am preoccupied because it seems that i downloaded the version 
1.1 of the installer from the ftp server


Reference of the file: LyXWin137Complete-1-1.exe, 54 416 Kbytes, date 
(download) 17/02/06 23:50. So i am supposed to have the updated installer!


Regards

Paul



Re: Importing files written with SWP 4.0

2006-02-23 Thread Bo Peng
  --- Piero Pasotti [EMAIL PROTECTED] wrote:
 I collaborated a while back with someone using SWP.  Based on that
 experience, when SWP exports a file as LaTeX, the .tex file tends to
 load a lot of proprietary style files that come with SWP (and not with
 any standard distribution of LaTeX that I've heard of).

I talked a SWP guy and he said that you can use 'portable tex output'
to make the tex file a bit more compatible to real latex. Also, it is
possible to config SWP to use miktex instead of its own tex engine. I
suppose that in this way, you would not use any SWP-specific style
files.

Anyway, I gave up SWP for lyx a few years ago and have no idea how to
do these with the current SWP version. (BTW, the version number of SWP
grows much faster than lyx. :-)

Cheers,
Bo


Locating bibliography inside a document

2006-02-23 Thread LB

Hello

I've always been using BibTex to create references.  However for the next 
article that I preparing for submission, the publisher requires the 
bibliography to be inside the tex document so that they receive one complete 
file.  The bibliography style I'm using is IEEEtran.bst which is what the 
publisher also needs.


I'm hoping that I could copy and paste entrees from my .bib file into Lyx 
but it did not work when I did that directly.  Is there a tex command that 
should surround the pasted version of the .bib file?  Is this possible to do 
at all?


I'm using Lyx 1.3.5 on Windows XP.

Thank you
LB 





Re: LyX on Cygwin

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Enrico Forestieri [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 6:15 AM
Subject: Re: LyX on Cygwin



Stephen Harris [EMAIL PROTECTED] writes:


SH: The qt3 install got further this time but failed with this error:

-DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/local/src/qt3/mkspecs/cygwin-g++-win32
-DAVE_QCONFIG_CPP /usr/local/src/qt3/src/tools/qglobal.cpp
In file included from /usr/local/src/qt3/src/tools/qglobal.cpp:38:
/usr/local/src/qt3/mkspecs/cygwin-g++-win32/qplatformdefs.h:67:20: 
resolv.h:

No such file or directory
make: *** [qglobal.o] Error 1


Ok, you need to install the minires-devel cygwin package. This is one
of the packages that I hoped not having forgotten...
I am going to update the wiki page. Thank you for helping in sorting
this out.

Enrico



That did the trick, Qt3 configured! You are doing all the hard work!

There is a Cygwin icon in the upper left-hand corner of the command
window. I left-click on it and it opens a drop-down menu. Then I
choose Edit-mark and drag the mouse cursor over all those lines of
./configure options. Then I choose Edit-copy and paste those
lines into Notepad and save the file. If on the off chance a configure
run should fail, at a later date one can copy line by line from Notepad
into the Cygwin command window, using Edit-paste to insert those
lines of configure options. It saves typing for those of us who don't
like typing. I figure some new users might not know this gadgetry.

Well, I might as well get on with this and deliver a report. The make
went a ways and then failed with this error message:

ream.o ./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./qutfcodec.o 
./moc_yac
c.o ./qfile_unix.o ./qdir_unix.o 
./qfileinfo_unix.o -lkernel32 -luser32 -lgd
i32 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm 
-l

wsock32 -lwinspool -lopengl32
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
open
linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata: 
No

such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'

SH: Do you have the same version, 3.4.4?
Also I noticed that I don't have a path: /usr/lib/qt3 and I used the 
default.

I wasn't sure what file to edit so I copied /cygwin/lib which contains a qt3
to be under /usr/lib/qt3/mkspecs  though I don't have
cygwin-g++-win32/i386pe.x-no-rdata

What I have:

Directory of C:\Cygwin\lib\qt3\mkspecs\cygwin-g++

01/24/2006  10:21 AMDIR  .
01/24/2006  10:21 AMDIR  ..
08/11/2005  02:59 PM 2,194 qmake.conf
08/11/2005  02:59 PM 2,332 qplatformdefs.h
  2 File(s)  4,526 bytes

But I do have a .../mkspecs/cygwin-g++-win32/i386pe.x.-no-rdat
C:\Cygwin\usr\local\src\qt3\mkspecs

That file etc. didn't get copied over to the /lib directory by the script.
So I made this .../i386pe.x.-no-rdat conform to the script, but no dice.
Copied what I found to where the script said it looked and couldn't find.

Next I notice
C:\Cygwin\usr\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\i686-pc-cygwin
has no /bin and no ld. It just contains a directory called /bits
So I made that conform to the script (mkdir bin and copied /bin files).
Run /usr/bin/make confclean; set the Path and Qtdir again; run 
link_includes;

run configure again with all options; edit all: # line; then /usr/bin/make;

Returned same error:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
open
linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata: 
No

such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'

Regards,
Stephen





Fw: inserting image

2006-02-23 Thread Paul Schwartz
- Original Message - 
From: Paul Schwartz [EMAIL PROTECTED]

on feb 23,2006 9:39 PM, paul schwartz wrote


on Thursday, February 23, 2006 11:24 AM - Uwe Stöhr schrieb :
Subject: Re: inserting image



Paul Schwartz schrieb:


I am trying to insert image inside one document:
- one small image of a button inside the document itself,
- one small image of the same button inside a table
...
display-PDF(pdflatex). I got five errors for each image.


To fix the problem, copy the attached file latex.bat to LyX's install
subdirectory ~\LyX\bin.
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe








$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1





Thank you Uwe,

1)I copy the .bat file hoping that I do not pollute it. Will come back to 
you to confirm.


2) However, I am preoccupied because it seems that i downloaded the 
version 1.1 of the installer from the ftp server


Reference of the file: LyXWin137Complete-1-1.exe, 54 416 Kbytes, date 
(download) 17/02/06 23:50. So i am supposed to have the updated installer!


Regards

Paul


10:15 PM

After replacing .bat file in the bin directory and checking inserting image, 
i have the same result than yesterday.
Comparing .bat file the one downloaded and yours, they are apparently the 
same. I am joining them herewith.


Sorry but my problem is not solved, may be i am performing a wrong process 
or making a mistake ?
You said that it was a matter of document in french language. So I'll try an 
experience with english and advise you.


Schuss

Paul 



Fw: inserting image

2006-02-23 Thread Paul Schwartz

Sorry I forget to join the .bat comparison


From: Paul Schwartz [EMAIL PROTECTED]
on feb 23,2006 9:39 PM, paul schwartz wrote


on Thursday, February 23, 2006 11:24 AM - Uwe Stöhr schrieb :
Subject: Re: inserting image



Paul Schwartz schrieb:


I am trying to insert image inside one document:
- one small image of a button inside the document itself,
- one small image of the same button inside a table
...
display-PDF(pdflatex). I got five errors for each image.


To fix the problem, copy the attached file latex.bat to LyX's install
subdirectory ~\LyX\bin.
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe








$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1





Thank you Uwe,

1)I copy the .bat file hoping that I do not pollute it. Will come back to 
you to confirm.


2) However, I am preoccupied because it seems that i downloaded the 
version 1.1 of the installer from the ftp server


Reference of the file: LyXWin137Complete-1-1.exe, 54 416 Kbytes, date 
(download) 17/02/06 23:50. So i am supposed to have the updated 
installer!


Regards

Paul


10:15 PM

After replacing .bat file in the bin directory and checking inserting 
image, i have the same result than yesterday.
Comparing .bat file the one downloaded and yours, they are apparently 
the same. I am joining them herewith.


Sorry but my problem is not solved, may be i am performing a wrong process 
or making a mistake ?
You said that it was a matter of document in french language. So I'll try 
an experience with english and advise you.


Schuss

Paul 


Former file installed

$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1

The one you send me

$ cat latex.bat
@echo off
set curdir=%CD:\=/%
sed -e s?%curdir%/??g %1  %1.new
move %1.new %1
latex.exe %1

inserting image

2006-02-23 Thread Paul Schwartz


Sorry again,

1) I tried with an English language file without changing the basic language
of the document, i.e. remaining in French :it appears to be the same result.
I inserted three images, I got 15 errors. always trying to display PDF
(pdflatex)
Here is a copy of the prepared file.

2) I changed the language in format-document into anglais (English),
inserted two images then it works properly.

Note: when I insert a floating image then i have no problem

Have you an idea to bypass this problem and have French accentuation
available

Thanks

regards
Paul


timerate_decrease.png
Description: PNG image


timerate_increase.png
Description: PNG image


testing_image_insertion.lyx
Description: application/lyx


Re: I need workaround of encoding problem

2006-02-23 Thread Marcelo Acuña
 I can't to use spellchecker. Accented letters
 and ñ, Ñ are not recognized by ispell, aspell.
   
 
 export LANG=es_ES
 Then run lyx from the same xterm, so it uses the
 modified  language.  You should still get the
 lyx
 GUI in your language, assuming it is translated.
 And now the spellchecker works too. :-)
 
 
 No work for me :-(
 What can I do? I need run spellcheck.
   
 
 Your lyx installation is clearly broken, perhaps a
 reinstall
 is in place.  What operating system do you use, how
 did
 you install lyx? 
 
 If you get lyx itself working fine (with menu) but
 still
 have trouble with the spellchecker, ask again.
 
 Helge Hafting
 
I get a new hard disk, and I installed suse 9.3, with
this I installed lyx 1.3.5. I make several
installations with different options, (english US,
spanish, english UK, for default language, etc.)
Spellchecker no work in any case. I make trial with
export LANG=es_ES, I get that lyx appears with menu,
but spellchecker no work.
Marcelo
 



___ 
A tu celular ¿no le falta algo? 
Usá Yahoo! Messenger y Correo Yahoo! en tu teléfono celular. 
Más información en http://movil.yahoo.com.ar


inserting image

2006-02-23 Thread Paul Schwartz

Hi,

finally when I select English in the format of the document, I still can 
type in French language including the French accentuations, display the text 
in pdf (pdflatex) and insert images without problem.


Shall i understand that language=French is just a matter of dictionnary ? or 
is there other inconveniences ? otherwise it is not a problem for me to 
adjust language to use one or the other dictionnary (French or English or 
other ...)


Thanks

Paul 



Re: I need workaround of encoding problem

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Marcelo Acuña [EMAIL PROTECTED]

To: Helge Hafting [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 3:40 PM
Subject: Re: I need workaround of encoding problem



I can't to use spellchecker. Accented letters
and ñ, Ñ are not recognized by ispell, aspell.


export LANG=es_ES
Then run lyx from the same xterm, so it uses the
modified  language.  You should still get the
lyx
GUI in your language, assuming it is translated.
And now the spellchecker works too. :-)


No work for me :-(
What can I do? I need run spellcheck.


Your lyx installation is clearly broken, perhaps a
reinstall
is in place.  What operating system do you use, how
did
you install lyx?

If you get lyx itself working fine (with menu) but
still
have trouble with the spellchecker, ask again.

Helge Hafting


I get a new hard disk, and I installed suse 9.3, with
this I installed lyx 1.3.5. I make several
installations with different options, (english US,
spanish, english UK, for default language, etc.)
Spellchecker no work in any case. I make trial with
export LANG=es_ES, I get that lyx appears with menu,
but spellchecker no work.
Marcelo



Be systematic with your troubleshooting. Make a small
file of misspelled words. Test that Aspell works all by
itself. From the command line in your Aspell directory
containing mispelled.txt type: aspell -c misspelled.txt
If you have the Aspell program and a dictionary installed,
this should start checking that file for spelling errors. LyX
can't use Aspell unless Aspell works first, all by itself.

This way you can tell if the spellchecker itself is not
working or if it is a problem with LyX. Does your
spellchecker recognize the tilde over ene? Misspell
anos in your misspelled.txt list of words and see if
the missing tilde is recognized. If not the problem is
probably your dictionary. That does not eliminate
the possibility that there might be a problem later
with LyX. But if not standalone, then not with LyX.
With Linux you can have multiple dicts but there is
probably a config file for that covered in Aspell docs.

Regards,
Stephen 





Re: I need workaround of encoding problem

2006-02-23 Thread Stephen Harris


- Original Message - 
From: Marcelo Acuña [EMAIL PROTECTED]

To: Helge Hafting [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Thursday, February 23, 2006 3:40 PM
Subject: Re: I need workaround of encoding problem



I can't to use spellchecker. Accented letters
and ñ, Ñ are not recognized by ispell, aspell.



I get a new hard disk, and I installed suse 9.3, with
this I installed lyx 1.3.5. I make several
installations with different options, (english US,
spanish, english UK, for default language, etc.)
Spellchecker no work in any case. I make trial with
export LANG=es_ES, I get that lyx appears with menu,
but spellchecker no work.
Marcelo



I forgot to mention something. You have a new hard disk.
You need to install your LyX helper programs (Aspell etc.)
before installing LyX. Otherwise LyX can't incorporate them.

If you installed Aspell after LyX, then Lyx doesn't know about it.
You would need to go to LyX-Edit-Reconfigure in order to
update LyX's awareness that Aspell (or other apps) is now installed.
You should still manually (not in LyX) check that Aspell works.

I'll bet you a dollar to a donut* that you have a dictionary problem,
Stephen

*In the olden days in the US a dollar used to be worth more than
the cost of a donut so I would be laying favorable odds to you. 





Re: LyX on Cygwin

2006-02-23 Thread Enrico Forestieri
Stephen Harris [EMAIL PROTECTED] writes:

 That did the trick, Qt3 configured! You are doing all the hard work!
 
 There is a Cygwin icon in the upper left-hand corner of the command
 window. I left-click on it and it opens a drop-down menu. Then I
 choose Edit-mark and drag the mouse cursor over all those lines of
 ./configure options. Then I choose Edit-copy and paste those
 lines into Notepad and save the file. If on the off chance a configure
 run should fail, at a later date one can copy line by line from Notepad
 into the Cygwin command window, using Edit-paste to insert those
 lines of configure options. It saves typing for those of us who don't
 like typing. I figure some new users might not know this gadgetry.

If you use an rxvt window (look in the c:\cygwin\bin folder and
double click on rxvt.exe) copy and paste is much simpler.
In a windows application do a copy as usual and then in the rxvt
window simply press the middle mouse button to paste.
Conversely, in an rxvt window simply select what you want to copy
(it is automatically copied in the windows clipboard) and than
do a paste in a windows app.

 Well, I might as well get on with this and deliver a report. The make
 went a ways and then failed with this error message:
 
 ream.o ./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./qutfcodec.o 
 ./moc_yac
 c.o ./qfile_unix.o ./qdir_unix.o 
 ./qfileinfo_unix.o -lkernel32 -luser32 -lgd
 i32 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm 
  -l
 wsock32 -lwinspool -lopengl32
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
 open
  linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata: 
 No
 such file or directory
 collect2: ld returned 1 exit status
 make[2]: *** [../../bin/moc] Error 1
 make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
 make[1]: *** [src-moc] Error 2
 make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'

This is quite strange. Are you sure that you are not trying to build
a dynamic library? My instructions are for building a static Qt library.
I can't build a dynamic Qt because I only have 256 Mb of memory and
the build stops with an out of memory error. In this case I can't be of
much help...

Check that you use the -static switch to configure.

 SH: Do you have the same version, 3.4.4?

Yes, I have the latest gcc available in cygwin.

 Also I noticed that I don't have a path: /usr/lib/qt3 and I used the 
 default.
 I wasn't sure what file to edit so I copied /cygwin/lib which contains a qt3
 to be under /usr/lib/qt3/mkspecs  though I don't have
 cygwin-g++-win32/i386pe.x-no-rdata
 
 What I have:
 
  Directory of C:\Cygwin\lib\qt3\mkspecs\cygwin-g++
 
 01/24/2006  10:21 AMDIR  .
 01/24/2006  10:21 AMDIR  ..
 08/11/2005  02:59 PM 2,194 qmake.conf
 08/11/2005  02:59 PM 2,332 qplatformdefs.h
2 File(s)  4,526 bytes

Uh, oh... have you installed the cygwin Qt package by chance?

 But I do have a .../mkspecs/cygwin-g++-win32/i386pe.x.-no-rdat
 C:\Cygwin\usr\local\src\qt3\mkspecs
 
 That file etc. didn't get copied over to the /lib directory by the script.
 So I made this .../i386pe.x.-no-rdat conform to the script, but no dice.
 Copied what I found to where the script said it looked and couldn't find.

Well, you should need to do no more and no less than what I put on
the wiki, otherwise it means that somenthing is going wrong...

 Next I notice
 C:\Cygwin\usr\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\i686-pc-cygwin
 has no /bin and no ld. It just contains a directory called /bits
 So I made that conform to the script (mkdir bin and copied /bin files).
 Run /usr/bin/make confclean; set the Path and Qtdir again; run 
 link_includes;
 run configure again with all options; edit all: # line; then /usr/bin/make;
 
 Returned same error:
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
 open
  linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata: 
 No
 such file or directory
 collect2: ld returned 1 exit status
 make[2]: *** [../../bin/moc] Error 1
 make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
 make[1]: *** [src-moc] Error 2
 make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'

I cannot understand from where that prefix /usr/lib/qt3 comes from.
If you have installed the official cygwin Qt packages, perhaps this is
a symptom of a sort of clashing.

-- 
Enrico





Re: lyx compatibility to MsWord etc

2006-02-23 Thread [EMAIL PROTECTED]
in my experience it will not work.

time is wasted on converting documents from lyx2word and visa versa. a lot
of time!

its a pain in the arse working in word, but so be it.

a lot about this issue is already written in the lyx wiki and in previous
threads on this mail list. do check it out!

sorry, but thats the way it is, IMHO


martin

On 22/02/06, Charles de Miramon [EMAIL PROTECTED] wrote:

 Tom Tom wrote:

  Hi all,
 
  I am about to begin to write up my Phd-thesis and
  would like to do this in lyx.
  One thing that worries me is that the Profs who will
  correct it are working in MsWord!
 
 The easiest way is to give pdf files to your supervisors. They print it,
 mark it and gave them back to you.


  Is there an tested/validated way to convert lyx files
  to .doc?
 
  I have read something about lyx-latex-rtf-doc .
  This sounds not really promising, I guess all the
  layout will be lost?!

 No, the tex - doc converters are today much more powerful than they were
 a
 couple of years ago and you will be able to keep most of your layout.

 The most powerful way is lyx - latex - oowriter -- doc with tex4ht

 The alternative way is lyx - latex - rtf with rtf2latex

 Tex4ht is more powerful with bibliographies and custom environments.
 rtf2latex has a more limited set of features but is fast and easier to
 use.

 It all depends on what you are writing. Create an example with the most
 complex stuff you will be writing (math, tables, bibliography) and test
 conversion.

 Charles

 --
 http://www.kde-france.org




Re: double superscript a lyx bug?

2006-02-23 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes:

Uwe> Sven Schreiber schrieb:
>> Hi, I just ran into the same thing reported by Bo Peng a short
>> while ago -- if in math you make an explicit superscript but also
>> append a "'" as a shortcut for prime (= matrix transpose sign
>> here), latex complains about double superscript. I know how to
>> workaround, but I read somewhere that lyx tries to produce correct
>> latex files (absent any ERT). So, is this a bug by official
>> standards?

Uwe> Yes it is, there is already a bug report at bugzilla:

Uwe> http://bugzilla.lyx.org/show_bug.cgi?id=1633

Thanks for unearthing this and in particular bug 67 (I think I missed
it at the time). I do not think unfortunately that the patch can be
used...

JMarc


Re: Palatino leads to many overfull hbox-es

2006-02-23 Thread Helge Hafting

Peter Hegt wrote:


Hi,

I use the Palatino font, paper A5, margins default, but
this leads to many words sticking out into the right margin.


Consider the microtype package.  It helps by stretching/shrinking the font
width slightly, in addition to the usual stretching of whitespace.

Before _I got ca. 3 hyphenations per A4 page, now I have 3 pages
per hyphentation.

Helge Hafting 



Re: Automatic formatting of a particular word?

2006-02-23 Thread Helge Hafting

Andre Poenitz wrote:


On Mon, Feb 20, 2006 at 02:36:01PM -0800, Rich Shepard wrote:
 


On Mon, 20 Feb 2006, Kevin Pfeiffer wrote:

   


... how can I get this behavior with "any" word?
   


Good question. Maybe Herbert or someone else can help.
 


 That's like the user calling the help desk because she cannot find the
"any" key on her keyboard. "But the instructions say to press any key!"
   



I keep telling people that the 'any key' is the '5' on the numeric keys
block. It works and has not much potential to break thing when hit at
the wrong time.
 


No, suggest the mysterious "reset" button instead. That should
teach sw developers to use "almost any key" instead. :-)

Helge Hafting


Re: Automatic formatting of a particular word?

2006-02-23 Thread Kevin Pfeiffer
Helge Hafting writes:
> Andre Poenitz wrote:
> >On Mon, Feb 20, 2006 at 02:36:01PM -0800, Rich Shepard wrote:
> >>On Mon, 20 Feb 2006, Kevin Pfeiffer wrote:
[...]

Dear Thread-Contributors,

This is all very interesting perhaps, but please, I am subscribed to the 
list -- you do not need to cc me with replies to this thread (or 
anything else in the lyx-users list). I'd actually prefer not to get 
such cc's as it means twice the mail, twice the viewing, and a strange 
feeling of deja vu.

-Kevin



-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


RE: Palatino leads to many overfull hbox-es

2006-02-23 Thread Peter Hegt
Hi, 

Tried \usepackage{microtype}, result looks quite nice. Much less
overfull hbox-es. Maybe I could reduce the left & right margins a little
to get to about 60 letters per line (or is this a sin, even for A5?) 

Met vriendelijke groet,

Peter Hegt

-Original Message-
From: Helge Hafting [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 februari 2006 11:43
To: Peter Hegt
Cc: lyx-users@lists.lyx.org
Subject: Re: Palatino leads to many overfull hbox-es

Peter Hegt wrote:

>Hi,
>
>I use the Palatino font, paper A5, margins default, but 
>this leads to many words sticking out into the right margin.
>
Consider the microtype package.  It helps by stretching/shrinking the
font width slightly, in addition to the usual stretching of whitespace.

Before _I got ca. 3 hyphenations per A4 page, now I have 3 pages per
hyphentation.

Helge Hafting 



importing chart from excel ?

2006-02-23 Thread Luqman H
hi,

i have copy-paste chart graph from excel to mspaint,
and then save it to png, and open it into lyx document

but the result is not as smooth when printing it in excel directly.

is there any way to input the chart into lyx without
loosing quality...?

thanks


test - ignore

2006-02-23 Thread Uwe Stöhr

test


Re: lyx compatibility to MsWord etc

2006-02-23 Thread Charles de Miramon
Stephen Harris wrote:

> Currently I think tex4ht will convert latex to html. Then the
> html can be imported by Word. This doesn't work great.
> 
Wrong. Tex4ht converts well to Oowriter. I've done it for a 54 pages article
with footnotes, a jurabib bibliography, tables and some custom macros. With
some massaging, it worked very well. TeX4ht has some bugs but the
maintainer is very active and responsive. 

Cheers,
Charles
-- 
http://www.kde-france.org



Re: inserting image

2006-02-23 Thread Uwe Stöhr

Paul Schwartz schrieb:

 >> I am trying to insert image inside one document:
 >> - one small image of a button inside the document itself,
 >> - one small image of the same button inside a table
 >> ...
 >> display->PDF(pdflatex). I got five errors for each image.

To fix the problem, copy the attached file "latex.bat" to LyX's install
subdirectory "~\LyX\bin".
The problem is the babel pacakge when the document language is french,
see bug 2248:

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

This problem is fixed for with version 1.1 of the LyXWinInstaller.

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe



Re: Still: citation reference is wrong

2006-02-23 Thread Charles de Miramon
Charles de Miramon wrote:

> Matthias Schmidt wrote:
> 
>> 
>> well, I checked it: latex is running 3 times, and the bibliography is
>> inserted within Lyx. So, the problem continues to exist! I don't
>> understand, why I can see the citation reference in Lyx correct, but
>> in the dvi-preview and pdf-print it is wrong
>> 
> 
> Give a minimal LyX file and bibliography file.
> 
> Cheers,
> Charles

Matthias sent me his file and the problem was a tricky one. He chose the
plain bibliography style when you should always use a bibliography style
compatible with the bibliography package.

BibTeX is very hard to understand, unintuitive and sometimes spit some
cryptic error messages. The BibTeX support in LyX is very fragile. Here you
could choose an incompatible bibliography style.

In LyX 1.4, I have just tried that. Create a little document, choose the
natbib style, insert a reference, compile. Then change to the jurabib
package and the jurabib style and try to compile. Boom, error. You will
have to export to latex and rerun bibtex on it, to make it work.

Cheers,
Charles 
-- 
http://www.kde-france.org



Re: importing chart from excel ?

2006-02-23 Thread Mael Hilléreau

is there any way to input the chart into lyx without
loosing quality...?



Export to PDF from excel (using PDF995, or another PDF printer or 
openoffice if not available) and then include the PDF into LyX.


Regards,
Mael.

--
Mael Hilléreau



Re: importing chart from excel ?

2006-02-23 Thread John Pye
This might be useful as well -- I seem to remember that it's possible to 
get out a WMF file of the chart somehow. If so, you could convert using 
this (I haven't tried it though):


http://www.skynet.ie/~caolan/Packages/libwmf.html

Talking of PDF printers, I use "PDF Factory" and also "FinePrint". I 
just checked the fineprint.com site and it says that you can export 
printed-output in a "number of useful formats" including JPEG, TIF, BMP. 
Maybe there is a vector format that it can export as well...?

See the bottom of this page:
http://www.fineprint.com/products/fineprint/benefits.html

Cheers
JP

PS A very easy to use (but non-free) PDF printer is "PDF Factory". And 
btw, it goes really well with with its paper-saving sibling, 
"FinePrint". I think it's at fineprint.com.


Mael Hilléreau wrote:


is there any way to input the chart into lyx without
loosing quality...?



Export to PDF from excel (using PDF995, or another PDF printer or 
openoffice if not available) and then include the PDF into LyX.


Regards,
Mael.



Re: lyx compatibility to MsWord etc

2006-02-23 Thread Stephen Harris


- Original Message - 
From: "Charles de Miramon" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, February 23, 2006 4:22 AM
Subject: Re: lyx compatibility to MsWord etc



Stephen Harris wrote:


Currently I think tex4ht will convert latex to html. Then the
html can be imported by Word. This doesn't work great.

Wrong. Tex4ht converts well to Oowriter. I've done it for a 54 pages 
article
with footnotes, a jurabib bibliography, tables and some custom macros. 
With

some massaging, it worked very well. TeX4ht has some bugs but the
maintainer is very active and responsive.

Cheers,
Charles
--
http://www.kde-france.org




http://www.mathematik.uni-marburg.de/~gumm/

Using XY-pic in LyX (Documentation) html or pdf

LyX converted the original file to .pdf and the
conversion is nearly perfect, which earns the word "great".
No editing of the source doc is needed to fix the output.

Compare this to the quality of conversion of tex4ht using
htlatex which made the same file in html format. 15 to 25
errors is good but not great in my book. The html flaws
don't get magically corrected when importing html into
.doc format. Yes, the maintainer quickly sent a fix for one
error (XY-pic) which was repeated a few times. Because
latex2html was worse (fi ligatures) doesn't make htlatex great.

My standards dictate that using comment enabled pdf will
create a lot less work than proofreading and editing sections
of a thesis converted from LyX->Latex->tex4ht->Word.
Since that was the context, comment-enabled pdf is a
great method and tex4ht good, or even very good. Perhaps
your example doesn't include logo words with space problems.

By "massaging" don't you mean proofreading and editing. Also
I once posted that Fabrice Popineau stated that tex4ht was the
best method (better than png) available for conversion from
Latex to Word. It is, but that still falls short of "great" when
compared to LyX->pdf conversion. This topic has lots of
press and there is already a consensus expert opinion which
uses a larger sample and fails to support: 'wrong, it is too great'.

Macro regards,
Stephen





Importing files written with SWP 4.0

2006-02-23 Thread Piero Pasotti
Hi,
  I'm a newcomer to the Lyx's world. Unfortunately I have the need to
frequently exchange .tex files with people working with Scientific
Workplace 4.0. I'm facing some problembs both in exporting lyx files
to .tex and in importing swp .tex files to Lix.
  Could anybody suggest me a general solution to this problem? Does
exist any working translator from Tcilatex to Lix's Tex and viceversa?





Re: LyX on Cygwin

2006-02-23 Thread Enrico Forestieri
Stephen Harris <[EMAIL PROTECTED]> writes:

> SH: The qt3 install got further this time but failed with this error:
> 
> -DQT_NO_STL -DQT_NO_COMPRESS
> -I/usr/local/src/qt3/mkspecs/cygwin-g++-win32
> -DAVE_QCONFIG_CPP /usr/local/src/qt3/src/tools/qglobal.cpp
> In file included from /usr/local/src/qt3/src/tools/qglobal.cpp:38:
> /usr/local/src/qt3/mkspecs/cygwin-g++-win32/qplatformdefs.h:67:20: resolv.h:
> No such file or directory
> make: *** [qglobal.o] Error 1

Ok, you need to install the minires-devel cygwin package. This is one
of the packages that I hoped not having forgotten...
I am going to update the wiki page. Thank you for helping in sorting
this out.

> SH: I have been using X-Win32 as my X server. In order to make
> our systems closer, I downloaded most of the X11 files and headers.

No, no. X11 is not needed at all ;-)

> But I seem to remember something about xforms. Are they still needed
> even though the build is with qt3? I searched Cygwin and there were
> no hits for xforms. Is this required and how about xpm?
> http://savannah.nongnu.org/download/xforms/xforms-1.0.90.tar.gz

Neither xforms is required. You need to have installed only the packages
listed on the wiki page (well, with the addition of minires-devel ;-) ).

--
Enrico




Re: Can't find eps file when exporting

2006-02-23 Thread Jean-Pierre Chrétien
Gunnar <[EMAIL PROTECTED]> writes:

[...]


> 
> > The first error in the output you supplied in your initial post was
> >
> > dvips: Could not find figure
> > file
> > /tmp/lyx_tmpdir96260XiyjK/lyx_tmpbuf0/0_home_gunnar_Skola_appollonius.eps;

I just ran on the same problem...
The important point here is that the path is absolute.

> I must say, I'm not quite sure what the error is now. Suddelny things seems 
> to 
> work. I'm sorry for trying to confuse you. I'll try to understand what's 
> going on. 

If you're using TeXLive-2005, the dvips default behaviour has
shifted to secure: in particular, dvips won't accept absolute paths,
which LyX uses in the temporary.
You should run dvips -R0 in the Preference->Converter section, where dvips
is involved, to come back to unsecure mode.

If you're not admin, maybe this has been changed on your TeX distribution,
which could explain how it could work again magically.

-- 
Jean-Pierre






Re: Importing files written with SWP 4.0

2006-02-23 Thread Nusret BALCI
I tend to think that there is no general and perfect
solution yet, but I'm not an expert by any means. One
thing that may alleviate the grief can be this:
Scientific workplace can save files in a format called
"portable latex". If your colleagues can save their
files as portable latex, that would possibly help.
Although not without problems, this makes it possible
to build your document in freely available tex
distributions most of the time (probably always ?).
Then, you can import the file better, but still not
without glitches, as LyX converter doen't understand
all of the latex, ams packages, and so on. 
Regards,

Nusret


--- Piero Pasotti <[EMAIL PROTECTED]> wrote:

> Hi,
>   I'm a newcomer to the Lyx's world. Unfortunately I
> have the need to
> frequently exchange .tex files with people working
> with Scientific
> Workplace 4.0. I'm facing some problembs both in
> exporting lyx files
> to .tex and in importing swp .tex files to Lix.
>   Could anybody suggest me a general solution to
> this problem? Does
> exist any working translator from Tcilatex to Lix's
> Tex and viceversa?
> 
> 
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Importing files written with SWP 4.0

2006-02-23 Thread Sven Schreiber
Piero Pasotti schrieb:
> Hi,
>   I'm a newcomer to the Lyx's world. Unfortunately I have the need to
> frequently exchange .tex files with people working with Scientific
> Workplace 4.0. I'm facing some problembs both in exporting lyx files
> to .tex and in importing swp .tex files to Lix.
>   Could anybody suggest me a general solution to this problem? Does
> exist any working translator from Tcilatex to Lix's Tex and viceversa?
> 
> 
> 

On windows Uwe's 1.3.7-package does a good job of importing latex docs
into lyx.

Alternatively you could look on the wiki for how to use tex2lyx from the
command line (1.3.7 can read tex2lyx's output).
-Sven


Re: lyx compatibility to MsWord etc

2006-02-23 Thread Charles de Miramon
Stephen Harris wrote:

 
> By "massaging" don't you mean proofreading and editing. Also
> I once posted that Fabrice Popineau stated that tex4ht was the
> best method (better than png) available for conversion from
> Latex to Word. It is, but that still falls short of "great" when
> compared to LyX->pdf conversion. 

I totally agree with you. TeX4ht will not work well with documents
impossible (or very difficult) to create in Word with formulas, diagrams,
etc. But in my field of work, Medieval History, it is possible today to
write an article in Lyx and at the end of the process convert it to MsWord. 

It is very important for me because 100 % of Scientific Journals and
Publishers in my field of study demand MsWord. I don't really care for a
'perfect' translation ; Journals will then reformat the article in their
own DTP system, I just don't want to loose any formatting information.

One should say loudly that TeX4ht works because it is too common knowledge
in LaTeX circles that Word and LaTeX are incompatible.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: inserting image

2006-02-23 Thread Enrico Forestieri
Uwe Stöhr <[EMAIL PROTECTED]> writes:

> To fix the problem, copy the attached file "latex.bat" to LyX's install
> subdirectory "~\LyX\bin".

Uwe,

the first line "$ cat latex.bat" of the latex.bat file at

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

should be removed. 

-- 
Enrico




Re: Looking for way of writing pseudocode

2006-02-23 Thread Paul Smith
On 2/22/06, Hannan Sadar <[EMAIL PROTECTED]> wrote:
> > I need to write some pseudocode. Is there some specific package? Or it
> > suffices LyX code?
> >
> You could use one of the following LaTeX package (Probably there are more):
>
> pseudocode
> alg
> algorithm2e
>
> you need to go to http://www.ctan.org/ and choose the type you prefer

Thanks, Martin and Hannan. The pseudocode packages looks good!

Paul


Re: Can't find eps file when exporting

2006-02-23 Thread Herbert Voss

Jean-Pierre Chrétien wrote:

Gunnar <[EMAIL PROTECTED]> writes:

[...]




The first error in the output you supplied in your initial post was

dvips: Could not find figure
file
/tmp/lyx_tmpdir96260XiyjK/lyx_tmpbuf0/0_home_gunnar_Skola_appollonius.eps;



I just ran on the same problem...
The important point here is that the path is absolute.


I must say, I'm not quite sure what the error is now. Suddelny things seems to 
work. I'm sorry for trying to confuse you. I'll try to understand what's 
going on. 



If you're using TeXLive-2005, the dvips default behaviour has
shifted to secure: in particular, dvips won't accept absolute paths,
which LyX uses in the temporary.
You should run dvips -R0 in the Preference->Converter section, where dvips
is involved, to come back to unsecure mode.

If you're not admin, maybe this has been changed on your TeX distribution,
which could explain how it could work again magically.


it is the config.ps. z0 enables absolute path names


% z1 is "secure", i.e., inhibits execution of `shell commands` in
% \specials.  Dvips allows this by default.
z0


Herbert




  1   2   >