Re: [NTG-context] MS Office Chinese fonts in ConTeXt
Hi Hans, Thank you for your help! I have switched to \usetypescriptfile[mscore]. However, I do not understand one thing, I am using envvar in Linux `OSFONTDIR` and all font file names are in upper case. When \usetypescriptfile[mscore] is set, ConTeXt cannot find font files, when I have renamed all files to lower case, then it works. If I will query font cache with: `mtxrun --script font --list --all --pattern=stsong`, it will return correct path to font file and it does not depend on case. Is it a feature? Best regards, BruXy On 27/08/17 03:12 PM, Hans Hagen wrote: Hi, Attached is a better alternative (just replace the file in the distribution). \usetypescriptfile[mscore] \setupbodyfont [mschinese,12pt] \usebodyfont [mschinese-light,12pt] \definebodyfontenvironment[24pt] \definebodyfontenvironment[18pt] Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to "terminate" or break from a side float?
On 9/5/2017 12:22 AM, Alan Braslau wrote: Hi, Below is a MWE achieving the desired behavior, but is a messy solution. Given a side float, how can one "terminate" filling text or break to after the side float? There *must* be a very simple and proper command to do this, but I have not found it. of course there is ... \starttext \startplacefigure [location={left,none}] \framed [width=.3\textwidth,height=.3\textwidth] {} \stopplacefigure \input ward \flushsidefloats \input knuth \stoptext Alan \starttext \startplacefigure [location={left,none}] \framed [width=.3\textwidth,height=.3\textwidth] {} \stopplacefigure \input ward \startplacefigure [location={force,none}] (this forces a break) \stopplacefigure \input knuth \stoptext ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] How to "terminate" or break from a side float?
Hi, Below is a MWE achieving the desired behavior, but is a messy solution. Given a side float, how can one "terminate" filling text or break to after the side float? There *must* be a very simple and proper command to do this, but I have not found it. Alan \starttext \startplacefigure [location={left,none}] \framed [width=.3\textwidth,height=.3\textwidth] {} \stopplacefigure \input ward \startplacefigure [location={force,none}] (this forces a break) \stopplacefigure \input knuth \stoptext ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Empty page to suppress header (background) frame
Hello, done here (on the bottom of the page): http://wiki.contextgarden.net/Command/setupheader But the result doesn't show the goal of the example: - header is not shown at all, including its blue "underline", - user cannot check the emptiness of the second page. Maybe a switch to which would suppress result/page trimming would be nice here... Best regards, Lukas On Fri, 01 Sep 2017 22:34:53 +0200, Pablo Rodriguezwrote: On 09/01/2017 09:31 AM, Procházka Lukáš Ing. wrote: Hello Pablo, you inspired me: \setuplayout[header=5mm,headerdistance=5mm,] \setupheader [text] [before={\startframed[frame=off,bottomframe=on,framecolor=blue,]}, after={\stopframed}, ] \setupheadertexts[left][right] \starttext Page 1 \page[empty,blank] Page 2 \stoptext Hi Lukáš, could you add this info to the wiki? Pablo -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___