Re: [NTG-context] Question to lines in linetable

2019-04-28 Thread Hans Hagen
) for that but you can do % \setuplinetable[r][odd] [background=color,backgroundcolor=gray] % \setuplinetable[r][even][background=color,backgroundcolor=green] Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-26 Thread Wolfgang Schuster
Otared Kavian schrieb am 26.04.2019 um 14:10: Dear all, When typesetting an old list of exercises, I noticed that when \showgrid is active and a luafunction is called, there is some unwanted and strange background colors (gray and blue, or yellow and blue). Thes background colors seems

[NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-26 Thread Otared Kavian
Dear all, When typesetting an old list of exercises, I noticed that when \showgrid is active and a luafunction is called, there is some unwanted and strange background colors (gray and blue, or yellow and blue). Thes background colors seems to show up on an unfilled page when a lua function

Re: [NTG-context] Left frame on a block of text

2019-04-21 Thread Otared Kavian
edparameter{frameoffset}, >> ] >> \starttext >> \startleftbartext >> \input knuth >> \stopleftbartext >> \stoptext > > Framed does not provide enough hooks to control the spaces. For something > like this, you can also use metapost to draw the backgr

Re: [NTG-context] Left frame on a block of text

2019-04-20 Thread Gilles Waeber
ugh hooks to control the spaces. For something > like this, you can also use metapost to draw the background: > > \showframe > \showboxes > \defineframedtext[leftbartext][ > width=broad, > frame=off, > rulethickness=.5ex, > background=mp:

Re: [NTG-context] Left frame on a block of text

2019-04-20 Thread Aditya Mahajan
\startleftbartext \input knuth \stopleftbartext \stoptext Framed does not provide enough hooks to control the spaces. For something like this, you can also use metapost to draw the background: \showframe \showboxes \defineframedtext[leftbartext][ width=broad, frame=off

Re: [NTG-context] change in treating errors

2019-04-16 Thread Alan Braslau
he prompt, > and not have the lingering background process (Mac bug?). No, a consequence of the model. Lingering background processes often occurred after interrupting a run using a keyboard interrupt. > 3) You could see a collection of errors which might help you in fixing them > altoget

Re: [NTG-context] change in treating errors

2019-04-16 Thread Hans Hagen
a spelling mistake on the prompt (as in original TeX), although this is rarely done these days. 2) You could use the --nonstopmode or --batchmode to not get the prompt, and not have the lingering background process (Mac bug?). batchmode doesn't give much on the console, nonstopmode could runs forever

Re: [NTG-context] change in treating errors

2019-04-16 Thread Mohammad Hossein Bateni
this is rarely done these days. 2) You could use the --nonstopmode or --batchmode to not get the prompt, and not have the lingering background process (Mac bug?). 3) You could see a collection of errors which might help you in fixing them altogether without having to run context again and again

Re: [NTG-context] change in treating errors

2019-04-16 Thread Hans Hagen
little point going on without correcting an earlier error. Furthermore, the model would often leave a furtive process running in the background following a keyboard interrupt (especially on Mac OSX). The new process does not do this. Indeed and on all platforms tex could end up in a state

Re: [NTG-context] change in treating errors

2019-04-15 Thread Alan Braslau
retty useless and there was little point going on without correcting an earlier error. Furthermore, the model would often leave a furtive process running in the background following a keyboard interrupt (especially on Mac OSX). The new process does not do this. Alan

Re: [NTG-context] luaotfload

2019-04-12 Thread Hans Hagen
On 4/12/2019 3:17 PM, Herbert Voss wrote: Hello all, If I run the following document on a 8 GByte RAM Linux machine. It takes more than 30 minutes until luaotfload has build the cache for Sparks-Dotline-Medium.otf. If I run another Program in the background that it never ends (too less memory

[NTG-context] luaotfload

2019-04-12 Thread Herbert Voss
Hello all, If I run the following document on a 8 GByte RAM Linux machine. It takes more than 30 minutes until luaotfload has build the cache for Sparks-Dotline-Medium.otf. If I run another Program in the background that it never ends (too less memory). On my Mac the first run with context

Re: [NTG-context] Layer failure with LMTX

2019-04-08 Thread Hans Hagen
}} \stopsetups \setupbackgrounds[page] [setups=setupPage, background=pageNumber] \starttext \page[empty] \stoptext use the official interface variables \paperwidth and \paperheight ... \pagewidth and \pageheight were never user variables (so you

[NTG-context] Layer failure with LMTX

2019-04-07 Thread Rik Kabel
] [setups=setupPage, background=pageNumber] \starttext \page[empty] \stoptext -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Background under bibliography (like in mkiv-publications.pdf)

2019-03-18 Thread Romain Diss
> In this minimal example, the frame doesn't appear (or if i set > > [frame=on,leftframe=off] all the frame is rendered) and the left and > > right offsets are not took into account. > > textbackground uses metapost for ALL backgrounds and the default metapost > code to draw the

Re: [NTG-context] Background under bibliography (like in mkiv-publications.pdf)

2019-03-18 Thread Romain Diss
> > > examples). > > > I suppose Hans Hagen made use of metafun to do it but I encounter some > > > problems with 'textbackgrounds'. > > > > > > In this minimal example, the frame doesn't appear (or if i set > > > [frame=on,leftframe=off] al

Re: [NTG-context] Background under bibliography (like in mkiv-publications.pdf)

2019-03-18 Thread Alan Braslau
kgrounds'. > > > > In this minimal example, the frame doesn't appear (or if i set > > [frame=on,leftframe=off] all the frame is rendered) and the left and > > right offsets are not took into account. > > textbackground uses metapost for ALL backgrounds and the default metap

Re: [NTG-context] Background under bibliography (like in mkiv-publications.pdf)

2019-03-18 Thread Aditya Mahajan
he default metapost code to draw the background (draw_multi_pars, defined in mp-abck.mkiv) doesn't handle individual frames. So, you have to write your own metapost code to draw the side bar. Another option for simple backgrounds is to use `\definebackground` instead of `definetextbackgrou

Re: [NTG-context] Background under bibliography (like in mkiv-publications.pdf)

2019-03-18 Thread Romain Diss
[before={\startbiblio}, after={\stopbiblio}] % Arri�re-plan biblio \definetextbackground[biblio] [location=paragraph, background=color, backgroundcolor=green, %backgroundoffset=2em, leftoffset=1em, rightoffset=1em, topoffset=1.5em, bottomoffset=1em, frame=off, le

[NTG-context] Fwd: Meptapost Drawing not showing-up in Context Letter Style

2019-03-12 Thread Jeroen
\definelayer [logo] [repeat=no] \setlayer [logo] [hoffset=160mm,voffset=17mm] {\scale[width=25mm,height=25mm]{\useMPgraphic{mpglogo}}} \setupbackgrounds[paper][background=logo] % END MP LOGO SETUP, BEGIN LETTER SETUP \usemodule [letter] [style=dinb] \setupletterlayer [reference

Re: [NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-11 Thread Wolfgang Schuster
local settings for the page background to place all the layer for the header, footer etc. and your own background setup is overloaded by the module. What you can do in this case is to use the predefined but unused lettermain layer to place your logo in the background. \usemodule[letter][style

[NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-10 Thread Context NTG
{mpglogo}}} \setupbackgrounds[page][background=logo] % END MP LOGO SETUP, BEGIN LETTER SETUP \usemodule[letter][style=dinb] \setupletterlayer [reference] [list={name,phone,email,date}] \setupletterlayer [address] [y=55mm] \setupletterdescription [enclosure] [location=top, leftmargin=0.5em

Re: [NTG-context] My own backgroundcolor in a frame

2019-03-08 Thread juh
Am Fri, Mar 08, 2019 at 03:43:20PM + schrieb Ursula Hermann: > Dear List! > > I have the following example: > > \defineframedtext > [prettyblock] > [width=10cm, >indenting={yes, small}, >background=color, backgroundcolor=lightgreen, >foregroun

[NTG-context] My own backgroundcolor in a frame

2019-03-08 Thread Ursula Hermann
Dear List! I have the following example: \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color, backgroundcolor=lightgreen, foreground=color, foregroundcolor=black , offset=2mm, align=flushleft] My problem is now: how can I write, if I have

Re: [NTG-context] Frame

2019-02-22 Thread Ursula Hermann
High list! Another example, instead oft he cow, I took another figure: \setuppapersize [A5] \setupexternalfigures [location=default] \setupindenting [yes, small] \setupwhitespace [small] \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color

Re: [NTG-context] Frame

2019-02-21 Thread Wolfgang Schuster
Marco Patzer schrieb am 21.02.19 um 12:19: 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

Re: [NTG-context] Frame

2019-02-21 Thread 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, >foreground=color,foregroundcolor=whit

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] 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] 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
efineoverlay[MyFrame][\useMPgraphic{MyFrame}] \defineframedtext [MyText] [frame=off, background=MyFrame, before={\blank[line,halfline]}, after={\blank[line]}, offset=\bodyfontsize, width=\textwidth] \defineenumeration[Theorem] [alternative=empty, title=yes, titleleft=, titleri

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] Metapost graphic in setupbackground

2019-02-08 Thread Jan U. Hasecke
Thanks a lot Wolfgang and Marco. :-) juh Am 08.02.19 um 12:57 schrieb Wolfgang Schuster: > > > Jan U. Hasecke schrieb am 08.02.19 um 12:36: >> Hi all, >> >> I make my first steps with Metapost. >> >> I would like to set the background of all page

Re: [NTG-context] Metapost graphic in setupbackground

2019-02-08 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 08.02.19 um 12:36: Hi all, I make my first steps with Metapost. I would like to set the background of all pages to a Metapost graphic. But only the first page has the defined background. I also tried with \startuseMPgraphic with no success --- mwe

Re: [NTG-context] Metapost graphic in setupbackground

2019-02-08 Thread Marco Patzer
layer prints on all pages next : layer appears on the following page continue : layer appears on all pages except the first > \setupbackgrounds[paper][background=kreisbackground, state=start] \setupbackgrounds[paper][background=kreisba

[NTG-context] Metapost graphic in setupbackground

2019-02-08 Thread Jan U. Hasecke
Hi all, I make my first steps with Metapost. I would like to set the background of all pages to a Metapost graphic. But only the first page has the defined background. I also tried with \startuseMPgraphic with no success --- mwe --- \startreusableMPgraphic{kreis} draw fullcircle scaled

Re: [NTG-context] Title from setupinteraction used in header

2019-02-03 Thread Wolfgang Schuster
into headertexts? Background: authors shall define title, subtitle etc in the product file with setupinteraction (or a better method if available). In the environment file I want to insert theses informations into headers and footers. Use \setupdocument to set the metadata for the PDF. You can

[NTG-context] Title from setupinteraction used in header

2019-02-03 Thread Jan U. Hasecke
\startchapter[title={chapter title},] \input lorem \stopchapter \startchapter[title={another chapter title},] \input lorem \stopchapter \stoptext How can I insert title, subtitle and author from setupinteraction into headertexts? Background: authors shall

Re: [NTG-context] New logo proposal

2019-01-30 Thread Procházka Lukáš Ing .
Hello, thanks Paul for the nice job! The colorful hexa-shaped logo seems much prettier. One point/suggestion - if the letters "TEX" shared the same background - be it e.g. light gray - it might be cleaner how to read ("discover") the word "ConTeXt"; it would

Re: [NTG-context] New logo proposal

2019-01-30 Thread Floris van Manen
ad and memorise. > > > perhaps a gradient on background can suggest the right orientation of reading. > > Making things complex is easy. The challenge remains to find a simple solution. > In fact, having a pictograph instead of / along with > textual content is probably a

Re: [NTG-context] New logo proposal

2019-01-30 Thread luigi scarso
and memorise. > perhaps a gradient on background can suggest the right orientation of reading. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] New logo proposal

2019-01-30 Thread Paul Schalck
, with and without a surrounding circle or round background, with and without rounded squares, and was most pleased with this solution. It's true, "clean and simple" can easily lead to "too informal". @Clyde J: Valid point. I use the logotype with the subscript 'E' whenever I

[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-26 Thread Fabrice Couvreur
xtablerow,j=\currentxtablecolumn}] 14 15 \setupxtable[background=tablebackground] 16 17 \starttext 18 \startluacode 19 local letters_1 = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "

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

2019-01-26 Thread Henri Menke
background] [\useMPgraphic{tablebackground}{i=\currentxtablerow,j=\currentxtablecolumn}] \setupxtable[background=tablebackground] > > \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] > > \startuseMPgraphic {tablebackground} > fill OverlayBox withcolor \MPcolor{fondpaille}

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

2019-01-26 Thread Henri Menke
layBox withcolor \MPcolor{fondpaille} ; \stopuseMPgraphic \defineoverlay [tablebackground] [\ifnum\currentxtablerow=1 \useMPgraphic{tablebackground}% \else\ifnum\currentxtablecolumn=1 \useMPgraphic{tablebackground}% \fi\fi] \setupxtable[background=tablebackground] \sta

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

2019-01-26 Thread Fabrice Couvreur
ot;G", "H", "I", "J" } local letters_2 = { "A", "0", "1", "1", "0", "", "", "", "", "" } context.startxtable({"align={middle,lohi}, width=1.25cm,offset=0.8ex"}) context.startxrow() co

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
harcode:=1} resetfig->clearxy;clearit;clearpen;pickup.defaultpen;interim.linecap:=linecap;i nterim.linejoin:=linejoin;interim.miterlimit:=miterlimit;save._background_;colo r._background_;_background_:=background;save.background;color.background;backgr ound:=_background_;drawoptions(); clearxy-&g

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] 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

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Hans Hagen
underlining and uppercasing :( Because of its flexibility, I try to use text backgrounds, but that seems to only work when the text does not break across lines: when on one line, the background starts and stops at the right spot, great! But if there is a line break, then it underlines complete lines

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Mohammad Hossein Bateni
> bunch of french clients, and this is a requirement I cannot get around. > French > officials _love_ underlining and uppercasing :( > > Because of its flexibility, I try to use text backgrounds, but that seems > to > only work when the text does not break across lines: wh

[NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Taco Hoekwater
flexibility, I try to use text backgrounds, but that seems to only work when the text does not break across lines: when on one line, the background starts and stops at the right spot, great! But if there is a line break, then it underlines complete lines, even for the first and last line

[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

[NTG-context] placing an MPGraphic/Lines over multiple table cells

2019-01-05 Thread Martin Althoff
rightcorner; draw toprightcorner -- lowerleftcorner; \stopuseMPgraphic \defineoverlay[ZRule][\useMPgraphic{ZRule}] \starttext \setupTABLE[c][each][width=30mm] \setupTABLE[r][each][width=6mm] % in an attempt to place the table at known positions, I put it into a layer. Though it is not really "backg

[NTG-context] two different outputs.

2018-12-31 Thread Jeong Dal
[BigColorOne][r=.86,g=.850,b=.54] \definecolor[BigColorTwo][r=.43,g=.425,b=.27] \define[1]\TitlePage {\begingroup \defineoverlay[back][{\BigFontOne \blue \starteffect[outer]#1\stopeffect}]% \framed[frame=off,background=back,align={hilo}] {\kern-3pt{\BigFontOne\BigColorOne \starteffect[inner

[NTG-context] latest beta (october 18th): likely bug in \mirror

2018-11-23 Thread mf
e[height=\overlayheight,width=\dimexpr 3pt+.015\dimexpr\overlayheight\relax]{\useMPgraphic{accolade] \starttext Context version: \contextversion. \blank \bTABLE[framecolor=orange] \bTR \bTD a \eTD \bTD[nr=3,width=1em,background=rightbrace] \eTD \bTD[nr=3,align=lohi]

[NTG-context] Two questions on bibliography

2018-11-13 Thread Joshua Moerman
= {Jan van Amsterdam}, title = {Yet another paper}, year = {2018} } \stopbuffer \usebtxdataset[biblio.buffer] \usebtxdefinitions[apa] \starttext % Order is 3, 1, 2 We refer to \cite[authoryears][PAPER1, PAPER2, PAPER3]. \cite[authoryears][PAPER3] provides background. \blank

Re: [NTG-context] Table, xtable and lua

2018-11-10 Thread Henri Menke
t(print(letter)) context.stopxcell() > end letters = {'A','B','C','D','E','F','G','H','I','J'} for _,letter in ipairs(letters) do context.startxcell() context(letter) context.stopxcell() end > context.stopxrow() > context.startxrow({"backgro

Re: [NTG-context] Table, xtable and lua

2018-11-10 Thread Henri Menke
text(print(letter)) context.stopxcell() > end for _,letter in ipairs(letters) do context.startxcell() context(letter) context.stopxcell() end > context.stopxrow() > context.startxrow({"background=color","backgroundcolor=gray"}) > >

[NTG-context] Table, xtable and lua

2018-11-10 Thread Fabrice Couvreur
.5cm"}) context("") context.stopxcell() letter = {'A','B','C','D','E','F','G','H','I','J'} for letter = 1,10 do context.startxcell() context(print(letter)) context.stopxcell() end context.stopxrow() context.startxrow({"background=color",&quo

[NTG-context] index problem with \setupcolumnset

2018-11-09 Thread Peter Rolf
][\uniqueMPgraphic{column:bg}] \definecolumnset[TOC][n=4] %\setupcolumnset[TOC][background=columnbg]% works ok \setupcolumnset[TOC][1][background=columnbg]% any indexed setup fails % in my real world example the complete third argument is printed instead \starttext \startcolumnset[TOC] \input tufte.tex

Re: [NTG-context] checking text boundaries

2018-11-08 Thread Andrea Valle
n 8 Nov 2018, at 00:24, Andrea Valle > <mailto:va...@di.unito.it>> wrote: >> >> Dear all, >> >> I’m typesetting a book, and I have many figures on white background. >> I’m scaling figures using something like this >> >> \placefigure[][volumina]{G.

Re: [NTG-context] checking text boundaries

2018-11-07 Thread Otared Kavian
Hi Andrea, Isn't \showframe what you are looking for? Best regards: OK > On 8 Nov 2018, at 00:24, Andrea Valle wrote: > > Dear all, > > I’m typesetting a book, and I have many figures on white background. > I’m scaling figures using something like this > >

[NTG-context] checking text boundaries

2018-11-07 Thread Andrea Valle
Dear all, I’m typesetting a book, and I have many figures on white background. I’m scaling figures using something like this \placefigure[][volumina]{G. Ligeti, {\em Volumina}.}{ \externalfigure[img/chap02/11][width=\textwidth]} is there a way to plot text boundaries so to check by eye

Re: [NTG-context] Use \framedtext to write an algorithm (again)

2018-10-18 Thread Wolfgang Schuster
very well because the withdrawal of the text no longer exists. Thank you Fabrice \defineframedtext [algorithmframe]    [width=fit,     background=color, backgroundcolor=lightgray,     framecolor=darkred, corner=round] \definelines    [algorithm]    [space=on, before=\startalgorithmframe

[NTG-context] Use \framedtext to write an algorithm (again)

2018-10-17 Thread Fabrice Couvreur
Hi Wolfgang, You offered me the following code to write algorithms. It seems that this does not function very well because the withdrawal of the text no longer exists. Thank you Fabrice \defineframedtext [algorithmframe] [width=fit, background=color, backgroundcolor=lightgray

Re: [NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Damien Thiriet
Pgraphic{canaux}} > \eTD > \bTD > infrastructures~: canaux > \eTD > \eTR > \eTABLE > \stopbuffer > > \definelayer > [legend] > [width=\overlaywidth, >height=\overlayheight] &

Re: [NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Hans Hagen
=\overlayheight] \starttext % \setlayer % [legend] % {\getbuffer[legend]} \setlayerframed [legend] [background=color, backgroundoffset=2pt, backgroundcolor=red, strut=no, frame=off] {\getbuffer[legend]} \externalfigure [t

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
lo > > > > Thank you. > > Fabrice > > > > \definefloat > > [recipe] > > [figure] > > > > \setupfloat > > [recipe] > > [default={right,none}] > > > > \starttext > > \placerecipe{}{% > > \startxtable

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Pablo Rodriguez
cells is 3.5cm. I hope it helps, Pablo > Thank you. > Fabrice > > \definefloat >     [recipe] >     [figure] > >   \setupfloat >     [recipe] >     [default={right,none}] > >   \starttext > \placerecipe{}{% >   \startxtable[align={middle,lohi},width

[NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
Hello, Why is the text wrapping around the board or far too far ? Thank you. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \placerecipe{}{% \startxtable[align={middle,lohi},width=1.7 cm] \startxrow[background=color

Re: [NTG-context] embedded sounds

2018-10-09 Thread Hans Hagen
] \setupbackgrounds[page][background=resources] \setupbodyfont[100pt] \starttext\bf\ss \setlayer[resources]{\placerenderingwindow[example][mysound]} \startTEXpage \button{start}[StartSoundTrack] \button{stop}[StopSoundTrack

[NTG-context] embedded sounds

2018-10-09 Thread Pablo Rodriguez
] %~ [embed] \definereference [StartSoundTrack] [StartRendering{mysound}] \definereference [StopSoundTrack] [StopRendering{mysound}] \definelayer[resources][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=resources] \setupbodyfont[100pt

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Pablo Rodriguez
u were using traditional latex this could be accomplished through R > markdown or Sweave- is there any way to connect these to Context?  I’m afraid that my background is in humanities. If you need R, I wonder whether this can be easily done with ConTeXt. Just in case it helps, Pablo -- http

Re: [NTG-context] xtables with lua

2018-10-01 Thread Fabrice Couvreur
eginning of the post: > > \setupTABLE[each][each][width=2em,height=2em,align={middle,middle}] > \setupTABLE[r][1][background=color,backgroundcolor=gray] > \setupTABLE[c][1][background=color,backgroundcolor=gray] > > > Aditya

Re: [NTG-context] xtables with lua

2018-09-30 Thread Aditya Mahajan
you please tell me what I miss? The part in the beginning of the post: \setupTABLE[each][each][width=2em,height=2em,align={middle,middle}] \setupTABLE[r][1][background=color,backgroundcolor=gray] \setupTABLE[c][1][background=color,backgroundcolor=gray

<    3   4   5   6   7   8   9   10   11   12   >