Re: [NTG-context] followup metapost textext?
Hans van der Meer wrote: Followup to my previous post (see below) I executed the code on the live tex site and, mirabile dictu, there it works. The difference I can see is a much older pdfetex (Version 3.141592-1.21a-2.2 (Web2C 7.5.4)) on the live site, whereas I have a newer one (Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)). Could that be the problem or must I dig deeper? It is not likely that this is the problem, unless you have 'stray' pdfetex executables floating around (with different version numbers) in other folders. It is more likely there is some interference with your pre-existing teTeX 3, but without the actual output and log files I do not know what to suggest as next step. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \useblocks in section
David Arnold wrote: Hans, that worked. Code below. Is this something you will fix in one of the core files? sure, for the moment put the patch in cont-new.tex (i'll post an update as soon as we have the french interface integrated; needs some synchronization) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About paragraph columns in table environment
Taco Hoekwater wrote: Hans Hagen wrote: Radhelorn wrote: Something like this: | There are so | | me rather lo | | ng titles th | | a needs to b | | e typeset. | only for stupid text: \def\HowStrange#1{#1\ifx#1\blankspace\else\allowbreak\fi} \framed [width=2cm,align={normal,verytolerant,stretch}] {\handletokens There are some rather long titles that needs to be typeset.\with\HowStrange} you're not serious about this are you? I'm curious as well. What is this for? actually, this years pragma new-year card uses something like this but a bit more advanced (you've seen it -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to setup this type of header?
Gerben Wierda wrote: On 21 Dec 2005, at 20:44, David Arnold wrote: Gerben, have we not installed the cont-fnt.zip Taco describes? The ConTeXt updater i-Package contains: cont-ext.zip cont-fnt.zip cont-img.zip cont-tmf.zip and it has whatever is on Hans' site not more than 24hr out of date. since gwtex is the most up to date of the public distributions, there is normally no need to fetch the zips directly; best use gerbens updater; when i post a patch to the list, one can include it in cont-new.tex which will b eoverwritten when updating Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Answer blocks potential
David Arnold wrote: Hans, Taco, et al, I've looked at the question-answer block suggestion and it has good potential for what I want to do. What I need now is a way of typesetting the blocks as follows. 1. Question 2. Question 3. Question 4. Question Then, later in the document, I'll unhide the answer blocks. Is it worth my while to try to use question-answer blocks in an itemized environment? should I pursue that or try a different tack? no. it can only be used at the outer level Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] new type-dis.tex
Hi, I've run some tests myself, and that last type-dis I posted seems to work. Attached is my test file, and the pdf looks good on my system. It would be nice if someone else can verify, so we can finally fix the core distribution afterwards. Taco Taco Hoekwater wrote: Gerben Wierda wrote: After installing type-dis and regenerating cont-en I get w-helvetica.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/ context/ec -urw-courier.map}] systems : end file ftest at line 11 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 That's not right either (duh). Sorry How is about the next one (attached)? Expected behaviour: It should find and use the fonts from cont-fnt.tex (and generate an error message about missing ec-ptmr8t otherwise). Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context pos.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Red framed text
Hi All, 1) I looks correct but I can't get the word Attention! written in red color inside a red frame. \setupframedtexts[bodyfont=small,framecolor=red] \startframedtext[width=.8\makeupwidth] \color[red]{\bf Attention!}\blank bla bla bla... \stopframedtext What am I missing? And what about a shaded frame? Thanks! jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Red framed text
Jilani Khaldi wrote: What am I missing? Missing \setupcolors[state=start] maybe? (works for me) And what about a shaded frame? You mean like a dropshadow or so? Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupheadnumber loses table of contents
David Arnold wrote: All, in the following example, if I uncomment %\setupheadnumber[chapter][2] then I lose my table of contents. Should that be happening? It work ok if you use: \completecontent[criterium=all] but I'm unsure whether or not the disappearance was intentional Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new type-dis.tex
On 12/22/05, Taco Hoekwater [EMAIL PROTECTED] wrote: Hi, I've run some tests myself, and that last type-dis I posted seems to work. Attached is my test file, and the pdf looks good on my system. It would be nice if someone else can verify, so we can finally fix the core distribution afterwards. Test failed for me :( Log file: http://people.vnoss.org/~vnpenguin/pub/tmp/pos.log I'm using: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.5-2.2 (Web2C 7.5.5) context : ver: 2005.12.19 cont-en : ver: 2005.12.19 fmt: 2005.12.22 mes: english Thanks, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: URw metric files
Taco Hoekwater wrote: Please give it a try and let me know if you run into trouble. (you have to replace your current one of course, and regenerate the format). So, the original urw files (u*) are no longer shipped? Great, that was the only font area left that could break ... so it means that (apart from the minimals on the tex collection, context does not work in the regular tex live 2005 distribution). Time to move everything that is subjected to changes in the base zip -) Should i replace the current type-dis by this one? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Chinese in current ConTeXt
Hi Tobias (and Hans),I've played with this a bit. It seems that the nested group breaks things inside the \installlanguage macro.The following works OK:\c!date={\v!year,\cnyear,\v!month,\v!day,\cnday}...but I can't use the \cnencoding switch... [Is it really necessary here? It works for me even without it...]Another minor issues: 1. \v!month gives chinese number with the month symbol [so appending \cnmonth once more is undesired].I guess the resulting date is a bit inconsistent - there should be all Arabic numbers or all Chinese, not mixed.2. \v!day give the day number with a leading space which is obviously undesired in Chinese...Hans, could you please take a look at this? (not a priority)...Thanks,RichardFrom: Tobias Burnus [mailto:[EMAIL PROTECTED]To: mailing list for ConTeXt users [mailto:[EMAIL PROTECTED]Sent: Wed, 21 Dec 2005 02:45:25 +0100Subject: Re: [NTG-context] Chinese in current ConTeXtHi,Xiao Jianfeng wrote: It should be "year年month月day日".I somehow failed to to get the following working; I'm actually too tired (3 a.m) to follow the macro expansion in- \c!date={\v!month,\ ,\v!day,{,\ },\v!year},+ \c!date={\v!year,{\cnencoding\cnyear},\v!month,{\cnencoding\cnmonth},\v!year,{\cnencoding\cnday}},In any case the year/month/day characters in unicode/gbk/big5 are:@@ -110,0 +111,3 @@+ \definecommand cnyear{\uchar{94}{116}}+ \definecommand cnmonth {\uchar{103}{8}}+ \definecommand cnday {\uchar{101}{229}}@@ -158,0 +162,3 @@+ \definecommand cnyear{\uchar{196}{234}}+ \definecommand cnmonth {\uchar{212}{194}}+ \definecommand cnday {\uchar{200}{213}}@@ -204,0 +211,3 @@+ \definecommand cnyear{\uchar{166}{126}}+ \definecommand cnmonth {\uchar{164}{235}}+ \definecommand cnday {\uchar{164}{233}}Tobias___ntg-context mailing listntg-context@ntg.nlhttp://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] Chinese in current ConTeXt
Richard Gabriel wrote: Hi Tobias (and Hans), I've played with this a bit. It seems that the nested group breaks things inside the \installlanguage macro. The following works OK: \c!date={\v!year,\cnyear,\v!month,\v!day,\cnday} ...but I can't use the \cnencoding switch... [Is it really necessary here? It works for me even without it...] this is fixed Another minor issues: 1. \v!month gives chinese number with the month symbol [so appending \cnmonth once more is undesired]. I guess the resulting date is a bit inconsistent - there should be all Arabic numbers or all Chinese, not mixed. what is convention in china? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new type-dis.tex
VnPenguin wrote: On 12/22/05, Taco Hoekwater [EMAIL PROTECTED] wrote: Hi, I've run some tests myself, and that last type-dis I posted seems to work. Attached is my test file, and the pdf looks good on my system. It would be nice if someone else can verify, so we can finally fix the core distribution afterwards. Test failed for me :( Log file: http://people.vnoss.org/~vnpenguin/pub/tmp/pos.log Your pdfetex is loading the wrong map files (actually it only loads pdftex.map, nothing else), and that will not work. Perhaps you put a \pdfmapfile{pdftex.map} line in your cont-sys? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: URw metric files
Hans Hagen wrote: So, the original urw files (u*) are no longer shipped? Great, that was the only font area left that could break ... so it means that (apart from the minimals on the tex collection, context does not work in the regular tex live 2005 distribution). Time to move everything that is subjected to changes in the base zip -) The URW metrics are in texlive2005 (in fonts-recommended), but not in teTeX 3 (most likely they are available in gwtex as well). But they are nowhere distributed in 8y encoding. And we have cont-fnt.zip now anyway, so this was a good moment to clean up type-dis. Should i replace the current type-dis by this one? My last one, yes. The one that only has lm-cm synonyms, nothing else. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Small Chinese translation
Richard Gabriel wrote: Hello Hans, Tobias and others, with help of Xiao Jianfeng, I've added the missing Chinese localizations into lang-chi.tex (as Tobias reported). I also attach a simple test file. Could you please review it and add it to the distribution it it's all OK? I only had a small problem - I was unable to recode the glyphs into BIG5 (using iconv). Does anybody guess why or could anybody try it with another tool? Below is the original message from Xiao for reference that the glyphs are encoded OK. I've also tried to format the date correctly (see my previous message). -Richard Graphics 图 Intermezzo (singular) 插曲 (this is a figurative use of 插曲, but I think it's not proper, I will try to consult some people who is good at TeXing) Intermezzos (plural) 插曲 Illustration 插图 Line (singular) 行 Lines (plural)行 (from another email) If there's no Chinese equivalent for intermezzo, I'd suggest to let the label empty... I think it would be OK if you leave intermezzo unchanged without translation or just use 插曲. Sorry, I discussed this with my friends just now, and the result is 插曲 is not proper here. I think leaving intermezzo unchanged in Chinese module is OK, and I will let you know as soon as we find a proper translation. Regards, xiaojf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Small Chinese translation
Richard Gabriel wrote: Hello Hans, Tobias and others, with help of Xiao Jianfeng, I've added the missing Chinese localizations into lang-chi.tex (as Tobias reported). I also attach a simple test file. Could you please review it and add it to the distribution it it's all OK? I only had a small problem - I was unable to recode the glyphs into BIG5 (using iconv). Does anybody guess why or could anybody try it with another tool? Below is the original message from Xiao for reference that the glyphs are encoded OK. I've also tried to format the date correctly (see my previous message). ok ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Chinese in current ConTeXt
1. \v!month gives chinese number with the month symbol [so appending \cnmonth once more is undesired]. I guess the resulting date is a bit inconsistent - there should be all Arabic numbers or all Chinese, not mixed.what is convention in china?From Xiao Jianfeng:In Arabic number, today is "2005年12月22日", and in Chinese number,today is "二○○五年十二月二十二日". Both are often used, and theformer is more popular now, because it is easier to write or typewith keyboard.So it's up to you... -Richard ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Some things I don't understand about typescripts...
Christmas is approaching, and I hate to be a pest this time of the year, but there's this problem that really bothers me: I'm still working hard to release version 2 of my Greek module on the unsuspecting masses. It will define all fonts in a typescript instead of as single fonts to allow switches like {\em } etc. It appears that the typescript mechanism creates some problems. The most serious one for me is that it seems to demand a full list of sizes that can be used in this form: \definebodyfont [30pt,25pt,20pt,18pt,17.3pt,14.4pt,14pt,12pt,11pt,11.5pt,10pt,9pt,8pt, 7pt,6pt,5pt,4pt] [rm] [default] If I specify a bodyfont with a size that's not in this list \setupbodyfont[somebodyfont,19.7pt] I get no errors, but no output either :-( If I add 19.7pt to the list, everything works again. Is there an explanation for this behavior? It also looks like I should define a math font for these Greek fonts. It looks like ConTeXt will try to get certain symbols from math if they're not defined in the bodyfont. Is there a syntax for creating a default math font for an entire set of typescripts? I tried this \starttypescript \definetypeface [all] [mm] [math] [times][default] [encoding=default] \starttypescript but it doesn't seem to work, if a symbol like \textdoublebracketleft is used, compilation will fail with this error: ! Math formula deleted: Insufficient symbol fonts. \mathematics #1-\relax \ifmmode #1\else $#1$ \fi \doutfunihashglyph ...#1\endcsname {#2}\endcsname \else \strippedcsname \uni... Any suggestions would be welcome; apart from these problems, I'm basically done with the work. All best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new type-dis.tex
On 12/22/05, Taco Hoekwater [EMAIL PROTECTED] wrote: VnPenguin wrote: On 12/22/05, Taco Hoekwater [EMAIL PROTECTED] wrote: Hi, I've run some tests myself, and that last type-dis I posted seems to work. Attached is my test file, and the pdf looks good on my system. It would be nice if someone else can verify, so we can finally fix the core distribution afterwards. Test failed for me :( Log file: http://people.vnoss.org/~vnpenguin/pub/tmp/pos.log Your pdfetex is loading the wrong map files (actually it only loads pdftex.map, nothing else), and that will not work. Perhaps you put a \pdfmapfile{pdftex.map} line in your cont-sys? Hmm, in texmf-local/tex/context/ : find . -name cont-sys* ./base/cont-sys.tex ./base/cont-sys.ori ./user/cont-sys.rme find . -name cont-sys* | xargs grep mapfile ./base/cont-sys.ori:\autoloadmapfilestrue ./base/cont-sys.ori:% \preloadmapfile[...somenamemap] ./base/cont-sys.ori:% \resetmapfiles \usetypescript [map] [base] [all] ./base/cont-sys.ori:\resetmapfiles ./base/cont-sys.ori: \loadmapfile[original-base.map] ./base/cont-sys.ori: \loadmapfile[original-ams-base.map] ./base/cont-sys.ori: \loadmapfile[original-public-lm.map] ./base/cont-sys.ori: \loadmapfile[original-base.map] ./base/cont-sys.ori: \loadmapfile[texnansi-base.map] ./base/cont-sys.ori: \loadmapfile[ec-base.map] ./base/cont-sys.ori: \loadmapfile[qx-base.map] ./base/cont-sys.ori: \loadmapfile[t5-base.map] ./base/cont-sys.ori: %loadmapfile[il2-base.map] ./base/cont-sys.ori: %loadmapfile[pl0-base.map] ./base/cont-sys.ori: \loadmapfile[8r-base.map] ./base/cont-sys.ori: \loadmapfile[original-ams-base.map] ./base/cont-sys.ori: \loadmapfile[original-ams-euler.map] ./base/cont-sys.ori: \loadmapfile[original-public-lm.map] ./base/cont-sys.ori: \loadmapfile[texnansi-public-lm.map] ./base/cont-sys.ori: \loadmapfile[ec-public-lm.map] ./base/cont-sys.ori: \loadmapfile[qx-public-lm.map] ./base/cont-sys.ori: \loadmapfile[t5-public-lm.map] ./base/cont-sys.ori: %loadmapfile[pl0-public-lm.map] ./base/cont-sys.ori: %loadmapfile[il2-public-lm.map] ./user/cont-sys.rme:\autoloadmapfilestrue ./user/cont-sys.rme:% \preloadmapfile[...somenamemap] ./user/cont-sys.rme:% \resetmapfiles \usetypescript [map] [base] [all] ./user/cont-sys.rme:\resetmapfiles ./user/cont-sys.rme: \loadmapfile[original-base.map] ./user/cont-sys.rme: \loadmapfile[original-ams-base.map] ./user/cont-sys.rme: \loadmapfile[original-public-lm.map] ./user/cont-sys.rme: \loadmapfile[original-base.map] ./user/cont-sys.rme: \loadmapfile[texnansi-base.map] ./user/cont-sys.rme: \loadmapfile[ec-base.map] ./user/cont-sys.rme: \loadmapfile[qx-base.map] ./user/cont-sys.rme: \loadmapfile[t5-base.map] ./user/cont-sys.rme: %loadmapfile[il2-base.map] ./user/cont-sys.rme: %loadmapfile[pl0-base.map] ./user/cont-sys.rme: \loadmapfile[8r-base.map] ./user/cont-sys.rme: \loadmapfile[original-ams-base.map] ./user/cont-sys.rme: \loadmapfile[original-ams-euler.map] ./user/cont-sys.rme: \loadmapfile[original-public-lm.map] ./user/cont-sys.rme: \loadmapfile[texnansi-public-lm.map] ./user/cont-sys.rme: \loadmapfile[ec-public-lm.map] ./user/cont-sys.rme: \loadmapfile[qx-public-lm.map] ./user/cont-sys.rme: \loadmapfile[t5-public-lm.map] ./user/cont-sys.rme: %loadmapfile[pl0-public-lm.map] ./user/cont-sys.rme: %loadmapfile[il2-public-lm.map] I can't found pdftex.map Any ideas ? Thank you, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some things I don't understand about typescripts...
Thomas A. Schmitz wrote: Christmas is approaching, and I hate to be a pest this time of the year, but there's this problem that really bothers me: I'm still working hard to release version 2 of my Greek module on the unsuspecting masses. It will define all fonts in a typescript instead of as single fonts to allow switches like {\em } etc. It appears that the typescript mechanism creates some problems. The most serious one for me is that it seems to demand a full list of sizes that can be used in this form: \definebodyfont [30pt,25pt,20pt,18pt,17.3pt,14.4pt,14pt,12pt,11pt,11.5pt,10pt,9pt,8pt, 7pt,6pt,5pt,4pt] [rm] [default] This \definebodyfont [default] [rm] [tf=, ] % ... should work, afaik If I specify a bodyfont with a size that's not in this list \setupbodyfont[somebodyfont,19.7pt] I get no errors, but no output either :-( If I add 19.7pt to the list, everything works again. Is there an explanation for this behavior? Before that call, you may need to do \definebodyfontenvironment [19.7pt] as well (not sure) It also looks like I should define a math font for these Greek fonts. It looks like ConTeXt will try to get certain symbols from math if they're not defined in the bodyfont. Is there a syntax for creating a default math font for an entire set of typescripts? I tried this \starttypescript \definetypeface [all] [mm] [math] [times][default] [encoding=default] Replacing [all] with [tsgreek] (or whatever you typescript is named) should work. Hope this helps, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new type-dis.tex
VnPenguin wrote: Hmm, in texmf-local/tex/context/ : find . -name cont-sys* ./base/cont-sys.tex ./base/cont-sys.ori ./user/cont-sys.rme I can't found pdftex.map Any ideas ? Looks like your cont-sys.tex is out of date (because it contains no \loadmapfile lines at all). I suggest updating base/cont-sys.tex by comparing it to base/cont-sys.ori Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some things I don't understand about typescripts...
Taco, thanks again for your help!! On Dec 22, 2005, at 2:52 PM, Taco Hoekwater wrote: This \definebodyfont [default] [rm] [tf=, ] % ... should work, afaik Not here, I get errors: ! Missing \endcsname inserted. to be read again \futurelet \doprocesscommaitem -\futurelet \nexttoken \dodoprocesscommaitem argument rm]\doprocesscommaitem ]\relax \global \advance \commalevel \minu... \ifundefined #1-\unless \ifcsname #1 \endcsname \dododododefinebodyfont ...\ifundefined {#1#3#4#5} \checkbodyfont {#1} {#3#4}{... l.71 ...c!x=4pt,\c!xx=4pt,\c!big=6pt,\c!small=4pt] ? Before that call, you may need to do \definebodyfontenvironment [19.7pt] as well (not sure) Sigh... It works, but it destroys the scaling mechanism built into the module... Replacing [all] with [tsgreek] (or whatever you typescript is named) should work. That was my question: the typescriptfile contains about 25 typefaces. Is there a way to specify one math font for all of them, or do I have to go the laborious way of adding such a line to every single one of them? Thanks! Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some things I don't understand about typescripts...
Thomas A. Schmitz wrote: Taco, thanks again for your help!! On Dec 22, 2005, at 2:52 PM, Taco Hoekwater wrote: This \definebodyfont [default] [rm] [tf=, ] % ... should work, afaik Not here, I get errors: ! Missing \endcsname inserted. to be read again (I'll leave this for Hans) Replacing [all] with [tsgreek] (or whatever you typescript is named) should work. That was my question: the typescriptfile contains about 25 typefaces. Is there a way to specify one math font for all of them, or do I have to go the laborious way of adding such a line to every single one of them? Assuming you have them inside \starttypescript-s, you could replace [all] with [\typecriptone] globally. I'll be happy to test what you have now, if needed. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some things I don't understand about typescripts...
Taco Hoekwater wrote: Assuming you have them inside \starttypescript-s, you could replace [all] with [\typecriptone] Perhaps my sloppy typing lately is a side-effect of all those spelling reform discussions in the netherlands lately. :-/ Make that: [\typescriptone] Sorry, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Chinese in current ConTeXt
Richard Gabriel wrote: 1. \v!month gives chinese number with the month symbol [so appending \cnmonth once more is undesired]. I guess the resulting date is a bit inconsistent - there should be all Arabic numbers or all Chinese, not mixed. what is convention in china? From Xiao Jianfeng: In Arabic number, today is 2005年12月22日, and in Chinese number, today is 二○○五年十二月二十二日. Both are often used, and the former is more popular now, because it is easier to write or type with keyboard. So it's up to you... ok, so send me the def's that correspond to the former (2005 ) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: URw metric files
Taco Hoekwater wrote: David Arnold wrote: Taco, Gerben, et al, From Taco's note: Uncomment the next if you have not installed cont- fnt.zip, but instead have a working LaTeX installation. My bad, I keep forgetting that there are references to non-existent metric files inside the context distribution. :-/ well, what is being shipped differs per tex (live) distribution unde what name and directory so we'll always be a bit behind -) (i'm not even sure if anything texnansi is shipped in the meantime; need to check it) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: URw metric files
Hans Hagen wrote: that's a bit tricky since there may be users out there who haven't or can't yet install cont-fnt, so how about - using the p* names now isn't that what adobekb is supposed to do? So why not use the new, empty one and add \usetypescript[adobekb] somewhere? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Red framed text
Missing \setupcolors[state=start] maybe? (works for me) Yes it is. And what about a shaded frame? You mean like a dropshadow or so? Something like \shadowbox{..} using LaTeX package fancybox I just want to translate the simple macro I wrote time ago from LaTeX to ConTeXt: \newcommand{\attenzione}[1] { \begin{center} \( \shadowbox{ \begin{minipage}{0.8\textwidth} \color{red}\underline{\textbf{Attenzione}}\\ \color{black} #1 \end{minipage} } \) \end{center} } jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
Gerben Wierda wrote: After installing type-dis and regenerating cont-en I get w-helvetica.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/ context/ec -urw-courier.map}] systems : end file ftest at line 11 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 That's not right either (duh). Sorry How is about the next one (attached)? Expected behaviour: It should find and use the fonts from cont-fnt.tex (and generate an error message about missing ec-ptmr8t otherwise). I tried this on the very simple test file that was posted earlier and this works. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] followup metapost textext?
I am surprised, but somehow the problem seems to be gone. In my cont-sys.tex I had \runMPgraphicstrue %\runMPTEXgraphicstrue Trying everything seemingly connected to metapost I tried diverse combinations with these macros either commented-out or not-commented- out. At one moment texexec started functioning. I was thinking both these macros were for efficiency only, or is that a wrong thought? Because the comment in cont-sys.tex after these lines says % This saves some runtime, But the \runMPTEXgraphicstrue seems crucial. Would you please answer the next questions too: (1) Although my outer font is Lucida, these are used in textext (normal) but not used in textext($math$) where lm- en cm-math fonts are used; these mixed fonts make the pictures ugly. (2) I would like to have standalone pictures, as produced by texexec --mptex but then I do not know how to set the fonts. Is there a simple way to export the pictures from a ConTeXt run with embedded MP- graphics? Or keep intermediate pdf's? yours sincerely, dr. H. van der Meer On Dec 22, 2005, at 8:49, Taco Hoekwater wrote: Hans van der Meer wrote: Followup to my previous post (see below) I executed the code on the live tex site and, mirabile dictu, there it works. The difference I can see is a much older pdfetex (Version 3.141592-1.21a-2.2 (Web2C 7.5.4)) on the live site, whereas I have a newer one (Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)). Could that be the problem or must I dig deeper? It is not likely that this is the problem, unless you have 'stray' pdfetex executables floating around (with different version numbers) in other folders. It is more likely there is some interference with your pre-existing teTeX 3, but without the actual output and log files I do not know what to suggest as next step. Taco ___ 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] new type-dis.tex
On 12/22/05, Taco Hoekwater [EMAIL PROTECTED] wrote: Looks like your cont-sys.tex is out of date (because it contains no \loadmapfile lines at all). I suggest updating base/cont-sys.tex by comparing it to base/cont-sys.ori Works well with my FC box at home :) I'll have a look later another box at work. Thanks, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] resume template?
Dear all, I need to finish up a CV in 2 weeks. I'd appreciate if you can point out some resources on writing resume using conTeXt. Many thanks. Cheers -- .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. . * . ./.\Merry Christmas . . /..'\ . . /'.'\ -- Leon. . /.''.'\. . /.'.'.\. . /'.''.'.\ . . ^^^[_]^^^ . .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some things I don't understand about typescripts...
Taco Hoekwater wrote: Thomas A. Schmitz wrote: Taco, thanks again for your help!! On Dec 22, 2005, at 2:52 PM, Taco Hoekwater wrote: This \definebodyfont [default] [rm] [tf=, ] % ... should work, afaik Not here, I get errors: ! Missing \endcsname inserted. to be read again (I'll leave this for Hans) tf= (nothing) is a bad idea Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About 'repeat' option of \startitemize
Radhelorn wrote: Hans Hagen wrote: Radhelorn wrote: 1. item 1.1item 1.2.1 item 1.2.1.1.item 1.2.2.1em for that you can best set up a dedicated instance of itemize (defineitemgroup) and assign the right widths to the levels I'm sorry to disturb you with my endless requests but it seems that options of itemgroups is not interact properly. I've tried as you suggested this way: \defineitemgroup[myitemize] \setupitemgroup[myitemize][n,width=4em] \setupitemgroup[myitemize][each][width=4em] \setupitemgroup[myitemize][each][n] \startmyitemize \item item 1 \item item 2 \stopmyitemize It gives many missing or ungrouped '=' after 'n' messages and changes item symbol to default dot. I've also tried n=1 or n=2 (seen in the sources). This gives same result, but without error message. Thanks for your patience. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: URw metric files
Taco Hoekwater wrote: Hans Hagen wrote: that's a bit tricky since there may be users out there who haven't or can't yet install cont-fnt, so how about - using the p* names now isn't that what adobekb is supposed to do? So why not use the new, empty one and add \usetypescript[adobekb] somewhere? hm, you mean type-akb.tex ... i'll give it a thought and when nobody complains i'll kick out the p's from type-dis (well, i can then merge dis into whatever); we can extend type-akb to listen to the berry typescript names i will give it a thought Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About paragraph columns in table environment
Taco Hoekwater wrote: Hans Hagen wrote: Radhelorn wrote: | There are so | | me rather lo | | ng titles th | | a needs to b | | e typeset. | you're not serious about this are you? I'm curious as well. What is this for? It can be used in small cards or something like that. I've tried to fit wide table in a narrow paper. I was making electronic version of printed document and can assure you that original design was even more strange (to my tastes of course). anyhow, a wikiable example I'll look into it a little later. A similar problemsolution, for verbatim text, is already in the wiki: http://wiki.contextgarden.net/Verbatim_with_line_breaks Well maybe I should give this a try too ;-). -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Red framed text
Jilani Khaldi wrote: Missing \setupcolors[state=start] maybe? (works for me) Yes it is. And what about a shaded frame? You mean like a dropshadow or so? Something like \shadowbox{..} using LaTeX package fancybox I just want to translate the simple macro I wrote time ago from LaTeX to ConTeXt: \newcommand{\attenzione}[1] { \begin{center} \( \shadowbox{ \begin{minipage}{0.8\textwidth} \color{red}\underline{\textbf{Attenzione}}\\ \color{black} #1 \end{minipage} } \) \end{center} } jk \setupcolors[state=start] \startuniqueMPgraphic{shadow} fill OverlayBox shifted (3pt,-3pt) withcolor .8white ; fill OverlayBox withcolor white ; draw OverlayBox withcolor red ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay[shadow][\uniqueMPgraphic{shadow}] \framed [align=middle,background=shadow,frame=off] {\input tufte \relax} \blank \framed [align=middle,background=shadow,frame=off] {\input zapf \relax} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About 'repeat' option of \startitemize
Hans Hagen wrote: \defineitemgroup[myitemize] \setupitemgroup[myitemize][n,width=4em] \setupitemgroup[myitemize][each][width=4em] \setupitemgroup[myitemize][each][n] Thanks. This will do for a time. Actually I have another observation in behaviour of 'repeat' option but will try to experiment with this a little more. This itm module is too elaborate. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] 2005/2006
Hi, After a series of MP ones, this years our New Years card is a texie one: http://www.pragma-ade.com/temp/2005.pdf This version uses Palatino Nova (the real thing that we send around uses Optima Nova with hz optimization). Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] followup metapost textext?
I finally managed to contrive two simple examples, one that works here and one that doesn't. The next code typeset with texexec --pdf with lines commented OUT does work: \setupcolors[state=start] \usetypescript[luc]\setupbodyfont[luc,10pt] \startMPenvironment \usetypescript[luc] \setupbodyfont[luc,10pt] \stopMPenvironment \definecolor[gray][s=.825] \definecolor[yellow][r=.625,g=.625] \setupMPpage[offset=1pt,background=color,backgroundcolor=gray] \startuseMPgraphic{standalone} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(cornerstone), (10,5)) rotated 45 withcolor \MPcolor {yellow}; \stopuseMPgraphic \starttext %%\startMPpage \includeMPgraphic{standalone} %%\stopMPpage \stoptext When I remove the %'s it does not work. The first below is the wrong one, showing unknown, the second one correctly shows the word cornerstone. Is the conclusion correct that it could be something with \startMPpage? yours sincerely, dr. H. van der Meer bad.pdf Description: Adobe PDF document = bad and good = good.pdf Description: Adobe PDF document On Dec 22, 2005, at 8:49, Taco Hoekwater wrote: Hans van der Meer wrote: Followup to my previous post (see below) I executed the code on the live tex site and, mirabile dictu, there it works. The difference I can see is a much older pdfetex (Version 3.141592-1.21a-2.2 (Web2C 7.5.4)) on the live site, whereas I have a newer one (Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)). Could that be the problem or must I dig deeper? It is not likely that this is the problem, unless you have 'stray' pdfetex executables floating around (with different version numbers) in other folders. It is more likely there is some interference with your pre-existing teTeX 3, but without the actual output and log files I do not know what to suggest as next step. Taco ___ 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] Re: URw metric files
Taco Hoekwater wrote: Hans Hagen wrote: So, the original urw files (u*) are no longer shipped? Great, that was the only font area left that could break ... so it means that (apart from the minimals on the tex collection, context does not work in the regular tex live 2005 distribution). Time to move everything that is subjected to changes in the base zip -) The URW metrics are in texlive2005 (in fonts-recommended), but not in teTeX 3 (most likely they are available in gwtex as well). But they are nowhere distributed in 8y encoding. And we have cont-fnt.zip now anyway, so this was a good moment to clean up type-dis. Should i replace the current type-dis by this one? My last one, yes. The one that only has lm-cm synonyms, nothing else. how about vietnamese ... we need to move the berry names to akb then: \starttypescript [berry] [t5] should then become \starttypescript [adobekb] [t5] or better \starttypescript [berry,adobekb] [t5] and: \starttypescript [berry,adobekb] [texnansi] \starttypescript [berry,adobekb] [ec] does this makes sense? (The u* and p* files do differ, don't they? If so, what are the compatibility issues involved? I remember some differences in spacing.) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] followup metapost textext?
Hans van der Meer wrote: I finally managed to contrive two simple examples, one that works here and one that doesn't. minimalized: \startuseMPgraphic{standalone} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(cornerstone), (10,5)) rotated 45 withcolor \MPcolor {yellow}; \stopuseMPgraphic \starttext \startMPcode \includeMPgraphic{standalone} \stopMPcode \stoptext so, there is a problem with textext inside an include (rather tricky to solve i fear) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some things I don't understand about typescripts...
Hans Hagen wrote: This \definebodyfont [default] [rm] [tf=, ] % ... should work, afaik Not here, I get errors: ! Missing \endcsname inserted. to be read again (I'll leave this for Hans) tf= (nothing) is a bad idea Oh (is that what the error came from?) I just wanted to stress the use of [default] instead of explicit sizes. Sorry, miscommunication on my part. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Red framed text
\setupcolors[state=start] \startuniqueMPgraphic{shadow} fill OverlayBox shifted (3pt,-3pt) withcolor .8white ; fill OverlayBox withcolor white ; draw OverlayBox withcolor red ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay[shadow][\uniqueMPgraphic{shadow}] \framed [align=middle,background=shadow,frame=off] {\input tufte \relax} \blank \framed [align=middle,background=shadow,frame=off] {\input zapf \relax} Very nice! Thank you. jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] metapost textext?
I have another piece of information on my previous posting. When I take the mpgraph mp-input for metapost produced by the ConTeXt run I see: (1) running system(mpost -progname=mpost -mem=metafun standalone2- mpgraph)...executed. as the log shows gives the wrong metafont output. I also ran mpost with those parameters standalone on that mp- file and got the same bad result. (2) running texexec --mptex on the file gives the correct result. Would this help locating the problem? My mpost is according to mpout.log This is MetaPost, Version 0.901 (Web2C 7.5.3) (mem=mpost 2005.11.12). yours sincerely, dr. H. van der Meer On Dec 21, 2005, at 18:24, Taco Hoekwater wrote: Peter Rolf wrote: Hans Hagen wrote: Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)-- (0,0); label (textext(label), (10,25)); \stopuseMPgraphic \useMPgraphic{one} \stoptext But now I see unknown as the text typeset instead of label! What happened. This is disastrous. this normally points to an error in mp processing (unknown is the fall back text), not so much to something wrong with context (i hope) it runs ok here; how does it runs at other machines? no problem here (using latest version) Runs without problems here as well. The most likely cause of problems in this subsystem nowadays is a format was written by (pdf)(e)tex error message from a (pdf)(e)tex executable. Unfortunately, I also find it hard to trace this stuff. It may help to run the example in an isolated directory and zipmail everything in the directory afterwards. I can at least have a look, but cannot give guarantees. Taco ___ 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] followup metapost textext?
Sorry, my last posting ran into another, earlier thread. In order to prevent confusion I take the liberty to repeat my findings on the code below as reply to Hans Hagen's last posting. When I take the mpgraph mp-input for metapost produced by the ConTeXt run I see: (1) running system(mpost -progname=mpost -mem=metafun standalone2- mpgraph)...executed. as the log shows gives the wrong metafont output. I also ran mpost with those parameters standalone on that mp- file and got the same bad result. (2) running texexec --mptex on the file gives the correct result. Would this help locating the problem? My mpost is according to mpout.log This is MetaPost, Version 0.901 (Web2C 7.5.3) (mem=mpost 2005.11.12). yours sincerely, dr. H. van der Meer On Dec 22, 2005, at 23:22, Hans Hagen wrote: Hans van der Meer wrote: I finally managed to contrive two simple examples, one that works here and one that doesn't. minimalized: \startuseMPgraphic{standalone} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(cornerstone), (10,5)) rotated 45 withcolor \MPcolor {yellow}; \stopuseMPgraphic \starttext \startMPcode \includeMPgraphic{standalone} \stopMPcode \stoptext so, there is a problem with textext inside an include (rather tricky to solve i fear) Hans ___ 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] Re: URw metric files
Hi, Hans Hagen wrote: My last one, yes. The one that only has lm-cm synonyms, nothing else. how about vietnamese ... we need to move the berry names to akb then: I see now that there are no vietnamese fonts in cont-fnt.zip, I thought you had included the t5 metrics as well. Those fonts should not be deleted from type-dis then, sorry. [berry] vs. [adobekb] does this makes sense? My original take was: if you know how to install the next context release, then you also know how to install cont-fnt, and no other trickery would be needed to get these postscript fonts to work. Just install cont-fnt if you want texfont names, or use e.g. \usetypescript[adobekb][ec] \usetypescript[palatino][ec] if you want to stick to berry names. Anything else will give you a missing font error, but one that should be easier to solve than the current utmr8y errors. So my plan was: no additional changes, just some removed \fontsynonyms: the ones that map to (regularly) unavailable fonts. (The u* and p* files do differ, don't they? If so, what are the compatibility issues involved? I remember some differences in spacing.) I do not think there will be compatibility issues since the old type-dis used the same actual metrics as the texfont-installed ones (both the u* (fontinst) and the [encoding]-u* (texfont) ones are based on the same .afm files, by URW). The only different ones are the p* ones that are (already and still will be) loaded by \usetypescript[adobekb]. These may or may not be based on actual Adobe metrics, I am not sure. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] followup metapost textext?
Hans van der Meer wrote: Sorry, my last posting ran into another, earlier thread. In order to prevent confusion I take the liberty to repeat my findings on the code below as reply to Hans Hagen's last posting. When I take the mpgraph mp-input for metapost produced by the ConTeXt run I see: (1) running system(mpost -progname=mpost -mem=metafun standalone2- mpgraph)...executed. as the log shows gives the wrong metafont output. I also ran mpost with those parameters standalone on that mp- file and got the same bad result. The input and output (+ log) from that incorrect run should pinpoint the problem. Can you email or post these files please? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Red framed text
Very cool. First time I ever could figure out what \relax does. When I deleted it from this source, I got: ! I can't find file `zapf}'. l.25 {\input zapf} Please type another input file name: Good learning experience for me. I've seen and ignored this type of error message before, looking elsewhere in the code. A very good heads up for me. Now is there anyway I can visualize the importance of the line setbounds currentpicture to OverlayBox ; in this example? I deleted it and recompiled but didn't see much difference. What is the import of this line? On Dec 22, 2005, at 1:15 PM, Hans Hagen wrote: Jilani Khaldi wrote: Missing \setupcolors[state=start] maybe? (works for me) Yes it is. And what about a shaded frame? You mean like a dropshadow or so? Something like \shadowbox{..} using LaTeX package fancybox I just want to translate the simple macro I wrote time ago from LaTeX to ConTeXt: \newcommand{\attenzione}[1] { \begin{center} \( \shadowbox{ \begin{minipage}{0.8\textwidth} \color{red}\underline{\textbf{Attenzione}}\\ \color{black} #1 \end{minipage} } \) \end{center} } jk \setupcolors[state=start] \startuniqueMPgraphic{shadow} fill OverlayBox shifted (3pt,-3pt) withcolor .8white ; fill OverlayBox withcolor white ; draw OverlayBox withcolor red ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay[shadow][\uniqueMPgraphic{shadow}] \framed [align=middle,background=shadow,frame=off] {\input tufte \relax} \blank \framed [align=middle,background=shadow,frame=off] {\input zapf \relax} ___ 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] MikTeX and font problems (again)
Hans Hagen wrote: Mojca Miklavec wrote: this ec-* versus *-ec was one of the last minute changes for tex live (lm, iwona, kurier, antykwa) so tere can be a mismatch between context and the rest ... welcome to the font mess Thanks for the explanation. I now managed to solve both problems, but there's still a little question left. (you can copy the ec-* to *-ec and vise versa to solve this; in due time it will solve itself) I did that, but it didn't help. The problem was solved when I copied two files (sy-anttr.tfm and mi-anttr.tfm from your context distr. into MikTeX). Is this a matter of different naming conventions between LaTeX and ConTeXt or anything else? I thought that something could be wrong in MikTeX, but the original package with Antykwa doesn't include the two tfm files either. The following code works both under MikTeX and stand-alone ConTeXt (however not under live.contextgarden.net), but I don't know how to enable ec encoding (\ccaron and \Ccaron - č and Č - don't work). Regarding the problem with missing ccarons: Despite the fact that antykwa pol. has ec encoding, quite some glyphs are still missing there, while ConTeXt thinks that they are present. So I solved the problem by using the wrong encoding (texnansi) again and now ConTeXt renders those glyphs for me :) Thanks again, Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] A font question.
I use Context for highly formatted non-fiction, but I am a bit reluctant to use it for much of my work because of the strange (to me) font handling arrangements. I see no purpose for the multiple synonyms of the same font. That just adds layers of extra work. And I am used to tweaking both the font size and the baselineskip by fractional amounts to help in getting the pagination just right and the spacing on the individual page correct. For example I have the main body font on a current project defined thus: \font\rm=8r-AGaramond-Regular at 10.5pt and this: \baselineskip 12.0pt plus .25pt If the page comes up a line short because of strict widow prevention then the extra space is distributed imperceptibly among the lines. \parskip is 0 pt for this novel. With a fixed baselineskip the extra space is distributed only at paragraph breaks, which gives an ugly result. This kind of fine tuning by users is perhaps foreign to Context as it now exists. Font sizes are in fixed steps for one thing. However abandoning the typescript etc. process deprives one of the useful feature of using tfa, tfb, tfx etc. to adjust font sizes semi-automatically. So here is my question. If I set up my own font definition system and as part of it I have statements like: \font\tfa bchr8r at 10.45pt \font\tfb bchr8r at 11.37pt ... ... will the rest of Context accept the above tfb font and size in places where a heading macro automatically defaults to tfb? John Culleton ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Answer blocks potential
Hans, OK. Meanwhile, looking to a future fromatting of the exercise set, brief solutions, and long solutions, do you think it best that I instruct my colleagues to code in question-answer blocks (LongAnswer, BriefAnswer)? On Dec 22, 2005, at 2:13 AM, Hans Hagen wrote: David Arnold wrote: Hans, Taco, et al, I've looked at the question-answer block suggestion and it has good potential for what I want to do. What I need now is a way of typesetting the blocks as follows. 1. Question 2. Question 3. Question 4. Question Then, later in the document, I'll unhide the answer blocks. Is it worth my while to try to use question-answer blocks in an itemized environment? should I pursue that or try a different tack? no. it can only be used at the outer level Hans ___ 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] Character names (was: Context 2005.12.19 released)
Taco Hoekwater wrote: Here's what I can come up with. At least a few are acceptable, like the horizontal bar. \textnumero exists, but is only reachable in cyrillic encodings (fixable, I guess?), and the greek vietnamese accents are also only usable in the correct encoding. I've used the \text... versions of the accents, but perhaps the actual commands are more correct (like \' and \~). Cheers, Taco \starttext \definecharacter texthorizontalbar {{--\kern 0pt--}} \definecharacter textdong {\underbar{\dstroke}} Thanks for those ... \NC 0300 COMBINING GRAVE ACCENT \NC \textgrave \NC \NR \NC 0309 COMBINING HOOK ABOVE \NC \texthookabove \NC \NR \NC 0303 COMBINING TILDE\NC \texttilde \NC \NR \NC 0301 COMBINING ACUTE ACCENT \NC \textacute \NC \NR \NC 0323 COMBINING DOT BELOW\NC \textbottomdot \NC \NR I may be wrong, but aren't those used only in combination with other characters? I don't know if TeX (ConTeXt) can handle this (at least not yet). When I wrote the list a couple of days ago I forgot about that fact. If the accent would come before the charecter, this could be replaced by \buildtextaccent..., but here there's perhaps no solution without some additional macros. (And since the Vietnamese seem to be satisfied with viscii and utf for now, supporting cp1258 is not crucial.) I double-checked the differences between the existing regimes and the ones that were automatically produced by a script. The list of regimes that are ripe for supporting is thus: cp125[ 0 | *1 | *2 | 3 | 4 | 7 ] iso-8859-[ *1 | *2 | 3 | 4 | *5 | *7 | 9 | 13 | *15 | 16 ] *viscii (with glyph names instead of \\u\...) (The ones marked with a star are already supported, perhaps with some inconsistencies. Not supported: Hebrew, Arabic, Vietnamese? for cp125X and Arabic, Thai and Celtic for iso-8859-X.) I'll send the files (full content is already on my page), but I need to know how to split/group them (I guess it would be a bad idea to have one file for each encoding). Should there be one file for iso-8859 and one for windows encodings? What about those regimes that are already supported? I would like to move at least the regi-win (with 8 wrong definitions anyway) to a less discriminating place, don't know what to do with Greek and Cyrillic. And another set of questions: 1. Can someone check for (in)consistencies for greekupsilondiaeresis vs. greekupsilondialytika? Looks like the same glyph named differently at different places (functionality may break). 2. What to do with {\cyrillicGJE} {\'\cyrillicG} % 0403 CYRILLIC CAPITAL LETTER GJE {\cyrillicgje} {\'\cyrillicg} % 0453 CYRILLIC SMALL LETTER GJE {\cyrillicKJE} {\'\cyrillicK} % 040C CYRILLIC CAPITAL LETTER KJE {\cyrillickje} {\'\cyrillick} % 045C CYRILLIC SMALL LETTER KJE {\cyrillicgheupturn} {\cyrillicgup} % 0491 CYRILLIC SMALL LETTER GHE WITH UPTURN Which variant is better? Would it make sense to define \definecharacter cyrillicGJE {\buildtextaccent\textacute\cyrillicG} \defineaccent ' \cyrillicG {\cyrillicGJE} and then use \cyrillicGJE consistently? 3. PLEASE FIX: in enco-def.tex replace \cdots by something (\dots, I suppose, but I'm not sure) \definecharacter textellipsis {\mathematics\cdots} (I guess this bug was the reason for changing some definitions in regimes/encodings elsewhere.) Should \textellipsis be used for 2026 HORIZONTAL ELLIPSIS or anything else? 4. \softhyphen, \hyphen or \- for 00AD SOFT HYPHEN? 5. Urgently: what to do with quotations (without language discriminations if possible)? % 201A SINGLE LOW-9 QUOTATION MARK \quotesinglebase vs. \lowerleftsingleninequote % 201E DOUBLE LOW-9 QUOTATION MARK \quotedblbase vs. \lowerleftdoubleninequote % 2018 LEFT SINGLE QUOTATION MARK \quoteleft vs. \upperleftsinglesixquote % 2019 RIGHT SINGLE QUOTATION MARK \quoteright vs. \upperrightsingleninequote % 201C LEFT DOUBLE QUOTATION MARK \quotedblleft vs. \upperleftdoublesixquote % 201D RIGHT DOUBLE QUOTATION MARK \quotedblright vs. \upperrightdoubleninequote % 2039 SINGLE LEFT-POINTING ANGLE QUOTATION MARK \guilsingleleft vs. \leftsubguillemot % 203A SINGLE RIGHT-POINTING ANGLE QUOTATION MARK \guilsingleright vs. \rightsubguillemot % 00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK \leftguillemot vs. \greekleftquot (are Greek quotations treated specially or what is this doing in regi-grk?) % 00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK \rightguillemot vs. \greekrightquot vs. \prewordbreak\rightguillemot (in my point of view the last one may be better, but not fair since it's language dependent: may be OK for French, but not for German or vice versa; perhaps a language-sensitive macro could be inserted at this place?) 6. \textnumero, 0x2116 (and perhaps some other characters) should be added to unicode vector 33. 7. files regi-il1 and regi-win have many inconsistencies. I would like to suggest to do the following renamings: windows - cp1252 il1 -
[NTG-context] spanish symbols for interrogation and exclamation
Hi team: How do I write the spanish interrogation symbol that is up-side down? also How do I write the spanish exclamation symbol that is also up-side down? thank you ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] spanish symbols for interrogation and exclamation
Ciro Soto wrote: Hi team: How do I write the spanish interrogation symbol that is up-side down? also How do I write the spanish exclamation symbol that is also up-side down? thank you ciro \enableregime[utf] % for utf-8, may be something else as well (depending on editor) \starttext You can write \exclamdown\ or ¡ and \questiondown\ or ¿ \stoptext Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] A font question.
Hi John, John R. Culleton wrote: I use Context for highly formatted non-fiction, but I am a bit reluctant to use it for much of my work because of the strange (to me) font handling arrangements. I see no purpose for the multiple synonyms of the same font. That just adds layers of extra work. It also adds layers of configurability. Clearly you do not need that (your font setups is extremely simple and low-level), but lots of other people do. For example, I have documents that use 6 totally different font sets, because all 'examples' and 'definitions' are typeset in font families that differ from the normal text font family. It would be a nightmare if I had to define and remember the 200+ font definitions by hand. If the page comes up a line short because of strict widow prevention then the extra space is distributed imperceptibly among the lines. It is only imperceptible if the paper you print on does not shine through at all, and if you use a noteblock (head) binding instead of book (back) binding, so it is not something I would recommend for general use. This kind of fine tuning by users is perhaps foreign to Context as it now exists. Font sizes are in fixed steps for one thing. The fixed steps (of .1pt) are actually an optimization, and it is possible to circumvent that, using either \chardef\fontdigits=2 or \def\normalizebodyfontsize#1\to#2{\setvalue{#2}{#1}} So here is my question. If I set up my own font definition system and as part of it I have statements like: \font\tfa bchr8r at 10.45pt \font\tfb bchr8r at 11.37pt ... ... will the rest of Context accept the above tfb font and size in places where a heading macro automatically defaults to tfb? Only if you never make any \{setup,switchto}bodyfont switches after your new font definitions. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Red framed text
\setupcolors[state=start] \startuniqueMPgraphic{shadow} fill OverlayBox shifted (3pt,-3pt) withcolor .8white ; fill OverlayBox withcolor white ; draw OverlayBox withcolor red ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay[shadow][\uniqueMPgraphic{shadow}] \framed [align=middle,background=shadow,frame=off] {\input tufte \relax} \blank \framed [align=middle,background=shadow,frame=off] {\input zapf \relax} Very nice! Thank you. But is there a simple way to get the text left justified with a centered title Attention!? jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context