public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* Solved it!  (was Re: .pdf generation error using the "newer" tools)
  2000-12-27  6:36 Solved it! (was Re: .pdf generation error using the "newer" tools) Alan W. Irwin
@ 2000-12-13  9:39 ` Alan W. Irwin
  2000-12-27  6:36 ` Eric Bischoff
  1 sibling, 0 replies; 4+ messages in thread
From: Alan W. Irwin @ 2000-12-13  9:39 UTC (permalink / raw)
  To: docbook-tools-discuss; +Cc: Bill Brooks

Until Eric prepares a new jadetex package there is a straightforward
solution to the pdfjadetex problem for the current Cygnus package
jadetex-2.20-4.noarch.rpm.

(1) jadetex-2.20-4.noarch.rpm is missing 7 important files which are in the
equivalent Debian package and also in the upstream source.  These files are
required in order to make it possible to reformat jadetex and pdfjadetex with
reasonable resources.

Go to http://www.tug.org/applications/jadetex and obtain jadetex-2.20.zip.
This is the clean source of the package which presumably is also part of the src
rpm as well.

(2) unzip that file, and copy the following files to somewhere in the
/usr/share/texmf/tex/ tree.

jadetex.ini 
pdfjadetex.ini 
dummyels.sty 
mlnames.sty 
ucharacters.sty
uentities.sty 
unicode.sty

I would suggest a good location is /usr/share/texmf/tex/jadetex.

(3) Create the following special fmtutil configuration file in the same directory
# jadefmtutil.cnf: configuration file for fmtutil; jade flavor.
#                  invoke with 'fmtutil --cnffile <file> --all'
#
# format	engine  pattern-file    arguments
jadetex		tex	language.dat	&latex jadetex.ini
pdfjadetex	pdftex	language.dat	&pdflatex pdfjadetex.ini

***************
N.B. I have asked Eric to do steps 1-3 or some equivalent in the next
version of his jadetex rpm.  But until he does this, you will have to do
these steps yourself.  However, to keep things simple I have also
recommended to him that the user does the following steps himself rather
than automating them with the package.
***************

(4) edit /usr/share/texmf/web2c/texmf.cnf to give reasonable resources for
jadetex and pdfjadetex. Here are the resources that I find give good results
for 100+ pages of documentation.

hash_extra.jadetex  = 32500
hash_extra.pdfjadetex  = 32500
pool_size.jadetex = 500000
pool_size.pdfjadetex = 500000
string_vacancies.jadetex = 45000
string_vacancies.pdfjadetex = 45000
max_strings.jadetex = 58500
max_strings.pdfjadetex = 58500
pool_free.jadetex = 47500
pool_free.pdfjadetex = 47500
nest_size.jadetex = 500
nest_size.pdfjadetex = 500
param_size.jadetex = 1504
param_size.pdfjadetex = 1504
save_size.jadetex = 10000
save_size.pdfjadetex = 10000
stack_size.jadetex = 1503
stack_size.pdfjadetex = 1503
extra_mem_bot.jadetex = 85000
extra_mem_bot.pdfjadetex = 85000

(5) execute 

texhash

This allows kpsewhich (which is used by fmtutil to find files) to find the
new files you have copied or created in /usr/share/texmf/tex/jadetex.

(6) reformat jadetex and pdfjadetex using the special configuration file for fmtutil
that you just created.

fmtutil --cnffile /usr/share/texmf/tex/jadetex/jadefmtutil.cnf --all

(Note fmtutil --all will reformat every other format file if you want to
enlarge resources for them as well with your revised texmf.cnf file)

With the above procedure I now have created a pdf version of my project's
documentation.

Hope this helps.

Alan

email: irwin@beluga.phys.uvic.ca
phone: 250-727-2902	FAX: 250-721-7715
snail-mail:
Dr. Alan W. Irwin
Department of Physics and Astronomy,
University of Victoria, P.O. Box 3055,
Victoria, British Columbia, Canada, V8W 3P6 
__________________________

Linux-powered astrophysics
__________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Solved it! (was Re: .pdf generation error using the "newer" tools)
  2000-12-27  6:36 ` Eric Bischoff
@ 2000-12-14  8:46   ` Eric Bischoff
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Bischoff @ 2000-12-14  8:46 UTC (permalink / raw)
  To: Alan W. Irwin, docbook-tools-discuss; +Cc: Bill Brooks

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

Le Mercredi 13 Décembre 2000 18:39, Alan W. Irwin a écrit :
> Until Eric prepares a new jadetex package there is a straightforward
> solution to the pdfjadetex problem for the current Cygnus package
> jadetex-2.20-4.noarch.rpm.

Great! Thanks for this analysis of the problems :-). I will do a better 
package by using your instructions as soon as I can.

Still about printing problems: I'm very near to a solution for having 
PostScript output of Korean DocBook files ;-).

-- 
Éric Bischoff  -  Documentation and Localization
Caldera (Deutschland) GmbH - Linux for eBusiness
Tel: +49 9131 7192 300 -  Fax: +49 9131 7192 399
http://www.caldera.de/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Solved it! (was Re: .pdf generation error using the "newer" tools)
  2000-12-27  6:36 Solved it! (was Re: .pdf generation error using the "newer" tools) Alan W. Irwin
  2000-12-13  9:39 ` Alan W. Irwin
@ 2000-12-27  6:36 ` Eric Bischoff
  2000-12-14  8:46   ` Eric Bischoff
  1 sibling, 1 reply; 4+ messages in thread
From: Eric Bischoff @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Alan W. Irwin, docbook-tools-discuss; +Cc: Bill Brooks

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

Le Mercredi 13 Décembre 2000 18:39, Alan W. Irwin a écrit :
> Until Eric prepares a new jadetex package there is a straightforward
> solution to the pdfjadetex problem for the current Cygnus package
> jadetex-2.20-4.noarch.rpm.

Great! Thanks for this analysis of the problems :-). I will do a better 
package by using your instructions as soon as I can.

Still about printing problems: I'm very near to a solution for having 
PostScript output of Korean DocBook files ;-).

-- 
Éric Bischoff  -  Documentation and Localization
Caldera (Deutschland) GmbH - Linux for eBusiness
Tel: +49 9131 7192 300 -  Fax: +49 9131 7192 399
http://www.caldera.de/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Solved it!  (was Re: .pdf generation error using the "newer" tools)
@ 2000-12-27  6:36 Alan W. Irwin
  2000-12-13  9:39 ` Alan W. Irwin
  2000-12-27  6:36 ` Eric Bischoff
  0 siblings, 2 replies; 4+ messages in thread
From: Alan W. Irwin @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss; +Cc: Bill Brooks

Until Eric prepares a new jadetex package there is a straightforward
solution to the pdfjadetex problem for the current Cygnus package
jadetex-2.20-4.noarch.rpm.

(1) jadetex-2.20-4.noarch.rpm is missing 7 important files which are in the
equivalent Debian package and also in the upstream source.  These files are
required in order to make it possible to reformat jadetex and pdfjadetex with
reasonable resources.

Go to http://www.tug.org/applications/jadetex and obtain jadetex-2.20.zip.
This is the clean source of the package which presumably is also part of the src
rpm as well.

(2) unzip that file, and copy the following files to somewhere in the
/usr/share/texmf/tex/ tree.

jadetex.ini 
pdfjadetex.ini 
dummyels.sty 
mlnames.sty 
ucharacters.sty
uentities.sty 
unicode.sty

I would suggest a good location is /usr/share/texmf/tex/jadetex.

(3) Create the following special fmtutil configuration file in the same directory
# jadefmtutil.cnf: configuration file for fmtutil; jade flavor.
#                  invoke with 'fmtutil --cnffile <file> --all'
#
# format	engine  pattern-file    arguments
jadetex		tex	language.dat	&latex jadetex.ini
pdfjadetex	pdftex	language.dat	&pdflatex pdfjadetex.ini

***************
N.B. I have asked Eric to do steps 1-3 or some equivalent in the next
version of his jadetex rpm.  But until he does this, you will have to do
these steps yourself.  However, to keep things simple I have also
recommended to him that the user does the following steps himself rather
than automating them with the package.
***************

(4) edit /usr/share/texmf/web2c/texmf.cnf to give reasonable resources for
jadetex and pdfjadetex. Here are the resources that I find give good results
for 100+ pages of documentation.

hash_extra.jadetex  = 32500
hash_extra.pdfjadetex  = 32500
pool_size.jadetex = 500000
pool_size.pdfjadetex = 500000
string_vacancies.jadetex = 45000
string_vacancies.pdfjadetex = 45000
max_strings.jadetex = 58500
max_strings.pdfjadetex = 58500
pool_free.jadetex = 47500
pool_free.pdfjadetex = 47500
nest_size.jadetex = 500
nest_size.pdfjadetex = 500
param_size.jadetex = 1504
param_size.pdfjadetex = 1504
save_size.jadetex = 10000
save_size.pdfjadetex = 10000
stack_size.jadetex = 1503
stack_size.pdfjadetex = 1503
extra_mem_bot.jadetex = 85000
extra_mem_bot.pdfjadetex = 85000

(5) execute 

texhash

This allows kpsewhich (which is used by fmtutil to find files) to find the
new files you have copied or created in /usr/share/texmf/tex/jadetex.

(6) reformat jadetex and pdfjadetex using the special configuration file for fmtutil
that you just created.

fmtutil --cnffile /usr/share/texmf/tex/jadetex/jadefmtutil.cnf --all

(Note fmtutil --all will reformat every other format file if you want to
enlarge resources for them as well with your revised texmf.cnf file)

With the above procedure I now have created a pdf version of my project's
documentation.

Hope this helps.

Alan

email: irwin@beluga.phys.uvic.ca
phone: 250-727-2902	FAX: 250-721-7715
snail-mail:
Dr. Alan W. Irwin
Department of Physics and Astronomy,
University of Victoria, P.O. Box 3055,
Victoria, British Columbia, Canada, V8W 3P6 
__________________________

Linux-powered astrophysics
__________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-12-27  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-27  6:36 Solved it! (was Re: .pdf generation error using the "newer" tools) Alan W. Irwin
2000-12-13  9:39 ` Alan W. Irwin
2000-12-27  6:36 ` Eric Bischoff
2000-12-14  8:46   ` Eric Bischoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).