For Programmers: Free Programming Magazines  


Home > Archive > APL > December 2006 > Type-1 APL Fonts for LaTeX, pdflatex, and friends









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Type-1 APL Fonts for LaTeX, pdflatex, and friends
Dieter Kilsch

2006-11-29, 6:57 pm

Robert Bernecky provides the APL-font saxpsa an his site and provides an
installation guide for it.

I suggest to use a .fd-file to be able to use the standard LaTeX scaling
macros \tiny ... \Huge in your document.

The file saxpsa.fd should have the following content:

\ProvidesFile{OT1saxpsa.fd}[2006/11/19 Dieter Kilsch]
\DeclareFontFamily{OT1}{saxpsa}{}
\DeclareFontShape {OT1}{saxpsa}{m}{n}{<->saxpsa}{}

The file qdefsax.tex must be changed in two ways. I recommend to rename
it to saxpsa.sty.

1) Enter the following line at the top of the file (or anywhere else)

\newcommand{\apl}{\fontencoding{OT1}\fon
tfamily{saxpsa}\fontseries{m}\fontshape{
n}\selectfont}

Calling \apl switches to the font Saxpsa according to the content of
OT1saxpsa.fd

2) In all the lines defining the \q.... macros the command \apl must be
deleted. If not done the scaling macros will not work.

saxpsa.sty and OT1saxpsa.fd should reside in
L/tex/Latex/saxpsa
where L stands or your (local) tex directory.

On installing the font in the MikTeX-distribution under Windows one has
to change the updating of the mapping files at the end (7. of Robert
Bernecky installation guide):

1) add the line
Map saxpsa.map
to the file
L/miktex/config/updmap.cfg
Create the file if it does not exist.

2) Execute on your DOS shell:
initexmf -u
initexmf --mkmaps

Due to the new line in updmap.cfg the last command adds the entry in
saxpsa.map to the file L/dvips/config/psfonts.map used by pdflatex to
properly embed the font.

The line

\apl\qiota\tiny\qiota\large\qiota\Huge\q
iota

will now work as expected in your document.

Dieter
rbe

2006-12-03, 6:56 pm


Dieter Kilsch wrote:
> Robert Bernecky provides the APL-font saxpsa an his site and provides an
> installation guide for it.


I've added Dieter's changes to my stuff, cleaned up a few typos, and
verified that
it works with latex and pdflatex on my SuSE 10.1 system. It's available
at
www.snakeisland.com. See the "aplfont" page.

Bob

urbancamo

2006-12-13, 4:08 pm

Bob,

Just tried this on a SuSE 10.2 Beta 2 system with no problems. The
'map' directory did exist on my installation.

Many thanks,

Mark.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com