[NTG-context] upload

2024-04-01 Thread Hans Hagen
When developing this Hans' Swedish improved a lot. {\language[sv] Den lilla del av befolkningen som handlar på IKEA och tittar på fåniga krimserier förstår kanske detta: \im {\sqrt {x + 1} = \sin(4 + y)}!} \stopbuffer \typebuffer[option=TEX] Which gives us the beautifully typeset: \startc

[NTG-context] Re: error with definestartstop and startmode

2023-12-18 Thread Aditya Mahajan
On Sun, 17 Dec 2023, Wolfgang Schuster wrote: > Peter Münster schrieb am 17.12.2023 um 10:09: > > On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: > > > >> \usemodule[abbreviations-logos] > >> \defineblock [H] [before=\startcolor[blue],after=\stopcolo

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Wolfgang Schuster
Peter Münster schrieb am 17.12.2023 um 10:09: On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: \usemodule[abbreviations-logos] \defineblock [H] [before=\startcolor[blue],after=\stopcolor] \keepblocks[H] Thanks for this solution. Is there also something for inline-mode? Example: test

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Peter Münster
On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: > \usemodule[abbreviations-logos] > \defineblock [H] [before=\startcolor[blue],after=\stopcolor] > \keepblocks[H] Thanks for this solution. Is there also something for inline-mode? Example: test \beginH TEST\endH

[NTG-context] Re: error with definestartstop and startmode

2023-12-16 Thread Hans Hagen via ntg-context
pH \stoptext --8<---cut here---end--->8--- How could I create such start-stop pair please? doesn't work because \stopmode is a delimiter when shipped \usemodule[abbreviations-logos] \defineblock [H] [before=\startcolor[blue],after=\stopcolor] \keepbloc

[NTG-context] stream sync (or \pushoutputstream)

2023-09-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \showgrid \setuplayout[grid=yes] \starttext \startoutputstream[one] \startcolor[red] \dorecurse{4}{\input knuth\par\pushoutputstream} \stopcolor \stopoutputstream \startoutputstream[two] \startcolor

[NTG-context] Re: streams reversed?

2023-09-15 Thread jbf
y shows the problem. I'm using ConTeXt ver: 2023.09.04 19:15. \starttext \startoutputstream[one] \startcolor[red] \dorecurse{5}{\chapter{Stream One} \dorecurse{10}{\input knuth\par} } \stopcolor \stopoutputstream \startoutputstream[two] \startcolor[green] \dorecurse{5}{\chapter{Stream Two}

[NTG-context] Re: streams reversed?

2023-09-15 Thread Hamid,Idris
ter headings and it all looks fine to me[1] - the red text is all on the right hand side and the greeen text is all on the left. If this doesn't help and you still have problems then you'll need to post a sample that actually shows the problem. I'm using ConTeXt ver: 2023.09.04 19:15. \starttext

[NTG-context] Re: streams reversed?

2023-09-14 Thread jbf
. \starttext \startoutputstream[one] \startcolor[red] \dorecurse{5}{\chapter{Stream One} \dorecurse{10}{\input knuth\par} } \stopcolor \stopoutputstream \startoutputstream[two] \startcolor[green] \dorecurse{5}{\chapter{Stream Two} \dorecurse{10}{\input zapf\par

[NTG-context] Re: streams reversed?

2023-09-14 Thread Bruce Horrocks
this doesn't help and you still have problems then you'll need to post a sample that actually shows the problem. I'm using ConTeXt ver: 2023.09.04 19:15. \starttext \startoutputstream[one] \startcolor[red] \dorecurse{5}{\chapter{Stream One} \dorecurse{10}{\input knuth\par}

[NTG-context] streams reversed?

2023-09-13 Thread jbf
this one. Julian The original (Wolfgang) code is as follows: \starttext \startoutputstream[one] \startcolor[red] \dorecurse{10}{\input knuth\par} \stopcolor \stopoutputstream \startoutputstream[two] \startcolor[green] \dorecurse{10}{\input zapf\par} \stopcolor

Re: [NTG-context] English-Vietnamese facing pages

2023-04-03 Thread jbf via ntg-context
fully can solve that. Maybe I can adapt what we have below with the project structure. Not ready to give up yet! Julian \starttext \startoutputstream[one] \startcolor[red] \input en\par \stopcolor \stopoutputstream \startoutputstream[two] \startcolor[blue] \input vn\par \stop

[NTG-context] pages with facing text

2022-06-06 Thread Pablo Rodriguez via ntg-context
] \startcolor[darkred] \dorecurse{10}{\section{Knuth}\pushoutputstream \inouter{first}\input knuth\footnote{note}\par\pushoutputstream} \stopcolor \stopoutputstream \startoutputstream[two] \startcolor[darkgreen] \dorecurse{10}{\section{Zapf}\pushoutputstream \inouter{second

Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Otared Kavian via ntg-context
lor} ; label(textext("\start\switchtobodyfont[10pt]% \setupinteraction[color=simpleslides:backgroundcolor,style=normal]% \startcolor[simpleslides:backgroundcolor] \goto{\pagenumber}[Prev

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Fabrice L via ntg-context
ion] [color=solcolor] \starttext How many roads? \startcolor[solcolor] Professor note.\stopcolor \startsolution 42 roads. \stopsolution How much wood? \startsolution Alotta wood! \stopsolution No more questions. \stoptext So the color used when solutions are hidden are white on white,

[NTG-context] footnote interaction in titles

2021-08-09 Thread Adam Reviczky via ntg-context
://wiki.contextgarden.net}[url(https://wiki.contextgarden.net)]} and with a workaround \footnote{see: \goto{\bf\startcolor[darkgreen] https://wiki.contextgarden.net\stopcolor}[url(https://wiki.contextgarden.net )]}?}] \input knuth \footnote{see: \goto{https://wiki.contextgarden.net}[url( https://wiki.contextgarden.net

[NTG-context] lmtx update: two experimental features

2021-04-18 Thread Hans Hagen
Just try this (notice the spacing): \startTEXpage[offset=10pt] \showmakeup[mathglue]% \enableexperiments[simplegroups]% $ a = b \color[red]{=} c \startcolor[blue]=\stopcolor d $\par $ \sin \color[green]{(x)} = \sin {(x)} $\par \disableexperiments[simplegroups]% $ a = b \col

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Hans Hagen
(0,1) withshadecolors (red, blue) ; \stopuseMPgraphic \defineoverlay[MyShade][\useMPgraphic{MyShade}] \setupbackgrounds[page][background=MyShade] \startmakeup \definedfont[SerifBold*default @ 50pt] \setupinterlinespace \defineeffect[MyOutline][alternative=outer,rulethickness

Re: [NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Otared Kavian
Hi Hraban, Maybe you can add some « virtual » text in the section with an invisible color such as \startcolor[white] a \stopcolor I don't know whether the following can solve your problem, but the entries of the index appear correctly: \usemodule[visual] \starttext \dorecurse{5

Re: [NTG-context] how to change the colour of the footnote marker

2018-04-09 Thread Hans Hagen
On 4/9/2018 12:33 AM, Robert Zydenbos wrote: Greetings, Tomáš, On 08.04.2018 17:41, Tomas Hala wrote: Hi Robert, I don't understand if you need solution for MkII, or if you tried something from MkII. For MkIV you can use this: defmycmd#1{startcolor[kleur]#1stopcolor} setupnotation[footnote

Re: [NTG-context] how to change the colour of the footnote marker

2018-04-08 Thread Wolfgang Schuster
Robert Zydenbos <mailto:cont...@zydenbos.net> 9. April 2018 um 00:33 Greetings, Tomáš, On 08.04.2018 17:41, Tomas Hala wrote: Hi Robert, I don't understand if you need solution for MkII, or if you tried something from MkII. For MkIV you can use this: defmycmd#1{startcolor

Re: [NTG-context] how to change the colour of the footnote marker

2018-04-08 Thread Robert Zydenbos
Greetings, Tomáš, On 08.04.2018 17:41, Tomas Hala wrote: Hi Robert, I don't understand if you need solution for MkII, or if you tried something from MkII. For MkIV you can use this: defmycmd#1{startcolor[kleur]#1stopcolor} setupnotation[footnote][numbercommand=mycmd] (But I don't know

Re: [NTG-context] how to change the colour of the footnote marker

2018-04-08 Thread Tomas Hala
Hi Robert, I don't understand if you need solution for MkII, or if you tried something from MkII. For MkIV you can use this: \def\mycmd#1{\startcolor[\kleur]#1\stopcolor} \setupnotation[footnote][numbercommand=\mycmd] (But I don't know whether it will work witk MkII.) The best, Tomáš Sun

[NTG-context] how to change the colour of the footnote marker

2018-04-08 Thread Robert Zydenbos
Today I wanted to print an entire document not in standard black, but in blue. I added (Mk II) – \setupcolors [state=start] \define\kleur{blue} % so I can change the colour uniformly everywhere through this variable \startcolor [\kleur] \setupnote[footnote][before={\color[\kleur

Re: [NTG-context] text on every page howto

2018-02-02 Thread Otared Kavian
\myrotatedtext{% \rotate[rotation=90]{% \scale[width=50mm]{\startcolor[darkred] my rotated text\stopcolor} } } \definelayer[myrotatedlayer] [width=30mm, height=100mm, repeat=yes] \setlayer[myrotatedlayer] [x=180mm,y=100mm

Re: [NTG-context] Question about enumerations/before/after

2017-10-09 Thread Hans Hagen
On 10/9/2017 8:12 PM, Pablo Rodriguez wrote: On 10/09/2017 01:07 PM, Weber, Matthias wrote: Dear all, I have something like \defineenumeration[test] [before={\startcolor[red]}, after={\stopcolor}] When I comment out the before/after, I get paragraph breaks before

Re: [NTG-context] Question about enumerations/before/after

2017-10-09 Thread Weber, Matthias
Thanks Pablo, that does it. Matthias > On Oct 9, 2017, at 2:12 PM, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 10/09/2017 01:07 PM, Weber, Matthias wrote: >> Dear all, >> >> I have something like >> >> \defineenumeration[test] >> [b

Re: [NTG-context] Question about enumerations/before/after

2017-10-09 Thread Pablo Rodriguez
On 10/09/2017 01:07 PM, Weber, Matthias wrote: > Dear all, > > I have something like > > \defineenumeration[test] > [before={\startcolor[red]}, > after={\stopcolor}] > > When I comment out the before/after, I get paragraph breaks before >

[NTG-context] Question about enumerations/before/after

2017-10-09 Thread Weber, Matthias
Dear all, I have something like \defineenumeration [test] [text={Test:}, headstyle=bold, number=no, before={\startcolor[red

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-21 Thread Hans Hagen
} } \stoppagemakeup \stopbuffer \startcolor[green] \dorecurse{10}{ \dontleavehmode{\bf 1:#1:} \samplefile{sapolsky}\par } \stopcolor \startpostponing % [+3] \getbuffer[makeup] \stoppostponing \startcolor[blue] \dorecurse{25}{ \dontleavehmode{\bf 2:#1:} \samplefile{sapolsky}\par

Re: [NTG-context] A better \definesymbol sought

2017-01-25 Thread Hans Hagen
=yellow] \starttext \startcolor[blue]\starteffect[outer]PQR\stopeffect\stopcolor \stoptext Still not there. Is there a way to define the ? characters to remove their coloring in the output of the following so that the background yellow appears through the outline even within the portions

Re: [NTG-context] A better \definesymbol sought

2017-01-24 Thread Rik Kabel
) comes through the inner circle (path q). Can this be done with text characters? I suspect that the answer is that the glyphs have to be converted to paths and that it will only work when \setupbackgrounds [page] [background=color, backgroundcolor=yellow] \starttext \startcolor[blue

Re: [NTG-context] A better \definesymbol sought

2017-01-24 Thread Hans Hagen
verted to paths and that it will only work when \setupbackgrounds [page] [background=color, backgroundcolor=yellow] \starttext \startcolor[blue]\starteffect[outer]PQR\stopeffect\stopcolor \stoptext -

Re: [NTG-context] nested colors problem

2017-01-21 Thread Peter Rolf
r=.278431,g=.235294,b=.545098] % opaque >> >> \starttext >> \startcolor[colA] >> \definedfont[SansBold at 96bp]Titanfall\, >> \startcolor[colB]2\stopcolor >> \stopcolor >> \stoptext >> >> >> ConTeXt version: 2014.11.2

Re: [NTG-context] nested colors problem

2017-01-21 Thread 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] [r=.278431,g=.235294,b=.545098] % opaque \starttext \startcolor[colA] \definedfont[SansBold

[NTG-context] nested colors problem

2017-01-20 Thread Peter Rolf
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

Re: [NTG-context] Different text versions in columns?

2016-11-27 Thread Jean-Pierre Delange
mand which places the content side by side (or in columns). Below is a simple example but I had to write the splitter myself. \starttext \startoutputstream[one] \startcolor[red] \dorecurse{10}{\input knuth\par} \stopcolor \stopoutputstream \startoutputstream[two] \startcolor[green]

Re: [NTG-context] Different text versions in columns?

2016-11-27 Thread Wolfgang Schuster
rwards but there is no command which places the content side by side (or in columns). Below is a simple example but I had to write the splitter myself. \starttext \startoutputstream[one] \startcolor[red] \dorecurse{10}{\input knuth\par} \stopcolor \stopoutputstream \startoutputstream[two] \startcolor

Re: [NTG-context] PDF/A generation

2016-10-13 Thread Henri Menke
;subtitle=SUBTITLE, >author=AUTHOR, >keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}] > > %% For PDF/A > \setupbackend[ > format={pdf/a-1a:2005}, % or pdf/a-1a:2005 > profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, > intent=ISO coated v2 300\letterpe

Re: [NTG-context] PDF/A generation

2016-10-13 Thread luigi scarso
%% For PDF/A \setupbackend[ format={pdf/a-1a:2005}, % or pdf/a-1a:2005 profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\space (ECI)] %% Tagged PDF %% method=auto ==> default tags by Adobe \setupbackend[export=yes] \setupstructure[state=start,met

Re: [NTG-context] question about the \starteffect[hidden]

2015-11-23 Thread Jeong Dal
Dear Hans, Thank you for the comment. > > \startcolor[white] \stopcolor > It works fine. It is really good feature for me to prepare the class materials. Best regards, Dalyoung ___ If your

Re: [NTG-context] question about the \starteffect[hidden]

2015-11-22 Thread Hans Hagen
? because that is hared coded in the engine ... you can try \startcolor[white] \stopcolor Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-24 Thread Christian Prim
=0] \starttikzpicture \node[fill=mycola,rectangle, minimum height=4cm,minimum width=2cm] {\startcolor[mycola]T\stopcolor}; \node[fill=mycolb,rectangle, minimum height=4cm,minimum width=2cm] at (2,0) {\startcolor[mycolb]T\stopcolor}; \node[fill=mycolc,rectangle, minimum height=4cm,minimum width=2cm

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Christian Prim
\definecolor[mycola][c=0.23,m=0.58,y=0.88,k=0.45] \definecolor[mycolb][c=0.115,m=0.29,y=0.44,k=0.225] \definecolor[mycolc][c=0.055,m=0.145,y=0.22,k=0.1125] \starttikzpicture \node[fill=mycola,rectangle, minimum height=4cm,minimum width=2cm,anchor=south west] {\startcolor[mycola]T\stopcolor}; \node[fill

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Christian Prim
] \definecolor[mycol_q][c=0.055,m=0.145,y=0.22,k=0.1125] \startcolor[mycol] {\bfa Test} \stopcolor \starttikzpicture \fill[mycol] (0, 0) rectangle (2,4); \fill[mycol_h] (2, 0) rectangle ++(2,4); \fill[mycol_q] (4, 0) rectangle ++(2,4); \stoptikzpicture \stoptext I'm not so

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Hans Hagen
=0.145,y=0.22,k=0.1125] \startcolor[mycol] {\bfa Test} \stopcolor \starttikzpicture \fill[mycol] (0, 0) rectangle (2,4); \fill[mycol_h] (2, 0) rectangle ++(2,4); \fill[mycol_q] (4, 0) rectangle ++(2,4); \stoptikzpicture \stoptext I'm not so familiar

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Hans Hagen
] {\startcolor[mycola]T\stopcolor}; \node[fill=mycolb,rectangle, minimum height=4cm,minimum width=2cm,anchor=south west] at (2,0) {\startcolor[mycolb]T\stopcolor}; \node[fill=mycolc,rectangle, minimum height=4cm,minimum width=2cm,anchor=south west] at (4,0) {\startcolor[mycolc]T\stopcolor

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-14 Thread Christian Prim
][gruen][p=0.25] \startcolor[mycol] {\bfa Test Test Test Test Test} \stopcolor \starttikzpicture \fill[mycol] (0, 0) rectangle (2,4); \fill[mycol_h] (2, 0) rectangle ++(2,4); \fill[mycol_q] (4, 0) rectangle ++(2,4); \stoptikzpicture \stoptext I expect the first rectangle to have the same color

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-14 Thread Christian Prim
=0.055,m=0.145,y=0.22,k=0.1125] \startcolor[mycol] {\bfa Test} \stopcolor \starttikzpicture \fill[mycol] (0, 0) rectangle (2,4); \fill[mycol_h] (2, 0) rectangle ++(2,4); \fill[mycol_q] (4, 0) rectangle ++(2,4); \stoptikzpicture \stoptext I'm not so familiar with metafun, so I couldn't do

[NTG-context] Bug with custom TOC

2014-11-07 Thread Michał Goliński
, command=\SectionToCEntry] \setuplist [chapter] [alternative=interactive, command=\SectionToCEntry] \setuplist [section] [alternative=interactive, command=\SectionToCEntry] \starttext \startcolor[darkgreen] \completecontent[criterium=all] \stopcolor \page[yes] \part{I} \chapter

Re: [NTG-context] [Metapost] Using mkIV and metapost to produce SVG

2014-05-06 Thread Hans Hagen
On 5/5/2014 1:54 PM, ralf.waldvo...@pta.de wrote: Dear all, I would like to produce an svg file from a Metapost input file using some of ConTeXt's typesetting features (esp. using System OTF Fonts) using something like: \startbuffer[buffer:dummy] \start \startcolor[white

[NTG-context] [Metapost] Using mkIV and metapost to produce SVG

2014-05-06 Thread ralf . waldvogel
: \startbuffer[buffer:dummy]     \start         \startcolor[white]         \framed[align=middle,width=28mm,frame=off]         {         \SansBodyBold % Font definition done earlier Test to \par rendered \par         }         \stopcolor     \stop \stopbuffer

[NTG-context] [Metapost] Using mkIV and metapost to produce SVG

2014-05-05 Thread ralf . waldvogel
Dear all,I would like to produce an svg file from a Metapost input file using some of ConTeXt's typesetting features (esp. using System OTF Fonts) using something like:\startbuffer[buffer:dummy] \start\startcolor[white]\framed[align=middle,width=28mm,frame=off]{ \SansBodyBold

Re: [NTG-context] Color of the headers of one enumeration

2014-03-25 Thread Xan
Am 24.03.2014 um 14:39 schrieb Xan dxpublica at telefonica.net: Hi, I have this \defineenumeration [punt] [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] So

[NTG-context] Color of the headers of one enumeration

2014-03-24 Thread Xan
Hi, I have this \defineenumeration [punt] [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] So I get Punt 1. bla,... How can I achieve that Punt 1. were in darkblue? Now I just

Re: [NTG-context] Color of the headers of one enumeration

2014-03-24 Thread Wolfgang Schuster
Am 24.03.2014 um 14:39 schrieb Xan dxpubl...@telefonica.net: Hi, I have this \defineenumeration [punt] [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit] So I get Punt 1

Re: [NTG-context] solutions and problems

2014-02-23 Thread Xan
Am 22.02.2014 um 18:45 schrieb Xan dxpublica at telefonica.net: No, it does not work. I have this: % Questions \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit

Re: [NTG-context] solutions and problems

2014-02-23 Thread Wolfgang Schuster
Am 23.02.2014 um 20:09 schrieb Xan dxpubl...@telefonica.net: Am 22.02.2014 um 18:45 schrieb Xan dxpublica at telefonica.net: No, it does not work. I have this: % Questions \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper

Re: [NTG-context] solutions and problems

2014-02-22 Thread Xan
No, it does not work. I have this: % Questions \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit,before={\incrementcounter[resposta

Re: [NTG-context] solutions and problems

2014-02-22 Thread Wolfgang Schuster
Am 22.02.2014 um 18:45 schrieb Xan dxpubl...@telefonica.net: No, it does not work. I have this: % Questions \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss

Re: [NTG-context] solutions and problems

2014-02-21 Thread Xan
Thanks for that. I use incrementcounter and decrementnumber in 'before', because I use *always* answer nested in question: \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle

[NTG-context] solutions and problems

2014-02-20 Thread Xan
Hi, Just a question about blocks... I consulted the manual, but I'm in trouble: I have this definitions: % the exercise \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss

Re: [NTG-context] solutions and problems

2014-02-20 Thread Otared Kavian
about blocks... I consulted the manual, but I'm in trouble: I have this definitions: % the exercise \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em

Re: [NTG-context] mp: choose colors randomly from list

2014-02-19 Thread Otared Kavian
=\CoeffBlue ] \starttext \uniqueMPgraphic{colortest} \startcolor[RandomColor]\bf This is a RandomColor \stopcolor \stoptext Best regards: OK On 19 févr. 2014, at 11:10, Schmitz Thomas A. thomas.schm...@uni-bonn.de wrote: Hi all, I would like to have mp choose a (transparent) color randomly

[NTG-context] narrowered columns on background image?

2014-02-12 Thread Rudolf Bahr
--- \setupexternalfigures [location={local,global,default}] \useexternalfigure[moe][cow.pdf][width=\hsize, height=.4\vsize] \def\txt { \startnarrower \setupcolumns[n=3, rule=off, align=right, distance=10pt] \startcolumns \startcolor[darkred

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Xan
identar tots els continguts | alternative=serried per tractar el contingut com un paràgraf ordinari \defineenumeration [exercici] [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width

Re: [NTG-context] Some questions about the letter module

2013-07-17 Thread Wolfgang Schuster
} \flushlayer[test] \stoptext Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe there is a better way to indicate that certain sections of the letter should be in a color. Thanks. All block elements provide color and style keys which can be used

Re: [NTG-context] Some questions about the letter module

2013-07-17 Thread Michael Ash
][preset=rightbottom]{RB 2} \flushlayer[test] \stoptext Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe there is a better way to indicate that certain sections of the letter should be in a color. Thanks. All block elements provide color

Re: [NTG-context] PDF-Toc text is wrong for new \start? commands

2013-07-16 Thread Andres Conrado
to manage color? I \definecolor, \startcolor, \stopcolor, but maybe there is a better way to indicate that certain sections of the letter should be in a color. Thanks. Thank you very much for your guidance. Yours, Michael \usemodule[letter] \setuppapersize[letter][letter

[NTG-context] Some questions about the letter module

2013-07-15 Thread Michael Ash
is the option preset= in \setuplayer[foot] ? Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe there is a better way to indicate that certain sections of the letter should be in a color. Thanks. Thank you very much for your guidance. Yours, Michael

[NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
consulted http://wiki.contextgarden.net/Letter but there are many things I don't understand. What is the meaning of alternative=example; what is the option preset= in \setuplayer[foot] ? Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe

Re: [NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
of alternative=example; what is the option preset= in \setuplayer[foot] ? Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe there is a better way to indicate that certain sections of the letter should be in a color. Thanks. Thank you very much for your

[NTG-context] [***SPAM***] \defineenumeration options?

2013-05-21 Thread Xan
Hi, I have two enumerations: \defineenumeration [exercici] [alternative=serried,text={\startcolor[middlecyan]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss] \defineenumeration [exercicivora] [alternative=serried,text={\startcolor

Re: [NTG-context] [***SPAM***] \defineenumeration options?

2013-05-21 Thread Wolfgang Schuster
Am 21.05.2013 um 17:41 schrieb Xan dxpubl...@telefonica.net: Hi, I have two enumerations: \defineenumeration [exercici] You need a different name for the normal enumeration environment, e.g. exercicidefault [alternative=serried,text={\startcolor[middlecyan]Exercici\stopcolor

Re: [NTG-context] [***SPAM***] \defineenumeration options?

2013-05-21 Thread Xan
. exercicidefault [alternative=serried,text={\startcolor[middlecyan]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss] \defineenumeration [exercicivora] [alternative=serried,text={\startcolor[middlecyan]Exercici\stopcolor},stopper={.\space},left={\bgroup

Re: [NTG-context] gnuplot module broken

2013-04-19 Thread Mojca Miklavec
}; \stopMPextensions \def\abc{3cm} \starttext \startcolor[blue] \startMPcode fill fullcircle scaled a withcolor b; \stopMPcode \stopcolor \stoptext The old ConTeXt draws a blue circle with diameter 3cm and the new ConTeXt draws a black circle with diameter 1cm. Which one is right

[NTG-context] How to change the color of numbers just before the footnote text?

2013-04-15 Thread Tim Li
Now I have to change the color of numbers just before the footnote text so that it can match the color of text area. I try to do it like this: \def\myfootnotecolor#1{%\startcolor[red]#1\stopcolor} \setupfootnotes [numbercommand={\myfootnotecolor}] or \setupfootnotes [foregroundcolor

Re: [NTG-context] How to change the color of numbers just before the footnote text?

2013-04-15 Thread Wolfgang Schuster
Am 15.04.2013 um 10:44 schrieb Tim Li timli2...@outlook.com: Now I have to change the color of numbers just before the footnote text so that it can match the color of text area. I try to do it like this: \def\myfootnotecolor#1{% \startcolor[red]#1\stopcolor} \setupfootnotes

Re: [NTG-context] gnuplot module broken

2013-02-19 Thread Hans Hagen
example: \def\abc{1cm} \startMPextensions a := \abc; color b; b := \MPcolor{currentcolor}; \stopMPextensions \def\abc{3cm} \starttext \startcolor[blue] \startMPcode fill fullcircle scaled a withcolor b; \stopMPcode \stopcolor \stoptext The old ConTeXt draws a blue circle with diameter 3cm and the new

Re: [NTG-context] gnuplot module broken

2013-02-18 Thread Mojca Miklavec
a := \abc; color b; b := \MPcolor{currentcolor}; \stopMPextensions \def\abc{3cm} \starttext \startcolor[blue] \startMPcode fill fullcircle scaled a withcolor b; \stopMPcode \stopcolor \stoptext The old ConTeXt draws a blue circle with diameter 3cm and the new ConTeXt draws a black circle

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Keith J. Schultz
for a paragraph you have to change the values of the document with \setupbodyfont[…] or \setupcolors[textcolor=…]. For local changes for a certain paragraph you can apply these values in a group (to change the color you can just use \startcolor[…] … \stopcolor). I am aware of this. Since, I

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Wolfgang Schuster
you can just use \startcolor[…] … \stopcolor). ConTeXt provides also a paragraph environment but this add only tags when you export the document as XML or create a tagged PDF. The paragraphs (note the s) environment has a Hans already mentioned nothing to do with paragraphs, it just puts

Re: [NTG-context] Change color of EPS file.

2012-09-13 Thread Hans Hagen
On 12-9-2012 19:10, pol stra wrote: Hello, I have a EPS file wich contains black lines and no background. The background of my presentation is colored, so I would like to put this figure in white. I tried a \startcolor … \stopcolor environement without succed. Is there a way to do so? edit

[NTG-context] Change color of EPS file.

2012-09-12 Thread pol stra
Hello, I have a EPS file wich contains black lines and no background. The background of my presentation is colored, so I would like to put this figure in white. I tried a \startcolor … \stopcolor environement without succed. Is there a way to do so? In last resort I can put a white background

[NTG-context] two questions for the simplest slides

2012-07-21 Thread Pablo Rodríguez
background and text colors after a \page? I mean something like: \setuppapersize[S6][S6] \setupcolors[state=start] \setuppagenumber[state=stop] \setupbackgrounds[page][background=color,backgroundcolor=red] \startcolor[white] \starttext Page is red and text is white. \page Page is blue and text

Re: [NTG-context] glyph outlines

2012-07-18 Thread Jan Kula
. Here is the mkiv answer: % define the spot color for the plotter \definecolor[CutContour][c=0,m=1,y=0,k=0] \definespotcolor[Contour][CutContour][p=1] % here is the outline feature \defineeffect[outline][alternative=outer,rulethickness=.25pt] \starttext \startcolor[Contour] \definedfont[Serif

Re: [NTG-context] glyph outlines

2012-07-18 Thread Marco
=.25pt] \starttext \startcolor[Contour] \definedfont[Serif at 50pt] \starteffect[outline] And here is the magic. \stopeffect \stopcolor \stoptext Feel free to add this information to the wiki, since it remains silent about this command until now. Marco

[NTG-context] underbar not colored

2012-07-04 Thread Meer, H. van der
I wonder. Shouldn't the underbar show up colored too? Hans van der Meer Example: \starttext \underbar{color this}: \startcolor[red]\underbar{but the underbar isn't!}\stopcolor \stoptext underbar.pdf Description: underbar.pdf

Re: [NTG-context] underbar not colored

2012-07-04 Thread luigi scarso
On Wed, Jul 4, 2012 at 10:02 AM, Meer, H. van der h.vanderm...@uva.nlwrote: I wonder. Shouldn't the underbar show up colored too? Hans van der Meer Example: \starttext \underbar{color this}: \startcolor[red]\underbar{but the underbar isn't!}\stopcolor \stoptext \starttext \underbar

[NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
{\startcolor[orange]\vrule width18mm height0.4pt\vskip2mm\stopcolor} % footnote's interlineskip etc. \startsetups footnotesetup \setupinterlinespace[line=9.8pt, height=.79,depth=.21] \lineskiplimit-\maxdimen \setupwhitespace[2pt] \stopsetups % footnotes bottom page \def\newFNnumber#1{\kern0.05em\raise

Re: [NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
] % - ??? \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] % footnote's rule \unexpanded\def\MyRule{\startcolor[orange]\vrule width18mm height0.4pt\vskip2mm\stopcolor} % footnote's interlineskip etc. \startsetups footnotesetup \setupinterlinespace[line=9.8pt, height=.79

Re: [NTG-context] pack_black_rule_pickup ?

2012-02-18 Thread luigi scarso
teset\footnote{text}. \stoptext Your \MyRule commands (even though you use \unexpanded) is expanded in \strc_notes_set_rule_step and and since \blackrule (because of the optional argument) isn’t expandable TeX quits. You can try with \unexpanded\def\MyRule{\startcolor[orange]\vrule width18mm

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Hans Hagen
{\PlainSwitch German \date} English: \date {\ColorSwitch German \date} Test \date \stoptext Someone knows what to change here (in order to get the red G back)? something {\groupedcommand{\language[de]\ss\startcolor[darkred]}{\stopcolor

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
]\ss\color[darkred]}{}} \starttext English: \date {\PlainSwitch German \date} English: \date {\ColorSwitch German \date} Test \date \stoptext Someone knows what to change here (in order to get the red G back)? something {\groupedcommand{\language[de]\ss\startcolor

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Hans Hagen
\startcolor[darkred]}{\stopcolor}} In version 2012.01.16 this gives an error: ! Extra }, or forgotten \endgroup. and how about {\groupedcommand{\language[de]\ss\directcolored[darkred

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Philipp Gesang
G back)? something {\groupedcommand{\language[de]\ss\startcolor[darkred]}{\stopcolor}} In version 2012.01.16 this gives an error: ! Extra }, or forgotten \endgroup. Works when using “\switchtocolor

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
(in order to get the red G back)? something {\groupedcommand{\language[de]\ss\startcolor[darkred]}{\stopcolor}} In version 2012.01.16 this gives an error: ! Extra }, or forgotten \endgroup. and how about {\groupedcommand{\language[de]\ss\directcolored[darkred]}{}} now it works

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Wolfgang Schuster
\stoptext Someone knows what to change here (in order to get the red G back)? something {\groupedcommand{\language[de]\ss\startcolor[darkred]}{\stopcolor}} In version 2012.01.16 this gives an error: ! Extra }, or forgotten \endgroup. and how about {\groupedcommand{\language[de

[NTG-context] floating framed inside another frame

2012-01-19 Thread Pavel Dohnal
elementum mi, semper aliquet sapien convallis sed.% \blank[medium] \startcolor[gray]% Duis et massa nisi, quis tincidunt ligula. Nunc sed dui vitae est vestibulum vehicula. Maecenas ut sem eget massa accumsan venenatis. Integer diam risus, pellentesque ut interdum at, rhoncus sed justo. Nullam

Re: [NTG-context] Bug in symb-ini.mkiv?

2012-01-16 Thread Hans Hagen
) with \startcolor[darkred]…\stopcolor, fixed the error messages. Since this may happen with other users who have \color somewhere in their file, I give below the minimal example I could find to show the problem. \color[darkred]{blabla} is also ok the fact that one could use it as 'switch' was a side effect

  1   2   3   >