[NTG-context] Using latex font-packages

Thomas A. Schmitz thomas.schmitz at uni-bonn.de
Tue Aug 9 21:36:35 CEST 2005


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 at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>



More information about the ntg-context mailing list