Hello list, I am trying to use latex fonts (to be more precize: the allrunes font) downloaded from the ctan-ftp-Server and installed correctly in my texmf-tree, in context, but I now realise that it does not work as easy as I expected (i.e. just using the latex-commands). If anyone could help me or point me in the right direction how to do it, I would be very thankful, as I have a deadline at the end of the week at which it has to work ;) Best regards Kai
Kai Militzer wrote:
Hello list,
I am trying to use latex fonts (to be more precize: the allrunes font) downloaded from the ctan-ftp-Server and installed correctly in my texmf-tree, in context, but I now realise that it does not work as easy as I expected (i.e. just using the latex-commands).
If anyone could help me or point me in the right direction how to do it, I would be very thankful, as I have a deadline at the end of the week at which it has to work ;)
what files do those fonts come with: tfm vf afm pfb enc map forget about the latex macros, they are not needed Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hello Hans, thanks for the fast answer!
I am trying to use latex fonts (to be more precize: the allrunes font) downloaded from the
what files do those fonts come with:
tfm vf afm pfb enc map
I have 16 different .tfm files. But also a lot of .mf files.
forget about the latex macros, they are not needed
OK, but how do I get context to use these fonts? I coulnd't find any descent documentation regarding this. Regards Kai
Kai Militzer wrote:
Hello Hans,
thanks for the fast answer!
I am trying to use latex fonts (to be more precize: the allrunes font) downloaded from the
what files do those fonts come with:
tfm vf afm pfb enc map
I have 16 different .tfm files. But also a lot of .mf files.
forget about the latex macros, they are not needed
OK, but how do I get context to use these fonts? I coulnd't find any descent documentation regarding this.
i can only locate pfb files and a map file; it looks like one is supposed to generate the tfm's with metafont (maybe you can ask the author to put the tfm's in the zip as well) and i'm not going to clobber my ststem with bitmaps it comes down to: \loadmapfile[allrunes.map] \showfont[frucls] \showfont[frucln] \showfont[fruclr] \showfont[fruclt] \showfont[fruclm] \showfont[fruclq] this should give you something (given that the tfm files are present) if that works, you can do: \definefont[somerunes][frucls sa 1] \somerunes abcdef or, depending on how the fonts are organized you can set up a system (see type-* files) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hello Hans, Hans Hagen wrote:
I am trying to use latex fonts (to be more precize: the allrunes font) downloaded from the
what files do those fonts come with:
tfm vf afm pfb enc map
I have 16 different .tfm files. But also a lot of .mf files.
forget about the latex macros, they are not needed
OK, but how do I get context to use these fonts? I coulnd't find any descent documentation regarding this.
i can only locate pfb files and a map file; it looks like one is supposed to generate the tfm's with metafont (maybe you can ask the author to put the tfm's in the zip as well) and i'm not going to clobber my ststem with bitmaps
it comes down to:
\loadmapfile[allrunes.map]
\showfont[frucls] \showfont[frucln] \showfont[fruclr] \showfont[fruclt] \showfont[fruclm] \showfont[fruclq]
this should give you something (given that the tfm files are present) if that works, you can do: \definefont[somerunes][frucls sa 1]
\somerunes abcdef or, depending on how the fonts are organized you can set up a system (see type-* files)
I'm slowly getting there, only two more problems to solve ;) The first thing is, that to use some of the characters in the fontset I have to use \th to display them, but I have no idea how to accomplish that in context as everytime I use \somerunes \th, or \somerunes{\th} ... I get an error message. If i double mascerade it like \\th i get the symbols for the characters t and h. I am sure there is a way to get this working. The next thing, which I guess is to search more on the font-subsystem of context, is the fact that I only get my characters displayed when viewing the .dvi-file with xdvi. When executing texexec --pdf or using dvipdf (or dvips) I get nothing, or the charaters in the standard latin-typeset (i.e. ASCII). I am sorry if I bother you all with this simple stuff that can surely be solved by reading some documentation, but I pretty new to the hole tex-thing and the mass of documentation is overwhelming and sometimes prety cryptical. ;) Best regards Kai
Kai Militzer wrote:
I'm slowly getting there, only two more problems to solve ;) The first thing is, that to use some of the characters in the fontset I have to use \th to display them, but I have no idea how to accomplish that in context as everytime I use \somerunes \th, or \somerunes{\th} ... I get an error message. If i double mascerade it like \\th i get the symbols for the characters t and h. I am sure there is a way to get this working.
The next thing, which I guess is to search more on the font-subsystem of context, is the fact that I only get my characters displayed when viewing the .dvi-file with xdvi. When executing texexec --pdf or using dvipdf (or dvips) I get nothing, or the charaters in the standard latin-typeset (i.e. ASCII).
I am sorry if I bother you all with this simple stuff that can surely be solved by reading some documentation, but I pretty new to the hole tex-thing and the mass of documentation is overwhelming and sometimes prety cryptical. ;)
how does your code look? can you send me a zip with the tfm files? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hello Hans,
I'm slowly getting there, only two more problems to solve ;) The first thing is, that to use some of the characters in the fontset I have to use \th to display them, but I have no idea how to accomplish that in context as everytime I use \somerunes \th, or \somerunes{\th} ... I get an error message. If i double mascerade it like \\th i get the symbols for the characters t and h. I am sure there is a way to get this working.
The next thing, which I guess is to search more on the font-subsystem of context, is the fact that I only get my characters displayed when viewing the .dvi-file with xdvi. When executing texexec --pdf or using dvipdf (or dvips) I get nothing, or the charaters in the standard latin-typeset (i.e. ASCII).
I solved the second problem. I copied the map and type1 fonts into the directories mentioned in the readme to the font (which where latex-specific). After looking at the texexec output and some try and error, I finaly got all working. So if I now do a texexec --pdf I get a pdf-file with the font included.
how does your code look?
That is my code for testing (nothing more in there, the following is the whole document) \setuppapersize[a4][a4] \starttext \startbodymatter \loadmapfile[allrunes.map] \definefont[somerunes][frumbr sa 1] \somerunes{\\th} % This is where the problem lies. I need to get the \th working to produce a rune \stopbodymatter \stoptext
can you send me a zip with the tfm files?
I guess you don't need it any more, as the font-inclusion is working now. If you still need it drop me a line. Regards Kai
It looks like you need to write an runes-enco-file for your font for these character names to work. I haven't followed this thread very closely, but maybe chapter 3 of the MyWay on Greek fonts can help you: http://dl.contextgarden.net/myway/GreekInContext.pdf Best Thomas On Aug 9, 2005, at 8:23 PM, Kai Militzer wrote:
Hello Hans,
I'm slowly getting there, only two more problems to solve ;) The first thing is, that to use some of the characters in the fontset I have to use \th to display them, but I have no idea how to accomplish that in context as everytime I use \somerunes \th, or \somerunes{\th} ... I get an error message. If i double mascerade it like \\th i get the symbols for the characters t and h. I am sure there is a way to get this working.
The next thing, which I guess is to search more on the font- subsystem of context, is the fact that I only get my characters displayed when viewing the .dvi-file with xdvi. When executing texexec --pdf or using dvipdf (or dvips) I get nothing, or the charaters in the standard latin-typeset (i.e. ASCII).
I solved the second problem. I copied the map and type1 fonts into the directories mentioned in the readme to the font (which where latex-specific). After looking at the texexec output and some try and error, I finaly got all working. So if I now do a texexec --pdf I get a pdf-file with the font included.
how does your code look?
That is my code for testing (nothing more in there, the following is the whole document)
\setuppapersize[a4][a4] \starttext \startbodymatter \loadmapfile[allrunes.map] \definefont[somerunes][frumbr sa 1] \somerunes{\\th} % This is where the problem lies. I need to get the \th working to produce a rune \stopbodymatter \stoptext
can you send me a zip with the tfm files?
I guess you don't need it any more, as the font-inclusion is working now. If you still need it drop me a line.
Regards Kai _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hello! Thanks for all who helped me, but I finaly solved the problem. I define glyphs for the characters I want like that \definesymbol [thorn] [\getglyph{frumbr}{\char254}] and then simply use \symbol[thorn] in the text ... Looking back I have to say that it's done pretty quick, if one know how to do it. ;) If I get a moment of spare time the next days I will add an entry to the wiki for the ones coming after me and having the same problem. ;) Regards Kai
Kai Militzer wrote:
Hello Hans,
I'm slowly getting there, only two more problems to solve ;) The first thing is, that to use some of the characters in the fontset I have to use \th to display them, but I have no idea how to accomplish that in context as everytime I use \somerunes \th, or \somerunes{\th} ... I get an error message. If i double mascerade it like \\th i get the symbols for the characters t and h. I am sure there is a way to get this working.
The next thing, which I guess is to search more on the font-subsystem of context, is the fact that I only get my characters displayed when viewing the .dvi-file with xdvi. When executing texexec --pdf or using dvipdf (or dvips) I get nothing, or the charaters in the standard latin-typeset (i.e. ASCII).
I solved the second problem. I copied the map and type1 fonts into the directories mentioned in the readme to the font (which where latex-specific). After looking at the texexec output and some try and error, I finaly got all working. So if I now do a texexec --pdf I get a pdf-file with the font included.
how does your code look?
That is my code for testing (nothing more in there, the following is the whole document)
\setuppapersize[a4][a4] \starttext \startbodymatter \loadmapfile[allrunes.map] \definefont[somerunes][frumbr sa 1] \somerunes{\\th} % This is where the problem lies. I need to get the \th working to produce a rune
isn't \somerunes abcdef producing something then? what is \th (or this \\) meant to do?
\stopbodymatter \stoptext
can you send me a zip with the tfm files?
I guess you don't need it any more, as the font-inclusion is working now. If you still need it drop me a line.
just send it Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Kai Militzer
-
Thomas A. Schmitz