Re: [NTG-context] m-letter stationary
Hans, Thank you very much for your code. Both types of the stationary come out smoothly. There is however a small bug in it. I need a different stationary starting from every second page of my letter. If my file contains 4 letters consisting of 8 pages, his means the following: letter 1 -- page 1 -- stationary-1.pdf letter 1 -- page 2 -- stationary-2.pdf letter 2 -- page 1 -- stationary-1.pdf letter 2 -- page 2 -- stationary-2.pdf ... The code, however, does the following: letter 1 -- page 1 -- stationary-1.pdf letter 1 -- page 2 -- stationary-2.pdf letter 2 -- page 1 -- stationary-2.pdf letter 2 -- page 2 -- stationary-2.pdf ... That's to say, there is only one sheet with stationary-1, all other pages are printed on stationary-2. Do you see a possibility to adapt this? Thanks in advance. Kind regards, Robert Rob Ermers wrote: Dear Contexers, I have succeeded in creating letters on my pdf stationary-1. Beautiful. Now I want to print the second and following pages on paper with on a slightly different stationary (stationary-2), as is costumary. Does anyone how to set this up? (The example on the wiki is too complicated for me. I sticked to sample files from Hans Hagen, which makes it possible to use an xml address database.) The present set up for the background is given below. Kind regards, Robert Ermers \useexternalfigure[achtergrond][stationary-1.pdf][] \definelayer[achtergrond] \setupbackgrounds[page][state=repeat,background={achtergrond}] \setlayer[achtergrond][x=0in,y=0in]{\externalfigure[stationary-1.pdf]} An option is to use the logo features but since layers are more fun i will probably turn that into an optional module some day (is anyone using it?) put this in cont-new.tex: \unprotect \unexpanded\def\flushlayer[#1]% {\doifelsevalue{\??ll#1\c!state}\v!next {\global\letvalue{\??ll#1\c!state}\v!start} % dangerous, stack-built-up {\doifelsevalue{\??ll#1\c!state}\v!continue {\global\letvalue{\??ll#1\c!state}\v!repeat} % dangerous, stack-built-up {\doifelsevalue{\??ll#1\c!doublesided}\v!yes {\doifundefinedelse{\@@layerbox#1}% {\dodoflushlayerA[#1]} {\doifbothsidesoverruled \dodoflushlayerB\v!left [#1]% left \orsideone \dodoflushlayerB\v!right[#1]% right \orsidetwo \dodoflushlayerB\v!left [#1]% left \od}} {\dodoflushlayerA[#1] \protect Then you can say: \definelayer[achtergrond-1][width=\paperwidth,height=\paperheight] \definelayer[achtergrond-2][width=\paperwidth,height=\paperheight,state=continue] \setupbackgrounds[page][background={achtergrond-1,achtergrond-2}] \setlayer[achtergrond-1][preset=lefttop] {\externalfigure[stationary-1.pdf]} \setlayer[achtergrond-2][preset=leftbottom]{\externalfigure[stationary-2.pdf]} \starttext test \page test \page test \page test \page \stoptext (i added the 'continue' option) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XML and context
Paul Tremblay wrote: On Wed, Feb 23, 2005 at 09:33:40AM +0100, Hans Hagen wrote: The mapping variant discussed in the magazine can be seen as a future xml based layer around the context tex core; a kind xml based typesetting engine so that one can do without tex programming and stick to xml tools (which some prefer) Hans But my unerstanding is that the mapping technique does not take care of white space. So if I have: pSome paragrah in XmL with space /p This could get converted as: Some paragrah in XmL with space \par Which would produce 3 paragrahs. There is actually a nice small tool TeXML (at sourceforge) that takes care of this problem. It allows you to use an XML to issue TeX commands, and then converts those commands into TeX (or LaTeX or ConText). It takes care of white space. I am one of those people who likes to stick to XML tools, who likes to convert a tree to a tree. I was wondering the best way to do this. It seems that using TeXML is the best way. I just wanted to make sure there was not a more direct way in ConTeXt. \starttext \unprotected \defineXMLenvironment [p] {\bgroup\def\obeyedspace{\removeunwantedspaces\space\ignorespaces}\ignorelines} {\egroup} \startbuffer ptest test test test/p \stopbuffer \processXMLbuffer \stoptext - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] arabtex support
mohd zamri murah wrote: testing and result. == test.tex \input font-arb % the new font-arb you send me \starttext \setarab \novocalize % normal arab document doesn't have the vocal signs. Some texts in arab. some random thought. here are some arabic words. \bwkw pndwAn. Below some arabic word with english word. We can combine them in one paragraph. % \.. will produce line beyond the margin. use for short arabic only. \startarabic kAjyn ayn mmr.hAl sAtw prwtwtA'yp awntwq mnjAnkn dwkwmn jAwy dry dwkwmn rwmy some english words . ay mggwnAkn kwnsyp pgatwrcArA'n brAsAskn kwmpwnwn . ay mggwnAkn kwnsyp pgatwrcArA'n brAsAskn kwmpwnwn. \stoparabic \stoptext with the attached file and \input m-arabtex (attached) it works here, (tex live 2005 fonts/arabtex) 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 - m-arabtex.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] m-letter stationary
Rob Ermers wrote: Hans, Thank you very much for your code. Both types of the stationary come out smoothly. There is however a small bug in it. I need a different stationary starting from every second page of my letter. If my file contains 4 letters consisting of 8 pages, his means the following: letter 1 -- page 1 -- stationary-1.pdf letter 1 -- page 2 -- stationary-2.pdf letter 2 -- page 1 -- stationary-1.pdf letter 2 -- page 2 -- stationary-2.pdf ... The code, however, does the following: letter 1 -- page 1 -- stationary-1.pdf letter 1 -- page 2 -- stationary-2.pdf letter 2 -- page 1 -- stationary-2.pdf letter 2 -- page 2 -- stationary-2.pdf ... That's to say, there is only one sheet with stationary-1, all other pages are printed on stationary-2. Do you see a possibility to adapt this? quick answer: \setlayer[page][odd][...]{...} - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] arabtex support - we broke something
Using test.tex and your new m-arabtex.tex, it fail. log and my solution below. = test.tex \input m-arabtex \usetypescript[postscript] \switchtotypeface[postscript] \starttext \setarab \novocalize \section{\mu.hammad} %short arabic use \ .. here is some text in english. here in arabic .\mu.hammad. we can mix them. hurray. we get both of them together. we can see this is fun and going nowhere. \startarabic % long arabic kAjyn ayn mmr.hAl sAtw prwtwtA'yp awntwq mnjAnkn dwkwmn jAwy dry dwkwmn rwmy . hei, I am in english ay mggwnAkn kwnsyp pgatwrcArA'n brAsAskn kwmpwnwn . ay mggwnAkn kwnsyp pgatwrcArA'n brAsAskn kwmpwnwn. \stoparabic \stoptext error log; ! Extra \else. [EMAIL PROTECTED] ...\a@@putword \xpa [EMAIL PROTECTED] \else \xpa [EMAIL PROTECTED] \fi to be read again my solution; comment these lines; (near line 402 ). probably the support for hebrew broke things. another possibility is that all these 3 files already loaded by m-arabtex.tex and reload them break things. % \ReadFile{hebtex.sty} % \ReadFile{apatch.sty} % \ReadFile{hepatch.sty} and the file compile OK. I don't knew hebrew, however, I will try to understand the hebrew support. the character | and ~ still produce illegal command in \startarabic...\stoprabic. will try to trace this one. be happy to write the manual later. zamri On Thu, 24 Feb 2005 00:42:24 +0100, Hans Hagen [EMAIL PROTECTED] wrote: Hi, I cleaned up the files a bit (first step); can you test these? \input m-arabtex % new version of \usemodule will accept long names can you also take a loot at hebrew? (if you look in the file you can see the old hebrew font def with the strange fontdimen settings; maybe we should replace \vocalize and such by proper key/val settings (options or so); do you have a list of meaningful ones? we also need a manual then -) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] customizing headers/footers first page
I poured over the documentation last night, and I want to make sure I reached the right conclusion in thinking that there is no way to put a different header/footer on the first page in ConTeXt. I know that you can suppress the header/footer by various means, such as: \setupheaders[state=high] % or \setuphead[chapter][header=empty] \chapter But I don't believe you can acutally put a different header on the first page, such as: First Page Header == Here is the body text for the first page. Rest Header = Here is the body text for the rest of the chapter Also, is there any way to do things with the last page in a section? By do things, I mean set different page dimmensions or set up different headers/footers. I am asking these questions because I am coming from fo, and I am looking for the closest ways to mimic its formatting. Thanks Paul ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texfont problem on windows
I'm using the minimal windows installation of ConTeXt, texsync'ed today. The vptovf.exe program as used by the texfont script seems to have a version mismatch. It throws an error saying that it can't find tl80kpse.dll. In fact the version in the minimal tree is tl90kpse.dll. This means that texfont can't install new fonts, since no virtual font files are created. I'm sure I can work around this either by updating my local vptovf.exe or finding the relevant dll on the web somewhere, but it should probably be fixed in the tree if possible. Thanks! Duncan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] customizing headers/footers first page
How about \definetext[chapterstart][header][First Header] \setuphead[chapter][header=chapterstart] for starters? Steve On Thu, 24 Feb 2005 11:33:11 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I poured over the documentation last night, and I want to make sure I reached the right conclusion in thinking that there is no way to put a different header/footer on the first page in ConTeXt. I know that you can suppress the header/footer by various means, such as: \setupheaders[state=high] % or \setuphead[chapter][header=empty] \chapter But I don't believe you can acutally put a different header on the first page, such as: First Page Header == Here is the body text for the first page. Rest Header = Here is the body text for the rest of the chapter Also, is there any way to do things with the last page in a section? By do things, I mean set different page dimmensions or set up different headers/footers. I am asking these questions because I am coming from fo, and I am looking for the closest ways to mimic its formatting. Thanks Paul ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Steve Grathwohl || Digital Content Developer Duke University Press Journals || +1 919 687 3634 905 W Main St || Durham, NC 27701 USA ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] languages
Hi Vit Sorry for this! - It is corrected in the meantime. Willi Vit Zyka wrote: Hans Hagen wrote: Hi, Attached is an xml file that describes the hyphenation pattern files. I'd appreciate checking (some records are incomplete). I'd also like to I do not known any relation about copyright year1998-2001/year ownerWalter Schmidt/owner commentAdaption to new German orthography/comment /copyright in Czech section. add (for each language) a couple of tricky hyphenatable words [for testing]. Preferable in utf-8 encoding. There is room for more comments as well, like: prefered input and font encodings etc. Attached. Vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] pdf-mode
Hello Hans, I've just read your mmodes.pdf. Very helpful, thanks! Could you also add a pdf-mode? For now, I'm doing it like this: \input ifpdf.sty \ifpdf \enablemode[pdf] \fi Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Paper size page arranging
Hi Mojca, The most elegant way would of course be to have the document setup with suitable pages. Then you can use the \setuparranging[XY] command, which is basically meant for preparing businesscards and labels. This looks then like \setupoutput[pdftex] \setuppapersize [A5,portrait][A4,landscape] \setuppaper [dx=2mm, dy=0mm, nx=2, ny=1, margin=0, width=297mm, height=210mm] \setuplayout [topspace=10mm] \setuparranging[XY] \starttext \showframe \chapter{Ward} \input ward \chapter{Tufte} \input tufte \chapter{Knuth} \input Knuth \stoptext If your document is already a PDF with A4 pages in it, you might use the following command to arrange the pages: texexec --pdfcombine --combination=2*2 inputfile.pdf --result=outputfile This approach is meant for more than two pages per sheet. Yet another approach could be texexec --pdfarrange --paper=a5a4 --print=2up --result=outputfile inputfile.pdf As the last two texexec statements work on pdf files, the extension has to be stated for the inputfile. For the option paper all DIN papersizes from A0 to A9 can be used. There is an article published in the MAPS28/2002. This issue of the MAPS will be free for downloading in the next days. Kind regards Willi Mojca Miklavec wrote: The command \setuplayout[location=middle,scale=.5] scales the document correctly, but if I use \setuparranging[2*2] for example, the original scaling is broken. What effect exactly does 'scale=...' in \definepapersize have? There must surely exist a very simple and elegant solution to typeset usual A4 pages scaled down to A5, so that two pages are placed on one in lanscape mode, like in: 1. page (A4 landscape with two A4 pages scaled to A5) *---*---* | | | | 1 | 2 | | | | *---*---* 2. page *---*---* | | | | 3 | 4 | | | | *---*---* ... or that any page number (n*n or 2n*n in landscape mode, maybe some other number if page proportions are different; and some blank space is left on the borders) is placed on one page, like in (for 6*3): *--*--*--*--*--*--* | 1| 2| 3| 4| 5| 6| *--*--*--*--*--*--* | 7| 8| 9|10|11|12| *--*--*--*--*--*--* |13|14|15|16|17|18| *--*--*--*--*--*--* \setuparranging[...] does the job, but it is only suitable if someone really wants to make a booklet out of it and one has to supply original page sizes (for example A6 to be printed as 2*4 on A4). Thank you, Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] m-letter stationary
Rob Ermers wrote: I'm sorry, I tried to apply the code in various ways, but I cannot get it running. The variables are all gone now [page] has taken their place. How do I have to apply this code? \definelayer[test][doublesided=yes,state=repeat] \setupbackgrounds[page][background=test] \setlayer[test][left] []{VERY ODD} \setlayer[test][right][]{VERY EVEN} \starttext test \page test \page test \page test \page test \page test \page \stoptext - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texfont problem on windows
Duncan Hothersall wrote: I'm using the minimal windows installation of ConTeXt, texsync'ed today. The vptovf.exe program as used by the texfont script seems to have a version mismatch. It throws an error saying that it can't find tl80kpse.dll. In fact the version in the minimal tree is tl90kpse.dll. This means that texfont can't install new fonts, since no virtual font files are created. I'm sure I can work around this either by updating my local vptovf.exe or finding the relevant dll on the web somewhere, but it should probably be fixed in the tree if possible. Thanks! i'll have a look; there has been a moment when vptovf was a copy of vftovp in the source tree or bin tree of tl, and so i just copied the old one in my tree; afaik this has been solved 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] arabtex support - we broke something
mohd zamri murah wrote: Using test.tex and your new m-arabtex.tex, it fail. log and my solution below. what version of arabtex do you use? 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] encoding problem
Was this problem solved? If not, the problem may be in not loading a map file; typescripts take care of this. btw, one you see the light, typescripts are not that hard, see examples in wiki, Bill M's font page and Adam L's myways. Hans Hello, I'm working on some XSL stylesheets for translating XML documents into Context. Although I've read the document Fonts in Context and understood that one could use typescripts for managing fonts, in the context of my stylesheets I'd rather like to stick to the \definebodyfont command, because so far it works and I'm a bit confused about all those indirections one has to use when defining typescripts. The only thing which doesn't seem to work are font encodings. Please, take a look at the following document: % \enableregime[il1] \mainlanguage[de] \language[de] \setupencoding[default=texnansi] \definefontsynonym[NewCenturySchoolbook][pncr8r][encoding=texnansi] \definebodyfont[4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt][rm] [tf=NewCenturySchoolbook sa 1] \definefont[nctr][NewCenturySchoolbook at 10pt] \setupbodyfont[10pt] \starttext {\nctr \showcharacters} {\showcharacters} \stoptext % Defining the font directly with \definefont leads to a texnansi-encoded table of characters, so that I could use the special German umlaut characters (which is my intention, of course). The definition of the font with \definebodyfont produces a default-encoded table with characters, which are *not* texnansi-encoded, because all the umlaut characters are missing. At least using Windows XP, TexLive 2004 distribution (MikTeX). I don't understand why this happens for two reasons: 1. Both commands (\definebodyfont and \definefont) use the same synonym for the font, with an explicitely defined texnansi-encoding. 2. The default encoding of the whole document was set to texnansi. It is getting even more disturbing when I'm setting the body font size to 12pt. (Using the command \setupbodyfont[12pt]). Then both tables are showing a texnansi-encoded font. What has font size to do with encodings? Since I don't want to use a body font size of 12pt in all of my documents, only to be able to use German umlaut characters, any hints to what I'm doing wrong here would be appreciated very much. Thanks in advance, Stefan Ohletz ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdf-mode
Peter Münster wrote: Hello Hans, I've just read your mmodes.pdf. Very helpful, thanks! Could you also add a pdf-mode? For now, I'm doing it like this: \input ifpdf.sty \ifpdf \enablemode[pdf] \fi I'll add \jobsuffix as systemmode: \startmode[*pdf] ... \startmode[*dvi] ... be aware of the fact that this is only true when a driver is loaded 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdf-mode
h h extern said this at Thu, 24 Feb 2005 23:17:41 +0100: I'll add \jobsuffix as systemmode: \startmode[*pdf] ... \startmode[*dvi] ... be aware of the fact that this is only true when a driver is loaded I never was sure of that, by the way: the true output of a xetex job is .xdv It's an opaque format that gets transformed into .pdf after texexec's last run. Is the real jobsuffix (as you define it) pdf or xdv? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] languages
Hans Hagen wrote: Hi, Attached is an xml file that describes the hyphenation pattern files. I'd appreciate checking (some records are incomplete). I'd also like to add (for each language) a couple of tricky hyphenatable words [for testing]. Preferable in utf-8 encoding. There is room for more comments as well, like: prefered input and font encodings etc. Hans Leon Zlajpah should probably be changed to Leon \v{Z}lajpah (or lajpah if in Unicode) (I suppose the information by itself is correct.) (There's a comment Use of code page 852 in patterns, which probably remained from the old good DOS times.) Default encoding? 98% use cp1250, some Linux people use latin2. (well, maybe there are still freaks somewhere on this planet using cp852 :) UTF 8 should be(come) standard, but it is coming pretty slowly. But writing UTF8 as the default encoding in ConTeXt should be OK. How can I try it (hyphenation)? I did \enableregime[utf] \mainlanguage[sl] \starttext elezniar \showhyphens{elezniar} \showhyphens{zeleznicar} \showhyphens{mojca pokrajculja} \stoptext It should be e-le-zni-ar (ze-le-zni-car) and moj-ca po-kraj-cu-lja (in latex mojca is hyphenated wrong anyway), but in ConTeXt the first two don't get hyphenated at all and the second one becomes mo-j-ca pokra-jcul-ja. I guess the Slovenian patterns are not loaded at all. One more question about language specific issues: we always write 1. first section 2. second section 2.1. subsection 2.2. some other subsection 2.2.1. some subsubsection (with a dot before the space after every (sub)section). What is the best place to store the default settings to? (For all the other Slovenian users as well.) Thank you, Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Initial Font Installation Question (Mac)
Thanks so much! After a fair amount of tinkering testing, I've got it worked out. Regards, David Wooten On Feb 21, 2005, at 1:17 AM, Adam Lindsay wrote: Thomas A.Schmitz said this at Mon, 21 Feb 2005 10:01:50 +0100: Just a quick reply: having the afm is already very good. The file without an extension looks suspiciously like a Mac font resource. Can you try running the utility fondu on it (from the command line)? That will usually produce the pfbs (very likely, there's more than one: roman, italics, bold ...). Texfont, btw, can equally well work with truetype fonts, so if you have a proper tryetype font with extension .ttf. you might as well use this. texfont will produce a map entry that you will have to modify a bit (so it points to a .ttf instead of the default .pfb), but that's not too difficult. As to names: don't bother, ConTeXt is happy with whatever name you throw at it. Only a couple things to add: When fondu generates the .pfb file, copy the .afm to share the new (probably longer) filename. Texfont on MacOSX trips on capital letter extensions: make sure they're uniformly lower case. If fondu fails you (it hasn't failed me yet), there's also t1unmac (lcdf.org). And if texfont installation fails or inexplicably stalls, you might need to go in and truncate long (255+ character) lines by manually editing the text file. I've always found these to be comment/copyright lines, so you're not hurting anything by doing so. You lucky so-and-so for getting Andulka! adam ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] customizing headers/footers first page
On Thu, Feb 24, 2005 at 11:48:32AM -0500, Steve Grathwohl wrote: How about \definetext[chapterstart][header][First Header] \setuphead[chapter][header=chapterstart] for starters? Steve Thanks. Are there any other location keywords besides chapterstart? %??? \definetext[chapterlast][footer][last footer] \setuphead[chapter][footer=chapterlast] Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] book on context?
Is there actually a hard-copy book for ConTeXt? I am using the PDF, 300+ page manual, and it is rather difficult to continually navigate wtih a PDF viewer. I know I could print out the PDF document, but by the time I figure in toner cost and paper cost and the cost to bind it at a local shop, it would be worth it for me to buy a book. Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context