[vLine]
\setlayer [vLine]
[x=3.385cm]{\blackrule[color=red,width=0.2pt,height=\textheight]}
\setupbackgrounds [text]
[background=vLine]
\starttext
\startDesc{one}
Description of item one. Description of item one.%
Description of item
. Here I provide a minimal example that shows the
problem:
\setupbackground[
width=\textwidth,
frame=on,
framecolor=black,
rulethickness=1pt,
background=color,
backgroundcolor=white,
corner=0,
offset=12pt
gt;>
>> Which is the right way to do it?
>
> \startxmlsetups xml:copy:code
> \xmltobufferverbose{#1}{.}{whereever}
> \comment[location=inmargin,color=yellow,buffer=whereever]{}
> \stopxmlsetups
Many thanks for your reply, Hans.
I’m using this for a class.
=inmargin, color=yellow]
%~ \xmlpure{#1}
%~ \stopcomment
\comment[location=inmargin, color=yellow]{\xmlpure{#1}}
\stopxmlsetups
\setupinteraction[state=start]
\starttext
\xmlprocessbuffer{main}{demo}{}
\startcomment
1
}
{xml:copy:code}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:copy:code
%~ \startcomment[location=inmargin, color=yellow]
%~ \xmlpure{#1
s:
>
> \placeinitial \starteffect[hidden]K\stopeffect\input knuth
> \setupinitial[color=transparentblue]
>
> \placeinitial K\input knuth
> \stoptext
>
> The sample cont
; english/english
> > > >
> > > > system > 'cont-new.mkiv' loaded
> > > > open source > 2 > 2 >
> > > > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > > > close source> 2 > 2
finecolor[transparentblue][t=0, a=1]
\setupwhitespace[medium]
\starttext
\placeinitial
Knuth writes:
\placeinitial \starteffect[hidden]K\stopeffect\input knuth
\setupinitial[color=transparentblue]
\placeinitial K\input knuth
\stoptext
The sample contains two methods.
Jus
t; language 'en' is active
open source > 2 > 3 >
/home/gerion/sourcecode/grisu/test-document/test-document.tex
colors > 'rgb' color space is supported
colors > 'cmyk' color space is supported
resolvers > modules > 'tikz' is not found
tex error
: 2017.6.11 int:
> > > english/english
> > >
> > > system > 'cont-new.mkiv' loaded
> > > open source > 2 > 2 >
> > > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > > close source> 2 > 2 >
; close source> 2 > 2 >
> > /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> > system > files > jobname 'test-document', input './test-document',
> > result 'test-document'
> > fonts > latin modern fonts are not preloaded
&g
x/context/base/mkiv/cont-new.mkiv
> close source> 2 > 2 >
> /usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> system > files > jobname 'test-document', input './test-document',
> result 'test-document'
> fonts > latin moder
> latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 >
/home/gerion/sourcecode/grisu/test-document/test-document.tex
colors > 'rgb' color space is supported
colors > 'cmyk' color space is supported
re
setups xml:contacts:contact
\setlayer[module][][]{\externalfigure[\xmltext{#1}{/courselevel}][factor=550]}
\startalignment [middle]
\color[red]{{\tfd \xmltext{#1}{/initials}} {\tfd
\xmltext{#1}{/formalname}}\par
\blank[10mm]
{\ss \xmltext{#1}{/city}, \x
are rather special and have some hard coded properties
> (like always scriptscript in the degree)
>
> -- \over (and friends) that are used in \frac (which by the way can be
> configured in many ways) has the danger of getting the wrong style as side
> effect of parsing (mat
rsing (math list construction) and processing
-- in context we want to support color etc for noth in a consistent way
as well as style control (important in educational math)
Normally it works out ok with the 'normal' setting but there is some
catch here. The size of the radical symb
rrow_shape =
>> math_stacker_arrow_shape rotated 180
>> enddef ;
>> \stopMPextensions
>>
>> \startuniqueMPgraphic{math:stacker:\number"2190}
>> math_stacker_draw(math_stacker_leftarrow_shape) ;
>> \stopuniqueMPgraphic
>>
>> \
% so far
\setupmathstackers
[both] % vfenced]
[color=darkred,
alternative=mp]
\setupmathstackers
[top]
[color=darkred,
alternative=mp]
\setupmathstackers
[bottom]
[color=darkred,
alternative=mp]
\starttext
$\overrightarrow {i}$
_draw(math_stacker_leftarrow_shape) ;
\stopuniqueMPgraphic
\startuniqueMPgraphic{math:stacker:\number"2192}
math_stacker_draw(math_stacker_rightarrow_shape) ;
\stopuniqueMPgraphic
% so far
\setupmathstackers
[both] % vfenced]
[color=darkred,
alternative=mp]
\setupmathstacke
Dear list,
I have the following code:
\setupinteraction[state=start, color=]
\enabledirectives[references.border]
\starttext
\startTEXpage[offset=1em]
\useURL[url1][http://some-url.com]\from[url1]
\stopTEXpage
\stoptext
The annotation code in the PDF file reads
#
\starttext
\startitemize[n][stopper={.},style=bold,color=darkred]
\item Soit \math{f} la fonction définie pour tout réel \m{x} différent de
\m{-1} par \math{f(x)=\dfrac{x+2}{x+1}} et \math{\cal C} sa courbe
représentative dans un repère du plan
ut still one thing
> is missing... That's what my code looks like now:
>
> %D I copied the head settings to "title", so that it has the same style as
> the rest
> %D "title" will not be counted for TOC:
>
> \setuphead[title][style=\ssbfc, colo
looks like now:
%D I copied the head settings to "title", so that it has the same style as
the rest
%D "title" will not be counted for TOC:
\setuphead[title][style=\ssbfc, color=foreground:contrast,
alternative=middle]
\starttext
\setvariables
...
*\startstandardmakeup*
edited the component a little in display style, yet I don't know
> why I can't get a simple table of content on the second slide.
>
> In the component I found the following code:
>
> \definehead
> [slide]
> [subject]
> [
> style=\ssbfc,
> co
on the second slide.
In the component I found the following code:
\definehead
[slide]
[subject]
[
style=\ssbfc,
color=foreground:contrast,
alternative=middle,
page=yes
]
So I understand that the head called slide comes from the head subject,
which by default
correct, why ?
>
> ##
> \starttext
>
> \startitemize[n][stopper={.},style=bold,color=darkred]
>
>\item Soit \math{f} la fonction définie pour tout réel \m{x} différent
> de \m{-1} par \math{f(x)=\dfrac{x+2}{x+1}} et \math{\cal C} sa courbe
>
Hello,
The alignment of the third level is incorrect, why ?
##
\starttext
\startitemize[n][stopper={.},style=bold,color=darkred]
\item Soit \math{f} la fonction définie pour tout réel \m{x} différent
de \m{-1} par \math{f(x)=\dfrac{x+2
or create a new command to wrap it, as
\defineprocessor[Footnote][style=bold,color=blue]
\define[1]\fnindex{\index[Footnote->]{#1}}
of course, if you use the optional indexunder component already (
\index[as if it were spelled this way]{displayed as} ) then you will
have to create a more c
following can help. It has separate user page numbers for the
> main matter and back matter, with a suffixed ‘n’ for the items indexed from
> backmatter pages, but no suffix on the backmatter page numbers. The index
> entries for figures are rubricated and have a leading ‘f’.
>
> \
rt] [style=slanted,right=n]
\defineprocessor [Figure] [style=\tf,color=red,left=f]
\defineconversionset [backpart:pagenumber][][backpart->o]
\setupuserpagenumber[way=byblock]
\setuppagenumbering [location=none]
\setupheadertexts[{\convertedcounter[userpage][numberconvers
rc := fullsquare xyscaled (50mm, 50mm);
color col; col := (1.,.1,.1);
drawoptions(withcolor \MPcolor{tred}) ;
draw rc withpen pencircle scaled (2.5mm) ;
label(textext("\setupbodyfont[sans,35mm] \color[tred]{Test}"), (80mm,
50mm)) ;
\stopuseMPgraphic
\defineoverlay[T][\useMPgrap
in ConTeXt and use it
for both text and drawing? Like this:
\definecolor [tred] [r=1,g=0,b=0,t=.2,a=1]
\startuseMPgraphic{T}
newpath rc; rc := fullsquare xyscaled (50mm, 50mm);
color col; col := (1.,.1,.1);
drawoptions(withcolor \MPcolor{tred}) ;
draw rc withpen pencircle scaled (2.5mm)
Hello,
suppose having the following code:
\startuseMPgraphic{T}
newpath rc; rc := fullsquare xyscaled (50mm, 50mm);
color col; col := (1.,.1,.1);
draw rc withpen pencircle scaled (2.5mm) withcolor %col;
transparent(1, .4, col
Am 2017-04-09 um 16:53 schrieb Thomas A. Schmitz <thomas.schm...@uni-bonn.de>:
> On 04/09/2017 03:57 PM, Hans Hagen wrote:
>> \starttext
>>
>> \setuplinetable[n=2,lines=25]
>> \setuplinetable[c][1][width=6cm] %
>> ,background=color,backgroundcolor=red,colo
On 4/10/2017 4:25 PM, Thomas A. Schmitz wrote:
On 09.04.2017 15:57, Hans Hagen wrote:
\starttext
\setuplinetable[n=2,lines=25]
\setuplinetable[c][1][width=6cm] %
,background=color,backgroundcolor=red,color=white]
\setuplinetable[c][1][width=6cm] %
,background=color,backgroundcolor=red,color
On 09.04.2017 15:57, Hans Hagen wrote:
\starttext
\setuplinetable[n=2,lines=25]
\setuplinetable[c][1][width=6cm] %
,background=color,backgroundcolor=red,color=white]
\setuplinetable[c][1][width=6cm] %
,background=color,backgroundcolor=red,color=white]
\setuplinetable[1][all][background=color
On 04/09/2017 03:57 PM, Hans Hagen wrote:
\starttext
\setuplinetable[n=2,lines=25]
\setuplinetable[c][1][width=6cm] %
,background=color,backgroundcolor=red,color=white]
\setuplinetable[c][1][width=6cm] %
,background=color,backgroundcolor=red,color=white]
\setuplinetable[1][all][background=color
h
one (would xtables be better?)? Or low-level vboxes within hboxes etc.?
Or just \framed within \framed? What would you suggest for this sort of
material?
\starttext
\setuplinetable[n=2,lines=25]
\setuplinetable[c][1][width=6cm] %
,background=color,backgroundcolor=red,color=white]
\setuplinet
ge you need global setups.
begin example
\setuplinenumbering
[TEX]
[location=inmargin,
style=\tt\tfx,
color=darkgreen]
\setuptyping
[TEX]
[numbering=line]
Does 'numbering=line' here mean that the \setuptyping[TEX] will search for a
line-numbering style of
yle assigned by \setuplinenumbering (but
works OK on other pages)?
It’s a side effect of the way how line numbering works. To get the
correct style for the last page you need global setups.
begin example
\setuplinenumbering
[TEX]
[location=inmargin,
style=\tt\tfx,
color=darkgreen]
\setupt
size[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 dumm
And me again.
I’m trying to get some info box on my page that
- has a defined width
- sits in the margin but protrudes into the text area
- while the body text runs around it
Additionally the caption (title) should sit on (in front of) the background
color.
Here is what I tried:
\definefloat
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
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
]
\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
|1|2|3|4) is also ok (and would be directly
mapped to choosemathbig).
actually we will hook into a new feature of luatex for specifying the
size of delimiters (so no vbox hack) .. factors are multipliers of
bodyfontsize
\definemathfence [MEAN] [angle] [command=yes, color=blue, factor=2.5
mapped to choosemathbig).
actually we will hook into a new feature of luatex for specifying the
size of delimiters (so no vbox hack) .. factors are multipliers of
bodyfontsize
\definemathfence [MEAN] [angle] [command=yes, color=blue, factor=2.5]
\starttext
\startTEXpage \startformula
will hook into a new feature of luatex for specifying the
size of delimiters (so no vbox hack) .. factors are multipliers of
bodyfontsize
\definemathfence [MEAN] [angle] [command=yes, color=blue, factor=2.5]
\starttext
\startTEXpage \startformula
\MEAN[factor=1]{\sum_{i = 1}^n A_i x_i
illinfield]
> [n=1024,
> height=\strutht,
> depth=\strutdp,
> align=middle,
> color=red,
> fieldframecolor=blue,
> fieldbackgroundcolor=white,
> validate=]
>\setupinteraction[state=start]
>\starttext
>This is a \fil
my knowledge.
\usemodule[fields]
\definefieldcategory
[fillinfield]
[n=1024,
height=\strutht,
depth=\strutdp,
align=middle,
color=red,
fieldframecolor=blue,
fieldbackgroundcolor=white,
validate=]
\setupinteraction[state=start]
\star
{section}}:p.\pagenumber}
#NOTETEXT}
\stoptexdefinition
\LogNote{See http://www.thelatinlibrary.com/ter.eunuchus.html for
the original.}
and the note is in a section, I get:
Note> {\oldstylenumerals {1}\color
[red]{A·}\oldstylenumerals {8}:p.19} See
h
\left and \right, which can lead
to undesirable results. For example:
\definemathfence [MEAN] [angle] [command=yes, color=blue]
\starttext
\startTEXpage \startformula
\MEAN{ \sum_{i = 1}^n A_i x_i }
\hbox{ vs. }
\bigg\langle \sum_{i=1}^n A_i x_i \bigg\rangle
\stopformula \stopTEXpage
\st
}
> \bigg\langle \sum_{i=1}^n A_i x_i \bigg\rangle
> \stopformula \stopTEXpage
> \stoptext
>
> Currently, math fences always default to using \left and \right, which can
> lead to undesirable results. For example:
>
> \definemathfence [MEAN] [angle] [command=yes, color=blue]
\rangle
\stopformula \stopTEXpage
\stoptext
Currently, math fences always default to using \left and \right, which can
lead to undesirable results. For example:
\definemathfence [MEAN] [angle] [command=yes, color=blue]
\starttext
\startTEXpage \startformula
\MEAN{ \sum_{i = 1}^n A_i x_i
Dear list,
I have the following sample:
\setupinteraction[state=start, color=, style=, contrastcolor=]
\enabledirectives[references.border]
\startsetups[placelist:section]
\startalign[center]
\setupinterlinespace[line=2.8ex]
\placelist[section
, background=color, backgroundcolor= , height=3cm]{
\starttabulate[|p|lrw(2cm)|pr|]
\NC \ss Clinique médico chirurgicale El Abrar\NC
\externalfigure[logo.png][width=1cm, location=inline]\NC \ss Service de
cardiologie\NC \NR
\NC \ss\tfx Dr Yahyaoui .M.K \NC \NC \ss\tfx kaddourkardio
={\switchtobodyfont[7pt]},
background=color,
location=middle,
backgroundcolor=MyBlue,
framecolor=darkblue,
corner=round]
\definelines
[algorithm]
[space=on,
before={\startframed[algorithmframe]},
after=\stopframed]
\starttext
\startalgorithm
\startitemize[1,joinedup,nowhite]
\item
n
\unexpanded\def\url[#label]% move \hyphenatedurl to lua end (is already lua)
{\dontleavehmode
\begingroup
\useurlstyleandcolor\c!style\c!color
\hyphenatedurl{\clf_geturl{#label}}%
\endgroup}
___
If your question is
N,
>>alternative=top,
>>number=yes]
>>
>> In order to put the word « Exercice » in the frame you should define a
>> special command, for instance \MyTextCommand and the say text =
>> \MyTextCommand
>>
>> Best regrads: OK
>>
>&g
; Best regrads: OK
>
>> On 29 Jan 2017, at 09:07, Fabrice Couvreur <fabrice1.couvr...@gmail.com
>> <mailto:fabrice1.couvr...@gmail.com>> wrote:
>>
>> Hello,
>> I would like a title without the parentheses and the text "Exercice" in the
>> fram
ses and the text "Exercice" in the
>> frame with the number.
>> Thank you.
>> Fabrice
>>
>> \defineframed
>> [EXFRAME]
>> [frame=off,
>>offset=0pt,
>>location=low,
>>width=\struttotal,
>>background=color,
>&
ot;Exercice" in
> the frame with the number.
> Thank you.
> Fabrice
>
> \defineframed
> [EXFRAME]
> [frame=off,
>offset=0pt,
>location=low,
>width=\struttotal,
>background=color,
>backgroundcolor=darkred,
>foregroundco
like a title without the parentheses and the text "Exercice" in the
> frame with the number.
> Thank you.
> Fabrice
>
> \defineframed
> [EXFRAME]
> [frame=off,
>offset=0pt,
>location=low,
>width=\struttotal,
>background
Hello,
I would like a title without the parentheses and the text "Exercice" in the
frame with the number.
Thank you.
Fabrice
\defineframed
[EXFRAME]
[frame=off,
offset=0pt,
location=low,
width=\struttotal,
background=color,
backgroundcolor=darkred,
foregroundc
]
[background=color,backgroundcolor=yellow]
\startuseMPgraphic{CircleTest}
path p,q ;
p := fullcircle scaled 2cm ;
q := fullcircle scaled 1cm ;
fill p -- reverse q -- cycle withcolor blue;
\stopuseMPgraphic
\starttext
\useMPgraphic{CircleTest
On 2017-01-24 03:34, Hans Hagen wrote:
On 1/24/2017 4:04 AM, Rik wrote:
What I want is that the background of the page (yellow in this case)
should show through. That is what is done with fill / reverse / cycle,
as in:
\setupbackgrounds
[page]
[background=color,backgroundcolor
w) >> transparent, so that the
background shows through along with >> anything else that lives on a
lower layer? I’ve seen a method for >> constructed shapes, but nothing
that I can apply to text glyphs. >> Undraw doesn’t do it. > > Undraw
is simply draw using the backgr
kground shows through along with >> anything else that lives on a
lower layer? I’ve seen a method for >> constructed shapes, but nothing
that I can apply to text glyphs. >> Undraw doesn’t do it. > > Undraw
is simply draw using the background color. > > Transparency
;> anything else that lives on a
lower layer? I’ve seen a method for >> constructed shapes, but nothing
that I can apply to text glyphs. >> Undraw doesn’t do it. > > Undraw is
simply draw using the background color. > > Transparency is a MetaFun
extension to MetaPost (so p
ructed
> shapes, but nothing that I can apply to text glyphs. Undraw doesn’t
> do it.
Undraw is simply draw using the background color.
Transparency is a MetaFun extension to MetaPost (so part of ConTeXt).
draw q withtransparency (1,0.5) ; % (metho
shapes, but nothing that I can apply to text glyphs. Undraw doesn’t do it.
\setupbackgrounds
[page]
[background=color,backgroundcolor=yellow]
\definefont
[DVSrB]
[file:DejaVuSerif-Bold.ttf]
\startuseMPgraphic{HeartTest}
picture h;
h := &quo
e the code inside
vardef is only executed when macro is called (while image(...) is
processed immediately). It would help if the macro could be called
within *MPdefinitions, like this:
\starttext
\startMPdefinitions
picture tmp;
vardef p =
image(
draw fullcircle scaled 5cm;
draw textext("test");
quot;);
> );
> \stopMPcode
>
> \stoptext
>
>
>
> -----
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 03
Am 21.01.2017 um 11:11 schrieb Hans Hagen:
> On 1/20/2017 9:42 PM, Peter Rolf wrote:
>> Hi,
>>
>> the nested color inherits the transparency from it's surrounding color.
>>
>> \definecolor[colA] [r=0,g=0,b=0.01,t=0.2,a=1] % transparent
>> \definecolor[colB] [
On 1/20/2017 9:42 PM, Peter Rolf wrote:
Hi,
the nested color inherits the transparency from it's surrounding color.
\definecolor[colA] [r=0,g=0,b=0.01,t=0.2,a=1] % transparent
\definecolor[colB] [r=.278431,g=.235294,b=.545098] % opaque
\starttext
\startcolor[colA]
\definedfont[SansBold
;
>>>> Maybe intended behaviour, maybe a bug. Donno.
>>>
>>> Not a bug: color and transparency are not the same thing.
>>>
>>
>> True, but you define and use them at once. How to separate them then?
>
> Did you look at http://wiki.co
Am 2017-01-20 um 22:26 schrieb Peter Rolf <indi...@gmx.net>:
> Am 20.01.2017 um 21:54 schrieb Alan Braslau:
>> On Fri, 20 Jan 2017 21:42:16 +0100
>> Peter Rolf <indi...@gmx.net> wrote:
>>
>>> Maybe intended behaviour, maybe a bug. Donno.
>>
>&
Am 20.01.2017 um 21:54 schrieb Alan Braslau:
> On Fri, 20 Jan 2017 21:42:16 +0100
> Peter Rolf <indi...@gmx.net> wrote:
>
>> Maybe intended behaviour, maybe a bug. Donno.
>
> Not a bug: color and transparency are not the same thing.
>
True, but you define and use
On Fri, 20 Jan 2017 21:42:16 +0100
Peter Rolf <indi...@gmx.net> wrote:
> Maybe intended behaviour, maybe a bug. Donno.
Not a bug: color and transparency are not the same thing.
Alan
___
If your
Hi,
the nested color inherits the transparency from it's surrounding color.
\definecolor[colA] [r=0,g=0,b=0.01,t=0.2,a=1] % transparent
\definecolor[colB] [r=.278431,g=.235294,b=.545098] % opaque
\starttext
\startcolor[colA]
\definedfont[SansBold at 96bp]Titanfall\,
\startcolor[colB]2
ckfamily[slidesfont][mono][Xits][range={"0222A,"02229,"02205}] %
> ∪, ∩, ∅
> \definefontfamily[slidesfont][mono][Latin Modern Mono Light][features=none]
> \definefallbackfamily[slidesfont][math][Xits][range={"025C7,"27D5}] % WHITE
> DIAMOND, left-join, WHI
WHITE DIAMOND, left-join, WHITE RIGHT-POINTING TRIANGLE
\definefontfamily[slidesfont][math][TeX Gyre Pagella Math]
\setupbodyfont[slidesfont]
% Foreground/background color
\setupcolors[textcolor=colorone]
\setupbackgrounds[page][background=color, backgroundcolor=nearlywhite]
% Heade
be performed (color=vacuous).
Minimal example would be:
\startMPinclusions
picture p;
p := image(
draw textext("Foo");
);
\stopMPinclusions
\startMPcode
\stopMPcode
tested on http://live.contextgarden.net/
you can use
\startMPinitializations
\stopMPinitializations
as these are expanded ea
Hi, i found the following bug (likely) some time ago:
When \textext (or any other text generating thing like btex etex etc.) is
present inside \*MPinclusions and \*MPinclusions are followed by \*MPcode
ConTeXt returns error:
Equation cannot be performed (color=vacuous).
Minimal example would
is this a real bug?
>
> \startxmlsetups xml:pre:code
> solution one \begingroup
> \expandUx
> \comment[symbol=Key, location=inmargin,color=yellow]{\xmlflush{#1}}
> \endgroup
> \par
> solution two
> \comment[symbol=Key, location
and have it italic.
>> Sorry, should be easy, but I tested a bit and can’t have it working by
>> setting \setupheader.
> \starttext
>
> \setupheader
> [style=\bfb,
> color=darkblue,
> leftstyle=bold,
> rightstyle=bolditalic,
> leftcolor=darkgreen,
>
On 12/22/2016 1:22 AM, Andrea Valle wrote:
Dear,
I want to reduce the dimension of only the header text and have it italic.
Sorry, should be easy, but I tested a bit and can’t have it working by
setting \setupheader.
\starttext
\setupheader
[style=\bfb,
color=darkblue,
leftstyle=bold
=inmargin,
color=yellow]{\xmlflush{#1}}\xmlprettyprint{#1}{tex}
\stopxmlsetups
\setuppapersize[A6]
\setupinteraction[state=start]
\starttext
\xmlprocessbuffer{main}{demo}{}
\stoptext
Text from comment reads "\Ux {5C}ConTeXt\Ux {5C} is great".
:*}
\xmlsetsetup{#1}{pre/code}{xml:pre:code}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:pre:code
\comment[symbol=Key, location=inmargin,
color=yellow
Hi Hans,
the patch solves the issue. Thank you for the fast reply.
With regard to Pablo’s question: When I would not use crop in the MWE,
apparently I would get the desired output indeed. However, in the situation I
was using the command to produce a document, I would need to crop some parts
On 12/18/2016 11:00 PM, Benjamin Buchmuller wrote:
Hi Hans,
I finally managed to make a MWE. The issue is related to me using \clip{…} onto
external figures I would like to crop in conjunction with a colored footer
set-up:
\starttext
\setupfooter[color=red]
\setupfootertexts
ut what happens if you don’t use \clip?
Pablo
> \starttext
>
> \setupfooter[color=red]
>
> \setupfootertexts
> []
> []
> [any text] % issue related to put something in footer ...
> []
>
>
Hi Hans,
I finally managed to make a MWE. The issue is related to me using \clip{…} onto
external figures I would like to crop in conjunction with a colored footer
set-up:
\starttext
\setupfooter[color=red]
\setupfootertexts
[]
[]
[any
}{xml:pre:code}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:pre:code
\comment[symbol=Key, location=inmargin,
color=yellow]{\xmlflush{#1}}\xmlprettyprint{#1}{tex
Hi Hans,
thank you for your help. I tried exactly as you suggested, which worked fine,
but adopting for the case being with
\setupfootertexts[\strut{\color[MyColor]{footers}}\strut][][][…same…] (further,
footer texts change in the course of the document and call markings, page
numbers etc
On 12/4/2016 4:05 AM, Benjamin Buchmuller wrote:
When I have
\setupfooter[color=red, style=bold] (same goes with \setupfooter[style=red])
and a
tex text text
% <<<< page breaks here after typesetting >>>>
\startplacefigure[
%location=force, % no matter what
When I have
\setupfooter[color=red, style=bold] (same goes with \setupfooter[style=red])
and a
tex text text
% <<<< page breaks here after typesetting >>>>
\startplacefigure[
%location=force, % no matter what I do here
title={Caption.}
]
… something …
group
[itemize]
[ before={\blackrule[width=\textwidth,color=red]},
after={\blackrule[width=\textwidth,color=green]},
inbetween={\blackrule[width=\textwidth,color=blue]}]
\starttext
\startitemize
\startitem First item \stopitem
\startitem Second item \stopitem
\startitem Thir
On 11/17/2016 11:02 AM, Ulrike Fischer wrote:
Am Thu, 17 Nov 2016 09:46:26 +0100 schrieb Hans Hagen:
On 11/16/2016 6:17 PM, Ulrike Fischer wrote:
This comes from a tex.sx question
https://tex.stackexchange.com/questions/338942/cancellation-of-color-fontspec-font-settings-while-defining
Am Thu, 17 Nov 2016 09:46:26 +0100 schrieb Hans Hagen:
> On 11/16/2016 6:17 PM, Ulrike Fischer wrote:
>> This comes from a tex.sx question
>> https://tex.stackexchange.com/questions/338942/cancellation-of-color-fontspec-font-settings-while-defining-microtype-context/
>>
>&
1401 - 1500 of 5304 matches
Mail list logo