Re: [NTG-context] backgroundcolor broken in 2006-06-07
Hans van der Meer wrote: This turns out to be a disaster for me. Now all textext again comes out as unknown. Setting \forceMPTEXgraphictrue makes things worse, because now all graphics are replaced by the first one generated. Is there any help? Can you send me the complete output of your run, and the current contents of cont-sys.tex? (for debugging purposes) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Question regarding context's module defintion
Aditya Mahajan wrote: Should the test-suite contain tests for ruby scripts also? for some of the functionality that makes sense indeed 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] Angle braces?
Hi Mojca, It is more than two months old; the tetex i'm using is version 2.0.2 or somesuch. So an upgrade is definitely due. On the dvi v pdf question, I'm a bit confused, because I didn't mention my actual output format. I have actually been outputting things as dvi for reading on my computer, but printing pdfs. The same problems have been occurring in both formats, but I might be missing the point of your question here. Using \char60 and \char62 gives the same results as using the characters and in the text, which is are upside down question mark and explanation mark (which I can't easily type into this email to demonstrate). I will have a try at updating the fonts, and failing that, the whole tetex system. Thanks for the tip on the mirrors, and the help. -Steven [EMAIL PROTECTED] wrote: The angle braces I'm after are the ones that go around URLs in citations, as in [12] Smith, `Article on Things', available at www.smith.com. It's been suggested to me elsewhere that I upgrade my ConTeXt version, so hopefully that will help. Well ... if it's more than two months old, it might already be ancient ;) Also consider updating the fonts. Why are you using dvi instead of PDF? I'll have a look around and see if there are particular angle braces that should be used for the above purpose (i.e. not greater-than/less-than or guillemots--they are `double', but Ithe suggestion is appreciated). The example works OK here. Which font are you using? Most probably either the font is old/broken or the two characters are active. What do you get if you type: foo \char60 bar\char62 foo? (You may never type like that, but just for debugging puposes.) Mojca Btw: there are two mirrors of Pragma website (see links on wiki.contextgarden.net). ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] backgroundcolor broken in 2006-06-07
Taco, Thanks for looking into. I would have responded earlier but our server was out of the air) This is a stripped down version without all the files for demonstration, because too big to be send at once. But the observations are clear now. I have made a minimal example and done some variations. See file test.tex and testfig.tex 1. including my own metapost macroset for Label (custom.mp) gives different results for \forceMPTEXgraphictrue -- \forceMPTEXgraphicfalse undefined as label for true, unknown as label for false 2. draw textext gives in both cases label undefined. I did an extensive series of experiments and nailed the problem into the context base files in the change from 2006-05-28 to 2006-06-07. What I did was: 1. back to version 2006-05-28 changed metafun.mem to an earlier generated one set \forceMPTEXgraphictrue in cont-sys.tex generated formats typesetting ok 2. generated metafun.mem afresh with texmfstart texexec --make alone metafun typesetting ok 3. changed the ruby scripts over to the 2006-06-07 ones. typesetting ok 4. changed the context base files in tex/context/base to their 2006-06-07 ones did texhash did texmfstart texexec --make en nl checked format versions typesetting not ok Now many things having to do with metapost go wrong, among these: textext, (inline) textbackground. 5. move out the context base files in tex/context/base of 2006-06-07 texhash regenerate formats typesetting ok again I do not know why this does occur on my MacOSX system and obviously not on other systems. But the effect is demonstrably their. Could it be something in the communication between TeX and Metapost? Or something related end-of-line stuff? file test.tex: \setupcolors[state=start] \setupbodyfont[cmr] \input testfig \starttext \placefigure[][fig:figtest]{Test figure}{\useMPgraphic{testfig} {width=40mm,height=20mm}} \stoptext file testfig.tex: \startuseMPgraphic{testfig}{width,height} w = \MPvar{width}; h = \MPvar{height}; % framing figure pickup pensquare scaled 2pt; draw origin -- (w,0) -- (w,h) -- (0,h) -- cycle; % With these two statements the output = test1.pdf resultant label: unknown % \input custom.mp % Label(TEXTEXT, (w/2,h/2)) withcolor red; % alas, these files could not be included % With this statement the output = test2.pdf resultant label: undefined draw textext(TEXTEXT) shifted (w/2,h/2); \stopuseMPgraphic \endinput On Jun 10, 2006, at 9:10, Taco Hoekwater wrote: Hans van der Meer wrote: This turns out to be a disaster for me. Now all textext again comes out as unknown. Setting \forceMPTEXgraphictrue makes things worse, because now all graphics are replaced by the first one generated. Is there any help? Can you send me the complete output of your run, and the current contents of cont-sys.tex? (for debugging purposes) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context met vriendelijke groet Hans van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Angle braces?
On 6/10/06, Steven Robertson wrote: Hi Mojca, It is more than two months old; the tetex i'm using is version 2.0.2 or somesuch. So an upgrade is definitely due. Well, if you want to say that texexec --version (now ctxtools --contextversion) returns something around 2002, please don't ever try to mention that on this list if you want to stay alive ;) Best download justtext.zip and linuxtex.zip from www.pragma-ade.com, extract them to some folder of your choice and execute . setuptex in your .bashrc. And then do ctxtools --update every tho weeks ;) teTeX isn't maintaind any more. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] how to let context suppose chinese via utf-8 ?
Hi, evergyone I found a instruction in context wiki (http://wiki.contextgarden.net/Chinese) in this page , it says: If you have Context 2005.12.19, you only have to get the fonts. 1.You need some Chinese (TrueType) fonts; you may want to get FangSong, HeiTi, KaiTi and SongTi. Put those e.g. into $TEXMF/fonts/truetype/chinese/. ---finished 2.Use Hans Hagen's experimental ttf2uni.rb script to create .map, .tfm and .enc files. You can then put the files e.g. to $TEXMF/fonts/tfm/chinese/ (*.tmf files), $TEXMF/fonts/enc/chinese/ (*.enc files, they are basically the same for all fonts) and to $TEXMF/fonts/map/chinese/. ---wondering I have downloaded the file ttf2uni.rb to my local machine. But how can I creat such .map ,.tfm and .enc files via it? 3.You may now need to update the hash TeX uses to find the files; using teTeX this is done by running texhash. 4.How you can run your Hello World program: could anyone be kindly to offer me a list of detail instructions about how to do? thank you! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context