index

tex

see also tex-tex and tex-maruska

Compiling on Gentoo

USE="motif%* -Xaw3d% -lesstif% -neXt% -tk%"

Manuals

fonts

tfm
tex-font-metrics vf :: virtual font

gsftopk can render Ghostscript fonts! ?? ttf2pk

configuration Settings for outline fonts

Where is the TeX configuration on Gentoo/tetex ?

Best is to ask kpathsea itself!

kpsepath -w  cnf   texmf.cnf
it's a symlink to /etc/texmf/web2c/texmf.cnf

But how is the file:////etc/texmf/web2c/texmf.cnf constructed

.. out of /etc/texmf/texmf.d/ files:

This is updated by the eclasses! tetex-3.eclass

So, now I understand all the /etc/texmf/*.d directories!

fmtutil

-> I should prepare the fmtutil.cnf & run fmtutil !

fmtutil --byfmt tex

updmap - Update font map files for TeX output drivers

kpsepath base 
kpsepath -m ljfour  pk

dvi2ps

/var/lib/texmf/web2c/texmf.cnf

-> /var/lib/texmf/fonts/ls-R

-> /usr/share/texmf/aliases

strace -e open kpsewhich -mode ljfour kcss17.600pk

how I modified texk back in '97

dviljk/dvi2xx.c

./configure --prefix=/usr --disable-static --enable-ipc --with-etex=no

I wanted to print Escape sequences on the terminal.

(to have logs colored.)

./web2c/tex.ch
@x [4.49] l.1295 -- Do not hardwire printable ASCII.
@<Character |k| cannot be printed@>=
  (k<" ")or(k>"~")
@y
@<Character |k| cannot be printed@>=
  (k>256) {MARUSKA  (((k<" ")or(k>"~")) and not(isprint(xord[k])))}
@z

Seems I still need a patch for the sources!

[01 dic 06] No, running "tex -8bit" solves it!

IS this problem solved?

group tex chmods tex +w /usr/local/share/texmf/ls-R /usr/share/texmf/ls-R

aliases ! nice

cnnfile ?

/linux/6/usr/share/texmf/web2c/texmf.cnf

gentoo instead: /var/lib/texmf/web2c and /etc/texmf/web2c/texmf.cnf

I set the screen width ... error_line etc.

$ texconfig confall

texhash vs mktexlsr ?

to re-dump all formats, e.g. after "resizing" the static arrays... in .cnf ! $ texconfig init

/usr/share/texmf

Here the start:

/etc/texmf/web2c/fmtutil.cnf

here i define what formats I need:

.tcx files /usr/share/texmf/web2c/

to see 8-bit messages on console and in logfile: cp8bit.tcx ......%& --translate-file=cp8bit.tcx

-enc is alternative

http://petr.olsak.net

fonts:

in ~/activity/tex/macros/fonts/deffont.tex i have a mapping from My space (language/style/size) -> font name.

dcr17 not available:

bugs:

3 volte esagerato!!!

(/usr/share/texmf/tex/my/tex/tip/endrec.tip) READING: endrec.tip endrec.tip )

installing

:/usr/share/texmf/tex 0$ ln -s /x/activity/tex/ my

running xdvi

kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600 --dpi 600 kcss17 mktexpk: don't know how to create bitmap font for kcss17. kpathsea: Appending font creation commands to missfont.log. xdvi: Can't find font kcss17; using Type1 version of cmr10 instead. kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+264/600 --dpi 864 ocrb10 mktexpk: don't know how to create bitmap font for ocrb10. xdvi: Can't find font ocrb10; using Type1 version of cmr10 instead. kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600 --dpi 600 kcss8 mktexpk: don't know how to create bitmap font for kcss8. xdvi: Can't find font kcss8; using Type1 version of cmr10 instead. kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600 --dpi 600 kcr8 mktexpk: don't know how to create bitmap font for kcr8. xdvi: Can't find font kcr8; using Type1 version of cmr10 instead. kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600 --dpi 600 kcr10 mktexpk: don't know how to create bitmap font for kcr10. xdvi: Can't find font kcr10; using Type1 version of cmr10 instead.

on linux5 (ok!) kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+264/600 --dpi 864 ocrb10 mktexpk: don't know how to create bitmap font for ocrb10. kpathsea: Appending font creation commands to missfont.log. xdvi: Can't find font ocrb10; using Type1 version of cmr10 instead.

So, > cp /linux/5/usr/share/texmf/fonts/source/lh/lh-koi8 /usr/share/texmf/fonts/source/lh/

ll /linux6/usr/share/texmf/fonts/source/public/lh/lh-koi8/ /linux/2/usr/share/texmf/web2c/mktex.cnf /linux/2/var/lib/texmf/web2c/mktex.cnf

What fonts do I use?

pk:

lh/* ocrb10

cp /linux/6/usr/share/texmf/fonts/source/public/ocr-a/ /usr/share/texmf/fonts/source/public/

/s/app-text/tetex/tetex-3.0_p1-r3.ebuild or /s/app-text/tetex/tetex-3.0-r4.ebuild

How to generate the pk fonts?

So far, I have to copy them from the old installation!


dvips: warning: no config file for `HP' .... ??
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2006.11.27:1135' -> novembre27.ps
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600 --dpi 600 kcss17
mktexpk: don't know how to create bitmap font for kcss17.
kpathsea: Appending font creation commands to missfont.log.

dvips: Font kcss17 not found,  using cmr10 instead.
dvips: Design size mismatch in font kcss17
dvips: Checksum mismatch in font kcss17
dvips: ! invalid char 237 from font kcss17
zsh: exit 1     p_hp novembre27.dvi

mktexpk

sources /var/lib/texmf/web2c/mktex.opt ... defines $STDOUT

mktexmf

mktexmf  cmr11
generates /var/lib/texmf/fonts/source/jknappen/sauter/cmr11.mf Why & how?


design_size := 10.95; input b-cmr;

TFM

As I get segfaults from mf-nowin, I try to copy ready tfm files (from linux6) copying more fonts:

cp /linux/2/linux6/usr/share/texmf/fonts/tfm/public/ec/ ../public/ec cp /linux6/var/tmp/texfonts/tfm/ /var/lib/texmf/fonts/tfm cp /linux/2/linux6/usr/share/texmf/fonts/tfm/jknappen/ec/ ec/ ocrb10

public/ocr-b

No!!! I cp the sources instead .mf instead of .tfm

Segfault:

mf-nowin -progname=mf
**  \mode:=ljfour; mag:=1+0/600; nonstopmode; input ectt1200

/var/lib/texmf/web2c/mf.base /var/lib/texmf/web2c/texmf.cnf /usr/share/texmf/aliases

\mode:=ljfour; mag:=1+0/600; nonstopmode; input ectt1200 changing: \mode:=ljfour; nonstopmode; input ectt1200

\mode:=ljfour; mag:=1/600; nonstopmode; input ectt1200 \mode:=ljfour; nonstopmode; input ectt1200

\mode:=ljfour; mag:=1; nonstopmode; input gttn0900

\nonstopmode; input ectt1200

-> /var/cache/fonts/source/jknappen/ec/ectt1200.mf

Use 'texconfig font ro' to disable font generation for users

* * If you have configuration files in /etc/texmf to merge, * please update them and run /usr/sbin/texmf-update. * * * This release removes dvipng since it is provided in app-text/dvipng *

tetex: ?? USE="X doc motif -Xaw3d -lesstif -neXt -tcltk"

FreeType tutorial:

http://freetype.sourceforge.net/freetype2/docs/tutorial/step2.html

better: http://computing.ee.ethz.ch/sepp/freetype-2.0.1-ds/docs/freetype2/step1.html

http://www.aoindustries.com/docs/freetype-2.0.3/docs/tutorial/step2.html

http://tug.org/applications/fontinst

Tetex vs. texlive

quote: Regarding texlive vs. tetex: It appears that tetex is to be abandoned for want of an upstream maintainer, and that Debian is migrating to texlive.