Re: Adding a New Class

2000-10-13 Thread Jean-Pierre.Chretien


Date: Thu, 12 Oct 2000 16:00:55 -0400
From: Howard Arons [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Adding a New Class
User-Agent: Mutt/1.2.4i

I'm sorry if this has been a continuing thread on this group. I'm a
newbie to Lyx, but I've read the "Customizing" doc and no joy.

I got the "akletter.cls" package from CTAN and installed it in
/usr/share/texmf.local/tex/latex/akletter under Debian 2.2.
I edited my texmf.cnf file to include my texmf.local path.
I ran texhash, then Lyx Opt|Reconfigure.

After I restart Lyx the "akletter" Class does not show up. I must be
missing something, but what?

Unix permissions 755 on the dir and 644 on the files ?

-- 
Jean-Pierre




Re: Re[2]: Configuring Lyx

2000-10-13 Thread Tom Beale

I have installed Xforms from there RPM files - I thought I only had to do
that if I ran make myself - sorry I'm a beginner so I get a bit confused.

I have got a forms.h file, and I have tried compiling using
--with-extra-libraries=/usr//forms.h
but with no luck

Tom.
- Original Message -
From: Dragutin Cvetkovic [EMAIL PROTECTED]
To: Tom Beale [EMAIL PROTECTED]
Cc: Lyx Group [EMAIL PROTECTED]
Sent: Thursday, October 12, 2000 9:15 PM
Subject: Re[2]: Configuring Lyx


 Pozdrav Tom,

 Thursday, October 12, 2000, 7:40:27 PM, you wrote:

 T It doesn't configure with both xforms and xforms-devel either 0.88 or
0.89.
 T I have tried make distclean, which didn't solve it, and neither did
deleting
 T it all and re-expanding it from the .tar archive.

 T Tom.
 T - Original Message -
 T From: Paul E Johnson [EMAIL PROTECTED]
 T To: Tom Beale [EMAIL PROTECTED]
 T Sent: Thursday, October 12, 2000 1:24 PM
 T Subject: Re: Configuring Lyx


  Your devel edition must match your xforms edition.  Where are you
  getting the rpm for 0.89?
 
  OK, so I'm just guessing.
 
  One of the most common problems is that people have configure fail, and
  then they install what they need, and run configure again in the same
  place. It uses the cached settings from the last configure. I think lyx
  has "make distclean" to get a fresh start. If not, you have to erase
the
  source tree and try again.
 
 
  pj
 
  Tom Beale wrote:
  
   I already had xforms-devel 0.88 installed.   I have now tried
installing
   xforms-devel 0.89-6 but that doesn't seem to make any difference.
  
   Tom.


 a stupid question but have u actually made it exist in proper
 directories, you know /usr/include and such... /usr/lib ... and then
 did a ldconfig?

 Sve najbolje,
  Dragutinmailto:[EMAIL PROTECTED]







Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

I noticed your recent posts about using Docbook with the Win32 port of LyX.
I'd like to use Docbook with Win32 LyX too, but have been unable to find a file or 
package to install the document class - at the moment it's not even in my list of 
available styles
I noticed that Marek Woloszyk mentions "sgml2lyx".  I thought that was the file used 
with LinuxDoc, but in any case I have been unable to find anything suitable on the 
net.
I have the Docbook DTDs etc but would be very grateful if somebody can help with info 
about the package I need to get LyX to show me a Docbook document class.

I have a DocBook Article layout availabel in my LyX. This is the latest LyX release 
for Win32,
maybe you should consider upgrading if you are not running the latest one?

However, this is DocBook 3.1, not the latest (4.1). And what does the "Article" bit of 
it mean?
Is this not a full fledge DocBook layout, but a subset? I can't seem to find the 
answers to these
things. Neither can I find a layout for DocBook 4.1. The only chance seems to be to 
edit the
existing layout file for the DocBook 3.1 Article, however I don't feel competent 
enough to do
this, neither do I have the time.

For the time beeing, I'm useing Emacs with psgml. It works, but is of course a lot 
more work
because I manually have to insert the tags and worrie about the layout of the text 
itself so
that it will be possible to find it again at a later point.

I hope to see the DocBook 4.1 layout somewhere out there soon.


- IT








Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Alvaro Tejero Cantero

Hello,

I'm making a translation (es.po) and thus I need to see the messages 
that LyX echoes properly contextualized. As a result, I must install 
1.1.6cvs, and prior to doing it, and as I have everyday work relying 
on 1.1.4, I would like to ask

How must I do to keep both versions functional and separate in my 
Debian 2.2 system?
I mean, do I need to be aware that this or that thing should be 
placed here or there or that some symlinks have to be created?

thanks for the help, and keep up the good work!

-- 
Álvaro Tejero Cantero
p42.org



Re: Re[2]: Configuring Lyx

2000-10-13 Thread Jean-Marc Lasgouttes

 "Tom" == Tom Beale [EMAIL PROTECTED] writes:

Tom I have installed Xforms from there RPM files - I thought I only
Tom had to do that if I ran make myself - sorry I'm a beginner so I
Tom get a bit confused.

Tom I have got a forms.h file, and I have tried compiling using
Tom --with-extra-libraries=/usr//forms.h but with no luck

OK, let's try the hard way :) Could you post (1) the configure command
line you've tried (for example, the one above is really wrong %-), and
(2) the file config.log after running configure (remove config.cache
before running configure).

JMarc



[pgo@experian.fr] [Lyx-feedback] Feedback from www.lyx.org

2000-10-13 Thread Lars Gullik Bjønnes



P. Garguilo ([EMAIL PROTECTED]) entered the 
following feedback message on the LyX home page:


No news since two months

Too long

-
LyX and LaTeX are so beautiful.
___
Lyx-feedback mailing list
[EMAIL PROTECTED]
http://www.lyx.org/mailman/listinfo/lyx-feedback





Adding a New Class, another!

2000-10-13 Thread Alberto Vecchiato

On Fri, 13 Oct 2000, Allan Rae wrote:

 On Thu, 12 Oct 2000, Howard Arons wrote:
 
  I'm sorry if this has been a continuing thread on this group. I'm a
  newbie to Lyx, but I've read the "Customizing" doc and no joy.
  
  I got the "akletter.cls" package from CTAN and installed it in
  /usr/share/texmf.local/tex/latex/akletter under Debian 2.2.
  I edited my texmf.cnf file to include my texmf.local path.
  I ran texhash, then Lyx Opt|Reconfigure.
  
  After I restart Lyx the "akletter" Class does not show up. I must be
  missing something, but what?
 
 akletter.layout
 
 You'll have to write this yourself as Customisation describes.  One way to
 start is to find an existing document class LyX supports that has similar
 paragraph styles and copy and modify that.
 
 Allan. (ARRae)
 
Sorry for bothering you all, but I did this with the package aa.cls and
still it doesn't work.

I mean, I created the /usr/share/texmf.local/tex/latex/aa, copied aa.cls,
edited the texmf.cnf file, run texhash, then Options-Reconfigure(d) on
Lyx, but still the style does not show up after restarting.  Actually, I
do have the (original) aapaper.inc and aapaper.layout files into the
/usr/share/lyx/layouts. 

Actually I never succeeded in adding any style to the installed lyx
configuration, what is my error?  Please, tell me something!  I'm going
nuts! :-(

Thanks in advance

Alberto Vecchiato

PS: I'm running LyX 1.1.4fix3 on Mandrake 7.1.




Re: second try: CJK-LyX with Japanese AND German support

2000-10-13 Thread Gerhard Schuck

  as it seems I'm in a dilemma. Perhaps someone can help me. Basicly I'm
  writing in German but sometimes I also need Japanese (in the same
document).
  So I installed CJK-LyX on an RedHat 6.2J and really managed to get
japanese
  support for writing and printing -- but I lost the German support. As
far as
  I see it depends on the LANG variable. If I define LANG as "de_DE", the
  japanese support doesn't work. If I define it "ja_JP" the german umlauts
  don't work although the document is defined in lyx as language=German
and
  encoding=Latin1. (By the way the menues appear in German!) I also tried
to
  define a secondary keyboard as german. But no success: documents written
in
  German don't appear correctly and I can't write umlauts.
  Does anybody know a way to get japanese support in LyX without losing
the

 Which of the following are you experiencing when LANG is set to ja_JP ?
 (1) You can't enter umlauts within LyX.
 (2) Umlauts are not shown in the LyX window
 (3) Umlauts are not shown in the DVI/Postscript.

 I suspect that (3) happens as the encoding defined by the inputenc package
 (Latin1) clashes with the encoding defined by the CJK package (Big5, GB
etc.).

Unfortunately all of these three happend. Folling the advice I got from
"Tokyo Linux User Group"-mailinglist (see http://tlug.linux.or.jp/ML/0010),
especially from Stephen J. Turnbull, I gave up the idea of using a japanese
version as a basis, because the japanese versions are not made for
multilingual tasks, and I also gave up using CJK-LyX which also seems not to
support multilingual writing.

 Perhaps you need to use the UTF8 encoding option of the CJK package (if
 CJK-LyX supports it), or use Omega instead of LaTeX (if CJK-LYX supports
it).

Hmm, in the meantime I learned that this CJK package exists. It is said to
be better for my purposes (mainly German, sometimes Japanese writing) than
platex. I have also heared about Omega. But I have no idea how to get them
running or how to integrate them into CJK-Lyx (I'm still a beginner in the
latex-world). By the way it's not easy to get information about multilingual
linux or latex. Mostly information about "Linux and Japanese" or MULE is
related to getting a full japanese system (based on LANG=ja_JP), which of
course supports English but not the Latin-1 languages.

 Also, if (3) happens, please send me a small example file
 (the lyx file + the latex file).
Sorry, I can't. I returned to normal LyX on a non-Japanese linux system, and
will try to get by with yudit or emacs for bilingual purposes.

 Anyhow, I plan of integrating the CJK-LyX into the normal version, and I
 hope that in this process your problem will be solved.


That would be great! But perhaps it will be more difficult than you are
thinking now.


Gerhard Schuck

[EMAIL PROTECTED]






Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

In my LyX Latex configuration file (LaTeXConfig.lyx) I have this entry (for
docbook) under Additional Classes.

4.6  docbook
Found: no
CTAN: N/A
WWW: Url:http://www.sgmltools.org 
Notes: The class docbook is not a LaTeX document class.
It is designed to produce Docbook SGML documents, which, in turn, can be
exported as HTML, RTF, text, or dvi (through jadetex). You need the
sgmltools v2.0 package installed to use this.

I have a Windows NT envrioment set up with OpenJade, JadeTex,
DocBook, stylesheets and whatever else is in here.
so I can performe the desired conversion as long as LyX exports a
sgml file for me.

I guess that's why it doesn't show up as an available class in  the menu
Layout \ Document \ Class.
It wasn't clear whether in your case, docbook DOES show as an available
class or not?

It does show up. As "DocBook Article". When exported to sgml, this has
a doctype of DocBook 3.1. And I have a feeling that LyX does not provide 
all the elements of DocBook in the mentioned layout,

If I try to start a new document from that docbook.layout file and go "view
dvi" it gives me a LaTeX error even before I've changed or set anything.
That's why I think that the docbook.layout file is just "for instance" and
isn't capable of compiling anything.  In any case, in my installation, with
the "docbook" template file, I can not import or export anything more
relevant than ASCII, so surely the engine room is empty no?

I require conversion to html, pdf and rtf. And I have that. Not from
withing LyX, but that is probably just a matter of configuring LyX
properly. I do it by hand or load the sgml file into Emacs.
By doing it this way, I also get a valid DVI file, no errors, trough
JadeTex. Based on this, I think the docbook.layout file is
working as intented by its authors.

What I do need, and don't have is complete support for 
DocBook 4.1 (sgml, not xml) in LyX. Not 3.1. And I need someone
to tell me that the support for this is complete, not a subset.

I don't know how to acomplish this. I am guessing that an edit of
the LyX layout file (docbook.layout) is required, but beyound that
I don't have a clue. And quite frankely, I don't care to find out either
because I don't have the time for it. I'm currently, as I stated previously,
using Emacs with psgml and I will continue to do this unitll somebody
gets around to fix the DocBook document class for LyX. 



- IT





Re: class docbook W32

2000-10-13 Thread Jose Abilio Oliveira Matos

On Fri, Oct 13, 2000 at 04:39:06PM +0200, Idar Tollefsen wrote:
 4.6  docbook
 Found: no
 CTAN: N/A
 WWW: Url:http://www.sgmltools.org 
 Notes: The class docbook is not a LaTeX document class.
 It is designed to produce Docbook SGML documents, which, in turn, can be
 exported as HTML, RTF, text, or dvi (through jadetex). You need the
 sgmltools v2.0 package installed to use this.

  The initial search to detect docbook is for sgmltools or db2html scripts,
I am really aware that you can use it without those wrappers. They call the
tools you have.

  This could be changed, there are several possible ways to do it.
  I would like to hear suggestion. How about to search for (open)jade?

 I have a Windows NT envrioment set up with OpenJade, JadeTex,
 DocBook, stylesheets and whatever else is in here.
 so I can performe the desired conversion as long as LyX exports a
 sgml file for me.

  Yes.

 I guess that's why it doesn't show up as an available class in  the menu
 Layout \ Document \ Class.
 It wasn't clear whether in your case, docbook DOES show as an available
 class or not?
 
 It does show up. As "DocBook Article". When exported to sgml, this has
 a doctype of DocBook 3.1. And I have a feeling that LyX does not provide 
 all the elements of DocBook in the mentioned layout,

  For 1.1.6 there is also docbook-book. It needs some work but the basis are
there.

 If I try to start a new document from that docbook.layout file and go "view
 dvi" it gives me a LaTeX error even before I've changed or set anything.
 That's why I think that the docbook.layout file is just "for instance" and
 isn't capable of compiling anything.  In any case, in my installation, with
 the "docbook" template file, I can not import or export anything more
 relevant than ASCII, so surely the engine room is empty no?

  What version do you have (lyx)?
  It is possible to configure the way docbook is converted to any of those
formats.

 I require conversion to html, pdf and rtf. And I have that. Not from
 withing LyX, but that is probably just a matter of configuring LyX
 properly. I do it by hand or load the sgml file into Emacs.
 By doing it this way, I also get a valid DVI file, no errors, trough
 JadeTex. Based on this, I think the docbook.layout file is
 working as intented by its authors.
 
 What I do need, and don't have is complete support for 
 DocBook 4.1 (sgml, not xml) in LyX. Not 3.1. And I need someone
 to tell me that the support for this is complete, not a subset.

  The support is not complete, is work in progress. We are missing mainly
the inline elements, that will be supported as soon as the Logical
Characther Styles are implemented.

  I have thought about the limitations regarding the availability of the
different versions of docbook available, 3.0, 3.1, 3.1.x, 4.0, 4.1.x...
  And these versions have different flavours, sgml/xml.
  It is possible to have all those cases to be configured via lyxrc in
~/.lyx that would help alot.

  Example:
  \dtd docbook "PUBLIC" "-//OASIS//DTD DocBook V3.1//EN"
  \dtd docbook-xml "PUBLIC" "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" "docbookx.dtd"
  \dtd website "SYSTEM" "/usr/lib/sgml/dtd/website.dtd"
  
  The first parameter after the dtd would be present in the layout files.
  
  Also using the new converter from 1.1.6 we could specify different
transformations for different formats, something like:

  \convert docbook dvi "method1"
  \convert docbook-xml ps "method2"
  \convert website html "method3"

 I don't know how to acomplish this. I am guessing that an edit of
 the LyX layout file (docbook.layout) is required, but beyound that
 I don't have a clue. And quite frankely, I don't care to find out either
 because I don't have the time for it. I'm currently, as I stated previously,
 using Emacs with psgml and I will continue to do this unitll somebody
 gets around to fix the DocBook document class for LyX. 

  Presently the version of the docbook dtd used is hardcoded in src/buffer.C
  Any help to improve the docbook support is welcome.
  
 
 - IT

-- 
José



Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread German Poo Caaman~o

On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:
 I'm making a translation (es.po) and thus I need to see the messages 
 that LyX echoes properly contextualized. As a result, I must install 
 1.1.6cvs, and prior to doing it, and as I have everyday work relying 
 on 1.1.4, I would like to ask
 
 How must I do to keep both versions functional and separate in my 
 Debian 2.2 system?
 I mean, do I need to be aware that this or that thing should be 
 placed here or there or that some symlinks have to be created?

I translated some text (es.po) with kbabel.   I'm using
1.1.5fix, but I have the sources on the other directory.  From
that I can run lyx whithout problem (another version).

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html




Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Lior Silberman

On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:

 Hello,
 
 I'm making a translation (es.po) and thus I need to see the messages 
 that LyX echoes properly contextualized. As a result, I must install 
 1.1.6cvs, and prior to doing it, and as I have everyday work relying 
 on 1.1.4, I would like to ask
 
 How must I do to keep both versions functional and separate in my 
 Debian 2.2 system?
 I mean, do I need to be aware that this or that thing should be 
 placed here or there or that some symlinks have to be created?
 
 thanks for the help, and keep up the good work!
 
 -- 
 Álvaro Tejero Cantero
 p42.org
 

If you don't install the 1.1.6cvs, but run it from the src directory
(where it is compiled), it shouldn't be too difficult. One thing you may
want to do is keep the ~/.lyx directories separate for the two version,
since there may be configuration conflicts.

For this configure the cvs version with --with-lyxname=lyx-1.1.6cvs [or
whatever name \neq "lyx"]. This will creat a ~/.lyx-1.1.6cvs dir in
addition to the existing ~/.lyx one. The executable will still be named
'src/lyx'.

Lior.




initial enumerate counter value

2000-10-13 Thread Lior Silberman

Hello,

I'd like to have an enumerate environment, starting the count from 5
(rather than 1). The LaTeX effect I'd like to have is:

\begin{enumerate}
\setcounter{enumi}{5}
\item My First Item
\item My Second Item
\end{enumerate}

But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
first item and not before it, while if I put it before the start of the
environment it has no effect.

Is there any solution short of manually editing the LaTeX output?

Thanks,
Lior.




Re: Bibtex and pdftex again, sorry!

2000-10-13 Thread Matìj Cepl

-BEGIN PGP SIGNED MESSAGE-

 Sorry, but I forgot how to convert a tex file with bibtex
 references inpdf.  I am using the lyx2pdf script, but it does
 not work properly: the references do  not appear.

1) File/Export/Latex (let's say, that your document is named
paper.lyx)

2) go to the command line (konsole, xterm, whatever)

3) check somehow (vi, mcedit, emacs) that you have somewhere in
the top of *.tex (among other \usepackage commands) either command
\usepackage{pslatex}
or
instead of pslatex, that there is times, palatino, newcent or
bookman. If there isn't any command from these, put it
there (anywhere between \documentclass and \begin{document}).
Preferably pslatex (the shortest PDF files) or palatino (closest
approximation of Computer Modern fonts).

4) run
pdflatex paper

5) run
bibtex paper

6) run
pdflatex paper
twice (check that pdflatex does not write anything about need of
rerunning).

That's it!

Happy LyXing

Matej Cepl

 I
support PGP - ID: Matej Cepl [EMAIL PROTECTED] Fingerprint 77
BC 89 0E 92 1D 2B 51  B5 7A 05 EA A6 DB 4F E8


-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
MessageID: xRP7wyjnjMO9uSR2QAuWeNWx6Tirh98f

iQEVAwUBOed4Je1neEitXwCrAQEVWAf8CggGo9Cu8RjSnhsLz7enrFZrG6VPTjkG
/0QIjTgCxvGIIPgTcpGc+vl2DsR+Q5CVN9siF/cX22gr1+AvuB6V2EZJJPH73wHv
kj5HIAjIZYzX/VZOV+x7wB0CfPxegdWGp4JuL39MaWcYTNEhVd/hb5p7vbB+tuYH
uAL8ABMmVxCb/sg14MNYa+gyjpOjJn30rlQHBNt1Ratz7H2MQV6D381tiLIOnTOi
EAKIiwA5O/TaMNSPQazC2G0rPWlMJUcB5fltelHKd4yG62S7i5iuhAg9dO3yaemA
oPT/L9Qmh6X/tXu5ziDICDhnLH5EJzMvPXSibs+5YpWyNXbEhIDy6A==
=PhpQ
-END PGP SIGNATURE-



Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Alvaro Tejero Cantero

El vie, 13 oct 2000 escribías:
| On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:
|  Hello,
| 
|  I'm making a translation (es.po) and thus I need to see the
|  messages that LyX echoes properly contextualized. As a result, I
|  must install 1.1.6cvs, and prior to doing it, and as I have
|  everyday work relying on 1.1.4, I would like to ask
| 
|  How must I do to keep both versions functional and separate in my
|  Debian 2.2 system?
|  I mean, do I need to be aware that this or that thing should be
|  placed here or there or that some symlinks have to be created?
| 
|  thanks for the help, and keep up the good work!
| 
|  --
|  Álvaro Tejero Cantero
|  p42.org
|
| If you don't install the 1.1.6cvs, but run it from the src
| directory (where it is compiled), it shouldn't be too difficult.
| One thing you may want to do is keep the ~/.lyx directories
| separate for the two version, since there may be configuration
| conflicts.
|
| For this configure the cvs version with --with-lyxname=lyx-1.1.6cvs
| [or whatever name \neq "lyx"]. This will creat a ~/.lyx-1.1.6cvs
| dir in addition to the existing ~/.lyx one. The executable will
| still be named 'src/lyx'.
|
| Lior.


Thank you: it worked, but the problem is now that 1.1.6 doesn't seem 
to recognize my LANG environment variable, so it doesn't start in 
Spanish

I can't figure how to tell LyX that he should use LANG=es. Please 
tell me if you find an answer,

Thanks

-- 
Álvaro Tejero Cantero
p42.org



Re: Adding a New Class

2000-10-13 Thread Jean-Pierre.Chretien


Date: Thu, 12 Oct 2000 16:00:55 -0400
From: Howard Arons [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Adding a New Class
User-Agent: Mutt/1.2.4i

I'm sorry if this has been a continuing thread on this group. I'm a
newbie to Lyx, but I've read the "Customizing" doc and no joy.

I got the "akletter.cls" package from CTAN and installed it in
/usr/share/texmf.local/tex/latex/akletter under Debian 2.2.
I edited my texmf.cnf file to include my texmf.local path.
I ran texhash, then Lyx Opt|Reconfigure.

After I restart Lyx the "akletter" Class does not show up. I must be
missing something, but what?

Unix permissions 755 on the dir and 644 on the files ?

-- 
Jean-Pierre




Re: Re[2]: Configuring Lyx

2000-10-13 Thread Tom Beale

I have installed Xforms from there RPM files - I thought I only had to do
that if I ran make myself - sorry I'm a beginner so I get a bit confused.

I have got a forms.h file, and I have tried compiling using
--with-extra-libraries=/usr//forms.h
but with no luck

Tom.
- Original Message -
From: Dragutin Cvetkovic [EMAIL PROTECTED]
To: Tom Beale [EMAIL PROTECTED]
Cc: Lyx Group [EMAIL PROTECTED]
Sent: Thursday, October 12, 2000 9:15 PM
Subject: Re[2]: Configuring Lyx


 Pozdrav Tom,

 Thursday, October 12, 2000, 7:40:27 PM, you wrote:

 T It doesn't configure with both xforms and xforms-devel either 0.88 or
0.89.
 T I have tried make distclean, which didn't solve it, and neither did
deleting
 T it all and re-expanding it from the .tar archive.

 T Tom.
 T - Original Message -
 T From: Paul E Johnson [EMAIL PROTECTED]
 T To: Tom Beale [EMAIL PROTECTED]
 T Sent: Thursday, October 12, 2000 1:24 PM
 T Subject: Re: Configuring Lyx


  Your devel edition must match your xforms edition.  Where are you
  getting the rpm for 0.89?
 
  OK, so I'm just guessing.
 
  One of the most common problems is that people have configure fail, and
  then they install what they need, and run configure again in the same
  place. It uses the cached settings from the last configure. I think lyx
  has "make distclean" to get a fresh start. If not, you have to erase
the
  source tree and try again.
 
 
  pj
 
  Tom Beale wrote:
  
   I already had xforms-devel 0.88 installed.   I have now tried
installing
   xforms-devel 0.89-6 but that doesn't seem to make any difference.
  
   Tom.


 a stupid question but have u actually made it exist in proper
 directories, you know /usr/include and such... /usr/lib ... and then
 did a ldconfig?

 Sve najbolje,
  Dragutinmailto:[EMAIL PROTECTED]







Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

I noticed your recent posts about using Docbook with the Win32 port of LyX.
I'd like to use Docbook with Win32 LyX too, but have been unable to find a file or 
package to install the document class - at the moment it's not even in my list of 
available styles
I noticed that Marek Woloszyk mentions "sgml2lyx".  I thought that was the file used 
with LinuxDoc, but in any case I have been unable to find anything suitable on the 
net.
I have the Docbook DTDs etc but would be very grateful if somebody can help with info 
about the package I need to get LyX to show me a Docbook document class.

I have a DocBook Article layout availabel in my LyX. This is the latest LyX release 
for Win32,
maybe you should consider upgrading if you are not running the latest one?

However, this is DocBook 3.1, not the latest (4.1). And what does the "Article" bit of 
it mean?
Is this not a full fledge DocBook layout, but a subset? I can't seem to find the 
answers to these
things. Neither can I find a layout for DocBook 4.1. The only chance seems to be to 
edit the
existing layout file for the DocBook 3.1 Article, however I don't feel competent 
enough to do
this, neither do I have the time.

For the time beeing, I'm useing Emacs with psgml. It works, but is of course a lot 
more work
because I manually have to insert the tags and worrie about the layout of the text 
itself so
that it will be possible to find it again at a later point.

I hope to see the DocBook 4.1 layout somewhere out there soon.


- IT








Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Alvaro Tejero Cantero

Hello,

I'm making a translation (es.po) and thus I need to see the messages 
that LyX echoes properly contextualized. As a result, I must install 
1.1.6cvs, and prior to doing it, and as I have everyday work relying 
on 1.1.4, I would like to ask

How must I do to keep both versions functional and separate in my 
Debian 2.2 system?
I mean, do I need to be aware that this or that thing should be 
placed here or there or that some symlinks have to be created?

thanks for the help, and keep up the good work!

-- 
Álvaro Tejero Cantero
p42.org



Re: Re[2]: Configuring Lyx

2000-10-13 Thread Jean-Marc Lasgouttes

 "Tom" == Tom Beale [EMAIL PROTECTED] writes:

Tom I have installed Xforms from there RPM files - I thought I only
Tom had to do that if I ran make myself - sorry I'm a beginner so I
Tom get a bit confused.

Tom I have got a forms.h file, and I have tried compiling using
Tom --with-extra-libraries=/usr//forms.h but with no luck

OK, let's try the hard way :) Could you post (1) the configure command
line you've tried (for example, the one above is really wrong %-), and
(2) the file config.log after running configure (remove config.cache
before running configure).

JMarc



[pgo@experian.fr] [Lyx-feedback] Feedback from www.lyx.org

2000-10-13 Thread Lars Gullik Bjønnes



P. Garguilo ([EMAIL PROTECTED]) entered the 
following feedback message on the LyX home page:


No news since two months

Too long

-
LyX and LaTeX are so beautiful.
___
Lyx-feedback mailing list
[EMAIL PROTECTED]
http://www.lyx.org/mailman/listinfo/lyx-feedback





Adding a New Class, another!

2000-10-13 Thread Alberto Vecchiato

On Fri, 13 Oct 2000, Allan Rae wrote:

 On Thu, 12 Oct 2000, Howard Arons wrote:
 
  I'm sorry if this has been a continuing thread on this group. I'm a
  newbie to Lyx, but I've read the "Customizing" doc and no joy.
  
  I got the "akletter.cls" package from CTAN and installed it in
  /usr/share/texmf.local/tex/latex/akletter under Debian 2.2.
  I edited my texmf.cnf file to include my texmf.local path.
  I ran texhash, then Lyx Opt|Reconfigure.
  
  After I restart Lyx the "akletter" Class does not show up. I must be
  missing something, but what?
 
 akletter.layout
 
 You'll have to write this yourself as Customisation describes.  One way to
 start is to find an existing document class LyX supports that has similar
 paragraph styles and copy and modify that.
 
 Allan. (ARRae)
 
Sorry for bothering you all, but I did this with the package aa.cls and
still it doesn't work.

I mean, I created the /usr/share/texmf.local/tex/latex/aa, copied aa.cls,
edited the texmf.cnf file, run texhash, then Options-Reconfigure(d) on
Lyx, but still the style does not show up after restarting.  Actually, I
do have the (original) aapaper.inc and aapaper.layout files into the
/usr/share/lyx/layouts. 

Actually I never succeeded in adding any style to the installed lyx
configuration, what is my error?  Please, tell me something!  I'm going
nuts! :-(

Thanks in advance

Alberto Vecchiato

PS: I'm running LyX 1.1.4fix3 on Mandrake 7.1.




Re: second try: CJK-LyX with Japanese AND German support

2000-10-13 Thread Gerhard Schuck

  as it seems I'm in a dilemma. Perhaps someone can help me. Basicly I'm
  writing in German but sometimes I also need Japanese (in the same
document).
  So I installed CJK-LyX on an RedHat 6.2J and really managed to get
japanese
  support for writing and printing -- but I lost the German support. As
far as
  I see it depends on the LANG variable. If I define LANG as "de_DE", the
  japanese support doesn't work. If I define it "ja_JP" the german umlauts
  don't work although the document is defined in lyx as language=German
and
  encoding=Latin1. (By the way the menues appear in German!) I also tried
to
  define a secondary keyboard as german. But no success: documents written
in
  German don't appear correctly and I can't write umlauts.
  Does anybody know a way to get japanese support in LyX without losing
the

 Which of the following are you experiencing when LANG is set to ja_JP ?
 (1) You can't enter umlauts within LyX.
 (2) Umlauts are not shown in the LyX window
 (3) Umlauts are not shown in the DVI/Postscript.

 I suspect that (3) happens as the encoding defined by the inputenc package
 (Latin1) clashes with the encoding defined by the CJK package (Big5, GB
etc.).

Unfortunately all of these three happend. Folling the advice I got from
"Tokyo Linux User Group"-mailinglist (see http://tlug.linux.or.jp/ML/0010),
especially from Stephen J. Turnbull, I gave up the idea of using a japanese
version as a basis, because the japanese versions are not made for
multilingual tasks, and I also gave up using CJK-LyX which also seems not to
support multilingual writing.

 Perhaps you need to use the UTF8 encoding option of the CJK package (if
 CJK-LyX supports it), or use Omega instead of LaTeX (if CJK-LYX supports
it).

Hmm, in the meantime I learned that this CJK package exists. It is said to
be better for my purposes (mainly German, sometimes Japanese writing) than
platex. I have also heared about Omega. But I have no idea how to get them
running or how to integrate them into CJK-Lyx (I'm still a beginner in the
latex-world). By the way it's not easy to get information about multilingual
linux or latex. Mostly information about "Linux and Japanese" or MULE is
related to getting a full japanese system (based on LANG=ja_JP), which of
course supports English but not the Latin-1 languages.

 Also, if (3) happens, please send me a small example file
 (the lyx file + the latex file).
Sorry, I can't. I returned to normal LyX on a non-Japanese linux system, and
will try to get by with yudit or emacs for bilingual purposes.

 Anyhow, I plan of integrating the CJK-LyX into the normal version, and I
 hope that in this process your problem will be solved.


That would be great! But perhaps it will be more difficult than you are
thinking now.


Gerhard Schuck

[EMAIL PROTECTED]






Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

In my LyX Latex configuration file (LaTeXConfig.lyx) I have this entry (for
docbook) under Additional Classes.

4.6  docbook
Found: no
CTAN: N/A
WWW: Url:http://www.sgmltools.org 
Notes: The class docbook is not a LaTeX document class.
It is designed to produce Docbook SGML documents, which, in turn, can be
exported as HTML, RTF, text, or dvi (through jadetex). You need the
sgmltools v2.0 package installed to use this.

I have a Windows NT envrioment set up with OpenJade, JadeTex,
DocBook, stylesheets and whatever else is in here.
so I can performe the desired conversion as long as LyX exports a
sgml file for me.

I guess that's why it doesn't show up as an available class in  the menu
Layout \ Document \ Class.
It wasn't clear whether in your case, docbook DOES show as an available
class or not?

It does show up. As "DocBook Article". When exported to sgml, this has
a doctype of DocBook 3.1. And I have a feeling that LyX does not provide 
all the elements of DocBook in the mentioned layout,

If I try to start a new document from that docbook.layout file and go "view
dvi" it gives me a LaTeX error even before I've changed or set anything.
That's why I think that the docbook.layout file is just "for instance" and
isn't capable of compiling anything.  In any case, in my installation, with
the "docbook" template file, I can not import or export anything more
relevant than ASCII, so surely the engine room is empty no?

I require conversion to html, pdf and rtf. And I have that. Not from
withing LyX, but that is probably just a matter of configuring LyX
properly. I do it by hand or load the sgml file into Emacs.
By doing it this way, I also get a valid DVI file, no errors, trough
JadeTex. Based on this, I think the docbook.layout file is
working as intented by its authors.

What I do need, and don't have is complete support for 
DocBook 4.1 (sgml, not xml) in LyX. Not 3.1. And I need someone
to tell me that the support for this is complete, not a subset.

I don't know how to acomplish this. I am guessing that an edit of
the LyX layout file (docbook.layout) is required, but beyound that
I don't have a clue. And quite frankely, I don't care to find out either
because I don't have the time for it. I'm currently, as I stated previously,
using Emacs with psgml and I will continue to do this unitll somebody
gets around to fix the DocBook document class for LyX. 



- IT





Re: class docbook W32

2000-10-13 Thread Jose Abilio Oliveira Matos

On Fri, Oct 13, 2000 at 04:39:06PM +0200, Idar Tollefsen wrote:
 4.6  docbook
 Found: no
 CTAN: N/A
 WWW: Url:http://www.sgmltools.org 
 Notes: The class docbook is not a LaTeX document class.
 It is designed to produce Docbook SGML documents, which, in turn, can be
 exported as HTML, RTF, text, or dvi (through jadetex). You need the
 sgmltools v2.0 package installed to use this.

  The initial search to detect docbook is for sgmltools or db2html scripts,
I am really aware that you can use it without those wrappers. They call the
tools you have.

  This could be changed, there are several possible ways to do it.
  I would like to hear suggestion. How about to search for (open)jade?

 I have a Windows NT envrioment set up with OpenJade, JadeTex,
 DocBook, stylesheets and whatever else is in here.
 so I can performe the desired conversion as long as LyX exports a
 sgml file for me.

  Yes.

 I guess that's why it doesn't show up as an available class in  the menu
 Layout \ Document \ Class.
 It wasn't clear whether in your case, docbook DOES show as an available
 class or not?
 
 It does show up. As "DocBook Article". When exported to sgml, this has
 a doctype of DocBook 3.1. And I have a feeling that LyX does not provide 
 all the elements of DocBook in the mentioned layout,

  For 1.1.6 there is also docbook-book. It needs some work but the basis are
there.

 If I try to start a new document from that docbook.layout file and go "view
 dvi" it gives me a LaTeX error even before I've changed or set anything.
 That's why I think that the docbook.layout file is just "for instance" and
 isn't capable of compiling anything.  In any case, in my installation, with
 the "docbook" template file, I can not import or export anything more
 relevant than ASCII, so surely the engine room is empty no?

  What version do you have (lyx)?
  It is possible to configure the way docbook is converted to any of those
formats.

 I require conversion to html, pdf and rtf. And I have that. Not from
 withing LyX, but that is probably just a matter of configuring LyX
 properly. I do it by hand or load the sgml file into Emacs.
 By doing it this way, I also get a valid DVI file, no errors, trough
 JadeTex. Based on this, I think the docbook.layout file is
 working as intented by its authors.
 
 What I do need, and don't have is complete support for 
 DocBook 4.1 (sgml, not xml) in LyX. Not 3.1. And I need someone
 to tell me that the support for this is complete, not a subset.

  The support is not complete, is work in progress. We are missing mainly
the inline elements, that will be supported as soon as the Logical
Characther Styles are implemented.

  I have thought about the limitations regarding the availability of the
different versions of docbook available, 3.0, 3.1, 3.1.x, 4.0, 4.1.x...
  And these versions have different flavours, sgml/xml.
  It is possible to have all those cases to be configured via lyxrc in
~/.lyx that would help alot.

  Example:
  \dtd docbook "PUBLIC" "-//OASIS//DTD DocBook V3.1//EN"
  \dtd docbook-xml "PUBLIC" "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" "docbookx.dtd"
  \dtd website "SYSTEM" "/usr/lib/sgml/dtd/website.dtd"
  
  The first parameter after the dtd would be present in the layout files.
  
  Also using the new converter from 1.1.6 we could specify different
transformations for different formats, something like:

  \convert docbook dvi "method1"
  \convert docbook-xml ps "method2"
  \convert website html "method3"

 I don't know how to acomplish this. I am guessing that an edit of
 the LyX layout file (docbook.layout) is required, but beyound that
 I don't have a clue. And quite frankely, I don't care to find out either
 because I don't have the time for it. I'm currently, as I stated previously,
 using Emacs with psgml and I will continue to do this unitll somebody
 gets around to fix the DocBook document class for LyX. 

  Presently the version of the docbook dtd used is hardcoded in src/buffer.C
  Any help to improve the docbook support is welcome.
  
 
 - IT

-- 
José



Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread German Poo Caaman~o

On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:
 I'm making a translation (es.po) and thus I need to see the messages 
 that LyX echoes properly contextualized. As a result, I must install 
 1.1.6cvs, and prior to doing it, and as I have everyday work relying 
 on 1.1.4, I would like to ask
 
 How must I do to keep both versions functional and separate in my 
 Debian 2.2 system?
 I mean, do I need to be aware that this or that thing should be 
 placed here or there or that some symlinks have to be created?

I translated some text (es.po) with kbabel.   I'm using
1.1.5fix, but I have the sources on the other directory.  From
that I can run lyx whithout problem (another version).

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html




Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Lior Silberman

On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:

 Hello,
 
 I'm making a translation (es.po) and thus I need to see the messages 
 that LyX echoes properly contextualized. As a result, I must install 
 1.1.6cvs, and prior to doing it, and as I have everyday work relying 
 on 1.1.4, I would like to ask
 
 How must I do to keep both versions functional and separate in my 
 Debian 2.2 system?
 I mean, do I need to be aware that this or that thing should be 
 placed here or there or that some symlinks have to be created?
 
 thanks for the help, and keep up the good work!
 
 -- 
 Álvaro Tejero Cantero
 p42.org
 

If you don't install the 1.1.6cvs, but run it from the src directory
(where it is compiled), it shouldn't be too difficult. One thing you may
want to do is keep the ~/.lyx directories separate for the two version,
since there may be configuration conflicts.

For this configure the cvs version with --with-lyxname=lyx-1.1.6cvs [or
whatever name \neq "lyx"]. This will creat a ~/.lyx-1.1.6cvs dir in
addition to the existing ~/.lyx one. The executable will still be named
'src/lyx'.

Lior.




initial enumerate counter value

2000-10-13 Thread Lior Silberman

Hello,

I'd like to have an enumerate environment, starting the count from 5
(rather than 1). The LaTeX effect I'd like to have is:

\begin{enumerate}
\setcounter{enumi}{5}
\item My First Item
\item My Second Item
\end{enumerate}

But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
first item and not before it, while if I put it before the start of the
environment it has no effect.

Is there any solution short of manually editing the LaTeX output?

Thanks,
Lior.




Re: Bibtex and pdftex again, sorry!

2000-10-13 Thread Matìj Cepl

-BEGIN PGP SIGNED MESSAGE-

 Sorry, but I forgot how to convert a tex file with bibtex
 references inpdf.  I am using the lyx2pdf script, but it does
 not work properly: the references do  not appear.

1) File/Export/Latex (let's say, that your document is named
paper.lyx)

2) go to the command line (konsole, xterm, whatever)

3) check somehow (vi, mcedit, emacs) that you have somewhere in
the top of *.tex (among other \usepackage commands) either command
\usepackage{pslatex}
or
instead of pslatex, that there is times, palatino, newcent or
bookman. If there isn't any command from these, put it
there (anywhere between \documentclass and \begin{document}).
Preferably pslatex (the shortest PDF files) or palatino (closest
approximation of Computer Modern fonts).

4) run
pdflatex paper

5) run
bibtex paper

6) run
pdflatex paper
twice (check that pdflatex does not write anything about need of
rerunning).

That's it!

Happy LyXing

Matej Cepl

 I
support PGP - ID: Matej Cepl [EMAIL PROTECTED] Fingerprint 77
BC 89 0E 92 1D 2B 51  B5 7A 05 EA A6 DB 4F E8


-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
MessageID: xRP7wyjnjMO9uSR2QAuWeNWx6Tirh98f

iQEVAwUBOed4Je1neEitXwCrAQEVWAf8CggGo9Cu8RjSnhsLz7enrFZrG6VPTjkG
/0QIjTgCxvGIIPgTcpGc+vl2DsR+Q5CVN9siF/cX22gr1+AvuB6V2EZJJPH73wHv
kj5HIAjIZYzX/VZOV+x7wB0CfPxegdWGp4JuL39MaWcYTNEhVd/hb5p7vbB+tuYH
uAL8ABMmVxCb/sg14MNYa+gyjpOjJn30rlQHBNt1Ratz7H2MQV6D381tiLIOnTOi
EAKIiwA5O/TaMNSPQazC2G0rPWlMJUcB5fltelHKd4yG62S7i5iuhAg9dO3yaemA
oPT/L9Qmh6X/tXu5ziDICDhnLH5EJzMvPXSibs+5YpWyNXbEhIDy6A==
=PhpQ
-END PGP SIGNATURE-



Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Alvaro Tejero Cantero

El vie, 13 oct 2000 escribías:
| On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:
|  Hello,
| 
|  I'm making a translation (es.po) and thus I need to see the
|  messages that LyX echoes properly contextualized. As a result, I
|  must install 1.1.6cvs, and prior to doing it, and as I have
|  everyday work relying on 1.1.4, I would like to ask
| 
|  How must I do to keep both versions functional and separate in my
|  Debian 2.2 system?
|  I mean, do I need to be aware that this or that thing should be
|  placed here or there or that some symlinks have to be created?
| 
|  thanks for the help, and keep up the good work!
| 
|  --
|  Álvaro Tejero Cantero
|  p42.org
|
| If you don't install the 1.1.6cvs, but run it from the src
| directory (where it is compiled), it shouldn't be too difficult.
| One thing you may want to do is keep the ~/.lyx directories
| separate for the two version, since there may be configuration
| conflicts.
|
| For this configure the cvs version with --with-lyxname=lyx-1.1.6cvs
| [or whatever name \neq "lyx"]. This will creat a ~/.lyx-1.1.6cvs
| dir in addition to the existing ~/.lyx one. The executable will
| still be named 'src/lyx'.
|
| Lior.


Thank you: it worked, but the problem is now that 1.1.6 doesn't seem 
to recognize my LANG environment variable, so it doesn't start in 
Spanish

I can't figure how to tell LyX that he should use LANG=es. Please 
tell me if you find an answer,

Thanks

-- 
Álvaro Tejero Cantero
p42.org



Re: Adding a New Class

2000-10-13 Thread Jean-Pierre.Chretien


>>Date: Thu, 12 Oct 2000 16:00:55 -0400
>>From: Howard Arons <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Adding a New Class
>>User-Agent: Mutt/1.2.4i
>>
>>I'm sorry if this has been a continuing thread on this group. I'm a
>>newbie to Lyx, but I've read the "Customizing" doc and no joy.
>>
>>I got the "akletter.cls" package from CTAN and installed it in
>>/usr/share/texmf.local/tex/latex/akletter under Debian 2.2.
>>I edited my texmf.cnf file to include my texmf.local path.
>>I ran texhash, then Lyx Opt|Reconfigure.
>>
>>After I restart Lyx the "akletter" Class does not show up. I must be
>>missing something, but what?

Unix permissions 755 on the dir and 644 on the files ?

-- 
Jean-Pierre




Re: Re[2]: Configuring Lyx

2000-10-13 Thread Tom Beale

I have installed Xforms from there RPM files - I thought I only had to do
that if I ran make myself - sorry I'm a beginner so I get a bit confused.

I have got a forms.h file, and I have tried compiling using
--with-extra-libraries=/usr//forms.h
but with no luck

Tom.
- Original Message -
From: Dragutin Cvetkovic <[EMAIL PROTECTED]>
To: Tom Beale <[EMAIL PROTECTED]>
Cc: Lyx Group <[EMAIL PROTECTED]>
Sent: Thursday, October 12, 2000 9:15 PM
Subject: Re[2]: Configuring Lyx


> Pozdrav Tom,
>
> Thursday, October 12, 2000, 7:40:27 PM, you wrote:
>
> T> It doesn't configure with both xforms and xforms-devel either 0.88 or
0.89.
> T> I have tried make distclean, which didn't solve it, and neither did
deleting
> T> it all and re-expanding it from the .tar archive.
>
> T> Tom.
> T> - Original Message -
> T> From: Paul E Johnson <[EMAIL PROTECTED]>
> T> To: Tom Beale <[EMAIL PROTECTED]>
> T> Sent: Thursday, October 12, 2000 1:24 PM
> T> Subject: Re: Configuring Lyx
>
>
> >> Your devel edition must match your xforms edition.  Where are you
> >> getting the rpm for 0.89?
> >>
> >> OK, so I'm just guessing.
> >>
> >> One of the most common problems is that people have configure fail, and
> >> then they install what they need, and run configure again in the same
> >> place. It uses the cached settings from the last configure. I think lyx
> >> has "make distclean" to get a fresh start. If not, you have to erase
the
> >> source tree and try again.
> >>
> >>
> >> pj
> >>
> >> Tom Beale wrote:
> >> >
> >> > I already had xforms-devel 0.88 installed.   I have now tried
installing
> >> > xforms-devel 0.89-6 but that doesn't seem to make any difference.
> >> >
> >> > Tom.
>
>
> a stupid question but have u actually made it exist in proper
> directories, you know /usr/include and such... /usr/lib ... and then
> did a ldconfig?
>
> Sve najbolje,
>  Dragutinmailto:[EMAIL PROTECTED]
>
>
>




Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

>I noticed your recent posts about using Docbook with the Win32 port of LyX.
>I'd like to use Docbook with Win32 LyX too, but have been unable to find a file or 
>package to install the document class - at the moment it's not even in my list of 
>available styles
>I noticed that Marek Woloszyk mentions "sgml2lyx".  I thought that was the file used 
>with LinuxDoc, but in any case I have been unable to find anything suitable on the 
>net.
>I have the Docbook DTDs etc but would be very grateful if somebody can help with info 
>about the package I need to get LyX to show me a Docbook document class.

I have a DocBook Article layout availabel in my LyX. This is the latest LyX release 
for Win32,
maybe you should consider upgrading if you are not running the latest one?

However, this is DocBook 3.1, not the latest (4.1). And what does the "Article" bit of 
it mean?
Is this not a full fledge DocBook layout, but a subset? I can't seem to find the 
answers to these
things. Neither can I find a layout for DocBook 4.1. The only chance seems to be to 
edit the
existing layout file for the DocBook 3.1 Article, however I don't feel competent 
enough to do
this, neither do I have the time.

For the time beeing, I'm useing Emacs with psgml. It works, but is of course a lot 
more work
because I manually have to insert the tags and worrie about the layout of the text 
itself so
that it will be possible to find it again at a later point.

I hope to see the DocBook 4.1 layout somewhere out there soon.


- IT








Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Alvaro Tejero Cantero

Hello,

I'm making a translation (es.po) and thus I need to see the messages 
that LyX echoes properly contextualized. As a result, I must install 
1.1.6cvs, and prior to doing it, and as I have everyday work relying 
on 1.1.4, I would like to ask

How must I do to keep both versions functional and separate in my 
Debian 2.2 system?
I mean, do I need to be aware that this or that thing should be 
placed here or there or that some symlinks have to be created?

thanks for the help, and keep up the good work!

-- 
Álvaro Tejero Cantero
p42.org



Re: Re[2]: Configuring Lyx

2000-10-13 Thread Jean-Marc Lasgouttes

> "Tom" == Tom Beale <[EMAIL PROTECTED]> writes:

Tom> I have installed Xforms from there RPM files - I thought I only
Tom> had to do that if I ran make myself - sorry I'm a beginner so I
Tom> get a bit confused.

Tom> I have got a forms.h file, and I have tried compiling using
Tom> --with-extra-libraries=/usr//forms.h but with no luck

OK, let's try the hard way :) Could you post (1) the configure command
line you've tried (for example, the one above is really wrong %-), and
(2) the file config.log after running configure (remove config.cache
before running configure).

JMarc



[pgo@experian.fr] [Lyx-feedback] Feedback from www.lyx.org

2000-10-13 Thread Lars Gullik Bjønnes



P. Garguilo ([EMAIL PROTECTED]) entered the 
following feedback message on the LyX home page:


No news since two months

Too long

-
LyX and LaTeX are so beautiful.
___
Lyx-feedback mailing list
[EMAIL PROTECTED]
http://www.lyx.org/mailman/listinfo/lyx-feedback





Adding a New Class, another!

2000-10-13 Thread Alberto Vecchiato

On Fri, 13 Oct 2000, Allan Rae wrote:

> On Thu, 12 Oct 2000, Howard Arons wrote:
> 
> > I'm sorry if this has been a continuing thread on this group. I'm a
> > newbie to Lyx, but I've read the "Customizing" doc and no joy.
> > 
> > I got the "akletter.cls" package from CTAN and installed it in
> > /usr/share/texmf.local/tex/latex/akletter under Debian 2.2.
> > I edited my texmf.cnf file to include my texmf.local path.
> > I ran texhash, then Lyx Opt|Reconfigure.
> > 
> > After I restart Lyx the "akletter" Class does not show up. I must be
> > missing something, but what?
> 
> akletter.layout
> 
> You'll have to write this yourself as Customisation describes.  One way to
> start is to find an existing document class LyX supports that has similar
> paragraph styles and copy and modify that.
> 
> Allan. (ARRae)
> 
Sorry for bothering you all, but I did this with the package aa.cls and
still it doesn't work.

I mean, I created the /usr/share/texmf.local/tex/latex/aa, copied aa.cls,
edited the texmf.cnf file, run texhash, then Options->Reconfigure(d) on
Lyx, but still the style does not show up after restarting.  Actually, I
do have the (original) aapaper.inc and aapaper.layout files into the
/usr/share/lyx/layouts. 

Actually I never succeeded in adding any style to the installed lyx
configuration, what is my error?  Please, tell me something!  I'm going
nuts! :-(

Thanks in advance

Alberto Vecchiato

PS: I'm running LyX 1.1.4fix3 on Mandrake 7.1.




Re: second try: CJK-LyX with Japanese AND German support

2000-10-13 Thread Gerhard Schuck

> > as it seems I'm in a dilemma. Perhaps someone can help me. Basicly I'm
> > writing in German but sometimes I also need Japanese (in the same
document).
> > So I installed CJK-LyX on an RedHat 6.2J and really managed to get
japanese
> > support for writing and printing -- but I lost the German support. As
far as
> > I see it depends on the LANG variable. If I define LANG as "de_DE", the
> > japanese support doesn't work. If I define it "ja_JP" the german umlauts
> > don't work although the document is defined in lyx as language=German
and
> > encoding=Latin1. (By the way the menues appear in German!) I also tried
to
> > define a secondary keyboard as german. But no success: documents written
in
> > German don't appear correctly and I can't write umlauts.
> > Does anybody know a way to get japanese support in LyX without losing
the
>
> Which of the following are you experiencing when LANG is set to ja_JP ?
> (1) You can't enter umlauts within LyX.
> (2) Umlauts are not shown in the LyX window
> (3) Umlauts are not shown in the DVI/Postscript.
>
> I suspect that (3) happens as the encoding defined by the inputenc package
> (Latin1) clashes with the encoding defined by the CJK package (Big5, GB
etc.).

Unfortunately all of these three happend. Folling the advice I got from
"Tokyo Linux User Group"-mailinglist (see http://tlug.linux.or.jp/ML/0010),
especially from Stephen J. Turnbull, I gave up the idea of using a japanese
version as a basis, because the japanese versions are not made for
multilingual tasks, and I also gave up using CJK-LyX which also seems not to
support multilingual writing.

> Perhaps you need to use the UTF8 encoding option of the CJK package (if
> CJK-LyX supports it), or use Omega instead of LaTeX (if CJK-LYX supports
it).

Hmm, in the meantime I learned that this CJK package exists. It is said to
be better for my purposes (mainly German, sometimes Japanese writing) than
platex. I have also heared about Omega. But I have no idea how to get them
running or how to integrate them into CJK-Lyx (I'm still a beginner in the
latex-world). By the way it's not easy to get information about multilingual
linux or latex. Mostly information about "Linux and Japanese" or MULE is
related to getting a full japanese system (based on LANG=ja_JP), which of
course supports English but not the Latin-1 languages.

> Also, if (3) happens, please send me a small example file
> (the lyx file + the latex file).
Sorry, I can't. I returned to normal LyX on a non-Japanese linux system, and
will try to get by with yudit or emacs for bilingual purposes.
>
> Anyhow, I plan of integrating the CJK-LyX into the normal version, and I
> hope that in this process your problem will be solved.
>

That would be great! But perhaps it will be more difficult than you are
thinking now.


Gerhard Schuck

[EMAIL PROTECTED]






Re: class docbook W32

2000-10-13 Thread Idar Tollefsen

>In my LyX Latex configuration file (LaTeXConfig.lyx) I have this entry (for
>docbook) under Additional Classes.

>4.6  docbook
>Found: no
>CTAN: N/A
>WWW: Url:http://www.sgmltools.org 
>Notes: The class docbook is not a LaTeX document class.
>It is designed to produce Docbook SGML documents, which, in turn, can be
>exported as HTML, RTF, text, or dvi (through jadetex). You need the
>sgmltools v2.0 package installed to use this.

I have a Windows NT envrioment set up with OpenJade, JadeTex,
DocBook, stylesheets and whatever else is in here.
so I can performe the desired conversion as long as LyX exports a
sgml file for me.

>I guess that's why it doesn't show up as an available class in  the menu
>Layout \ Document \ Class.
>It wasn't clear whether in your case, docbook DOES show as an available
>class or not?

It does show up. As "DocBook Article". When exported to sgml, this has
a doctype of DocBook 3.1. And I have a feeling that LyX does not provide 
all the elements of DocBook in the mentioned layout,

>If I try to start a new document from that docbook.layout file and go "view
>dvi" it gives me a LaTeX error even before I've changed or set anything.
>That's why I think that the docbook.layout file is just "for instance" and
>isn't capable of compiling anything.  In any case, in my installation, with
>the "docbook" template file, I can not import or export anything more
>relevant than ASCII, so surely the engine room is empty no?

I require conversion to html, pdf and rtf. And I have that. Not from
withing LyX, but that is probably just a matter of configuring LyX
properly. I do it by hand or load the sgml file into Emacs.
By doing it this way, I also get a valid DVI file, no errors, trough
JadeTex. Based on this, I think the docbook.layout file is
working as intented by its authors.

What I do need, and don't have is complete support for 
DocBook 4.1 (sgml, not xml) in LyX. Not 3.1. And I need someone
to tell me that the support for this is complete, not a subset.

I don't know how to acomplish this. I am guessing that an edit of
the LyX layout file (docbook.layout) is required, but beyound that
I don't have a clue. And quite frankely, I don't care to find out either
because I don't have the time for it. I'm currently, as I stated previously,
using Emacs with psgml and I will continue to do this unitll somebody
gets around to fix the DocBook document class for LyX. 



- IT





Re: class docbook W32

2000-10-13 Thread Jose Abilio Oliveira Matos

On Fri, Oct 13, 2000 at 04:39:06PM +0200, Idar Tollefsen wrote:
> >4.6  docbook
> >Found: no
> >CTAN: N/A
> >WWW: Url:http://www.sgmltools.org 
> >Notes: The class docbook is not a LaTeX document class.
> >It is designed to produce Docbook SGML documents, which, in turn, can be
> >exported as HTML, RTF, text, or dvi (through jadetex). You need the
> >sgmltools v2.0 package installed to use this.

  The initial search to detect docbook is for sgmltools or db2html scripts,
I am really aware that you can use it without those wrappers. They call the
tools you have.

  This could be changed, there are several possible ways to do it.
  I would like to hear suggestion. How about to search for (open)jade?

> I have a Windows NT envrioment set up with OpenJade, JadeTex,
> DocBook, stylesheets and whatever else is in here.
> so I can performe the desired conversion as long as LyX exports a
> sgml file for me.

  Yes.

> >I guess that's why it doesn't show up as an available class in  the menu
> >Layout \ Document \ Class.
> >It wasn't clear whether in your case, docbook DOES show as an available
> >class or not?
> 
> It does show up. As "DocBook Article". When exported to sgml, this has
> a doctype of DocBook 3.1. And I have a feeling that LyX does not provide 
> all the elements of DocBook in the mentioned layout,

  For 1.1.6 there is also docbook-book. It needs some work but the basis are
there.

> >If I try to start a new document from that docbook.layout file and go "view
> >dvi" it gives me a LaTeX error even before I've changed or set anything.
> >That's why I think that the docbook.layout file is just "for instance" and
> >isn't capable of compiling anything.  In any case, in my installation, with
> >the "docbook" template file, I can not import or export anything more
> >relevant than ASCII, so surely the engine room is empty no?

  What version do you have (lyx)?
  It is possible to configure the way docbook is converted to any of those
formats.

> I require conversion to html, pdf and rtf. And I have that. Not from
> withing LyX, but that is probably just a matter of configuring LyX
> properly. I do it by hand or load the sgml file into Emacs.
> By doing it this way, I also get a valid DVI file, no errors, trough
> JadeTex. Based on this, I think the docbook.layout file is
> working as intented by its authors.
> 
> What I do need, and don't have is complete support for 
> DocBook 4.1 (sgml, not xml) in LyX. Not 3.1. And I need someone
> to tell me that the support for this is complete, not a subset.

  The support is not complete, is work in progress. We are missing mainly
the inline elements, that will be supported as soon as the Logical
Characther Styles are implemented.

  I have thought about the limitations regarding the availability of the
different versions of docbook available, 3.0, 3.1, 3.1.x, 4.0, 4.1.x...
  And these versions have different flavours, sgml/xml.
  It is possible to have all those cases to be configured via lyxrc in
~/.lyx that would help alot.

  Example:
  \dtd docbook "PUBLIC" "-//OASIS//DTD DocBook V3.1//EN"
  \dtd docbook-xml "PUBLIC" "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" "docbookx.dtd"
  \dtd website "SYSTEM" "/usr/lib/sgml/dtd/website.dtd"
  
  The first parameter after the dtd would be present in the layout files.
  
  Also using the new converter from 1.1.6 we could specify different
transformations for different formats, something like:

  \convert docbook dvi "method1"
  \convert docbook-xml ps "method2"
  \convert website html "method3"

> I don't know how to acomplish this. I am guessing that an edit of
> the LyX layout file (docbook.layout) is required, but beyound that
> I don't have a clue. And quite frankely, I don't care to find out either
> because I don't have the time for it. I'm currently, as I stated previously,
> using Emacs with psgml and I will continue to do this unitll somebody
> gets around to fix the DocBook document class for LyX. 

  Presently the version of the docbook dtd used is hardcoded in src/buffer.C
  Any help to improve the docbook support is welcome.
  
> 
> - IT

-- 
José



Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread German Poo Caaman~o

On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:
> I'm making a translation (es.po) and thus I need to see the messages 
> that LyX echoes properly contextualized. As a result, I must install 
> 1.1.6cvs, and prior to doing it, and as I have everyday work relying 
> on 1.1.4, I would like to ask
> 
> How must I do to keep both versions functional and separate in my 
> Debian 2.2 system?
> I mean, do I need to be aware that this or that thing should be 
> placed here or there or that some symlinks have to be created?

I translated some text (es.po) with kbabel.   I'm using
1.1.5fix, but I have the sources on the other directory.  From
that I can run lyx whithout problem (another version).

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html




Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Lior Silberman

On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:

> Hello,
> 
> I'm making a translation (es.po) and thus I need to see the messages 
> that LyX echoes properly contextualized. As a result, I must install 
> 1.1.6cvs, and prior to doing it, and as I have everyday work relying 
> on 1.1.4, I would like to ask
> 
> How must I do to keep both versions functional and separate in my 
> Debian 2.2 system?
> I mean, do I need to be aware that this or that thing should be 
> placed here or there or that some symlinks have to be created?
> 
> thanks for the help, and keep up the good work!
> 
> -- 
> Álvaro Tejero Cantero
> p42.org
> 

If you don't install the 1.1.6cvs, but run it from the src directory
(where it is compiled), it shouldn't be too difficult. One thing you may
want to do is keep the ~/.lyx directories separate for the two version,
since there may be configuration conflicts.

For this configure the cvs version with --with-lyxname=lyx-1.1.6cvs [or
whatever name \neq "lyx"]. This will creat a ~/.lyx-1.1.6cvs dir in
addition to the existing ~/.lyx one. The executable will still be named
'src/lyx'.

Lior.




initial enumerate counter value

2000-10-13 Thread Lior Silberman

Hello,

I'd like to have an enumerate environment, starting the count from 5
(rather than 1). The LaTeX effect I'd like to have is:

\begin{enumerate}
\setcounter{enumi}{5}
\item My First Item
\item My Second Item
\end{enumerate}

But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
first item and not before it, while if I put it before the start of the
environment it has no effect.

Is there any solution short of manually editing the LaTeX output?

Thanks,
Lior.




Re: Bibtex and pdftex again, sorry!

2000-10-13 Thread Matìj Cepl

-BEGIN PGP SIGNED MESSAGE-

> Sorry, but I forgot how to convert a tex file with bibtex
> references inpdf.  I am using the lyx2pdf script, but it does
> not work properly: the references do  not appear.

1) File/Export/Latex (let's say, that your document is named
paper.lyx)

2) go to the command line (konsole, xterm, whatever)

3) check somehow (vi, mcedit, emacs) that you have somewhere in
the top of *.tex (among other \usepackage commands) either command
\usepackage{pslatex}
or
instead of pslatex, that there is times, palatino, newcent or
bookman. If there isn't any command from these, put it
there (anywhere between \documentclass and \begin{document}).
Preferably pslatex (the shortest PDF files) or palatino (closest
approximation of Computer Modern fonts).

4) run
pdflatex paper

5) run
bibtex paper

6) run
pdflatex paper
twice (check that pdflatex does not write anything about need of
rerunning).

That's it!

Happy LyXing

Matej Cepl

 I
support PGP - ID: Matej Cepl <[EMAIL PROTECTED]> Fingerprint 77
BC 89 0E 92 1D 2B 51  B5 7A 05 EA A6 DB 4F E8


-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
MessageID: xRP7wyjnjMO9uSR2QAuWeNWx6Tirh98f

iQEVAwUBOed4Je1neEitXwCrAQEVWAf8CggGo9Cu8RjSnhsLz7enrFZrG6VPTjkG
/0QIjTgCxvGIIPgTcpGc+vl2DsR+Q5CVN9siF/cX22gr1+AvuB6V2EZJJPH73wHv
kj5HIAjIZYzX/VZOV+x7wB0CfPxegdWGp4JuL39MaWcYTNEhVd/hb5p7vbB+tuYH
uAL8ABMmVxCb/sg14MNYa+gyjpOjJn30rlQHBNt1Ratz7H2MQV6D381tiLIOnTOi
EAKIiwA5O/TaMNSPQazC2G0rPWlMJUcB5fltelHKd4yG62S7i5iuhAg9dO3yaemA
oPT/L9Qmh6X/tXu5ziDICDhnLH5EJzMvPXSibs+5YpWyNXbEhIDy6A==
=PhpQ
-END PGP SIGNATURE-



Re: Working with 1.1.4 and testing with 1.1.6cvs

2000-10-13 Thread Alvaro Tejero Cantero

El vie, 13 oct 2000 escribías:
| On Fri, 13 Oct 2000, Alvaro Tejero Cantero wrote:
| > Hello,
| >
| > I'm making a translation (es.po) and thus I need to see the
| > messages that LyX echoes properly contextualized. As a result, I
| > must install 1.1.6cvs, and prior to doing it, and as I have
| > everyday work relying on 1.1.4, I would like to ask
| >
| > How must I do to keep both versions functional and separate in my
| > Debian 2.2 system?
| > I mean, do I need to be aware that this or that thing should be
| > placed here or there or that some symlinks have to be created?
| >
| > thanks for the help, and keep up the good work!
| >
| > --
| > Álvaro Tejero Cantero
| > p42.org
|
| If you don't install the 1.1.6cvs, but run it from the src
| directory (where it is compiled), it shouldn't be too difficult.
| One thing you may want to do is keep the ~/.lyx directories
| separate for the two version, since there may be configuration
| conflicts.
|
| For this configure the cvs version with --with-lyxname=lyx-1.1.6cvs
| [or whatever name \neq "lyx"]. This will creat a ~/.lyx-1.1.6cvs
| dir in addition to the existing ~/.lyx one. The executable will
| still be named 'src/lyx'.
|
| Lior.


Thank you: it worked, but the problem is now that 1.1.6 doesn't seem 
to recognize my LANG environment variable, so it doesn't start in 
Spanish

I can't figure how to tell LyX that he should use LANG=es. Please 
tell me if you find an answer,

Thanks

-- 
Álvaro Tejero Cantero
p42.org