[NTG-context] Changing default rule thickness (globally)
Hi! I would like to change the rule thickness that is used by default in ConTeXt. However, from the command documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change this for \basegrid[rulethickness=...] \setupbar[rulethickness=...] \setupchemical[rulethickness=...] \setupeffect[rulethickness=...] \setupfillinlines[rulethickness=...] \setupfillinrules[rulethickness=...] \setupframed[rulethickness=...] \setuplinefillers[rulethickness=...] \setupmarginrules[rulethickness=...] \setupmixedcolumns[rulethickness=...] \setupnote[rulethickness=...] \setupparagraphs[rulethickness=...] \setupsidebar[rulethickness=...] \setuptables[rulethickness=...] \setuptabulation[rulethickness=...] \setuptextbackground[rulethickness=...] \setuptextrules[rulethickness=...] \setupthinrules[rulethickness=...] \setupxtable[rulethickness=...] (And for \setupbackgrounds for [top header text footer bottom].) I’m sure there is a more elegant way to do this. But how? Cheers Benjamin ___ 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] Bug/change in fillinrules
On 3/31/2016 8:19 AM, Mari Voipio wrote: Darn, a bug. Thank you, Wolfgang. I figured out a workaround that's ok for now, but of course I hope that in the long run this gets fixed. Mari On Tue, Mar 29, 2016 at 7:09 PM, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Mari Voipio 29. März 2016 um 14:13 Hello, after I updated to about newest ConTeXt, I found out that \fillinrules doesn't work any more as expected, i.e. instead of filling the rest of the first line, the rule now starts on the second line, below the text that precedes \fillinrules. This doesn't match the behaviour indicated in http://wiki.contextgarden.net/Command/fillinrules . Is this a bug or should I change something in my code? Now I have \setupfillinrules [n=1, %one rule per command \fillinrules width=broad] %leaves some space between the text and the line \starttext \fillinrules{Refractometer serial no:} \fillinrules{Customer:} \fillinrules{Address:} \fillinrules{Fax:} \fillinrules{Email:} \fillinrules{Sample description:} \fillinrules{Solvent (water/other):} \fillinrules{Laboratory method:} \fillinrules{Date:} \fillinrules{Data collected by:} \stoptext It’s a \thinrules bug which inserts a line break when you have only a single line. \starttext Left \thinrules[n=1] Right \blank Left \thinrules[n=2] Right \blank Left \thinrules[n=3] Right \stoptext fixed in next beta -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug/change in fillinrules
Darn, a bug. Thank you, Wolfgang. I figured out a workaround that's ok for now, but of course I hope that in the long run this gets fixed. Mari On Tue, Mar 29, 2016 at 7:09 PM, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: > Mari Voipio > 29. März 2016 um 14:13 > Hello, > > after I updated to about newest ConTeXt, I found out that \fillinrules > doesn't work any more as expected, i.e. instead of filling the rest of > the first line, the rule now starts on the second line, below the text > that precedes \fillinrules. This doesn't match the behaviour indicated > in http://wiki.contextgarden.net/Command/fillinrules . Is this a bug > or should I change something in my code? Now I have > > > \setupfillinrules > [n=1, %one rule per command \fillinrules > width=broad] %leaves some space between the text and the line > > \starttext > > \fillinrules{Refractometer serial no:} > \fillinrules{Customer:} > \fillinrules{Address:} > \fillinrules{Fax:} > \fillinrules{Email:} > \fillinrules{Sample description:} > \fillinrules{Solvent (water/other):} > \fillinrules{Laboratory method:} > \fillinrules{Date:} > \fillinrules{Data collected by:} > > \stoptext > > It’s a \thinrules bug which inserts a line break when you have only a single > line. > > \starttext > > Left \thinrules[n=1] Right > > \blank > > Left \thinrules[n=2] Right > > \blank > > Left \thinrules[n=3] Right > > \stoptext > > Wolfgang > > ___ > 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 > ___ ___ 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] Bug/change in fillinrules
Mari Voipio <mailto:mari.voi...@iki.fi> 29. März 2016 um 14:13 Hello, after I updated to about newest ConTeXt, I found out that \fillinrules doesn't work any more as expected, i.e. instead of filling the rest of the first line, the rule now starts on the second line, below the text that precedes \fillinrules. This doesn't match the behaviour indicated in http://wiki.contextgarden.net/Command/fillinrules . Is this a bug or should I change something in my code? Now I have \setupfillinrules [n=1, %one rule per command \fillinrules width=broad] %leaves some space between the text and the line \starttext \fillinrules{Refractometer serial no:} \fillinrules{Customer:} \fillinrules{Address:} \fillinrules{Fax:} \fillinrules{Email:} \fillinrules{Sample description:} \fillinrules{Solvent (water/other):} \fillinrules{Laboratory method:} \fillinrules{Date:} \fillinrules{Data collected by:} \stoptext It’s a \thinrules bug which inserts a line break when you have only a single line. \starttext Left \thinrules[n=1] Right \blank Left \thinrules[n=2] Right \blank Left \thinrules[n=3] Right \stoptext Wolfgang ___ 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 ___
[NTG-context] Bug/change in fillinrules
Hello, after I updated to about newest ConTeXt, I found out that \fillinrules doesn't work any more as expected, i.e. instead of filling the rest of the first line, the rule now starts on the second line, below the text that precedes \fillinrules. This doesn't match the behaviour indicated in http://wiki.contextgarden.net/Command/fillinrules . Is this a bug or should I change something in my code? Now I have \setupfillinrules [n=1, %one rule per command \fillinrules width=broad] %leaves some space between the text and the line \starttext \fillinrules{Refractometer serial no:} \fillinrules{Customer:} \fillinrules{Address:} \fillinrules{Fax:} \fillinrules{Email:} \fillinrules{Sample description:} \fillinrules{Solvent (water/other):} \fillinrules{Laboratory method:} \fillinrules{Date:} \fillinrules{Data collected by:} \stoptext The resulting pdf is attached. Thank you for your help, Mari fillinrules.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 ___
Re: [NTG-context] setups
On 7/14/2014 8:49 PM, Herbert Voss wrote: Do I get the up-to-date setups of commands when running for example: \starttext \usemodule[set-11] \loadsetups \setup{setupfillinrules} \stoptext hopefully ... if you notice missing key/values just let us oknow an dwe will adapt the cont-en.xml file Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] macros names
There are \fillinline \fillinrules but \setupfillinlines \setupfillinrules Is it intended?? Herbert ___ 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] macros names
On 7/16/2014 5:22 PM, Herbert Voss wrote: There are \fillinline \fillinrules but \setupfillinlines \setupfillinrules Is it intended?? it's more historically (very old commands) ; we can add an alias if needed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] setups
Do I get the up-to-date setups of commands when running for example: \starttext \usemodule[set-11] \loadsetups \setup{setupfillinrules} \stoptext Herbert ___ 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 ___
[NTG-context] Macros for paper feedback form
I am trying to make a set of macros for a paper feedback form. The first part is: \setuplayout [backspace=20mm,footer=5mm,header=5mm,height=middle,margin=1cm,topspace=0mm,width=middle] \setupindenting[yes,none] \enableregime[utf-8] \mainlanguage[nl] \setupbodyfont[roman, 12pt] \setuppagenumbering[state=stop] \setupoutput[pdf] \def\CheckBoxes[#1,#2]% {\blank #1\par \processcommalist[#2]\doCheckBoxes \blank \crlf } \def\doCheckBoxes#1% {\hskip2.5em[\hskip1em] #1\par } \def\GetComment[#1]{ \blank #1\par \thinrules[n=4] \blank \crlf } \def\Title[#1]{ \par \startalignment[center] {\switchtobodyfont[18pt]\bf\em#1} \stopalignment \blank } But I would like to have also a macro for the following: {\bf Contact gegevens:} \setupfillinrules[width=3cm] \fillinrules{Bedrijf:} \fillinrules{Naam:} \fillinrules{Adres:} \fillinrules{PC Woonplaats:} \fillinrules{E-mail} \fillinrules{Telefoon:} \fillinrules{GSM:} \blank \crlf The biggest problem is that the width is dependent on the longest text that is given here. In this case PC Woonplaats. Is there a smart way to calculate the right value? Another problem is that the distance between lines with fillinrules is about twice as big as with normal lines. How can I get the distance the same as with normal lines? -- Cecil Westerhof M cldwester...@gmail.com O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/ ___ 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] ConTeXt-ifying Kile
# \processaction # \processallactionsinset \processblocks[names][names] # \processcommacommand # \processcommalist # \processfirstactioninset \processpage[names][yes|no] # \processXMLbuffer # \processXMLelement # \processXMLfile # \processXMLfilegrouped # \product \program[name] # \project # \protect \publication[reference] \quotation{text} \quote{text} \ran{text} # \readfile \ref[t|p|r|s|e][reference] \reference[reference]{text} \referral[options] \referraldate \register[text]{register+register+register} \reservefloat[options][text][references]{text} \reset[names] # \resetlayer \resetmarking[name] \rightaligned{text} \Romannumerals{text} \romannumerals{text} \rotate[settings]{text} # \saveXMLasdata # \saveXMLdata # \saveXMLelement # \sbox \scale[options]{text} # \scratchbox # \scratchcounter # \scratchdimen # \scratchskip \screen \section[references]{text} \seeregister[text]{text}{text+text+text} \selectblocks[names][names][critererium] \selectpaper[options] \selectversion # \setcollector # \setevalue # \setevariables # \setflag # \setfontstrut # \setgvalue # \setgvariables # \setlayer # \setlayerframed # \setlocalhsize # \setstrut \settextvariable[name]{text} \setupalign[options] \setuparranging[options] # \setupattachments \setupbackground[options] \setupbackgrounds[position][position][state][settings] \setupblackrules[options] \setupblank[options] \setupblock[names][options] \setupbodyfont[options] \setupbodyfontenvironment[settings][settings] \setupbottom[settings][settings] \setupbottomtexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setupbuffer[name][options] \setupbuttons[state][settings] \setupcapitals[title=yes|no][sc=yes|no] \setupcaption[name][settings] \setupcaptions[options] \setupclipping[options] \setupcolor[name] \setupcolors[options] \setupcolumns[options] \setupcombinations[options] \setupcombinedlist[name][levels and options] \setupcomment[options] \setupdescriptions[names][options] # \setupencoding \setupenumerations[names][settings] \setupexternalfigures[options] \setupfield[name][label|horizontal|vertical|frame][settings] \setupfields[names][reset|label|horizontal|vertical|frame][options][settings][settings] \setupfillinlines[options] \setupfillinrules[options] \setupfloat[name][options] \setupfloats[options] \setupfloatsplitting[options] # \setupFLOWcharts # \setupFLOWlines # \setupFLOWshapes # \setupfontsynonym \setupfooter[text|margin|edge][options] \setupfootertexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setupfootnotedefinition[settings] \setupfootnotes[options] \setupforms[method=HTML|FDF] \setupformulae[options] \setupframed[options] \setupframedtexts[options] \setuphead[sections][options] \setupheader[text|margin|edge][options] \setupheadertexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setupheadnumber[section][number|+number|-number] \setupheads[options] \setupheadtext[language code][name=text] \setuphyphenmark[sign=-|--|---|( )|=|/] \setupindentations[names][options] \setupindenting[none|small|medium|big|next|first|normal|odd|even|dimension] \setupinmargin[left|right|number][options] \setupinteraction[options] \setupinteractionbar[options] \setupinteractionscreen[options] \setupinterlinespace[reset|small|medium|auto|big|on|off][options] \setupitemgroup[name][number|each][options][options] \setupitems[options] \setuplabeltext[language code][name=text] \setuplanguage[language code][settings] # \setuplayer \setuplayout[options] \setuplegend[options] \setuplinenumbering[options] \setuplines[options] \setuplinewidth[dimension] \setuplist[names][options] \setupmakeup[name][options] \setupmarginblocks[options] \setupmarginrules[level=number|rulethickness=dimension] \setupmarking[name][options] \setupnarrower[options] \setupnumbering[options] \setupoppositeplacing[options] \setupoutput[names] \setuppagenumber[number][state=start|stop|keep] \setuppagenumbering[options] \setuppagetransitions[options] \setuppalet[name] \setuppaper[options] \setuppapersize[typesetting papersize][printing papersize] \setupparagraphnumbering[options] \setupparagraphs[name][number|each][options] \setuppositioning[options] \setupprofiles[options] \setupprograms[directory=text] \setuppublications[options] \setupquote[options] \setupreferencelist[names][options] \setupreferencing[options] \setupregister[singular][name][options] \setuprotate[options] \setuprule[name][options] # \setups \setupscreens[options] \setupsection[name][name][options] \setupsectionblock[name][options] \setupsorting[name][options] \setupspacing[broad|packed] \setupstrut[yes|no|cap|text] \setupsubpagenumber[options] \setupsymbolset[name] \setupsynchronization[state=start|stop] \setupsynchronizationbar[options] \setupsynonyms[name][options] \setupsystem[options] \setuptab[options] # \setupTABLE \setuptables[options] \setuptabulate[name][options] \setuptext[text|margin|edge][options
[NTG-context] background of a table and fillinlines
Hi, today I have real questions :-) I have a picture for the background which is defined in this way: \definelayer[BackLayer][state=start] \setupbackgrounds[text][background=BackLayer] \setlayer[BackLayer][x=9cm,y=9cm]{\externalfigure[back]} and a table, which is defined like this: \bTABLE \setupTABLE[column][1][width=2.8cm,align={middle,lohi}] \setupTABLE[column][2][width=2cm,frame=on,rightframe=off,align ={middle,lohi}] \setupTABLE[column][3][width=10.3cm,align ={right,lohi},leftframe=off] \setupTABLE[column][4][width=1.9cm,align={middle,lohi}] \bTR \bTD {\bf Tag}\eTD \bTD[nc=2] {\bf \midaligned{Ausgefuhrte Arbeiten, Unterricht usw.}} \eTD \bTD {\bf Stundenanzahl} \eTD \eTR \bTR \bTD {\bf Montag} \eTD \bTD \eTD \bTD \startitemize \tx \item \item \item \item \stopitemize \eTD \bTD 7,7 \eTD \eTR \bTR \bTD {\bf Dienstag} \eTD \bTD \eTD \bTD \startitemize \tx \item \item \item \item \stopitemize \eTD \bTD 7,7 \eTD \eTR \bTR \bTD {\bf Mittwoch} \eTD \bTD \eTD \bTD \startitemize \tx \item \item \item \item \stopitemize \eTD \bTD 7,7 \eTD \eTR \eTABLE This table varied in its height. One week there are more items and one week the are less items. Now to my problem. I want to have this graphic in the back of the table. Always in the middle of the table. The width of the table is always the same. I can place the background but I shouldn't have a absolute position. The position should vary concerning to the height of the table. Is this possible? I've found nothing in the PDF's to this problem. Another thing are fillinrules: can I define the look of the line? Now it is always a line, but I want a thinner line or points. Like I can define in \setupunderbar but in \setupfillinrules I did't find this option. Hope somebody can help... Big thanks Greetings Jessica ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context