drive viewers
we went from epson dot matrix printer -> early 300 dpi laser -> 600 dpi
laser printer -> high speed oce 512 dpi printer (metric) -> high speed
oce 600 dpi printer (+ crappy canon color laser printer) -> fast
page-wide hp color inkjet office printer
in mkii al
On 4/10/2024 5:22 AM, seyal zavira wrote:
seams this code means to put a hidden text with same size behind
metapost shape.
but it does not work properly for me (current version: 2024.04.01 08:59)
and produce empty page but with searchable hidden text.
as mentioned kind = "outline" will be in
seams this code means to put a hidden text with same size behind metapost
shape.
but it does not work properly for me (current version: 2024.04.01 08:59)
and produce empty page but with searchable hidden text.
also when i edit the code and replace metapost part like this:
\startMPcode
draw
On 4/8/2024 8:22 AM, seyal zavira wrote:
thank you Harban and Keith McKay.
\startMPpage
picture tt ; tt := lmt_outline [
kind = "path",
text = "\definedfont[name:texgyrepagellabold*default]foo
f o o",
] ;
fill
thank you Harban and Keith McKay.
\startMPpage
> picture tt ; tt := lmt_outline [
> kind = "path",
> text = "\definedfont[name:texgyrepagellabold*default]foo f o o",
> ] ;
>
> fill
> for i within tt : pathpart i && endfor cycle
>
On 4/7/2024 7:42 PM, Henning Hraban Ramm wrote:
Am 07.04.24 um 19:05 schrieb Hans Hagen:
\startMPpage
picture tt ; tt := lmt_outline [
kind = "fillup",
text = "\definedfont[name:texgyrepagellabold*default]foo f o o",
] xsized 12cm ;
path bb ; bb := boundingbox
I've found my original file and the image is as Hraban says below. The
code is the original in the post I quoted and gives a green background
with shaded colours in the text.
Best Wishes
Keith
On 07/04/2024 18:42, Henning Hraban Ramm wrote:
Am 07.04.24 um 19:05 schrieb Hans Hagen:
Am 07.04.24 um 19:05 schrieb Hans Hagen:
\startMPpage
picture tt ; tt := lmt_outline [
kind = "fillup",
text = "\definedfont[name:texgyrepagellabold*default]foo f o o",
] xsized 12cm ;
path bb ; bb := boundingbox tt ;
path pp ; pp := bb enlarged 2cm ;
Forwarded Message
Subject: Re: [NTG-context] Re: how to apply gradient color to a piece of
text?
Date: Sun, 7 Apr 2024 19:05:13 +0200
From: Hans Hagen
To: Keith McKay
On 4/7/2024 6:56 PM, Keith McKay wrote:
Not for me either. I used it somewhere so I'll need to look
Not for me either. I used it somewhere so I'll need to look back in my
files.
Keith
On 07/04/2024 17:41, Henning Hraban Ramm wrote:
Am 07.04.24 um 15:51 schrieb Keith McKay:
Have a look at the posts starting on the 2 March 2021 with the
subject heading "Shaded Large Letters in LMTX". Hans
Am 07.04.24 um 15:51 schrieb Keith McKay:
Have a look at the posts starting on the 2 March 2021 with the subject
heading "Shaded Large Letters in LMTX". Hans gave a great solution.
Neither for the example in
Have a look at the posts starting on the 2 March 2021 with the subject
heading "Shaded Large Letters in LMTX". Hans gave a great solution.
Best Wishes
Keith
On 07/04/2024 11:48, seyal.zav...@gmail.com wrote:
hi all,
when i look at luametafun manual there are some intresting examples that
hi all,
when i look at luametafun manual there are some intresting examples that can
apply gradient colors to metapost paths.
how i can apply this cool feature to a piece of text?
i tried the code below but it does not produce any result.
\definecolor[Gleft] [h=9f9393]
\definecolor[Gright]
Dear Pablo,
Here is my example:
\setuppapersize[A4]
\setupbodyfont[termes, 12.50pt]
\setuplayout[backspace=2.9cm,
width=fit]
\ininnermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}}
\dontleavehmode \blackrule[color=black, height=0.10ex, width=13.50cm]
\showframe
r sample makes no use of it.
Sorry, but I don’t get it.
> \defineenumeration
> [theorem]
> [
> text=Theorem,
> title=yes,
> width=fit,
> distance=0.2em,
> alternative=serried,
> ]
> \definetextbackground[GrayBackground][
> locatio
=footer]
\setupheadertexts[\CONTEXT\ imposition test]
\showframe
\setupbackgrounds [text][text][background=color,backgroundcolor=lightgray]
% Where the block of pages is placed on the sheet
% (relevant if there is space left over.)
\setuplayout [location=middle,marking=on]
\startbuffer[Fakepage
, and Hans’ manuals are also often "in progress".
A visible TODO marker might help – I’m using the following in my book to
keep track of incomplete sections:
\defineregister[todos]
\define[1]\TODO{\inouter{\tt\color[red]{TODO}}\expanded{\todos{\structurevariable{title}}}\color[re
needs color profiles and i hope tikz doesn't add them
[And in summary, to be clear: I'm good with the colour support in ConTeXt!]
ok
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat
the imposition)?
Also I recognized I'm not sure about the difference of the layout
parameters backspace and cutspace.
Hraban
*) 8 participants who endured 3 hours of me mostly talking… Further
questions that I couldn't answer for sure were about PDF/A or PDF/UA and
how color profiles
setmacro{\@red@}{(1 - #2) * (1 - #5)}%
>> \pgfmathsetmacro{\@green@}{(1 - #3) * (1 - #5)}%
>> \pgfmathsetmacro{\@blue@}{(1 - #4) * (1 - #5)}%
>> \expandafter\edef\csname\string\color@#1\endcsname
>> {\noexpand\xcolor@ {}{}{rgb}{\@red@,\@green@,\@blu
will to push this (or add it in to a ConTeXt
>> distribution version), I'd still like the cmyk support, even if there is no
>> ability to specify colour profiles:
>> \def\pgfutil(a)emu@cmyk#1#2,#3,#4,#5\@nil
>> {
>> \pgfmathsetmacro{\@red@}{(1 - #2) * (1 - #5)}%
>> \pgf
orry, but I don’t get it.
> \defineenumeration
> [theorem]
> [
> text=Theorem,
> title=yes,
> width=fit,
> distance=0.2em,
> alternative=serried,
> ]
> \definetextbackground[GrayBackground][
> location=paragraph,
> background=color,
>
=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}
\blackrule[color=black, height=0.10ex
)}%
\expandafter\edef\csname\string\color@#1\endcsname
{\noexpand\xcolor@ {}{}{rgb}{\@red@,\@green@,\@blue@}}
}
I don't see that it would hurt anything, even if it doesn't give complete
cmyk support.
We provide
\pgf@context@registercolor
\pgf@context@registergray
\pgf@context@registerrgb
\pgf
,#5\@nil
> {
> \pgfmathsetmacro{\@red@}{(1 - #2) * (1 - #5)}%
> \pgfmathsetmacro{\@green@}{(1 - #3) * (1 - #5)}%
> \pgfmathsetmacro{\@blue@}{(1 - #4) * (1 - #5)}%
> \expandafter\edef\csname\string\color@#1\endcsname
> {\noexpand\xcolor@ {}{}{rgb}{\@re
, even if there is no
ability to specify colour profiles:
\def\pgfutil@emu@cmyk#1#2,#3,#4,#5\@nil
{
\pgfmathsetmacro{\@red@}{(1 - #2) * (1 - #5)}%
\pgfmathsetmacro{\@green@}{(1 - #3) * (1 - #5)}%
\pgfmathsetmacro{\@blue@}{(1 - #4) * (1 - #5)}%
\expandafter\edef\csname\string\color
100644
--- a/tex/generic/pgf/utilities/pgfutil-context.def
+++ b/tex/generic/pgf/utilities/pgfutil-context.def
@@ -26,8 +26,17 @@
\def\pgfutil@definecolor#1#2#3{\csname pgfutil@emu@#2\endcsname{#1}#3\@nil}
\def\pgfutil@emu@rgb#1#2,#3,#4\@nil{\expandafter\def\csname\string\color@#1\endcsname
ne.
> Indeed, no need to show of the obvious
>
> \definebar
>[mybar]
>[backgroundbar]
>[height=\strutht,depth=\strutdp,offset=.250ex,color=red]
>
> [...]
That looks perfect, thanks!
-- Max
__
t,depth=\strutdp,offset=.250ex,color=red]
\definebar
[yourbar]
[backgroundbar]
[height=\strutht,depth=\strutdp,offset=.125ex,color=blue]
\definebar
[ourbar]
[backgroundbar]
[height=\strutht,depth=\strutdp,offset=.125ex,color=green]
\starttext
\startTEXpage[width=4cm]
\startformul
PM, seyal zavira wrote:
> > thanks for your reply
> >
> > yes but i don't have problem with regular svgs but when svgs has
> > gradient color it does not produce any color in output.
> >
> > you can see my svg in attachment.
> svg gets worse and worse (esp the i
On 3/12/2024 2:53 PM, seyal zavira wrote:
thanks for your reply
yes but i don't have problem with regular svgs but when svgs has
gradient color it does not produce any color in output.
you can see my svg in attachment.
svg gets worse and worse (esp the inheritance model) ... anyway, i can
| www.pragma-ade.nl | www.pragma-pod.nl
-
inter-001.pdf
Description: Adobe PDF document
\definebar[mybar][inlined][offset=.25ex,color=red]
\starttext
\startformula
a \alignhere= b + c \breakhere
\myba
thanks for your reply
yes but i don't have problem with regular svgs but when svgs has gradient
color it does not produce any color in output.
you can see my svg in attachment.
On Tue, Mar 12, 2024 at 9:43 AM Jean-Pierre Delange
wrote:
> Hi !
>
> Did you have a look at this :
mula
\samplefile{knuth}
\stoptext
\unprotect
\newbox\hightlight_tmp_box
\definemathframed[_highlight][
location=mathematics,
frame=off,
background=color,
backgroundcolor=lightred,
backgroundoffset=0.25ex,
]
\tolerant\def\highlighthere#1\alignhere#2#3\breakhere{%
\setbo
normalization on the
way]):
\definefontfamily[mainface][rm][EBGaramond]
\setupbodyfont[mainface, 500pt]
\definecolor [tred] [r=1,t=.5,a=1]
\definecolor [tblue] [b=1,t=.25,a=1]
\starttext
\startTEXpage[offset=1ex]
\startoverlay
{\color[tred]{Ά}}
{\color[tblue]{Ά}}
\stopoverlay
it in a better way.
Finally instead of
\blackrule[color=black, height=0.10ex, width=13.50cm]
you can use just \hairline, and the thickness and color of such a \hairline can
be adjusted by
\setupthinrules[rulethickness=4pt,color=darkgreen]
(for instance), which should be put before
,
alternative=serried,
]
\definetextbackground[GrayBackground][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.8\bodyfontsize,
rightoffset=.8\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\margintext{\blackrule[color=black
;
includes the mark in the initial, and it works only with a few
languages, e.g. English and French, but not e.g. German or Dutch:
"""
\mainlanguage[de]
\setuppapersize[A6]
\setupinitial[n=2,color=orange,]
\starttext
\start
\setupinitial[method=first]
\placeinitial \quotation{Keine andere
On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\definefontfamily[mainface][rm][TeX Gyre Termes]
\definefontfamily[mainface][cg][Twemoji Mozilla][features={color}]
\setupbodyfont[mainface]
\starttext
\scale[width=30em
Dear list,
I have the following sample:
\definefontfamily[mainface][rm][TeX Gyre Termes]
\definefontfamily[mainface][cg][Twemoji Mozilla][features={color}]
\setupbodyfont[mainface]
\starttext
\scale[width=30em]{a}
\scale[width=30em]{\cg }
\stoptext
Using current latest from both
In attached example, the opening Brackets (I marked them with
> > \color[red]{【} and \color[red]{{}) are taking the previous character
> > with them to the next line. Please remove these to see that the
> > previous character would stay on the previous line. Thanks Wolfgang
> >
, the opening Brackets (I marked them with
\color[red]{【} and \color[red]{{}) are taking the previous character
with them to the next line. Please remove these to see that the
previous character would stay on the previous line. Thanks Wolfgang
for checking wether this is a bug.
Can you stick to fonts
Dear all, thanks for your contributions.
Sure I'll update the https://wiki.contextgarden.net/Chinese_Japanese_and_Korean
hopefully with the help of Jeong Dal and others as soon as things are sorted
out.
In attached example, the opening Brackets (I marked them with \color[red]{【}
and \color[red
Dear List,
At Work everything works fine now. Many thanks for those, who have written me.
I have a question to my paragraphs:
\definetextbackground[Paragaph][
location=paragraph,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize
be greatly
appreciated.
\setupinteraction[state=start, color=darkblue]
\setupwhitespace [big]
\starttext
Consult the \goto{\ConTeXt\ wiki}[url(https://wiki.contextgarden.net/)]
.\par
\dorecurse{5}{\samplefile{lorem}\par}
\stoptext
Processed as follows:
context mwe.tex
context --extra=select
d
[align=middle,topframe=dash,frame=off]
{\samplefile{tufte}}
\framed
[align=middle,
frame=dash,
dashstep=.01hs,
rulethickness=1pt]
{\samplefile{tufte}}
\framed
[align=middle,
frame=dash,
dashstep=10pt,
rulethickness=2pt,
background=color,
background
dth, align={flushleft,broad,nothyphenated}]
\setupinteraction[state=start, color=darkblue]
\starttext
\xmlprocessfile{list}{mwe.xml}{}
\stoptext
% finis
mwe.pdf
Description: Adobe PD
Hi, I thought I could finally setup color management properly instead of
converting all print PDFs with Acrobat Pro…
On the wiki, there’s something in https://wiki.contextgarden.net/PDFX; I
updated it a bit, but we (I?) should combine it with
https://wiki.contextgarden.net/PDF/A …
How can I
Dear list,
It seems with one of the latest lmtx this old reported issue
(https://www.mail-archive.com/ntg-context@ntg.nl/msg84988.html) is back.
MWE:
\setupinteraction[state=start,color=red,style=]
\setupbtx[aps:cite][alternative=entry]
\usebtxdefinitions[aps]
\startbuffer [bib]
@ARTICLE
in the end wr're quite okay nowadays.
If you run context with \tracingall you'll see that more goes on.
For me 40 pps sounds not that bad. If you use only text you can get to
500 pps but that's not realistic. Maybe your style is suboptimal.
Also, open type fonts, opentype math, unicode, color, etc etc
On 18/01/2024 12:10, Hans Hagen via ntg-context wrote:
yes but experimental and not yet documented
I don't mind experimenting with it.
e.g. I try to change the font color in existing pdf documents from black
to blue.
At the moment my workaround is using mutool to export pages to svg
On 1/17/2024 10:20 PM, vm via ntg-context wrote:
Is there a (hidden) option that allows for changing the font color of
external included pdfs
yes but experimental and not yet documented
Hans
Am 17.01.24 um 22:20 schrieb vm via ntg-context:
Is there a (hidden) option that allows for changing the font color of
external included pdfs
\copypages[file.pdf][color=blue]
does not work as intended ;-)
No, it can’t.
You can try to use transparency: put a colored area on top of the PDF
Is there a (hidden) option that allows for changing the font color of
external included pdfs
\copypages[file.pdf][color=blue]
does not work as intended ;-)
.Floris
___
If your question is of interest to others
ow}, width=\outermarginwidth,
headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width]
\setupexternalfigures[location=default]
\setupmargindata[style={\tfx}, stack=yes]
\setupmargindata[inouter][color=orange]
\setupmargindata[ininner][color=blue]
\showframe
\starttext
\section{Margin Tes
Am 09.01.24 um 14:43 schrieb G.C.H.M. Verhaag via ntg-context:
Hi,
The example below works as expected, but within my product it doesn't.
% Subject example before and after!
\setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant
Hi,
On Tue, Jan 9, 2024 at 2:45 PM G.C.H.M. Verhaag via ntg-context
wrote:
>
> Hi,
> The example below works as expected, but within my product it doesn't.
>
> % Subject example before and after!
>
> \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[no
Hi,
The example below works as expected, but within my product it doesn't.
% Subject example before and after!
\setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}]
\starttext
A paragraph before calling the subject.
\subject
72dpi)
> > currentpicture := currentpicture xysized (desiredformat ,desiredformat );
> >
> > \stopMPpage
> > }
> >
> > \stoptext
> >
> > On Dez. 2 2023, at 5:22 pm, Mikael Sundqvist wrote:
> >
> > Hi Emanuel,
> >
> > I am not sure I u
It's not that much code but I need to add a keyword interface. It's also
> something we might play with a little at this years meeting so ...
>
> (I added a gray scale option for tyhose without color printer.)
>
> Here's a big one (the xmas card):
>
> http://www.pragma-ade
for tyhose without color printer.)
Here's a big one (the xmas card):
http://www.pragma-ade.nl/ctx-group-2023.pdf
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
:44, Ursula Hermann wrote:
>
> If I change the name of the textbackground with my example, I sent yesterday,
> there is no color in the paragraph.
>
Try the following version of your example which incoporates Hraban's and
Wolfgang's suggestions.
Also take care over changing sty
led or disabled.
>
> %\enablemode[H]
>
> \startmode [H]
> \definestartstop [H] [color=blue]
> \stopmode
>
> \startnotmode [H]
> \define\startH{\ignoreupto\stopH}
> \stopnotmode
>
> \starttext
>
> xxx \startH yyy \sto
;
fill fullcircle scaled GlobeDiameter withcolor .9white ; % Fill a
circle with the water color.
drawglobe(23, 0) scaled GlobeDiameter withcolor .75white ;% Draw
the land.
draw fullcircle scaled GlobeDiameter withcolor black ;% Add a
border, if you want.
\stopMPpage
\stopbuffer
GlobeDiameter = 10cm ;
fill fullcircle scaled GlobeDiameter withcolor .9white ; % Fill a circle
with the water color.
drawglobe(23, 0) scaled GlobeDiameter withcolor .75white ;% Draw the land,
centered on the given latitude and longitude.
draw fullcircle scaled GlobeDiameter withcolor black
\beginH TEST\endH test
You can create different versions of your environment and let context choose
one whether the mode is enabled or disabled.
%\enablemode[H]
\startmode [H]
\definestartstop [H] [color=blue]
\stopmode
\startnotmode [H]
\define\startH{\ignoreupto\stopH}
\stopnotmode
On 12/16/2023 9:17 AM, Peter Münster wrote:
Hi,
I get an "runaway error" with the following example:
--8<---cut here---start->8---
\definestartstop[H][color=blue, before={\startmode[h]}, after={\stopmode}]
\starttext
test
\startH
TEST
\sto
Hi,
I get an "runaway error" with the following example:
--8<---cut here---start->8---
\definestartstop[H][color=blue, before={\startmode[h]}, after={\stopmode}]
\starttext
test
\startH
TEST
\stopH
\stoptext
--8<---cut her
> On 14 Dec 2023, at 09:44, Ursula Hermann wrote:
>
> If I change the name of the textbackground with my example, I sent yesterday,
> there is no color in the paragraph.
>
Try the following version of your example which incoporates Hraban's and
Wolfgang's suggestions.
Also
Ursula Hermann schrieb am 13.12.2023 um 15:22:
Dear list,
I have this example. I need the whole paragraph in color. But there is
something wrong.
\definepapersize[MyBook][width=19cm,height=24cm]
\setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook
%\setuppapersize[MyBook
}
>
> function userdata.mycommand(keywords, keyvals, str)
> keyword_options = utilities.parsers.settings_to_array(keywords)
> named_values = utilities.parsers.settings_to_hash(keyvals)
>
> context('First option = ' .. keyword_options[1])
> context('\\par')
Dear Henning,
If I change the name of the textbackground with my example, I sent yesterday,
there is no color in the paragraph.
Many thanks
Uschi
Von: Henning Hraban Ramm
Gesendet: Mittwoch, 13. Dezember 2023 15:52:08
An: mailing list for ConTeXt users
On Wed, 13 Dec 2023 18:55:34 +0100
Wolfgang Schuster wrote:
> This was added a few years ago (AFAIR to provide something similar to
> the TikZ color command).
You actually mean similar to the MetaPost color command.
named_values = utilities.parsers.settings_to_hash(keyvals)
context('First option = ' .. keyword_options[1])
context('\\par')
context('Color chosen = ' .. named_values['color'])
context('\\par')
context('Curly braces = ' .. str)
context('\\par')
end
\stopluacode
\def\mycommand[#1
(white)]
\definecolor[MyColorA][.75(MyColorB,white)]
I never saw this syntax in ConTeXt.
This was added a few years ago (AFAIR to provide something similar to
the TikZ color command).
I thought it looked like TikZ.
And it’s actually documented in
https://wiki.contextgarden.net/Command
)]
I never saw this syntax in ConTeXt.
This was added a few years ago (AFAIR to provide something similar to
the TikZ color command).
Wolfgang
___
If your question is of interest to others as well, please add
t[k] = v
return v
end)
local replacer = utilities.templates.replacer
-- todo: RuleColor -> just string ?
-- todo: fetch them instead fo push them
-- local predefined = {
-- ["fake:word"] = replacer [[
-- FakeWord(%width%,%height%,%dep
[MyColorA][.75(MyColorB,white)]
\defineframed
[FrameTitle]
[frame=off,
foregroundstyle=\bfx\ss,
foregroundcolor=white,
background=color,
backgroundcolor=MyColorD,
location=depth]
\defineframedtext
[FramedText]
[offset=0.25em,
style=\ss
Am 13.12.23 um 15:22 schrieb Ursula Hermann:
Dear list,
I have this example. I need the whole paragraph in color. But there is
something wrong.
\definetextbackground[paragraph][
\startparagraph
\startparagraph starts a paragraph environment. If you overwrite it by
defining another
Dear list,
I have this example. I need the whole paragraph in color. But there is
something wrong.
\definepapersize[MyBook][width=19cm,height=24cm]
\setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook
%\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper
setupinteraction[state=start,page=fit,focus=standard]
> afterwards.
Many thanks for your reply, Bruce.
The following code seems to solve my issues:
\def\MyGoTo#1[#2]{\setupinteraction[state=start, style=,
display=new, color=, contrastcolor=,
page={auto,name},
focus=standard]%
,
background=color,
backgroundcolor=yellow,
framecorner=13,
backgroundcorner=07,
backgroundoffset=0.5em,
]{Das Runde muss ins Eckige}
\blank
\framed[
frame=on,
corner=round,
frameoffset=0.5em,
framecolor=black,
background=color,
backgroundcolor=darkgreen,
backgroundoffset=1em
ext] Re: Colored Paragraph
>
> Am 05.12.23 um 14:16 schrieb Ursula Hermann:
>> The paragraph should have a color in the background. How can I get an
>> colored paragraph?
>
> Did you try \definetextbackground?
>
> https://wiki.contextgarden.ne
should fill the whole blackrule.
-Ursprüngliche Nachricht-
Von: Henning Hraban Ramm
Gesendet: Dienstag, 05. Dezember 2023 14:58
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: Colored Paragraph
Am 05.12.23 um 14:16 schrieb Ursula Hermann:
The paragraph should have a color
:
> The paragraph should have a color in the background. How can I get an
> colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
: Colored Paragraph
Am 05.12.23 um 14:16 schrieb Ursula Hermann:
> The paragraph should have a color in the background. How can I get an
> colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextback
Am 05.12.23 um 14:16 schrieb Ursula Hermann:
The paragraph should have a color in the background. How can I get an
colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
Hraban
,
alternative=serried,
]
\margintext{\blackrule[color=black, height=0.25ex,
width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm]
\starttext
\margintext {1.1.1}
\startparagraph
It was essential for Hasselt to have a bridge across the Zwarte
Water river. The bishop of Utrecht gave
also p1;
>
> where you want it.
>
> /Mikael
>
> PS For the text thing, I did not get it. Could one have a _very
> simple_ example showing only that problem and no other problem?
>
> On Sat, Dec 2, 2023 at 12:58 PM fv leung wrote:
> >
> > You didn't spe
toptext
> >
> > On Dez. 2 2023, at 5:22 pm, Mikael Sundqvist wrote:
> >
> > Hi Emanuel,
> >
> > I am not sure I understand your question, and since you use fonts that
> > i do not have, I cannot test your example as is. But, maybe, if you
>
> want to redraw a picture, you can do
>
> addto currentpicture also p1;
>
> where you want it.
>
> /Mikael
>
> PS For the text thing, I did not get it. Could one have a _very
> simple_ example showing only that problem and no other problem?
>
> On Sat, Dec 2, 2023
t. Could one have a _very
> simple_ example showing only that problem and no other problem?
>
> On Sat, Dec 2, 2023 at 12:58 PM fv leung wrote:
> >
> > You didn't specify the color of path A in p2 and p4. So it's drawn in black.
> > The other issue, I can't help.
one have a _very
simple_ example showing only that problem and no other problem?
On Sat, Dec 2, 2023 at 12:58 PM fv leung wrote:
>
> You didn't specify the color of path A in p2 and p4. So it's drawn in black.
> The other issue, I can't help.
>
> Emanuel Han via ntg-context 於 2023年1
You didn't specify the color of path A in p2 and p4. So it's drawn in black.
The other issue, I can't help.
Emanuel Han via ntg-context 於 2023年12月2日 週六 下午7:23寫道:
> So is there a way to circumvent these issues? Or an explanation for this
> behavior, so that I can try to find a solution by
ncluded some of Fabrice's code into mine for testing purpose, and indeed
> the multipage works now.
> What is bizarre is that issues appear now that didn't appear before:
> Path A is drawn with color red on page 1, and in color black on all following
> pages, while it should stay red.
>
&
Dear Aditya and Fabrice,
thanks for your responses.
I included some of Fabrice's code into mine for testing purpose, and indeed the
multipage works now.
What is bizarre is that issues appear now that didn't appear before:
Path A is drawn with color red on page 1, and in color black on all
e[0] := (0,0);
TheBrownianMotion := Coordinate[0] ;
variance := 10 ;
\stopMPinclusions
\dorecurse{600}{ % Frame
\setupMPpage[background=color, backgroundcolor=SpringGreen]
\startMPpage[pagestate=start]
currentime := #1 ;
% Just for learning :
draw TheFrame withpen pencircle scaled .1in withco
,
width=fit,
distance=0.5em,
alternative=serried,
]
\margintext{\blackrule[color=black, height=0.25ex,
width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm]
\starttext
\margintext {1.1.1}
\starttheorem
The square on the hypotenuse is equal to the sum of the squares
\stoptheorem
>
> The spurious parentheses seem to be a side-effect of having unmatched curly
> brackets in the bit that I have quoted.
>
> The following eliminates them:
>
> \definemargindata [MyInMargin][inright]
> \definemarginframed[MyInMargin][topframe=on,bot
draw r anglestriped (1,45,2) withcolor cyan;
>
> This will correct the problem, because each path is now drawn only once.
>
> Fabrice.
>
> Le 20 nov. 2023 à 14:47, Fabrice Couvreur a
> écrit :
>
> Hi Otared,
> It's true that the color seems identical.
> Th
1 - 100 of 5284 matches
Mail list logo