Re: [NTG-context] dashed underbar: wiki
On Sun, 10 Apr 2011, Mojca Miklavec wrote: 2011/4/8 Aditya Mahajan wrote: On Fri, 8 Apr 2011, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I tried to add the Wolfgang's solution to wiki, the last example on http://wiki.contextgarden.net/TextBackground But the rendered example doesn't show any (dashed) background, although the standalone test file does. Why? The underbar is drawn using metapost. The wiki still uses MkII, and does not have write18 enabled. So, you need to add \runMPgraphicsfalse in the file (I think that that should be added to cont-usr.tex on the wiki). I have added that command before \starttext in the wiki extension. Aditya - can you please test it? If I remove \runMPgraphicsfalse from the last example on http://wiki.contextgarden.net/TextBackground, I do not get the underbar. Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dashed underbar: wiki
2011/4/8 Aditya Mahajan wrote: > On Fri, 8 Apr 2011, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > >> Hello, >> >> I tried to add the Wolfgang's solution to wiki, the last example on >> >> http://wiki.contextgarden.net/TextBackground >> >> But the rendered example doesn't show any (dashed) background, although >> the standalone test file does. >> >> Why? > > The underbar is drawn using metapost. The wiki still uses MkII, and does not > have write18 enabled. So, you need to add \runMPgraphicsfalse in the file (I > think that that should be added to cont-usr.tex on the wiki). I have added that command before \starttext in the wiki extension. Aditya - can you please test it? Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dashed underbar: wiki
On Fri, 8 Apr 2011, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I tried to add the Wolfgang's solution to wiki, the last example on http://wiki.contextgarden.net/TextBackground But the rendered example doesn't show any (dashed) background, although the standalone test file does. Why? The underbar is drawn using metapost. The wiki still uses MkII, and does not have write18 enabled. So, you need to add \runMPgraphicsfalse in the file (I think that that should be added to cont-usr.tex on the wiki). Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dashed underbar: wiki
Hello, I tried to add the Wolfgang's solution to wiki, the last example on http://wiki.contextgarden.net/TextBackground But the rendered example doesn't show any (dashed) background, although the standalone test file does. Why? If the example was rendered otherwise than in reality, it wouldn't have sense to keep it on wiki... Lukas \definetextbackground [dashed] [ location=text, framecolor=black, alternative=1, voffset=-\strutdp, background=, frame=off, dash=1] \starttext \startdashed\input ward \stopdashed \stoptext Wolfgang -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-DashUB.mkiv Description: Binary data t-DashUB.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___