[NTG-context] counter in ConTeXt
How do I use counter in ConTeXt? Specifically, I use this to define '\startproblem\stopproblem'. \defineenumeration[problem][location=top,text=Problem,% between=\blank,before=\blank,after=\page] I want to say \totalnumberofproblems, in the beginning of the exam, like \totalnumberofpages. How do I do that? Thanks, Michael ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] background music in ConTeXt
You may know how to open a media using a hyper-reference, just cut the reference to the "openaction" option. I once saw a document shows how to open a media in ConTeXt but I never use it, so I don't really know I to do it. Maybe you can give an example to show me how to do this staff so that I can have a test. On 12/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Zhichu Chen wrote: > > \setupinteraction > > [openaction= . . . ] > > > > On 12/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Thanks. > > Can you just give a simple example ? > > > Regards, > > xiaojf > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] background music in ConTeXt
Zhichu Chen wrote: > \setupinteraction > [openaction= . . . ] > > On 12/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks. Can you just give a simple example ? Regards, xiaojf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] selecting big bodyfont results in wrong size
Hi all, Some strange thing with fontsize is happening. In my typescript file is: \starttypescript[Chaparral] \definetypeface [Chaparral][rm][serif][chaparral][dtp][encoding=uc] ... because I want to use the 'dtp sizes' (and I'm using XeTex). For a bodyfont of 12pt is defined in type-siz.tex: \definebodyfontenvironment [12pt] [\s!text=12pt,\s!script=9pt,\s!scriptscript=7pt, \c!x=10pt,\c!xx=8pt,\c!big=14pt,\c!small=10pt] So one would expect that switching to a big bodyfont will result in a fontsize of 14pt. But when I typeset the next file: \usetypescriptfile[type-adobe] \usetypescript[Chaparral] \setupbodyfont[Chaparral,12pt] \starttext Normal size is correct: \the\bodyfontsize. \switchtobodyfont[big] Big size should be 14pt, but is: \the\bodyfontsize. \stoptext I see that the big bodyfontsize is 14.4pt. (I attached the resulting pdf.) How do I fix this? Thanks and with regards, Alex Lubberts minimal.pdf Description: Adobe PDF document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] vertical space
Hi Steffen, Steffen Wolfrum wrote: > > Is there an equivalent for > > \definewhitespacemethod [bigger] {\ctxparskip10pt plus3pt minus3pt} > > that must be used in register? Probably yes, because registers basically treat every line as a paragraph. I am not the most knowledgeable person about registers, so I am re-forwarding this to the mailing list. For the benefit of the list, a short summary of the question is this: \setupinterlinespace[stretch=1.5] \definewhitespacemethod [bigger] {\ctxparskip10pt plus3pt minus3pt} \setupwhitespace[bigger] creates lots of flexibility in the interline and interparagraph space, so you can do something like this: \definestartstop[kleiner] [before={\startcolumns[n=2] \setupinterlinespace[stretch=1.5] \setupwhitespace [bigger]}, after={\stopcolumns }] and that works like a charm in equalizing out the bottom lines of the columns, for the running text. But with such a definition somewhere, this still does not work: \starttext \startkleiner \placeregister[index] \stopkleiner \stoptext Does anybody know and approach to do that? Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Question \completepublications
Hi Wim, Wim Neimeijer wrote: > > However when I move the \complepublications to the \start..\stopappendices > like this > > \usemodule[bib] > \startproject cart > \mainlanguage[nl] > > \input cartbiblio % contains \start..\stoppublication > > \startbodymatter > \component cart8 % contains main text > \stopbodymatter > \startappendices > *\completepublications % this does not work* try: \completepublications[criterium=all] Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Question \completepublications
Hello All, My project looks like this and all looks well. \usemodule[bib] \startproject cart \mainlanguage[nl] \input cartbiblio % contains \start..\stoppublication \startbodymatter \component cart8 % contains main text *\completepublications % this works* \stopbodymatter \startappendices \completeindex \stopappendices \stopproject However when I move the \complepublications to the \start..\stopappendices like this \usemodule[bib] \startproject cart \mainlanguage[nl] \input cartbiblio % contains \start..\stoppublication \startbodymatter \component cart8 % contains main text \stopbodymatter \startappendices *\completepublications % this does not work* \completeindex \stopappendices \stopproject * *all the references made by \cite are empty ? The log of this run indicates that cart.bbl is not found but in the working example it does not need a cart.bbl file ? Kind regards Wim ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] background music in ConTeXt
\setupinteraction [openaction= . . . ] On 12/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > How to set background music in a presentation ? I mean, I want the audio to > start automatically as a background when the pdf file is opened, not as > a hyper link. > > Thanks a lot. > > xiaojf > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context