An installation problem

2006-02-10 Thread Eyal Rozenberg
I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg



Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Lars Gullik Bjønnes
Kevin Pfeiffer [EMAIL PROTECTED] writes:

| Uwe Stöhr writes:
|  the next version of the windows installer will have support for
|  editors with which LaTeX-files can be viewed with highlighted syntax.
| 
| A side question -- does anyone know of further developments of a (vim) 
| syntax file for the LyX file format? Someone had posted the beginnings 
| of one a while ago.

That sounds like a thoroughly bad idea. It is true that sometimes you
can edit .lyx files with an editor, but that is only because of
limitations in LyX. IMHO the best view of .lyx files is that they
should be treated as hackable binary files.

-- 
Lgb



updating problem

2006-02-10 Thread Gunnar
I have an external template defined for including c++ code (attached at the 
bottom of the message) and I'm having problem with updating the postscript 
after editing one of the  included c++ files. The postscript file doesn't. 
update when I do S C T to update the postscript.

Restarting LyX works, but that seems to be a bad solution.
Any ideas?


Template CppKod
GuiName [C++ $$Basename]
HelpText
Snyggar till C++ kod
HelpTextEnd
FileFilter *
ViewCommand nedit $$FName
EditCommand nedit $$FName
AutomaticProduction true
Format LaTeX
Product {\\small \\input{$$FName.tex} }
UpdateCommand highlight -A -L -t 4 -I -S cpp -f -r -q $$FName 
-o $$FName.tex
UpdateResult $$FName.tex
FormatEnd
TemplateEnd


Re: updating problem

2006-02-10 Thread Andrés Becerra Sandoval
On 2/10/06, Gunnar [EMAIL PROTECTED] wrote:
 I have an external template defined for including c++ code (attached at the
 bottom of the message) and I'm having problem with updating the postscript
 after editing one of the  included c++ files. The postscript file doesn't.
 update when I do S C T to update the postscript.

 Restarting LyX works, but that seems to be a bad solution.
 Any ideas?

 
 Template CppKod
 GuiName [C++ $$Basename]
 HelpText
 Snyggar till C++ kod
 HelpTextEnd
 FileFilter *
 ViewCommand nedit $$FName
 EditCommand nedit $$FName
 AutomaticProduction true
 Format LaTeX
 Product {\\small \\input{$$FName.tex} }
 UpdateCommand highlight -A -L -t 4 -I -S cpp -f -r -q $$FName
 -o $$FName.tex
 UpdateResult $$FName.tex
 FormatEnd
 TemplateEnd


Hello,

Do you know the listings package?
http://www.atscire.de/index.php?nav=home

You can input listings in many programming languages, the output can
be customized, and it doesn't require external tools.

--
  Andrés


Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Bruce Muirhead
Hi folks,
I come from a purely humanities background, and the interesting thing
about what has been said here is that, the more I use lyx, the more I
realise that I need to know tex/latex.
For that reason I am now patiently going through beginners latex
books,
using gedit- I am not yet ready to face emacs+auctex. (I use emacs only
for the most basic of editing when X won't behave and I need to use a
console to fix it).
This list and the issues discussed on it have brought  me to the
realisation that I actually need to learn latex in order to make the
best use of lyx. Per haps I may eventually cease using lyx, but I doubt
it: lyx has replaced all normal word processors in my life: the
quality of it's output on the printed page, and in other formats, is
infinitely superior to any other writing tool I have used. Knowing latex
more deeply can only improve my use of it. :-)
Generally, a big thank you to everyone on this list, because
just reading through your comments is an invaluable learning experience
for me. And, of course, to the lyx developers, latex authors, Donald
Knuth,and is there anyone I have forgotten? (Of course there is!)
Cheers

Bruce



On Wed, 2006-02-08 at 09:27 +, Eric S Fraga wrote:
 On Fri, Feb 03, 2006 at 09:51:26AM -0500, Dimitrios Diamantaras wrote:
  [...] In fact I am liking the 
  Emacs-AUCTeX-preview-latex combination so much that I have been working
  on it exclusively lately, even though about a year ago I thought I would 
  never need anything but Lyx (I am a LaTeX user for many years, though, 
  and know quite a few of the commands I need---Lyx is perfect for those 
  who don't).
 
 Thanks for saying this. I had been feeling, in a funny kind of way, guilty
 because I've also been using Emacs et al. almost exclusively for a while now
 despite being a long time LyX user (but a longer time LaTeX user, I must
 admit).  What's done it for me, at the moment, is reftex which provides an
 easier interface to references for somebody like me that does not like using
 the mouse.
 
 But I still think LyX is absolutely fantastic and it's my first port-of-call
 when I can't remember how to do something in LaTeX!!
 
 cheers,
 eric




Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Kevin Pfeiffer
Lars Gullik Bjønnes writes:
 That sounds like a thoroughly bad idea. It is true that sometimes you
 can edit .lyx files with an editor, but that is only because of
 limitations in LyX. IMHO the best view of .lyx files is that they
 should be treated as hackable binary files.

(I assume that you mean editing a LyX file by hand is a bad idea 
rather than having a syntax file for LyX files.)

Why? I do this all the time (with care, of course). When I need to 
change 75 instances of my_images.eps to my_images.tif, etc. Or 
whenever I need to do any search-and-replace that involves ERTs -- 
let's say, for example, that I want to replace all references to 
Tiros-Translations with Tiros-\hspace{-0.1em}Translations -- or is 
this now possible from within LyX in newer versions?

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: updating problem

2006-02-10 Thread Gunnar
 Do you know the listings package?
Yes, and I don't want it.
This is a more general kind of problem, how do you update a postscript file?


Re: updating problem

2006-02-10 Thread Georg Baum
Gunnar wrote:

 Do you know the listings package?
 Yes, and I don't want it.
 This is a more general kind of problem, how do you update a postscript
 file?

No, the real problem is that files included via external templates are not
monitored for changes (in contrast to e.g. figures).

The workaround is to do a change in the LyX file before updating the ps
file, e.g. insert a character and delete it afterwards, then update.

As always, report this at http://bugzilla.lyx.org if you are interested in a
fix.


Georg




Re: LyX Export ASCII - Bibliography

2006-02-10 Thread Charles de Miramon
Georg Baum wrote:

 Konrad Hofbauer wrote:
 
 Hi!
 
 I want to export a LyX document to ASCII-text (so that somebody else can
 import and reformat it in Word and finally InDesign - so it is not
 really about having a good looking ASCII file, but something that one
 can continue working with ...). The integrated ASCII export gives me
 pretty much what I want.
 
 Except: The list of the bibliography items is missing! :-(
 

For exporting to Word. The best way is to export from LyX to LaTeX, then use
tex4ht to export to OpenOffice and then to Word. Tex4ht deals well with
BibTeX bibliographies.

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



Re: LyX/Mac 1.4.0pre4 (with new installer) -- testers wanted

2006-02-10 Thread Bennett Helm

On Feb 10, 2006, at 12:22 AM, Stefano Franchi wrote:

Confirmed on 10.3.9. It installs without a glitch. Haven't done any  
real testing, but I still have a problem with the Preferences  
panel, though (see old thread). Now it seems to be associated to  
Cmd-Q, and to the Quit menu item in the LyX menu.  The Quit  
menu item from the file menu works as expected. I am not sure  
whether it's local problem with my setup, would be happy to carry  
out tests if somehow tells me how.


Thanks for testing.

For the menu problems you have, what language are you using? (Do you  
have anything set in ~/.MacOS/environment.plist?)


What happens if you simply trash the ~/Library/Application Support/ 
LyX-1.4 folder and then start LyX-1.4 (which will regenerate folders  
there from scratch)?


Bennett


Re: An installation problem

2006-02-10 Thread Stephen Harris


- Original Message - 
From: Eyal Rozenberg [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Friday, February 10, 2006 1:18 AM
Subject: An installation problem



I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg




I don't have 1.3.7 installed for Cygwin. There is a similar problem
which happens for the native(qt not X11) installation which is
solved by navigating to the LyX-Resources-LyX directory and
typing sh configure which will build the textclass file. 

In the past the sh.exe which comes with Cygwin has not been the 
same version which works that is provided by Minsys to install

LyX. Enrico Forestieri, who contributes to this list and to the
developer list offered to provide Cygwin cvs instructions but said
it was not for the feint of heart. Here is a link to previous talks:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44712.html
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44721.html

Regards,
Stephen



True type 1 fonts in pdf

2006-02-10 Thread Myriam Abramson

Hi!

Sorry if that's well known already but I am getting confused by
different answers I read on this issue. 

I have LyX 1.3.5. 

TIA

   myriam

PS. It's quite urgent I get an answer to that to submit my paper.


Re: An installation problem

2006-02-10 Thread Paul A. Rubin

Eyal Rozenberg wrote:

I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg




Apologies if this shows up twice -- I answered this morning, but 
apparently the dog ate my message.


It's possible that the versions of some of the utility programs 
installed by Cygwin are incompatible with the LyX configuration script. 
 I have not updated my Cygwin installation in a long time, but I know 
that I had that problem a year or so ago.  In particular, LyX 
installation is sensitive to the version of sed (earlier versions of sed 
choke on carriage return/linefeed combinations used to terminate lines 
in the configuration files).


One possible solution is to install MinSYS.  You may need to make sure 
that the MinSYS bin directory is ahead of the Cygwin bin directory on 
the Windows command path.  Another possibility, if you have not upgraded 
Cygwin recently, is to do so now.  I don't know what versions of sed 
(and other helpers) currently ship with Cygwin.  A third possibility is 
to compile the LyX source under Cygwin (which I know some users have 
done -- I'm assuming you installed a precompiled binary).


I also had a problem once in which LyX saw the version of latex.exe 
installed by Cygwin rather than the version used by MiKTeX, and decided 
that the Cygwin latex.exe was dysfunctional.  I don't know if there was 
an installation error, or whether I had installed latex.exe but not 
other parts of LaTeX, or whether the version Cygwin shipped simply was 
not compatible.  In any event, since I have MiKTeX installed, the cure 
was to put MiKTeX's bin directory ahead of Cygwin's on the command path.


HTH,

/Paul





An installation problem

2006-02-10 Thread Eyal Rozenberg
I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg



Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Lars Gullik Bjønnes
Kevin Pfeiffer [EMAIL PROTECTED] writes:

| Uwe Stöhr writes:
|  the next version of the windows installer will have support for
|  editors with which LaTeX-files can be viewed with highlighted syntax.
| 
| A side question -- does anyone know of further developments of a (vim) 
| syntax file for the LyX file format? Someone had posted the beginnings 
| of one a while ago.

That sounds like a thoroughly bad idea. It is true that sometimes you
can edit .lyx files with an editor, but that is only because of
limitations in LyX. IMHO the best view of .lyx files is that they
should be treated as hackable binary files.

-- 
Lgb



updating problem

2006-02-10 Thread Gunnar
I have an external template defined for including c++ code (attached at the 
bottom of the message) and I'm having problem with updating the postscript 
after editing one of the  included c++ files. The postscript file doesn't. 
update when I do S C T to update the postscript.

Restarting LyX works, but that seems to be a bad solution.
Any ideas?


Template CppKod
GuiName [C++ $$Basename]
HelpText
Snyggar till C++ kod
HelpTextEnd
FileFilter *
ViewCommand nedit $$FName
EditCommand nedit $$FName
AutomaticProduction true
Format LaTeX
Product {\\small \\input{$$FName.tex} }
UpdateCommand highlight -A -L -t 4 -I -S cpp -f -r -q $$FName 
-o $$FName.tex
UpdateResult $$FName.tex
FormatEnd
TemplateEnd


Re: updating problem

2006-02-10 Thread Andrés Becerra Sandoval
On 2/10/06, Gunnar [EMAIL PROTECTED] wrote:
 I have an external template defined for including c++ code (attached at the
 bottom of the message) and I'm having problem with updating the postscript
 after editing one of the  included c++ files. The postscript file doesn't.
 update when I do S C T to update the postscript.

 Restarting LyX works, but that seems to be a bad solution.
 Any ideas?

 
 Template CppKod
 GuiName [C++ $$Basename]
 HelpText
 Snyggar till C++ kod
 HelpTextEnd
 FileFilter *
 ViewCommand nedit $$FName
 EditCommand nedit $$FName
 AutomaticProduction true
 Format LaTeX
 Product {\\small \\input{$$FName.tex} }
 UpdateCommand highlight -A -L -t 4 -I -S cpp -f -r -q $$FName
 -o $$FName.tex
 UpdateResult $$FName.tex
 FormatEnd
 TemplateEnd


Hello,

Do you know the listings package?
http://www.atscire.de/index.php?nav=home

You can input listings in many programming languages, the output can
be customized, and it doesn't require external tools.

--
  Andrés


Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Bruce Muirhead
Hi folks,
I come from a purely humanities background, and the interesting thing
about what has been said here is that, the more I use lyx, the more I
realise that I need to know tex/latex.
For that reason I am now patiently going through beginners latex
books,
using gedit- I am not yet ready to face emacs+auctex. (I use emacs only
for the most basic of editing when X won't behave and I need to use a
console to fix it).
This list and the issues discussed on it have brought  me to the
realisation that I actually need to learn latex in order to make the
best use of lyx. Per haps I may eventually cease using lyx, but I doubt
it: lyx has replaced all normal word processors in my life: the
quality of it's output on the printed page, and in other formats, is
infinitely superior to any other writing tool I have used. Knowing latex
more deeply can only improve my use of it. :-)
Generally, a big thank you to everyone on this list, because
just reading through your comments is an invaluable learning experience
for me. And, of course, to the lyx developers, latex authors, Donald
Knuth,and is there anyone I have forgotten? (Of course there is!)
Cheers

Bruce



On Wed, 2006-02-08 at 09:27 +, Eric S Fraga wrote:
 On Fri, Feb 03, 2006 at 09:51:26AM -0500, Dimitrios Diamantaras wrote:
  [...] In fact I am liking the 
  Emacs-AUCTeX-preview-latex combination so much that I have been working
  on it exclusively lately, even though about a year ago I thought I would 
  never need anything but Lyx (I am a LaTeX user for many years, though, 
  and know quite a few of the commands I need---Lyx is perfect for those 
  who don't).
 
 Thanks for saying this. I had been feeling, in a funny kind of way, guilty
 because I've also been using Emacs et al. almost exclusively for a while now
 despite being a long time LyX user (but a longer time LaTeX user, I must
 admit).  What's done it for me, at the moment, is reftex which provides an
 easier interface to references for somebody like me that does not like using
 the mouse.
 
 But I still think LyX is absolutely fantastic and it's my first port-of-call
 when I can't remember how to do something in LaTeX!!
 
 cheers,
 eric




Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Kevin Pfeiffer
Lars Gullik Bjønnes writes:
 That sounds like a thoroughly bad idea. It is true that sometimes you
 can edit .lyx files with an editor, but that is only because of
 limitations in LyX. IMHO the best view of .lyx files is that they
 should be treated as hackable binary files.

(I assume that you mean editing a LyX file by hand is a bad idea 
rather than having a syntax file for LyX files.)

Why? I do this all the time (with care, of course). When I need to 
change 75 instances of my_images.eps to my_images.tif, etc. Or 
whenever I need to do any search-and-replace that involves ERTs -- 
let's say, for example, that I want to replace all references to 
Tiros-Translations with Tiros-\hspace{-0.1em}Translations -- or is 
this now possible from within LyX in newer versions?

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: updating problem

2006-02-10 Thread Gunnar
 Do you know the listings package?
Yes, and I don't want it.
This is a more general kind of problem, how do you update a postscript file?


Re: updating problem

2006-02-10 Thread Georg Baum
Gunnar wrote:

 Do you know the listings package?
 Yes, and I don't want it.
 This is a more general kind of problem, how do you update a postscript
 file?

No, the real problem is that files included via external templates are not
monitored for changes (in contrast to e.g. figures).

The workaround is to do a change in the LyX file before updating the ps
file, e.g. insert a character and delete it afterwards, then update.

As always, report this at http://bugzilla.lyx.org if you are interested in a
fix.


Georg




Re: LyX Export ASCII - Bibliography

2006-02-10 Thread Charles de Miramon
Georg Baum wrote:

 Konrad Hofbauer wrote:
 
 Hi!
 
 I want to export a LyX document to ASCII-text (so that somebody else can
 import and reformat it in Word and finally InDesign - so it is not
 really about having a good looking ASCII file, but something that one
 can continue working with ...). The integrated ASCII export gives me
 pretty much what I want.
 
 Except: The list of the bibliography items is missing! :-(
 

For exporting to Word. The best way is to export from LyX to LaTeX, then use
tex4ht to export to OpenOffice and then to Word. Tex4ht deals well with
BibTeX bibliographies.

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



Re: LyX/Mac 1.4.0pre4 (with new installer) -- testers wanted

2006-02-10 Thread Bennett Helm

On Feb 10, 2006, at 12:22 AM, Stefano Franchi wrote:

Confirmed on 10.3.9. It installs without a glitch. Haven't done any  
real testing, but I still have a problem with the Preferences  
panel, though (see old thread). Now it seems to be associated to  
Cmd-Q, and to the Quit menu item in the LyX menu.  The Quit  
menu item from the file menu works as expected. I am not sure  
whether it's local problem with my setup, would be happy to carry  
out tests if somehow tells me how.


Thanks for testing.

For the menu problems you have, what language are you using? (Do you  
have anything set in ~/.MacOS/environment.plist?)


What happens if you simply trash the ~/Library/Application Support/ 
LyX-1.4 folder and then start LyX-1.4 (which will regenerate folders  
there from scratch)?


Bennett


Re: An installation problem

2006-02-10 Thread Stephen Harris


- Original Message - 
From: Eyal Rozenberg [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Friday, February 10, 2006 1:18 AM
Subject: An installation problem



I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg




I don't have 1.3.7 installed for Cygwin. There is a similar problem
which happens for the native(qt not X11) installation which is
solved by navigating to the LyX-Resources-LyX directory and
typing sh configure which will build the textclass file. 

In the past the sh.exe which comes with Cygwin has not been the 
same version which works that is provided by Minsys to install

LyX. Enrico Forestieri, who contributes to this list and to the
developer list offered to provide Cygwin cvs instructions but said
it was not for the feint of heart. Here is a link to previous talks:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44712.html
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44721.html

Regards,
Stephen



True type 1 fonts in pdf

2006-02-10 Thread Myriam Abramson

Hi!

Sorry if that's well known already but I am getting confused by
different answers I read on this issue. 

I have LyX 1.3.5. 

TIA

   myriam

PS. It's quite urgent I get an answer to that to submit my paper.


Re: An installation problem

2006-02-10 Thread Paul A. Rubin

Eyal Rozenberg wrote:

I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg




Apologies if this shows up twice -- I answered this morning, but 
apparently the dog ate my message.


It's possible that the versions of some of the utility programs 
installed by Cygwin are incompatible with the LyX configuration script. 
 I have not updated my Cygwin installation in a long time, but I know 
that I had that problem a year or so ago.  In particular, LyX 
installation is sensitive to the version of sed (earlier versions of sed 
choke on carriage return/linefeed combinations used to terminate lines 
in the configuration files).


One possible solution is to install MinSYS.  You may need to make sure 
that the MinSYS bin directory is ahead of the Cygwin bin directory on 
the Windows command path.  Another possibility, if you have not upgraded 
Cygwin recently, is to do so now.  I don't know what versions of sed 
(and other helpers) currently ship with Cygwin.  A third possibility is 
to compile the LyX source under Cygwin (which I know some users have 
done -- I'm assuming you installed a precompiled binary).


I also had a problem once in which LyX saw the version of latex.exe 
installed by Cygwin rather than the version used by MiKTeX, and decided 
that the Cygwin latex.exe was dysfunctional.  I don't know if there was 
an installation error, or whether I had installed latex.exe but not 
other parts of LaTeX, or whether the version Cygwin shipped simply was 
not compatible.  In any event, since I have MiKTeX installed, the cure 
was to put MiKTeX's bin directory ahead of Cygwin's on the command path.


HTH,

/Paul





An installation problem

2006-02-10 Thread Eyal Rozenberg
I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg



Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Lars Gullik Bjønnes
Kevin Pfeiffer <[EMAIL PROTECTED]> writes:

| Uwe Stöhr writes:
| > the next version of the windows installer will have support for
| > editors with which LaTeX-files can be viewed with highlighted syntax.
| 
| A side question -- does anyone know of further developments of a (vim) 
| syntax file for the LyX file format? Someone had posted the beginnings 
| of one a while ago.

That sounds like a thoroughly bad idea. It is true that sometimes you
can edit .lyx files with an editor, but that is only because of
limitations in LyX. IMHO the best view of .lyx files is that they
should be treated as "hackable" binary files.

-- 
Lgb



updating problem

2006-02-10 Thread Gunnar
I have an external template defined for including c++ code (attached at the 
bottom of the message) and I'm having problem with updating the postscript 
after editing one of the  included c++ files. The postscript file doesn't. 
update when I do S C T to update the postscript.

Restarting LyX works, but that seems to be a bad solution.
Any ideas?


Template CppKod
GuiName "[C++ $$Basename]"
HelpText
Snyggar till C++ kod
HelpTextEnd
FileFilter "*"
ViewCommand "nedit $$FName"
EditCommand "nedit $$FName"
AutomaticProduction true
Format LaTeX
Product "{\\small \\input{$$FName.tex} }"
UpdateCommand "highlight -A -L -t 4 -I -S cpp -f -r -q $$FName 
-o $$FName.tex"
UpdateResult "$$FName.tex"
FormatEnd
TemplateEnd


Re: updating problem

2006-02-10 Thread Andrés Becerra Sandoval
On 2/10/06, Gunnar <[EMAIL PROTECTED]> wrote:
> I have an external template defined for including c++ code (attached at the
> bottom of the message) and I'm having problem with updating the postscript
> after editing one of the  included c++ files. The postscript file doesn't.
> update when I do S C T to update the postscript.
>
> Restarting LyX works, but that seems to be a bad solution.
> Any ideas?
>
> 
> Template CppKod
> GuiName "[C++ $$Basename]"
> HelpText
> Snyggar till C++ kod
> HelpTextEnd
> FileFilter "*"
> ViewCommand "nedit $$FName"
> EditCommand "nedit $$FName"
> AutomaticProduction true
> Format LaTeX
> Product "{\\small \\input{$$FName.tex} }"
> UpdateCommand "highlight -A -L -t 4 -I -S cpp -f -r -q $$FName
> -o $$FName.tex"
> UpdateResult "$$FName.tex"
> FormatEnd
> TemplateEnd
>

Hello,

Do you know the listings package?
http://www.atscire.de/index.php?nav=home

You can input listings in many programming languages, the output can
be customized, and it doesn't require external tools.

--
  Andrés


Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Bruce Muirhead
Hi folks,
I come from a purely humanities background, and the interesting thing
about what has been said here is that, the more I use lyx, the more I
realise that I need to know tex/latex.
For that reason I am now patiently going through beginners latex
books,
using gedit- I am not yet ready to face emacs+auctex. (I use emacs only
for the most basic of editing when X won't behave and I need to use a
console to fix it).
This list and the issues discussed on it have brought  me to the
realisation that I actually need to learn latex in order to make the
best use of lyx. Per haps I may eventually cease using lyx, but I doubt
it: lyx has replaced all "normal" word processors in my life: the
quality of it's output on the printed page, and in other formats, is
infinitely superior to any other writing tool I have used. Knowing latex
more deeply can only improve my use of it. :-)
Generally, a big thank you to everyone on this list, because
just reading through your comments is an invaluable learning experience
for me. And, of course, to the lyx developers, latex authors, Donald
Knuth,and is there anyone I have forgotten? (Of course there is!)
Cheers

Bruce



On Wed, 2006-02-08 at 09:27 +, Eric S Fraga wrote:
> On Fri, Feb 03, 2006 at 09:51:26AM -0500, Dimitrios Diamantaras wrote:
> > [...] In fact I am liking the 
> > Emacs-AUCTeX-preview-latex combination so much that I have been working
> > on it exclusively lately, even though about a year ago I thought I would 
> > never need anything but Lyx (I am a LaTeX user for many years, though, 
> > and know quite a few of the commands I need---Lyx is perfect for those 
> > who don't).
> 
> Thanks for saying this. I had been feeling, in a funny kind of way, guilty
> because I've also been using Emacs et al. almost exclusively for a while now
> despite being a long time LyX user (but a longer time LaTeX user, I must
> admit).  What's done it for me, at the moment, is reftex which provides an
> easier interface to references for somebody like me that does not like using
> the mouse.
> 
> But I still think LyX is absolutely fantastic and it's my first port-of-call
> when I can't remember how to do something in LaTeX!!
> 
> cheers,
> eric




Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Kevin Pfeiffer
Lars Gullik Bjønnes writes:
> That sounds like a thoroughly bad idea. It is true that sometimes you
> can edit .lyx files with an editor, but that is only because of
> limitations in LyX. IMHO the best view of .lyx files is that they
> should be treated as "hackable" binary files.

(I assume that you mean "editing a LyX file by hand" is a bad idea 
rather than "having a syntax file for LyX files".)

Why? I do this all the time (with care, of course). When I need to 
change 75 instances of "my_images.eps" to "my_images.tif", etc. Or 
whenever I need to do any search-and-replace that involves ERTs -- 
let's say, for example, that I want to replace all references to 
"Tiros-Translations" with "Tiros-\hspace{-0.1em}Translations" -- or is 
this now possible from within LyX in newer versions?

-Kevin


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


Re: updating problem

2006-02-10 Thread Gunnar
> Do you know the listings package?
Yes, and I don't want it.
This is a more general kind of problem, how do you update a postscript file?


Re: updating problem

2006-02-10 Thread Georg Baum
Gunnar wrote:

>> Do you know the listings package?
> Yes, and I don't want it.
> This is a more general kind of problem, how do you update a postscript
> file?

No, the real problem is that files included via external templates are not
monitored for changes (in contrast to e.g. figures).

The workaround is to do a change in the LyX file before updating the ps
file, e.g. insert a character and delete it afterwards, then update.

As always, report this at http://bugzilla.lyx.org if you are interested in a
fix.


Georg




Re: LyX Export ASCII - Bibliography

2006-02-10 Thread Charles de Miramon
Georg Baum wrote:

> Konrad Hofbauer wrote:
> 
>> Hi!
>> 
>> I want to export a LyX document to ASCII-text (so that somebody else can
>> import and reformat it in Word and finally InDesign - so it is not
>> really about having a good looking ASCII file, but something that one
>> can continue working with ...). The integrated ASCII export gives me
>> pretty much what I want.
>> 
>> Except: The list of the bibliography items is missing! :-(
> 

For exporting to Word. The best way is to export from LyX to LaTeX, then use
tex4ht to export to OpenOffice and then to Word. Tex4ht deals well with
BibTeX bibliographies.

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



Re: LyX/Mac 1.4.0pre4 (with new installer) -- testers wanted

2006-02-10 Thread Bennett Helm

On Feb 10, 2006, at 12:22 AM, Stefano Franchi wrote:

Confirmed on 10.3.9. It installs without a glitch. Haven't done any  
real testing, but I still have a problem with the "Preferences"  
panel, though (see old thread). Now it seems to be associated to  
Cmd-Q, and to the Quit menu item in the "LyX" menu.  The "Quit"  
menu item from the file menu works as expected. I am not sure  
whether it's local problem with my setup, would be happy to carry  
out tests if somehow tells me how.


Thanks for testing.

For the menu problems you have, what language are you using? (Do you  
have anything set in ~/.MacOS/environment.plist?)


What happens if you simply trash the ~/Library/Application Support/ 
LyX-1.4 folder and then start LyX-1.4 (which will regenerate folders  
there from scratch)?


Bennett


Re: An installation problem

2006-02-10 Thread Stephen Harris


- Original Message - 
From: "Eyal Rozenberg" <[EMAIL PROTECTED]>

To: 
Sent: Friday, February 10, 2006 1:18 AM
Subject: An installation problem



I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg




I don't have 1.3.7 installed for Cygwin. There is a similar problem
which happens for the native(qt not X11) installation which is
solved by navigating to the LyX->Resources->LyX directory and
typing "sh configure" which will build the textclass file. 

In the past the sh.exe which comes with Cygwin has not been the 
same version which works that is provided by Minsys to install

LyX. Enrico Forestieri, who contributes to this list and to the
developer list offered to provide Cygwin cvs instructions but said
it was not for the feint of heart. Here is a link to previous talks:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44712.html
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44721.html

Regards,
Stephen



True type 1 fonts in pdf

2006-02-10 Thread Myriam Abramson

Hi!

Sorry if that's well known already but I am getting confused by
different answers I read on this issue. 

I have LyX 1.3.5. 

TIA

   myriam

PS. It's quite urgent I get an answer to that to submit my paper.


Re: An installation problem

2006-02-10 Thread Paul A. Rubin

Eyal Rozenberg wrote:

I have cygwin installed, and I've tried to install Windows LyX 1.3.7,
with all binary paths pointing to the relevant cygwin files (except for
GScript which is installed separately). However, the installation gives
me some error message about not being able to run a configuration
script, then whenever I start LyX I get:

LyX wasn't able to find its layout descriptions
Check that the file textclass.lst is installed correctly

in a dialog, and the console says

LyXTextClassList::Read: unable to find textclass file  `'. Exiting.

I can't find that file anywhere; what to do?

Eyal Rozenberg




Apologies if this shows up twice -- I answered this morning, but 
apparently the dog ate my message.


It's possible that the versions of some of the utility programs 
installed by Cygwin are incompatible with the LyX configuration script. 
 I have not updated my Cygwin installation in a long time, but I know 
that I had that problem a year or so ago.  In particular, LyX 
installation is sensitive to the version of sed (earlier versions of sed 
choke on carriage return/linefeed combinations used to terminate lines 
in the configuration files).


One possible solution is to install MinSYS.  You may need to make sure 
that the MinSYS bin directory is ahead of the Cygwin bin directory on 
the Windows command path.  Another possibility, if you have not upgraded 
Cygwin recently, is to do so now.  I don't know what versions of sed 
(and other helpers) currently ship with Cygwin.  A third possibility is 
to compile the LyX source under Cygwin (which I know some users have 
done -- I'm assuming you installed a precompiled binary).


I also had a problem once in which LyX saw the version of latex.exe 
installed by Cygwin rather than the version used by MiKTeX, and decided 
that the Cygwin latex.exe was dysfunctional.  I don't know if there was 
an installation error, or whether I had installed latex.exe but not 
other parts of LaTeX, or whether the version Cygwin shipped simply was 
not compatible.  In any event, since I have MiKTeX installed, the cure 
was to put MiKTeX's bin directory ahead of Cygwin's on the command path.


HTH,

/Paul