Hello, The sgml-tools do not parse correctly the .sgml of Grace (http://plasma-gate.weizmann.ac.il/Grace/) sgml2latex -o dvi-p a4 UserGuides.sgml (All the tables are screwed up) It appears that the sgml-tools provided by RedHat 7.2 is from 1997... Since then the package have been improved and BUGS have been corrected... However the name of the package has changed. It is now called linuxdoc I removed the sgml-tools package and replaced it with the Linuxdoc package and now the .sgml are correctly parsed. Can't RedHat replace sgml-tools by Linuxdoc? Daniel
Sure. I think most people have moved to DocBook now though. Where is Linuxdoc? www.sgmltools.org seems to be down.
Hi, It is there: http://people.debian.org/~sano/linuxdoc-tools/ Daniel
Please take a look to check that the package I made is okay. ftp://people.redhat.com/twaugh/tmp/linuxdoc-tools/
I can build the package but the program does not work. If you try linuxdoc -o dvi xxx.sgml (whatever xxx.sgml is) it does not even want to start. Here I had 0.9.10 and it worked. If you try sgml2latex for instance it complains also: The best test examples are the one provided by the package by itself: example.sgml and guide.sgml [root@brest mini]# sgml2latex -o dvi RPM+Slackware.sgml Processing file RPM+Slackware.sgml load_char_maps: no entity maps found load_char_maps: no entity maps found parse_data: no entity map for `urlnam' This is TeX, Version 3.14159 (Web2C 7.3.1) LaTeX2e <2000/06/01>.... Daniel
The packaging in linuxdoc-tools seems to be even worse than sgml-tools was. :-( './configure --datadir=/tmp/... && make' fails in several different ways. I have sent one large fix to the upstream maintainer. The package still requires autoconf to build though(!). If only they knew about automake.. Anyhow, please try the new package that I put in that directory. It works for me with the examples you've given.
I have been looking in the director you specified. It is still the -1 package over there. I downloaded it and tried it, in case of you simply had forgotten to change it to -2, but it behaves the same than previously. I came to the conclusion that this package is not the one you are referring to in your last comment. Daniel
Yes, it's -1 but with a newer timestamp. Can you show me the command you are running and the output you get vs expect?
Hello. Here is what I got Daniel [root@brest linuxdoc-tools-0.9.13]# ls COPYRIGHT example guide.sgml guide.txt html Makedoc.sh README [root@brest linuxdoc-tools-0.9.13]# linuxdoc -o dvi guide.sgml LinuxDoc-Tools version 0.9.13 Usage: linuxdoc [options] <infile> General options: --backend={html,info,latex,lyx,rtf,txt,check} -B {html,info,latex,lyx,rtf,txt,check} --papersize={a4,letter} -p {a4,letter} --language={en,english,english,de,deutsch,german,nl,nederlands,dutch,fr,frangais,french,es,espaqol,spanish,da,dansk,danish,no,norsk,norwegian,se,svenska,swedish,pt,portuges,portuguese,ca,catal`,catalan,it,italiano,italian,ro,rombnc,romanian,ja,japanese,japanese,pl,polski,polish,ko,korean,korean} -l {en,english,english,de,deutsch,german,nl,nederlands,dutch,fr,frangais,french,es,espaqol,spanish,da,dansk,danish,no,norsk,norwegian,se,svenska,swedish,pt,portuges,portuguese,ca,catal`,catalan,it,italiano,italian,ro,rombnc,romanian,ja,japanese,japanese,pl,polski,polish,ko,korean,korean} --charset={latin,ascii,nippon,euc-kr} -c {latin,ascii,nippon,euc-kr} --style=string -S string --tabsize=number -t number --debug -d --define=string -D string --include=string -i string --pass=string -P string Format: html --split={0,1,2} -s {0,1,2} --toc={0,1,2} -T {0,1,2} --dosnames -h --imagebuttons -I --header=string -H string --footer=string -F string Format: info Format: latex2e Note that this output format requires LaTeX 2e. --output={dvi,tex,ps,pdf} -o {dvi,tex,ps,pdf} --bibtex -b --makeindex -m --pagenumber=number -n number --quick -q --dvips={dvips,dvi2ps,jdvi2kps} -s {dvips,dvi2ps,jdvi2kps} --latex={latex,hlatexp,platex,jlatex} -x {latex,hlatexp,platex,jlatex} Format: lyx Format: rtf --twosplit -2 Format: txt --manpage -m --filter -f --blanks=number -b number [root@brest linuxdoc-tools-0.9.13]#
Sorry. I was wrong. I corrected what I wrote but I do not get a better result: [root@brest i386]# linuxdoc --backend=latex -o dvi guide.sgml Processing file guide.sgml Cannot find .//guide.SGML [root@brest i386]#
Is there a 'guide.sgml' in the 'i386' directory you're in? A moment ago you were in 'linuxdoc-tools-0.9.13'...
Ooops.... Sorry. I was in the wrong directory... Now Linuxdoc works with the guide.sgml file and sgml2latex works also. After my lunchtime I will try with the .sgml files from Grace Thanks for your help and once again, sorry for having misunderstood the commands of linuxdoc
I tried with the .sgml of Xmgrace and it worked. So, for me, so far so good. Thanks for your help. One last thing that is important (in my opinion) is to mention in the next release of RedHat that linuxdoc replaces now sgml-tools (it is pretty hard to make a relation between these 2 packages just with the names...) Thanks for your help. Bye Daniel
0.9.15-1 is in rawhide now.