Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Jan U. Hasecke
er > [before=\blank\blackrule\startnarrower\BufferStyle, > after=\stopnarrower\blackrule\blank] > > %% alternatively define custom buffers > \definebuffer > [foobar] > > \setupblackrules > [width=1cm, >height=1pt, >color=gray] > > \defi

Re: [NTG-context] Styling of included buffers or files

2020-05-17 Thread Marco Patzer
er has before and after keys which can be used. Example: \setupbuffer [before=\blank\blackrule\startnarrower\BufferStyle, after=\stopnarrower\blackrule\blank] %% alternatively define custom buffers \definebuffer [foobar] \setupblackrules [width=1cm, height=1pt, color=gray] \definehighli

Re: [NTG-context] hairline & rules

2018-06-16 Thread Marco Patzer
\hairline > or > \hairline[color=red] \setupblackrules [height=1pt, color=blue, width=\textwidth] \starttext \blackrule \blackrule [color=red, height=1ex, width=5cm] \stoptext http://w

Re: [NTG-context] \defineparagraphs

2016-07-09 Thread Wolfgang Schuster
es the vertical position of the content (by putting it into an \hbox and changing the height/depth values). \setupblackrules[width=2cm,height=2cm] \setuplayout[grid=yes]\showgrid \starttext XXX {\blackrule} XXX \tbox{\blackrule} XXX \bbox{\blackrule} XXX \stoptext Wo

Re: [NTG-context] MkIV problem+fix with \framed[location=depth / height / hanging]

2013-05-15 Thread Hans Hagen
On 5/14/2013 11:00 PM, Sietse Brouwer wrote: \setupcolors[state=start] this is no longer needed in mkiv where colors are enabled by default \setupblackrules[depth=\strutdepth,height=\strutheight,width=1mm,color=red] > ... .. added to test

[NTG-context] MkIV problem+fix with \framed[location=depth / height / hanging]

2013-05-14 Thread Sietse Brouwer
etupcolors[state=start] \setupblackrules[depth=\strutdepth,height=\strutheight,width=1mm,color=red] \starttext \ruledhbox {A \framed[width=2cm,align=middle,location=] {location\\equals\\(nothing)}% \blackrule \framed[width=2cm,align=middle,location=depth] {location\\equ

[NTG-context] List of bugs and quirks

2013-03-27 Thread Marco Patzer
ly to all floats using %% \setupcaptions. For the prefix value it works. \setupblackrules [width=4cm, height=1cm] %% prefix is applied, way is not \setupcaptions [prefix=no, way=bytext] %% prefix and way are applied %% \setupcaption %% [figure, table] %% [prefix=no, %%way=bytext] \

[NTG-context] way setting does not work in \setupcaptions

2012-10-20 Thread Marco Patzer
Hi, the `way` setting cannot be applied globally to all floats using `\setupcaptions`. For the `prefix` value it works. Can this be fixed? \setupblackrules [width=4cm, height=1cm] %% prefix is applied, way is not %% \setupcaptions %% [prefix=no, %% way=bytext] %% prefix and way is applied

[NTG-context] Automatic margin floats using the criterium parameter

2012-09-05 Thread Marco Patzer
of how it should look like. I could come up with a hackish solution on my own but maybe someone has an idea how to achieve this with built-in support. Marco floatmargin.pdf Description: Adobe PDF document \setupexternalfigures [height=2cm] \setupblackrules [height=2cm] \def\graph

Re: [NTG-context] vertical distance in combinations

2012-08-13 Thread Peter Rolf
>> \setupcombinations[distance=10mm,inbetween=\vskip10mm] >> %\setupcombinations[distance=10mm,inbetween={\blank[10mm]}] >> >> \setupblackrules[width=40mm,height=40mm] >> \startcombination[2*2] >> {\blackrule}{} >> {\blackrule}{} >> {\blackrule}{}

Re: [NTG-context] vertical distance in combinations

2012-08-13 Thread Wolfgang Schuster
ce=10mm,inbetween={\blank[10mm]}] > > \setupblackrules[width=40mm,height=40mm] > \startcombination[2*2] > {\blackrule}{} > {\blackrule}{} > {\blackrule}{} > {\blackrule}{} > \stopcombination > \stoptext The inbetween key controls the space between the content and capti

[NTG-context] vertical distance in combinations

2012-08-13 Thread Peter Rolf
Hi, the following code does not work in mkiv (also tested with latest beta). \setuppagenumber[state=stop] \starttext \setupcombinations[distance=10mm,inbetween=\vskip10mm] %\setupcombinations[distance=10mm,inbetween={\blank[10mm]}] \setupblackrules[width=40mm,height=40mm] \startcombination[2

Re: [NTG-context] \hrulefill in ConTeXt?

2011-07-30 Thread Paul Menzel
n the Wiki using both search options [1] the results indicate that it should just work [2]. Also there seems to be a command named `setupblackrules` [3]. Thanks, Paul [1] http://wiki.contextgarden.net/Main_Page (left side) [2] http://archive.contextgarden.net/message/20030919.063916.160d34bb.

Re: [NTG-context] difference between a and b alternatives in \blackrule

2010-04-11 Thread Wolfgang Schuster
Am 12.04.10 00:07, schrieb Vyatcheslav Yatskovsky: Hello, What is the difference between a and b alternatives in \blackrule? http://wiki.contextgarden.net/Reference/en/setupblackrules#Description Can you see it? \setupblackrules[width=2cm] \starttext text \blackrules[alternative=a] tex\par

[NTG-context] difference between a and b alternatives in \blackrule

2010-04-11 Thread Vyatcheslav Yatskovsky
Hello, What is the difference between a and b alternatives in \blackrule? http://wiki.contextgarden.net/Reference/en/setupblackrules#Description Regards, Vyatcheslav ___ If your question is of interest to others as

Re: [NTG-context] coloring rules

2010-01-23 Thread Hans van der Meer
\stopbuffer Despite its name, \blackrules can be of any color. The default options are \setupblackrules [\c!n=3, \c!width=1em, \c!height=1ex, \c!depth=\!!zeropoint, \c!alternative=\c!a, \c!distance=.25ex, \c!color=] Aditya _

Re: [NTG-context] coloring rules

2010-01-21 Thread Aditya Mahajan
ng to the \blackrules[n=6]? %D These \blackrules[alternativevariant=b,n=10,distance=.2em,width=4cm] are quite clear. %D \stopbuffer Despite its name, \blackrules can be of any color. The default options are \setupblackrules [\c!n=3, \c!width=1em, \c!height=1ex, \c!depth=\!!zeropoin

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Å uklje
\setcollector # \setevalue # \setevariables # \setflag # \setfontstrut # \setgvalue # \setgvariables # \setlayer # \setlayerframed # \setlocalhsize # \setstrut \settextvariable[name]{text} \setupalign[options] \setuparranging[options] # \setupattachments \setupbackground[options] \setupbackgrounds[

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-12 Thread Mojca Miklavec
talking about?, My most optimistic version: [all] of the commands defined in ConTeXt (see also the comments above), together with some additional checking if \start-s have their corresponding \stop-s and if parameters in the brackets are applicable for the command they belong too. \adaptla