Re: [NTG-context] Frame

2019-02-21 Thread Marco Patzer
On Thu, 21 Feb 2019 10:50:21 + Ursula Hermann wrote: > Here is my example: > > \setuppapersize[A5] > \setupcolors[state=start] This is the default, no need to start the colours any longer. > {\framed >[width=10cm, >background=color,backgroundcolor=darkblue,

Re: [NTG-context] Frame

2019-02-21 Thread Ursula Hermann
Hello Lars! Here is my example: \setuppapersize[A5] \setupcolors[state=start] {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness

Re: [NTG-context] Frame

2019-02-20 Thread Lars
It's the same as with text, but instead of text you put \externalfigure[path/to-figure.pdf][setup=value] inside the parenthesis { }: \setuppapersize[A5] \starttext {\framed    [width=10cm,    background=color,backgroundcolor=darkblue,    foreground=color,foregroundcolor=white,    align

Re: [NTG-context] Frame

2019-02-20 Thread Ursula Hermann
An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Frame Hi, Marco! With colour: \setuppapersize[A5] \setupcolors[state=start] {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth

Re: [NTG-context] Frame

2019-02-20 Thread Ursula Hermann
Hi, Marco! With colour: \setuppapersize[A5] \setupcolors[state=start] {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several

Re: [NTG-context] Frame

2019-02-20 Thread Ursula Hermann
.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich bin da.\par Du auch} > \stoptext Move the \starttext to the beginning: \starttext \framed [height=3em, width=.5\textwidth, for

Re: [NTG-context] Frame

2019-02-19 Thread Ursula Hermann
ave: > \framed > [height=3em, >width=.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich bin da.\par Du auch} > \stoptext Move the \starttext to the begi

Re: [NTG-context] Frame

2019-02-19 Thread Marco Patzer
On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann wrote: > I have: > \framed > [height=3em, >width=.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich

[NTG-context] Frame

2019-02-19 Thread Ursula Hermann
I have: \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] \starttext {Ich bin da.\par Du auch} \stoptext The mistake after compiling: Command Line: context.exe --synctex=-1 "

Re: [NTG-context] Define color with calculations

2019-02-18 Thread Henri Menke
On 19/02/19 10:33 AM, Wolfgang Schuster wrote: > Mohammad Hossein Bateni schrieb am 18.02.19 um 04:37: >> Hi, >> >> When I use definecolor, (how) can I use computations in setting the >> value of a component?  Something like the following... >> >> \definecolor[mycolor][r=0.5*0.7] > > \starttext >

Re: [NTG-context] Define color with calculations

2019-02-18 Thread Wolfgang Schuster
Mohammad Hossein Bateni schrieb am 18.02.19 um 04:37: Hi, When I use definecolor, (how) can I use computations in setting the value of a component?  Something like the following... \definecolor[mycolor][r=0.5*0.7] \starttext \colored[r=\cldcontext{0.5*0.7}]{\cldcontext{0.5*0.7}}

Re: [NTG-context] Define color with calculations

2019-02-18 Thread Mohammad Hossein Bateni
Thanks, Henri! Works like a charm. On Sun, Feb 17, 2019 at 11:03 PM Henri Menke wrote: > Use Lua. > > > \def\eval#1{\ctxlua{% > local context = context > local _ENV = math > context(#1) > }} > > \definecolor[mycolor][r=\eval{0.5*0.7}] > >

Re: [NTG-context] Frame with Color

2019-02-18 Thread Marco Patzer
On Mon, 18 Feb 2019 12:26:45 + Ursula Hermann wrote: > \framed > [background=color,backgroundcolor=red, >foreground=color,foregroundcolor=white foreground=color,foregroundcolor=white, > frame=off] > {\bf

[NTG-context] Frame with Color

2019-02-18 Thread Ursula Hermann
High list! Maybe someone can help me. I tried: \setuppapersize[A5] \setupcolors[state=start] \framed [background=color,backgroundcolor=red, foreground=color,foregroundcolor=white frame=off] {\bf Wichtig} What I wanted, is a frame with background= red8 and a white text: Wichtig Many

Re: [NTG-context] Define color with calculations

2019-02-17 Thread Henri Menke
Use Lua. \def\eval#1{\ctxlua{% local context = context local _ENV = math context(#1) }} \definecolor[mycolor][r=\eval{0.5*0.7}] \starttext \color[mycolor]{Hello!} \stoptext On 18/02/19 4:37 PM, Mohammad Hossein Bateni wrote: > Hi, > > When I use definecolor, (how)

[NTG-context] Define color with calculations

2019-02-17 Thread Mohammad Hossein Bateni
Hi, When I use definecolor, (how) can I use computations in setting the value of a component? Something like the following... \definecolor[mycolor][r=0.5*0.7] Thanks, ~MHB ___ If your question is of interest to

Re: [NTG-context] baseline of outlined font

2019-02-16 Thread Wolfgang Schuster
{outlineT}{tt="#1"}} \setuphead[chapter,title] [deeptextcommand=\titleOutline, color=BigColorOne, style=\BigFontOne, numbercommand=\titleOutline, Use textcommand (not deeptextcommand) to apply to outline to the title.

[NTG-context] baseline of outlined font

2019-02-16 Thread Jeong Dal
pter,title] [deeptextcommand=\titleOutline, color=BigColorOne, style=\BigFontOne, numbercommand=\titleOutline, number=yes] \setupbodyfont[rm, 11pt] \starttext \chapter{First} \samplefile{knuth} \startchapter[title={Chapter Title}] \samplefile{knuth} \stopchapter

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
oad,distance=0.5em] % \setupwhitespace[medium] \defineenumeration[Exam] [text={\white\translate[en=Example, kr=예제]}, numbercommand={\inframed[corner=round, framecolor=dYellow,toffset=-1pt,boffset=-1pt, loffset=1ex,roffset=1ex, background=color,backgroundcolor=blue]}, %height=1.

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
, prefixsegments=chapter, way=bychapter, counter=Theorem, before=\startMyText, after=\stopMyText] \defineenumeration[Exam] [text={\white\translate[en=Example, kr=예제]}, numbercommand={\inframed[corner=round, framecolor=dYellow,toffset=-1pt,boffset=-1pt, loffset=1ex,roffset=1ex, ba

Re: [NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Marcus Vinicius Mesquita
t; \setuplayout[grid=yes] > > \showgrid > > \setupcolumns[n=2] > > > > \starttext > > > > \startcolumns > > \input knuth > > \column > > \input knuth > > \stopcolumns > > > > \stoptext > > > > in t

Re: [NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 08.02.19 um 17:47: Dear list, When processing the attached mwe: \setuplayout[grid=yes] \showgrid \setupcolumns[n=2] \starttext \startcolumns \input knuth \column \input knuth \stopcolumns \stoptext in the final result there is a background color. How do

[NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Marcus Vinicius Mesquita
Dear list, When processing the attached mwe: \setuplayout[grid=yes] \showgrid \setupcolumns[n=2] \starttext \startcolumns \input knuth \column \input knuth \stopcolumns \stoptext in the final result there is a background color. How do I get rid of it? Marcus Vinicius mwe.tex Description

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Hans Hagen
aceholders in the pdf, if a figure is missing. The only info that the color profile is missing is in the log file. You don't see it. i assume that you choose some specific pdf reerence format anyway, \enabletrackers[backend.format] can spit out so

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Alan Braslau
y other programs hold your hand in this way. This also explains > > why these programs often lack in performance as well.) > > > > Alan > > > > You see placeholders in the pdf, if a figure is missing. The only info > that the color profile is missing is in the

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Jan U. Hasecke
; Alan > You see placeholders in the pdf, if a figure is missing. The only info that the color profile is missing is in the log file. You don't see it. juh ___ If your question is of interest to others as well,

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Hans Hagen
that ConTeXt should fail if it does not find the color profile, because if you forget to study the log file before sending the pdf to the print shop you can loose a lot of money. But the scenarios in which you could loose a lot of money are many more than you might think. Imagine the following

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-06 Thread Jan U. Hasecke
he else clause. >> >> But more and more I think that ConTeXt should fail if it does not find >> the color profile, because if you forget to study the log file before >> sending the pdf to the print shop you can loose a lot of money. > > But the scenarios in which you cou

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-06 Thread Pablo Rodriguez
t does not find > the color profile, because if you forget to study the log file before > sending the pdf to the print shop you can loose a lot of money. But the scenarios in which you could loose a lot of money are many more than you might think. Imagine the following: \startbuffer

Re: [NTG-context] text flowing around images

2019-02-06 Thread Henning Hraban Ramm
; See https://tex.stackexchange.com/a/32308/323 which is based on an example in > the metafun manual. Thank you all! I guess I can reduce the flow cases to <10 and use \parshape directly; thinking in lines looks a bit easier than the MetaPost way. Calculating the MP path from the TIFF alpha

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-04 Thread Jan U. Hasecke
Hola Pablo, Am 04.02.19 um 18:42 schrieb Pablo Rodriguez: > On 2/4/19 7:30 AM, Jan U. Hasecke wrote: >> Hi all, >> >> yesterday I asked about where to put color profiles. >> >> My problem was that ConTeXt for some unknown reason didn't find the >> color p

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-04 Thread Pablo Rodriguez
On 2/4/19 7:30 AM, Jan U. Hasecke wrote: > Hi all, > > yesterday I asked about where to put color profiles. > > My problem was that ConTeXt for some unknown reason didn't find the > color profiles I downloaded. But most annoying was the fact that I > didn't saw the err

[NTG-context] Making ConTeXt stop on all or some errors

2019-02-03 Thread Jan U. Hasecke
Hi all, yesterday I asked about where to put color profiles. My problem was that ConTeXt for some unknown reason didn't find the color profiles I downloaded. But most annoying was the fact that I didn't saw the error in the log because ConTeXt only complains about not finding the profile

Re: [NTG-context] Where to put icc color profiles

2019-02-03 Thread Jan U. Hasecke
Am 03.02.19 um 18:19 schrieb Mojca Miklavec: > Dear Jan, > > On Sun, 3 Feb 2019 at 14:49, Jan U. Hasecke wrote: >> >> I downloaded some color profiles and stored them in: >> >> /context/tex/texmf-context/colors/icc/profiles >> >> But they get overwr

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-03 Thread Henri Menke
r. 2019 à 20:58, Henri Menke a écrit : >> >>> On 2/2/19 11:49 PM, Fabrice Couvreur wrote: >>>> Hi Henri, >>>> Great ! I would also like these letters to be randomly colored. >>> >>> You should play with randomseed, the starting color (here whit

Re: [NTG-context] Where to put icc color profiles

2019-02-03 Thread Mojca Miklavec
Dear Jan, On Sun, 3 Feb 2019 at 14:49, Jan U. Hasecke wrote: > > I downloaded some color profiles and stored them in: > > /context/tex/texmf-context/colors/icc/profiles > > But they get overwritten, when I update context. Please try to put them to /context/tex/texmf-local/c

Re: [NTG-context] Color profile not found

2019-02-03 Thread Jan U. Hasecke
> > I copied the file CoatedFOGRA39.icc to > > context/tex/texmf-context/colors/icc/profiles > > My setup worked before. > > Using the intent "ISO Coated v2 300\letterpercent\space (ECI)" I get no > error. > I solved the problem by installing the color

[NTG-context] Color profile not found

2019-02-03 Thread Jan U. Hasecke
I get an error when I use. \setupbackend[ format=PDF/X-3:2003, intent={Coated FOGRA39 (ISO 12647-2:2004)}, ] backend > profiles > profile specification 'Coated FOGRA39 (ISO 12647-2:2004)' loaded from '/home/juh/context/tex/texmf-context/colors/icc/context/colorprofiles.xml'

[NTG-context] Where to put icc color profiles

2019-02-03 Thread Jan U. Hasecke
Hi all, I downloaded some color profiles and stored them in: /context/tex/texmf-context/colors/icc/profiles But they get overwritten, when I update context. Can I put color profiles in the working folder of my project. And how do I access them with setupbackend? TIA juh -- Software

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-03 Thread Fabrice Couvreur
;> On 2/2/19 11:49 PM, Fabrice Couvreur wrote: >> > Hi Henri, >> > Great ! I would also like these letters to be randomly colored. >> >> You should play with randomseed, the starting color (here white) and the >> randomization amplitude (1,1,1). You mileage may v

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-03 Thread Fabrice Couvreur
Hi Henry Thank you for everything. Fabrice Le sam. 2 févr. 2019 à 20:58, Henri Menke a écrit : > On 2/2/19 11:49 PM, Fabrice Couvreur wrote: > > Hi Henri, > > Great ! I would also like these letters to be randomly colored. > > You should play with randomseed, the start

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-02 Thread Henri Menke
On 2/2/19 11:49 PM, Fabrice Couvreur wrote: > Hi Henri, > Great ! I would also like these letters to be randomly colored. You should play with randomseed, the starting color (here white) and the randomization amplitude (1,1,1). You mileage may vary. \starttext \startMPcode for i=0

Re: [NTG-context] getting ConTeXt results back to Lua (for typesetting solutions at end of document)

2019-01-31 Thread Mikael P. Sundqvist
=start,color=,contrastcolor=,style=] \define[1]\problemtextmakro {% \doifreferencefoundelse{losn:\currentconstructionreference} {\llap{\goto{{\WORD l}}[losn:\currentconstructionreference]}\,} {}% #1 } \defineenumeration[problem][ referenceprefix=problem, text=, width=fit

Re: [NTG-context] New logo proposal

2019-01-31 Thread Henri Menke
ss), and I wanted a nice > looking visual clue for the thumbnails. Recently, I made a few minor tweaks > and thought it would be the right time to put it out there. > > The logo comes in two different layouts (hexagonal and horizontal), and each > layout comes in two

Re: [NTG-context] New logo proposal

2019-01-30 Thread Henning Hraban Ramm
. Floris’ proposal is clear and looks like math, that’s TeX-y enough IMO. Every good logo works without color, even if there is a color version. Myself, I suggest a Dodo as mascot. (Save the \dodo !) Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreivierte

[NTG-context] New logo proposal

2019-01-30 Thread Paul Schalck
your average sportswear brand. Any color choice is arbitrary to some extend. The colors I've used cover the entire hue range and are at equal distance apart (common in multicolored designs). This denotes to me not only the flexibility, and the fun of using it, but also the comprehensiveness of

Re: [NTG-context] New logo proposal

2019-01-30 Thread mf
agreeing partly with Clyde. The experiment of Taco however, has some charm. It includes the basic color of the associations blue and it shows nicely the word TeX. - I have no objection against a horizontal version, however in that case one might have to think to put TeX in its original version

Re: [NTG-context] New logo proposal

2019-01-30 Thread Willi Egger
the basic color of the associations blue and it shows nicely the word TeX. - I have no objection against a horizontal version, however in that case one might have to think to put TeX in its original version. Although we ow all thanks to Don Knuth, I believe that we use, as Hans mentions, the TeX logo

Re: [NTG-context] New logo proposal

2019-01-30 Thread Procházka Lukáš Ing .
it. To answer your questions: I tried to avoid any logic or rainbow-type color sequence to create something more unique. The first square had to be in blue and the middle area in a warm color. (I played around a lot with the color combinations.) Regarding the outside circle: I tried different

Re: [NTG-context] New logo proposal

2019-01-30 Thread Floris van Manen
> @Floris vM: Font, spacing, overall appealingness. > No Helvetica/Nimbus Sans, which has less meaning to me for ConTeXt than a > DIN-ish/technical one. > Colors are fun. Could you elaborate on how ‘fun’ in colors is defined? I see no coherency in the color palet. > I

[NTG-context] New logo proposal

2019-01-30 Thread Paul Schalck
it. To answer your questions: I tried to avoid any logic or rainbow-type color sequence to create something more unique. The first square had to be in blue and the middle area in a warm color. (I played around a lot with the color combinations.) Regarding the outside circle: I tried different variations

Re: [NTG-context] New logo proposal

2019-01-29 Thread Alan Braslau
On Tue, 29 Jan 2019 11:32:40 +0100 Taco Hoekwater wrote: > It would be more coherent if the color of the squares and the color of > the letters trailed each other around the 7 options in the writing order > for the word “CONTEXT” (C = orange+blue, O = blue+green, N = green+r

Re: [NTG-context] New logo proposal

2019-01-29 Thread Hans Hagen
On 1/29/2019 11:32 AM, Taco Hoekwater wrote: Hi Paul, Nice idea, and I actually like the multi-color version although it is a bit too informal for some uses (but could be nice for the wiki). which brings us to the wiki ... which still needs a bit more fancy css ... It would be more coherent

Re: [NTG-context] New logo proposal

2019-01-29 Thread Clyde Johnston
horizontal), and each layout comes in two color variations (multicolored and blue). The hexagonal layout is borrowed from the unofficial ConTeXt logo that has been around for some time. I like the idea of a clean geometrical form, and the hexagon reminds me of chemistry formulas -- one of the many

Re: [NTG-context] New logo proposal

2019-01-29 Thread Taco Hoekwater
Hi Paul, Nice idea, and I actually like the multi-color version although it is a bit too informal for some uses (but could be nice for the wiki). It would be more coherent if the color of the squares and the color of the letters trailed each other around the 7 options in the writing order

[NTG-context] New logo proposal

2019-01-29 Thread Paul Schalck
a nice looking visual clue for the thumbnails. Recently, I made a few minor tweaks and thought it would be the right time to put it out there. The logo comes in two different layouts (hexagonal and horizontal), and each layout comes in two color variations (multicolored and blue). The hexagonal

[NTG-context] How to pass a parameter with \definedescription[]

2019-01-27 Thread Fabrice Couvreur
MyColorB][m=0.27,y=1] \defineframed [FrameTitle] [frame=off, foregroundstyle=\bfx\ss, foregroundcolor=white, background=color, backgroundcolor=MyColorB, location=depth] \defineframedtext [FramedText] [offset=0.5em, style=\ss, toffset=.25\lineheight,

Re: [NTG-context] Color a column (xtable, lua)

2019-01-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.01.19 um 00:59: Hi Henry, Thank you for your proposition. I tested both : the first work  but not the second. Fabrice Remove the empty line between the two arguments of the \defineoverlay command. Wolfgang

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
J" } 20 local letters_2 = { "A", "0", "1", "1", "0", "", "", "", "", "" } 21 context.startxtable({"align={middle,lohi}, width=1.25cm,offset=0.8ex"}) 22 23 context.startxrow() ?

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:26 PM, Henri Menke wrote: > On 1/27/19 12:08 PM, Fabrice Couvreur wrote: >> Hi, >> How to color the first column as I did for the first line ? > > Stolen from Wolfgang's answer on TeX.SX. > https://tex.stackexchange.com/a/464771 > You could also eval

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:08 PM, Fabrice Couvreur wrote: > Hi, > How to color the first column as I did for the first line ? Stolen from Wolfgang's answer on TeX.SX. https://tex.stackexchange.com/a/464771 \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \startuseMPgraphic {tablebackground} fill Over

[NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
Hi, How to color the first column as I did for the first line ? Thank you Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startluacode local letters_1 = { "A", "B", "C", "D", "E", "F", &qu

Re: [NTG-context] Changes \setuphead

2019-01-21 Thread Ursula Hermann
Ursula, If you replace the \startsetups[chapter:before] with the following, you obtain a page without the page number: \startsetups [chapter:before] \doifoddpageelse {} {\pushbackground[page] \setuppagenumbering[state=stop] \setupbackgrounds[page][background=color

Re: [NTG-context] Changes \setuphead

2019-01-21 Thread Otared Kavian
Hi Ursula, If you replace the \startsetups[chapter:before] with the following, you obtain a page without the page number: \startsetups [chapter:before] \doifoddpageelse {} {\pushbackground[page] \setuppagenumbering[state=stop] \setupbackgrounds[page][background=color

[NTG-context] Changes \setuphead

2019-01-21 Thread Ursula Hermann
] \doifoddpageelse {} {\pushbackground[page] \setupbackgrounds[page][background=color,backgroundcolor=gray] \page[right] \popbackground} \stopsetups \setuphead [chapter] [page=yes, before=\directsetup{chapter:before}] \starttext \startchapter[title={Knuth}] \dorecurse{2

Re: [NTG-context] textext with plain MetaFun

2019-01-21 Thread Henri Menke
wn pen";clea rpen.else:currentpen:=pen_[(EXPR0)];pen_lft:=pen_lft_[(EXPR0)];pen_rt:=pen_rt_[ (EXPR0)];pen_top:=pen_top_[(EXPR0)];pen_bot:=pen_bot_[(EXPR0)];currentpen_path: =pen_path_[(EXPR0)]fi; {else} (EXPR0)<-1 {if} {unknown(pen)} {false} {currentpen:=pen} {pen_lft:=-0.25} {pen_rt:=0.25}

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-16 Thread Hans Hagen
this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it in \startchapter so that it is placed on t

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Jeong Dal
0 +0100 >>> From: Wolfgang Schuster >>> To: mailing list for ConTeXt users , "Jan U. >>> Hasecke" >>> Subject: Re: [NTG-context] Manipulating the left blank page when >>> chapter starts on the right page >>> Message-ID: >

Re: [NTG-context] tikz pgfplots library problem

2019-01-15 Thread Aditya Mahajan
ies#1!![##1]}, 2405 visualizer color=tikz@dv@temp 2406 } 2407 } 2408 } 2409 2410 >> \tikzdvdeclarestylesheetcolorseries{vary hue}{hsb}{.4,0.9,0.8}{.213,0,0} 2411 \tikzdvdeclarestylesheetcolorseries{shades of blue}{hsb}{.65,1.4,1}{0,-.4,

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Hans Hagen
r and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the background color to a

[NTG-context] MetaFun: how to check the number of arguments

2019-01-14 Thread Jeong Dal
n 2019, Jan U. Hasecke wrote: >>> >>>> Hi all, >>>> >>>> in my document \startchapter and \starttitle starts a new chapter on the >>>> right (odd) page. So sometimes, there is a blank even page just before a >>>> new chapter. >&

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-14 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 14.01.19 um 08:39: Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: Here is a example which shows how you can change the background color of a empty page before the chapter title. \setuppagenumbering   [alternative=doublesided] \startsetups [chapter:before

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Jan U. Hasecke
Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: > Here is a example which shows how you can change the background color > of a empty page before the chapter title. > > \setuppagenumbering >   [alternative=doublesided] > > \startsetups [chapter:before]

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Wolfgang Schuster
before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Rik Kabel
before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
fore a >> new chapter. >> >> I would like to manipulate this blank even page. >> >> There are several things I would like to do, eg. having no headers and >> footers, setting the background color to a named color, placing an image >> or some graphics o

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Aditya Mahajan
like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it in \startchapter so that it is placed on the left side. See https://tex.stackexchange.com/q/457428

[NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it in \startchapter so that it is placed on the left side. I would like to use the blank pages in an attractive way. Imagine eg. a title image

Re: [NTG-context] setting up itemize

2019-01-03 Thread Taco Hoekwater
r. Hans van der Meer > > >> On 3 Jan 2019, at 10:49, Taco Hoekwater wrote: >> >> It needs ‘each’ instead of an empty group: >> >> \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] >> >> Best wishes, >> Taco >> &

Re: [NTG-context] setting up itemize

2019-01-03 Thread Hans van der Meer
Bedankt Taco. Maar had ik dit kunnen weten? met vriendelijke groet dr. Hans van der Meer > On 3 Jan 2019, at 10:49, Taco Hoekwater wrote: > > It needs ‘each’ instead of an empty group: > > \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] > >

Re: [NTG-context] ! Declared variable conflicts with previous vardef [Metapost]

2019-01-03 Thread Taco Hoekwater
ction z := point > 3.6 of p ;) It works because of the "pair z” statement. Attempted explanation: Metapost variable names are built up hierarchically. When you say “path p” or “color V.Q” or “numeric z[]” or “vardef z”, it changes the type of just the last segment, not other segments

Re: [NTG-context] setting up itemize

2019-01-03 Thread Taco Hoekwater
It needs ‘each’ instead of an empty group: \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] Best wishes, Taco > On 3 Jan 2019, at 10:27, Hans van der Meer wrote: > > I cannot get the general setup macros of itemize right. I suppose I am > missing some cl

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
] [\classfont{notosanscjkkr}{Bold} sa 4] \definecolor [BigColorOne] [r=.86,g=.850,b=.54] \define[1]\TitlePage {\rlap{\offset[x=2pt,y=2pt]{\color[blue]{\effect[outer]{#1% \effect[inner]{#1}} \setuphead [title] [deeptextcommand=\TitlePage, color=BigColorOne, style=BigFontOne

Re: [NTG-context] two different outputs.

2019-01-01 Thread Wolfgang Schuster
[BigColorOne] [r=.86,g=.850,b=.54] \define[1]\TitlePage {\rlap{\offset[x=2pt,y=2pt]{\color[blue]{\effect[outer]{#1% \effect[inner]{#1}} \setuphead [title] [deeptextcommand=\TitlePage, color=BigColorOne, style=BigFontOne, incrementnumber=list] \starttext \title{Contents

[NTG-context] two different outputs.

2018-12-31 Thread Jeong Dal
]#1\stopeffect}} \endgroup} \setuphead[title] [textcommand=\TitlePage, %color=BigColorTwo, %style=\BigFontTwo, %after={\blank[2cm]}] ] %number=yes] \starttext \defineoverlay[back][{\BigFontOne \blue \starteffect[outer]Title\stopeffect}]% \framed

Re: [NTG-context] color check

2018-12-06 Thread Floris van Manen
hu, Dec 6, 2018 at 10:55 AM Floris van Manen wrote: > while experimenting with the sample transparency color code > > > \definecolor [transparentred] [r=1,t=.5,a=1] > \definecolor [transparentblue] [b=1,t=.5,a=1] > \definecolor [solidyellow] [y=1,t=1,a=1] > > \start

Re: [NTG-context] color check

2018-12-06 Thread luigi scarso
On Thu, Dec 6, 2018 at 10:55 AM Floris van Manen wrote: > while experimenting with the sample transparency color code > > > \definecolor [transparentred] [r=1,t=.5,a=1] > \definecolor [transparentblue] [b=1,t=.5,a=1] > \definecolor [solidyellow] [y=1,t=1,a=1] > > \sta

Re: [NTG-context] color check

2018-12-06 Thread Floris van Manen
indeed, it’s probably related to the preview of osx 10.11.6 version. e.g. if i paste the pdf into this mail, i shows up correctly. t4test.pdf Description: Adobe PDF document > On 6 Dec 2018, at 11:02, Taco Hoekwater wrote: > > Hi Floris, > >> >> if i change the yellow t value to .99 >>

Re: [NTG-context] color check

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 10:55 AM, Floris van Manen wrote: > while experimenting with the sample transparency color code > [...] > if i change the yellow t value to .99  > \definecolor [solidyellow]  [y=1,t=0.99,a=1] > some green layer pops up. > > as this is all about softwa

Re: [NTG-context] color check

2018-12-06 Thread Taco Hoekwater
Hi Floris, > > if i change the yellow t value to .99 > \definecolor [solidyellow] [y=1,t=0.99,a=1] > some green layer pops up. > > Test works OK for me, with the two ConTeXt releases I tried: current version: 2016.11.24 12:05 current version: 2018.12.01 13:20 macOS Mojave 10.14.1 Best

[NTG-context] color check

2018-12-06 Thread Floris van Manen
while experimenting with the sample transparency color code \definecolor [transparentred] [r=1,t=.5,a=1] \definecolor [transparentblue] [b=1,t=.5,a=1] \definecolor [solidyellow] [y=1,t=1,a=1] \starttext \startTEXpage ~This is some sample text that goes behind the rectangles\hskip-80mm

[NTG-context] Macro to write a vector with Metafun (again)

2018-12-04 Thread Fabrice Couvreur
aphic \startuniqueMPgraphic{math:stacker:\number"2192} math_stacker_draw(math_stacker_rightarrow_shape) ; \stopuniqueMPgraphic % so far \setupmathstackers [both] % vfenced] [color=darkred, alternative=mp] \setupmathstackers [top] [color=darkred, alte

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Huseyin Özoguz
e you some ideas: \usemodule[art-01]\setupbodyfont[dejavu,12pt] \defineruby[auto]  [align=auto,color=darkred] \defineruby[left]  [align=flushleft,color=darkred] \defineruby[right] [align=flushright,color=darkred] \defineruby[spread][stretch=yes] \showframe \showglyphs \showfontkerns \setupinterline

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Hans Hagen
. How can I achieve a nice way with this simple readable macros? Processing this might give you some ideas: \usemodule[art-01]\setupbodyfont[dejavu,12pt] \defineruby[auto] [align=auto,color=darkred] \defineruby[left] [align=flushleft,color=darkred] \defineruby[right] [align=flushright,color

Re: [NTG-context] Grammar to parse TeX input?

2018-11-28 Thread Hans Hagen
[tolerant,stretch] \setupfirstline [alternative=line, color=darkred, style=\setfontfeature{smallcaps}] \setupfirstline [fancy] [n=3] \setupfirstline [fancier] [alternative=word, color=darkblue, style=bold, n=3] \setupfirstline [weirder] [alternative=line, color

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 4:15 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: > > >> > >> A palette entry index value of 0x is a special case indicating > >> that the text foreground color (defined by a higher-

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: >> >> A palette entry index value of 0x is a special case indicating >> that the text foreground color (defined by a higher-level client) >> should be used and shall not be treated as actual index into C

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen
On 11/22/2018 2:12 PM, Ulrike Fischer wrote: A palette entry index value of 0x is a special case indicating that the text foreground color (defined by a higher-level client) should be used and shall not be treated as actual index into CPAL ColorRecord array. unrelated ... 0x

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
> A palette entry index value of 0x is a special case indicating > that the text foreground color (defined by a higher-level client) > should be used and shall not be treated as actual index into CPAL > ColorRecord array. > > > sure, in font-dsp.lua 2953 -- The

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
refox interpret the font https://www.amirifont.org/fatiha-colored.html Also the spec https://docs.microsoft.com/en-us/typography/opentype/spec/colr#layer-record says A palette entry index value of 0x is a special case indicating that the text foreground color (defined by a higher-level client)

<    6   7   8   9   10   11   12   13   14   15   >