[NTG-context] Strange behaviour with spacing in itemization using "columns" vs "horizontal".
Hi folks, I noticed a difference in how spacing is set after an itemization. I have the following example: - \starttext \startitemize[packed, joinedup, columns, two] \startitem top left item \stopitem \startitem bottom left item \stopitem \startitem top right item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space? \startitemize[packed, joinedup, horizontal, two] \startitem top left item \stopitem \startitem top right item \stopitem \startitem bottom left item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space? \stoptext - Both itemizations are the same except item order and using "columns" in the first one and "horizontal" in the second. Yet the spacing after the first itemization seems not right. Or do I oversee something? Greetings, Sebastian ___ 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] adding fill-in fields to an existing PDF
Dear list, I have to add some fill-in fields (mainly digital signatures) to existing PDF documents which contain other fill-in fields. I found a PDF sample at http://www.thewebjockeys.com/TheWebJockeys/Fillable_PDF_Sample_from_TheWebJockeys_vC5.pdf. If I try to impose the document, I loose all fields in the resulting PDF document. \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setupexternalfigure[interaction=all] \setupinteraction[state=start] \starttext \insertpages [Fillable_PDF_Sample_from_TheWebJockeys_vC5.pdf] [width=0pt] \stoptext How could I enable that the resulting PDF keeps all fields from the original document? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] two suggestions for \setuphead
On 03/27/2017 10:15 PM, Hans Hagen wrote: > On 3/27/2017 9:49 PM, Pablo Rodriguez wrote: >> [...] >> One of the results of no value for width in margin data is a tricky >> approach to its alignment. >> >> But since I seem to be the only one interested in aligning margin data, >> I guess this is perfectly fine. > > Margindata is a general thing, it can be any margin or edge when you > define an instance so you don't know what width is meant. Of course you > can have a parent with some width. Also, margindata can be stacked next > to another one which again can mean a different width. Having no width > set is better than having the wrong one set. I understand now why width in margin data shouldn’t be set to a default. Many thanks for the reply, Pablo -- http://www.ousia.tk ___ 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] Using MTPro2 math Fonts with ConTeXt
Thanks Aditya. I will try to work with this and see where it leads me. Will report with results as soon as I can. 2017-03-28 3:10 GMT-05:00 : > You are trying to follow the installation process of opentype/ttf fonts. > MTPro2 is a type1 font and to use them with luatex, you need to create a > virtual opentype font. See $TEMXF/tex/context/fonts/mkiv/mdpus-math.lfg > file for an example. > Andrés Conrado Montoya http://chiquitico.org ___ 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] Pretty printer
On 3/28/2017 10:33 AM, Procházka Lukáš Ing. wrote: Hello, I'd like to write my own pretty-printer (it should just highlight words/members of a set-of-keywords with a color), preferably as a Lua handler. Following wiki: http://wiki.contextgarden.net/Verbatim_text I searched for verb*.* or pret*.* in the Ctx distribution (on my local inst dir). However, I found only some MkII related files, whilst I'm interested in MkIV pretty printers ('pret-lua.*' for example). Where to find a pretty printer source/module (for inspiration)? buff-* - 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] Pretty printer
Hello, I'd like to write my own pretty-printer (it should just highlight words/members of a set-of-keywords with a color), preferably as a Lua handler. Following wiki: http://wiki.contextgarden.net/Verbatim_text I searched for verb*.* or pret*.* in the Ctx distribution (on my local inst dir). However, I found only some MkII related files, whilst I'm interested in MkIV pretty printers ('pret-lua.*' for example). Where to find a pretty printer source/module (for inspiration)? Best regards, Lukas -- 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 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038 ___ 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] Line numbering broken somehow?
Hello, in the following example line numbering with \typefile works well except the last page - here it doesn't follow the style assigned. What's wrong? Best regards, Lukas \starttext Some text here \page \start \setupinterlinespace[1.8ex] \definefontsize[z] \definebodyfontenvironment[default][z=.75] \setuplinenumbering[location=inmargin,style={\tfz\tt},color=darkgreen,] \setuptyping[TEX][style=\tfz,numbering=line,] \typefile[TEX]{t3.mkiv} \stop \if+- Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text \fi \stoptext -- 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 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038 t3.mkiv Description: Binary data t3.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___