Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
solution is? > > Regards > Jon > >> On Aug 21, 2019, at 8:14 PM, Jon Wong wrote: >> >> Hi all, >> >> I want to have a \startnarrower effect. But I also want that segment to have >> a border (hopefully a gradient background color too!).

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
have to dive into MetaPost and MetaFun some time. Is that where the solution is? Regards Jon > On Aug 21, 2019, at 8:14 PM, Jon Wong wrote: > > Hi all, > > I want to have a \startnarrower effect. But I also want that segment to have > a border (hopefully a gradient ba

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon

Re: [NTG-context] radiobuttons

2019-08-15 Thread Hans Hagen
-> highlight color -> show border hover color it badly interfering with these widgets ... there seems to be no way to turn that off (forms made with acrobat suffer a bit less because they use a funny mix of appearances and border settings and ... because they make these buttons from dingb

Re: [NTG-context] Some macros (Metafun)

2019-08-11 Thread Hans Hagen
On 8/12/2019 12:40 AM, Fabrice Couvreur wrote: Hi Hans, Sorry but I did not see your email. What is the default color used to draw the path p ? drawlineoptions (withpen pencircle scaled 1.0 drawoptionsfactor withcolor .5white) ; drawpointoptions (withpen pencircle scaled 4.0

Re: [NTG-context] Some macros (Metafun)

2019-08-11 Thread Fabrice Couvreur
Hi Hans, Sorry but I did not see your email. What is the default color used to draw the path p ? Thank you. Le ven. 9 août 2019 à 13:12, Hans Hagen a écrit : > On 8/9/2019 10:57 AM, Fabrice Couvreur wrote: > > Hello, > > In the Metafun manual, Hans uses macros

Re: [NTG-context] Bug in LMTX: Color is lost after linebreak

2019-08-07 Thread Hans Hagen
On 8/7/2019 12:36 PM, Henri Menke wrote: Dear devs, there seems to be a bug in LMTX. In the MWE below, the letter right after the linebreak is black instead of gray. I'm using the latest beta. fixed in next lmtx update Hans -

[NTG-context] Bug in LMTX: Color is lost after linebreak

2019-08-07 Thread Henri Menke
: 2019.07.24 11:31 mtx-context | main context file: /opt/context-lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2019.08.02 19:50 Cheers, Henri --- \starttext \startstandardmakeup[align=middle] \tfd\setupinterlinespace \color[middlegray]{% Why

Re: [NTG-context] Captions with background

2019-08-04 Thread Hans Hagen
, height=\dimexpr\paperheight+4mm] [frame=on]} \setlayerframed [footer] [preset=leftbottom] [frame=off, align=normal, background=color, backgroundcolor=white] {\fakewords{#1}{#1}} \page[empty] test } \stoptext

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
Has been there for ages ... (but I never use that method). I has the same question a few years ago but I never used it because it has a few limitations like missing style/color support. \setuplayouttext[header][text][lefttext=L,middletext=M,righttext=R] %\setupheadertexts[M] %\setupheadertexts

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
but I never used it because it has a few limitations like missing style/color support. I am looking for a simple and obvious way of setting header and footer texts. The \setupheadertexts has limitations and I view this as historical, for ConTeXt commands have evolved over time usually towards better

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
but I never used it because it has a few limitations like missing style/color support. I am looking for a simple and obvious way of setting header and footer texts. The \setupheadertexts has limitations and I view this as historical, for ConTeXt commands have evolved over time usually towards better

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
ion a few years ago but I never used it > because it has a few limitations like missing style/color support. I am looking for a simple and obvious way of setting header and footer texts. The \setupheadertexts has limitations and I view this as historical, for ConTeXt commands have evolved over time usual

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Wolfgang Schuster
that method). I has the same question a few years ago but I never used it because it has a few limitations like missing style/color support. \setuplayouttext[header][text][lefttext=L,middletext=M,righttext=R] %\setupheadertexts[M] %\setupheadertexts[L][R] \setupheader   [color=red,style=bold

Re: [NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-28 Thread Denis Maier
latino] >> >> \setuphead[section][style=\bfa\ss] >> >> \setuplayout >> [grid=yes] >> >> \setuplayout >> [backspace=20mm, >> cutspace=15mm, >> width=middle, >> height=middle] >> >> \setupsystem >> [random=1234] >> >&

[NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-24 Thread Denis Maier
igure[cow][height=15mm]}] > > \setupfooter > [style=\ss] > > \setuptolerance > [verytolerant,stretch] > > \definecolor[color-1][.5(red,green)] > \definecolor[color-2][.5(green,blue)] > \definecolor[color-3][.5(blue,red)] > \definecolor[color-4][.5(white,bla

Re: [NTG-context] background problem with layers

2019-07-23 Thread Hans Hagen
On 7/23/2019 4:51 PM, Aditya Mahajan wrote: On Mon, 22 Jul 2019, Wolfgang Schuster wrote: Peter Rolf schrieb am 22.07.2019 um 13:32: Hi, I have a problem with a not printed color background when using layers. Small test file is attached. Below is a simpler example of your problem

Re: [NTG-context] background problem with layers

2019-07-23 Thread Aditya Mahajan
On Mon, 22 Jul 2019, Wolfgang Schuster wrote: Peter Rolf schrieb am 22.07.2019 um 13:32: Hi, I have a problem with a not printed color background when using layers. Small test file is attached. Below is a simpler example of your problem. The frame disappears when you repeat the layer which

[NTG-context] (no subject)

2019-07-23 Thread Denis Maier
[verytolerant,stretch] \definecolor[color-1][.5(red,green)] \definecolor[color-2][.5(green,blue)] \definecolor[color-3][.5(blue,red)] \definecolor[color-4][.5(white,black)] \definecolor[color-5][.5(white,color-4)] \startuniqueMPgraphic{frame} fill OverlayBox withcolor \MPcolor{color-1

Re: [NTG-context] background problem with layers

2019-07-23 Thread Peter Rolf
Am 22.07.2019 um 19:00 schrieb Wolfgang Schuster: > Peter Rolf schrieb am 22.07.2019 um 13:32: >> Hi, >> >> I have a problem with a not printed color background when using layers. >> Small test file is attached. > Below is a simpler example of your problem. > >

Re: [NTG-context] background problem with layers

2019-07-22 Thread Wolfgang Schuster
Peter Rolf schrieb am 22.07.2019 um 13:32: Hi, I have a problem with a not printed color background when using layers. Small test file is attached. Below is a simpler example of your problem. The frame disappears when you repeat the layer which change how the content if flushed

Re: [NTG-context] Unwanted white box above float

2019-07-22 Thread Taco Hoekwater
appears above it no matter what permutations I try. > > (Secondary query: why do I have to set leftoffset=, rightoffset= etc. > individually for the text background? offset= seems to have no effect.) > > Thanks for any help you can offer. > > > \definetextbackgrou

[NTG-context] Unwanted white box above float

2019-07-22 Thread Duncan Hothersall
] [background=color, backgroundcolor=cyan, frame=off, leftoffset=1em, rightoffset=1em, topoffset=1em, bottomoffset=1em, location=paragraph] \definefloat[thematicimage][figure] \setupfloat[thematicimage] [default=right,none}, offset=1em

[NTG-context] background problem with layers

2019-07-22 Thread Peter Rolf
Hi, I have a problem with a not printed color background when using layers. Small test file is attached. ConTeXt version: 2019.07.16 18:23 Peter test.pdf Description: Adobe PDF document \defineframed[framedclass][ foregroundcolor=black, foregroundstyle=\bfa, backgroundcolor

[NTG-context] translating LyX/LaTex book into ConTeXt (was Re: [Context] Xindy)

2019-07-21 Thread Gour
sh in each book (although we published editions in both languages), there are lot of Sanskrit words written using diacritics, bibliography, glossary as well as color pictures. I'm sure there is no problem in doing English/Croatian, but wonder about Sanskrit diacritics, eg. when I typeset small sn

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Wolfgang Schuster
Willi Egger schrieb am 16.07.2019 um 20:46: Marco, there is a \setupcombination command: \setupcombination [...,...] [..,..=..,..] 1 NAME 2 nx ny width height location distance alternative align continue before after inbetween style color OPT = NUMBER = NUMBER = fit DIMENSION = fit DIMENSION

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Willi Egger
Marco, there is a \setupcombination command: \setupcombination [...,...] [..,..=..,..] 1 NAME 2 nx ny width height location distance alternative align continue before after inbetween style color OPT = NUMBER = NUMBER = fit DIMENSION = fit DIMENSION = left middle right top bottom = DIMENSION

Re: [NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
g MWE: > When starting a new chapter, check if the page is even (left page), if so, > fill it with color, and start the chapter in the next odd page (right > page), removing the header but leaving the footer in that start-chapter > page; and if this is a start-chapter pag

Re: [NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Wolfgang Schuster
a flawed logic in my approach, but I can't figure it out. Any help is appreciated. Expected behavior of the following MWE: When starting a new chapter, check if the page is even (left page), if so, fill it with color, and start the chapter in the next odd page (right page), removing the header

[NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
help is appreciated. Expected behavior of the following MWE: When starting a new chapter, check if the page is even (left page), if so, fill it with color, and start the chapter in the next odd page (right page), removing the header but leaving the footer in that start-chapter page

[NTG-context] Strange behavior in somewhat complex layout

2019-06-23 Thread Andres Conrado Montoya
if the page is even (left page), if so, fill it with color, and start the chapter in the next odd page (right page), removing the header but leaving the footer in that start-chapter page; and if this is a start-chapter page, use a specific graphic overlay for the page, but if if not (if its a regular page

Re: [NTG-context] Something wrong after ConTeXt installation, could somebody help me please?

2019-06-12 Thread Wolfgang Schuster
width=10cm,    indenting={yes, small},    background=color, backgroundcolor=rosybrown:1,    foreground=color, foregroundcolor=black,    offset=2mm,    align=flushleft] \starttext \startprettyblock[width=7.5 cm,align={flushleft}] \noindentation  The Earth, as a habitat for animal life, is in ol

Re: [NTG-context] Something wrong after ConTeXt installation, could somebody help me please?

2019-06-12 Thread Ursula Hermann
}, background=color, backgroundcolor=rosybrown:1, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock[width=7.5 cm,align={flushleft}] \noindentation The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact

[NTG-context] Something wrong after ConTeXt installation, could somebody help me please?

2019-06-12 Thread Ursula Hermann
={yes, small}, background=color, backgroundcolor=rosybrown:1, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock[width=7.5 cm,align={flushleft}] \noindentation The Earth, as a habitat for animal life, is in old age and has a fatal

Re: [NTG-context] background color, was: CMYK Color profile

2019-06-02 Thread Benjamin Koppe
When stupidity strikes, no one's safe. Turns out \setupbackgrounds has an option called backgroundoffset, and this is the solution. The not colorized part was the bleed part of the document, so the background command would be: \setupbackgrounds [paper] [ background=color

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
! \showframe \setupbackgrounds[paper][background=color,backgroundcolor=blue] \starttext \starttitle[title={First page}] \input lorem \stoptitle \starttitle[title={Second page}] \input lorem \stoptitle \starttitle[title={Third page}] \input lorem \stoptitle \starttitle[title

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Wolfgang Schuster
the background color by \setupbackgrounds[page][backgroundcolor=blue] \setupbackgrounds [paper] [background=color,backgroundcolor=blue] Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] CMYK Color profile

2019-05-31 Thread Benjamin Koppe
makes sense what you write, but as I am not sure about the whole issue, I won't bet. ;) Am 31. Mai 2019 09:40:06 MESZ schrieb Hans Hagen : >On 5/31/2019 7:56 AM, Jan U. Hasecke wrote: > >> There are some limitations in ConTeXt concerning colors as embedded >> images are not converted, so RGB

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
Hi Jan, yes, I've read these texts once and they played a role in thinking about getting into ConTEXt. Thank you for your answer, now I have something to investigate. Another follow up question on background colors: I try to setup the background color by \setupbackgrounds[page

Re: [NTG-context] CMYK Color profile

2019-05-31 Thread Hans Hagen
On 5/31/2019 7:56 AM, Jan U. Hasecke wrote: There are some limitations in ConTeXt concerning colors as embedded images are not converted, so RGB images are converted only by the print shop during printing, which can lead to strange results. I think the only way to control the output is to

Re: [NTG-context] CMYK Color profile

2019-05-30 Thread Jan U. Hasecke
Am 30.05.19 um 23:34 schrieb Benjamin Koppe: > Hello everyone, > > I'm about creating a DIN Lang Folder brochure with ConTEXt. I got > everything set up the way I'd like it to. Now that I'm done with the > work, I've been told the output pdf should have a CMYK Color pro

[NTG-context] CMYK Color profile

2019-05-30 Thread Benjamin Koppe
Hello everyone, I'm about creating a DIN Lang Folder brochure with ConTEXt. I got everything set up the way I'd like it to. Now that I'm done with the work, I've been told the output pdf should have a CMYK Color profile embedded for the on demand printing service to be able to deal with the file

[NTG-context] Lua error using module pgfplots and shader=interp

2019-05-29 Thread Luca Donetti
ading', input './minimal_shading', result 'minimal_shading' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name '/home/luca/Nextcloud/personal/tmpcontext/minimal_shading.tex' colors > 'rg

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-18 Thread Mikael P. Sundqvist
t; >>> 4) To be a bit more concrete on the first issue: In the example > below, > >>> how can I place the columnsetspan at the bottom right? Second and > >>> third column, 10 lines down? I attach the result of running this > file. > >>> &g

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-15 Thread Hans Hagen
lumnsetspan[two][ n=2, background=color, backgroundcolor=lightgray, ] \starttext \startcolumnset[three] \samplefile{knuth} \startcolumnsetspan[two][default=btrl] \samplefile{ward} \stopcolumnsetspan \dorecurse{5}{\samplefile{knuth}\par} \stopcol

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Mikael P. Sundqvist
the bottom right? Second and > > third column, 10 lines down? I attach the result of running this file. > > > > /Mikael > > > > \setuplayout[grid=yes] > > \showgrid > > \definecolumnset[three][n=3] > > > > \define

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Hans Hagen
lumn, 10 lines down? I attach the result of running this file. /Mikael \setuplayout[grid=yes] \showgrid \definecolumnset[three][n=3] \definecolumnsetspan[two][ n=2, background=color, backgroundcolor=lightgray, ] \starttext \startcolumnset

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-13 Thread Mikael P. Sundqvist
f running this file. > > /Mikael > > \setuplayout[grid=yes] > \showgrid > \definecolumnset[three][n=3] > > \definecolumnsetspan[two][ > n=2, > background=color, > backgroundcolor=lightgray, > ] > > \starttext > \startcolumnset[three] > \samplefile{

[NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-11 Thread Mikael P. Sundqvist
low, how can I place the columnsetspan at the bottom right? Second and third column, 10 lines down? I attach the result of running this file. /Mikael \setuplayout[grid=yes] \showgrid \definecolumnset[three][n=3] \definecolumnsetspan[two][ n=2, background=color, backgroundcolor=lightgray, ] \starttext \

Re: [NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Hans Hagen
... l.114 \eTABLE My table is: \setupTABLE[header][each][background=color,backgroundcolor=white, width=broad] \bTABLE[split=repeat,option={stretch},  align={flushright}, frame=off]   \bTABLEhead[align=flushright]     \bTR    \bTH [offset=none, align={flushleft},

[NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Felipe de Jesús Molina Bravo
e_stop ...l_ntb_table_get_max_width \ifautoTBLspread \tabl_ntb... \eTABLE ...oveunwantedspaces \tabl_ntb_table_stop \stopTBLprocessing \fi \po... l.114 \eTABLE My table is: \setupTABLE[header][each][background

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

2019-04-28 Thread Tomas Hala
vertical lines. # > # >Have somebody got some experience with this? # There are no options (yet) for that but you can do # # % \setuplinetable[r][odd] [background=color,backgroundcolor=gray] # % \setuplinetable[r][even][background=color,backgroundcolor=green] # # Hans Thank you. It could

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-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.04.2019 um 16:07: I found this code in ConTeXt (syst-aux.mkiv): \starttext \doloopoverlist {red,green,blue} { \setuppalet[\recursestring] \doloopoverlist {light,normal,dark} { \blackrule[color=\recursestring, width

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

2019-04-27 Thread Pablo Rodriguez
reen,blue} { \setuppalet[\recursestring] \doloopoverlist {light,normal,dark} { \blackrule[color=\recursestring, width=\textwidth]\par } } \stoptext Is it intended that all nine lines are black? Many thanks for your help, Pablo -- http://www

Re: [NTG-context] tikz is not found

2019-04-25 Thread Gour
On Wed, 24 Apr 2019 13:15:14 -0400 (EDT) Aditya Mahajan wrote: > Here is a more detailed example that mimics the tikz code that you > sent in the other email. Thank you very much - it is very useful for learning purposes. > In ConTeXt, if you put quotes around the name of a color,

Re: [NTG-context] tikz is not found

2019-04-25 Thread Saša Janiška
On Wed, 24 Apr 2019 19:08:12 +0200 Wolfgang Schuster wrote: > Change "with color" to "withcolor" (no space). Thank you! Sincerely, Gour -- pgpXOljXTa38u.pgp Description: OpenPGP digital signature

Re: [NTG-context] tikz is not found

2019-04-24 Thread Aditya Mahajan
On Wed, 24 Apr 2019, Wolfgang Schuster wrote: Gour schrieb am 24.04.2019 um 18:57: That I spotted and corrected, but I'm getting another error, I suppose: $ cat mp.tex \starttext Lorem Ipsum… \startMPcode draw ( (0,0)--(1,0)--(0,1)) with color red ; Change "with color" to

Re: [NTG-context] tikz is not found

2019-04-24 Thread Wolfgang Schuster
Gour schrieb am 24.04.2019 um 18:57: That I spotted and corrected, but I'm getting another error, I suppose: $ cat mp.tex \starttext Lorem Ipsum… \startMPcode draw ( (0,0)--(1,0)--(0,1)) with color red ; Change "with color" to "withcolor" (

Re: [NTG-context] tikz is not found

2019-04-24 Thread Gour
.tex \starttext Lorem Ipsum… \startMPcode draw ( (0,0)--(1,0)--(0,1)) with color red ; \stopMPcode \stoptext gives: $ context mp.tex mtx-context | run 1: luatex --fmt="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en" --jobname="mp&q

Re: [NTG-context] adjusting tikz pictures

2019-04-24 Thread Aditya Mahajan
.91, xtick={-12,-11,...,12}, ytick={-13,-12,...,8},] \clip(-12.68,-13.47) rectangle (12.68,8.91); \fill[line width=2pt,color=zzttqq,fill=zzttqq,fill opacity=0.1000149011612] (-7.7,2.75) -- (0.88,2.57) -- (-3.04,-3.37) -- cycle; \draw [line width=2pt,color=zzttqq] (-7.7,2.75)-- (0.88,2.57); \draw [l

[NTG-context] adjusting tikz pictures

2019-04-24 Thread Gour
max=12.678, ymin=-13.472, ymax=8.91, xtick={-12,-11,...,12}, ytick={-13,-12,...,8},] \clip(-12.68,-13.47) rectangle (12.68,8.91); \fill[line width=2pt,color=zzttqq,fill=zzttqq,fill opacity=0.1000149011612] (-7.7,2.75) -- (0.88,2.57) -- (-3.04,-3.37) -- cycle; \draw [line width=2pt,co

[NTG-context] tikz is not found

2019-04-24 Thread Gour
ext/base/mkiv/cont-new.mkiv' system > files > jobname 'tik', input './tik', result 'tik' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name > '/home/gour/prj/tex/tik.tex' colors >

Re: [NTG-context] preparing math exams

2019-04-24 Thread Gour
On Tue, 23 Apr 2019 11:57:34 -0400 Fabrice L wrote: > Metapost (Metafun) is your best friend here. You can insert directly > in context some MetaFun code, like this: > > \starttext > Lorem Ipsum… > > \startMPcode > draw ( (0,0) — (1,0) — (0,1)) with color red ; >

Re: [NTG-context] preparing math exams

2019-04-23 Thread Fabrice L
in context some MetaFun code, like this: \starttext Lorem Ipsum… \startMPcode draw ( (0,0) — (1,0) — (0,1)) with color red ; \stopMPcode \stoptext Look at this entry in the wiki: https://wiki.contextgarden.net/MetaPost_in_ConTeXt Also, you will find a link to the meta fun manual in this page

Re: [NTG-context] Filling the diamond in enumeration

2019-04-20 Thread Otared Kavian
] \item foo \item bar \item baz \stopitemize \stoptext Best regards: OK > On 20 Apr 2019, at 12:24, Fabrice Couvreur > wrote: > > Hi, > Is it possible to fill the diamond ? > Thank you. > Fabrice > > \starttext > \startitemize[4][color=red] > \it

[NTG-context] Filling the diamond in enumeration

2019-04-20 Thread Fabrice Couvreur
Hi, Is it possible to fill the diamond ? Thank you. Fabrice \starttext \startitemize[4][color=red] \item One \item Two \stopitemize \stoptext ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Unwanted uppercase letter in \high{} within bibliography

2019-04-12 Thread Huseyin Özoguz
s a simple workaround: Dirty workaround: \high{\color[white]{e}\hskip-1.3ex ème} Maybe better: \lohi{\color[white]{b}}{ème} -- Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de ___ If your question is of interest to others as we

Re: [NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Wolfgang Schuster
://wiki.contextgarden.net/PaperSetup#Crop_marks I tried different options (marked=on, market=colour, marked=color..., something with \setuplayout[location={middle,middle}]...) Some times the crop marks don't show at all, sometimes they are set off a bit so they don't fit with the actual document. I

[NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Benjamin Koppe
tried different options (marked=on, market=colour, marked=color..., something with \setuplayout[location={middle,middle}]...) Some times the crop marks don't show at all, sometimes they are set off a bit so they don't fit with the actual document. I added the whole file as I really do not knwo (yet

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Henning Hraban Ramm
h toned or multitone colors and only with _some_ >> greyscale pictures, not with bitmaps and also not with my greyscale dodo. > > It uses an indexed (256 so one byte) image ... coloring a cow is no option > anyway as there the pdf object is an independent thing (i could probably

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Hans Hagen
coul dprobably inject color directives if needed but that could then interfere with the way such a pdf stream is set up. I can also only use one version my-blue – if I use my-blue-100, then my-blue-50 stays grey, and if I only use my-blue-50, it’s the same tone as 100. Something’s very fishy

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Henning Hraban Ramm
ernalfigure[cowi][cow.pdf][object=no,width=.3\textwidth] \define[1]\FIG{% \section{#1} \startcombination[3*1] {\externalfigure[milli][color=#1]} {grey} {\externalfigure[dodog][color=#1]} {grey} {\externalfigure[dodob][color=#1]} {bitmap} \stopcombination } \starttext %\FIG{blue} %\FIG{m

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Hans Hagen
On 3/18/2019 7:45 PM, Henning Hraban Ramm wrote: \externalfigure has a "color" parameter. It used to be possible to colorize greyscale pictures with that, but it doesn’t work any more: %%% \setupcolors[state=start] \setupexternalfigures[     location={local,global,default}, ]

[NTG-context] colorizing pictures

2019-03-18 Thread Henning Hraban Ramm
\externalfigure has a "color" parameter. It used to be possible to colorize greyscale pictures with that, but it doesn’t work any more: %%% \setupcolors[state=start] \setupexternalfigures[ location={local,global,default}, ] \starttext \externalfigure[img/minidodo_g][width=.3

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

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] about the color of sidebar

2019-02-25 Thread Jeong Dal
Dear Mohammad Hossein Bateni, > 2019. 2. 25. 오후 1:27, ntg-context-requ...@ntg.nl 작성: > > I have never used the sidebar mechanism, but there is a "rulecolor" option > in setupsidebar. Maybe that's what you're looking for. > > You can look up the commands and their options in "i-context.pdf"

Re: [NTG-context] about the color of sidebar

2019-02-24 Thread Mohammad Hossein Bateni
topsidebar” because I > used the same style bar by defining a frame and overlay. > Here is a question: Is it possible to change the color of the bar or any > other options? > There is no commnad like “\setupsidebar” in the wiki. > > Thank you. > > Best regards, > > Dalyoung

[NTG-context] about the color of sidebar

2019-02-24 Thread Jeong Dal
bar” because I used the same style bar by defining a frame and overlay. Here is a question: Is it possible to change the color of the bar or any other options? There is no commnad like “\setupsidebar” in the wi

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

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