Re: [NTG-context] Unwanted space before a \HL in tables
Hi, now I have changed to TABLE, and this is very powerful and well functioning. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Compiling the magazines
Hans Hagen wrote: J. R. Capablanca wrote: Hello everyone! I'm trying to get started with ConText. I've setup a stand alone install with perl and ruby on windows (last version). I was quite impressed with the This way magazine layout... and was trying to compile the example code that comes in the 000 edition. But the result is nothing like the original: all side texts are on wrong places, body text goes through the paper margins: a mess! Maybe some margins or papersize settings that are implicit and I don't have in my environment ? I'd be glad if somebody could give me some tips on this! The code is pasted below. Thanks in advance, looks weird indeed; i'll have a look ok, will be fixed in next beta; has to do with page dimensions being defined in terms of themselves which mean that we need to freeze them in order not to get something (special case in this style) pagesize = .8 \pagesize pagesize = .8 \pagesize pagesize = .8 \pagesize which in the end comes down to a pretty small one 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] using pgf/tikz and bib modules together
Apropos the bib module, ConTeXt users wishing to use both the pgf/tikz module (v1.10) and the bib module together, will (currently) have to use the CVS version of pgf because both modules clash with the use of the .aux file. The following was posted by the pgf developer Till Tantau on the pgf maillist: it turns out that, indeed, the .aux writing of the bib module clashes with pgf's usage of the file of the same name. I renamed this stuff to .pgf and it works fine, now. You will need to get the current CVS of pgf since the change is not quite trivial. Alternatively, a quick-and-easy-fix is to find the file pgf/generic/ pgf/utilities/pgfutil-context.def and to delete the three lines having to do with .aux files at the beginning. Then picture remembering will not work (which it does in the CVS), but that may not be a top priority. I'm assuming the new bib module still uses the .aux file for the same purposes as before. Maarten-Jan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] using pgf/tikz and bib modules together
M.J. Kallen wrote: I'm assuming the new bib module still uses the .aux file for the same purposes as before. Yes. It absolutely has to be .aux, because bibtex doesn't accept anything else, but if pgf/tikz support is based on LaTeX/s aux file, it may be possible to merge the two uses. I have no time to check that right now, but please remind me after TUG 2006. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] overlay page background missing
Thank you so much. This is exactly what I needed. I will add this to the wiki. Thank you, paul On 11/5/06, Hans Hagen [EMAIL PROTECTED] wrote: Paul Jones wrote: can you send small test file? Here you go... In case the mail server strips attachments, the contents of the attached file are also in the original post of this thread. \setuppagenumbering [alternative=doublesided] \setupcolors [state=start] \setupbackgrounds [leftpage] [background=Watermark-Left] \setupbackgrounds [rightpage] [background=Watermark-Right] \definelayer [Watermark-Left] [repeat=yes, width=\paperwidth, height=\paperheight] \definelayer [Watermark-Right] [repeat=yes, width=\paperwidth, height=\paperheight] \setlayerframed [Watermark-Left] [preset=middle] [foregroundcolor=red] {\scale[sx=12,sy=12]{\rotate[rotation=20.0]{forever}}} \setlayerframed [Watermark-Right] [preset=middle] [foregroundcolor=red] {\scale[sx=12,sy=12]{\rotate[rotation=-20.0]{together}}} \starttext \chapter{first} \dorecurse{30}{\input tufte } \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 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Font installation
Hello list, I'm trying to install new fonts in my texmf tree but at each try I stop at the same point, when compiling my test file: (./type-doulos.tex) ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found. I've got this problem not only with doulos but with gfs fonts too, and others. Font installation in the texmf tree with texfont works well. I can compile without any problem the texnansi-sil-doulos.tex file (idem with other files). What am I doing wrong? Here is my minimal type-doulos.tex: % type-doulos.tex \starttypescript [map] [texnansi] \loadmapfile[texnansi-sil-doulos] \stoptypescript \starttypescript [serif] [doulos] [texnansi] \definefontsynonym[DoulosSIL][texnansi-DoulosSILR][encoding=texnansi] \stoptypescript \starttypescript [serif] [doulos] [name] \definefontsynonym[Serif] [DoulosSil] \stoptypescript And here is my minimal test file: \usetypescriptfile[type-doulos] \definetypeface[doulos][rm][serif][doulos][default][encoding=texnansi] \setupbodyfont[doulos,rm,10pt] \starttext This is the end, gnn \stoptext Thanks a lot for your reply. -AJ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font installation
On Nov 6, 2006, at 2:33 PM, Antoine Junod wrote: Hello list, I'm trying to install new fonts in my texmf tree but at each try I stop at the same point, when compiling my test file: (./type-doulos.tex) ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found. I've got this problem not only with doulos but with gfs fonts too, and others. Well the error message is quite helpful: TeX can't find the tfm file. Where did you put it? Is it found by kpsewhich? Did you run texhash/ mktexlsr after installing your fonts? Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font installation
Thomas A. Schmitz [EMAIL PROTECTED] writes: On Nov 6, 2006, at 2:33 PM, Antoine Junod wrote: Hello list, I'm trying to install new fonts in my texmf tree but at each try I stop at the same point, when compiling my test file: (./type-doulos.tex) ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found. I've got this problem not only with doulos but with gfs fonts too, and others. Well the error message is quite helpful: TeX can't find the tfm file. Where did you put it? Is it found by kpsewhich? Did you run texhash/ mktexlsr after installing your fonts? tmf files are in: ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm mtexfont.pdf seems to say that's the right place (page 3). Yes, I've run texhash/mktexlsr. What else should I check? Thanks for your help. -AJ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to get a PhD with ConTeXt (+ hard work ;) )
Hello David, May I ask a newbie question? How did you create the lemmas? I found a mysterious startlemma in core-des.tex via the ConTeXt garden source browser but \startlemma Some statement ... \stoplemma didn't work for me :-( Oliver Hi all, I'll also give a link to a PhD ``sample document'' ;). You can find my PhD thesis at http://sitola.fi.muni.cz/~antos/thesis.pdf Well, it isn't as complex as Renaud's work (talking about typography, it's a high-level science, of course ;))), someone may be interested in algorithm typesetting. I'd like to thank Hans for his kind support (to name an example, today, a mechanism for named numbered lemmas is part of ConTeXt). Yours, D.A. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font installation
Thomas A. Schmitz [EMAIL PROTECTED] writes: On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote: tmf files are in: ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm mtexfont.pdf seems to say that's the right place (page 3). Yes, I've run texhash/mktexlsr. What else should I check? Excuse me, I wasn't paying enough attention. From your log, it is clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm -- which, of course, isn't there. I think the reason is because you use the same name doulos for all your definitions. Try to edit your test file like so: It doesn't change anything. Always the same error: (./type-doulos.tex) ! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found. Thanks for your help. -AJ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to get a PhD with ConTeXt (+ hard work ;) )
On Mon, Nov 06, 2006 at 02:57:51PM +0100, Oliver Buerschaper wrote: May I ask a newbie question? How did you create the lemmas? Hello, today, lemmas can be based on description/enumeration mechanism (I believe it's been in ConTeXt since circa January 2006). Descriptions now accept parameter title=yes. Using that, you can provide a title to the description. Have a look into core-des.tex. I found a mysterious startlemma in core-des.tex via the ConTeXt garden source browser but Naturally, the example of lemma definition is commented out ;) Copy \defineenumeration[lemma][title=yes, titlestyle=\bs, list=lemma] into your document and try to use \startlemma{title of the lemma} blah blah \stoplemma Check parameters of descriptions in the manual, you can find some options related to the title mechanism. Yours, D.A. P.S.: I've achieved the same functionality by means of ugly hacks that depend on ConTeXt version strongly. That's why I don't send you my configuration. -- Some perverse mathematicians use brackets backwards, to denote ``open intervals.'' -- Donald Knuth, The TeXbook ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font installation
Antoine Junod wrote: Thomas A. Schmitz [EMAIL PROTECTED] writes: On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote: tmf files are in: ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm mtexfont.pdf seems to say that's the right place (page 3). Yes, I've run texhash/mktexlsr. What else should I check? Excuse me, I wasn't paying enough attention. From your log, it is clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm -- which, of course, isn't there. I think the reason is because you use the same name doulos for all your definitions. Try to edit your test file like so: It doesn't change anything. Always the same error: (./type-doulos.tex) ! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found. what does kpsewhich DoulosSil.tfm report? -- - 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] character redefinition environment
Many thanks, Hans! I wasn't sure I made myself clear, but defineactivecharacter does the job very very nicely. One day I understand one of its many definitions - especially the \uccode tilde business, which is probably necessary for the TeX mastication process ;-) Enzo Hans Hagen wrote: | is already active, but not b \bgroup \catcode`B=\active \def\start... \egroup otherwise a 'character B' and not an 'active character B' ends up in the definition This may be easier: \def\Whatever {\defineactivecharacter B {[oeps]}} bla bla \start \Whatever B \stop ble bla ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Parsing texexec output
Hi, I was fixing a bug in my AucTeX and found that at present it is difficult to parse the output from texexec. Basically Emacs runs texexec in a buffer in --batchmode, then tries to parse the output whether an error occurred and where. Unfortunately with texexec I don't get any error messages (besides the return code), so if something goes wrong, the user only knows that something isn't right, but not what it is. (It also doesn't print page numbers, either.) In comparison, LaTeX when run in \nonstopmode prints the error message normally and continues to process the file; that makes it easy to parse it, jump to the line where the error was detected and even present the user with an explanation of the error message. In order to get similar features with ConTeXt, it would be nice if texexec could be made to be a little bit more verbose in its --batchmode output. Is there a way to do this currently? Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] unic-xxx.tex glyph lists: minor bugs, questions
Hans Hagen schrieb: mtxtools can create such lists using the unicode consotium glyph table, mojca's mapping list and enco/regi files we use mtxtools to create the tables needed for xetex (used for case mapping) and luatex (more extensive manipulations) Sounds interesting. Where do I get that? It's not in the distribution. maintained by hand, again, just send me the fixed file, but we need to make sure that the fix is ok (i.e. works as expected) OK, I just sent you the files. Can anyone test this who can read Hebrew? best take a look at mtxtools; if needed we can generate the definitions ; concerning speed, it will not be that slow, because tex is quite fast on such tests (unless XeTeXcharglyph is slow due to lib access); the biggest thing is to make sure that things don't expand in unwanted ways. OK, I'll experiment a little bit and if anything comes of it I'll post again. Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Parsing texexec output
Aditya Mahajan schrieb: In order to get similar features with ConTeXt, it would be nice if texexec could be made to be a little bit more verbose in its --batchmode output. Is there a way to do this currently? texexec --nonstopmode Does the job, thanks. AucTeX assumes --passon=-interaction=nonstopmode, which doesn't work. Another option, sometimes used by vim-latex suite is to add 'type filename.log' or 'cat filename.log' at the end the command. The parser will not know the difference. I had thought of that, but it spoils the return code, at least here on Windows. Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Parsing texexec output
Philipp Reichmuth wrote: Aditya Mahajan schrieb: In order to get similar features with ConTeXt, it would be nice if texexec could be made to be a little bit more verbose in its --batchmode output. Is there a way to do this currently? texexec --nonstopmode Does the job, thanks. AucTeX assumes --passon=-interaction=nonstopmode, which doesn't work. Another option, sometimes used by vim-latex suite is to add 'type filename.log' or 'cat filename.log' at the end the command. The parser will not know the difference. I had thought of that, but it spoils the return code, at least here on Windows. context mkiv provides an option to output xml to the log/terminal which is parsable 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] Parsing texexec output
Does the job, thanks. AucTeX assumes --passon=-interaction=nonstopmode, which doesn't work. It worked with the perl (=older) texexec, but the ruby version doesn't have a --passon switch. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font installation
Hans Hagen [EMAIL PROTECTED] writes: Antoine Junod wrote: Thomas A. Schmitz [EMAIL PROTECTED] writes: On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote: tmf files are in: ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm mtexfont.pdf seems to say that's the right place (page 3). Yes, I've run texhash/mktexlsr. What else should I check? Excuse me, I wasn't paying enough attention. From your log, it is clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm -- which, of course, isn't there. I think the reason is because you use the same name doulos for all your definitions. Try to edit your test file like so: It doesn't change anything. Always the same error: (./type-doulos.tex) ! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found. what does kpsewhich DoulosSil.tfm report? Nothing. I've no DoulsSil.tfm file in my texmf tree. The question is why is it looking for a DoulosSol.tfm file? Am wrong with my type-doulos.tex (cf my first post)? texfont has installed into the tree the following files: ./texmf-fonts/fonts/afm/sil/doulos/DoulosSILR.afm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm ./texmf-fonts/fonts/vf/sil/doulos/texnansi-DoulosSILR.vf ./texmf-fonts/fonts/type1/sil/doulos/DoulosSILR.pfb and the map files ./texmf-fonts/fonts/map/dvips/context/dvips-texnansi-sil-doulos.map ./texmf-fonts/fonts/map/dvipdfm/context/dvipdfm-texnansi-sil-doulos.map ./texmf-fonts/fonts/map/pdftex/context/texnansi-sil-doulos.map Thanks a lot for your help. -AJ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Parsing texexec output
Sanjoy Mahajan schrieb: Does the job, thanks. AucTeX assumes --passon=-interaction=nonstopmode, which doesn't work. It worked with the perl (=older) texexec, but the ruby version doesn't have a --passon switch. I guess it would be best if it would be compatible with both versions. I don't have the perl version around anymore; what happens if you pass both --passon and --nonstopmode to it? Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Parsing texexec output
Sanjoy Mahajan wrote: Does the job, thanks. AucTeX assumes --passon=-interaction=nonstopmode, which doesn't work. It worked with the perl (=older) texexec, but the ruby version doesn't have a --passon switch. We should get that back, in my opinion. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context