doublesided (frente e verso)
\startsetups setpagenumber
% Set the page number to be (2em, \lineheight) from the bottom right corner
% Note the `preset=rightbottom` above.
%
% The 2nd set of optional arguments are for the frame. For illustration I
change
% the color and font of the page number
literation[indic]
\definetransliteration
[MyIASTtoDeva]
[color=blue,
style=bold,
language=sa,
vector={iast to deva}]
\starttransliteration[MyIASTtoDeva]%[color=green] can set a new
color here
idaṁ śarīraṁ kaunteya kṣetramityabhidīyate.
etadyo vetti taṁ prāhuḥ kṣetra
ctor accordingly to get the desired transliteration block.
Please see below a minimal example for both:
% SOF
\usetransliteration[indic]
\definetransliteration
[MyIASTtoDeva]
[color=blue,
style=bold,
language=sa,
vector={iast to deva}]
\starttransliteration[MyIASTtoDeva]%[co
lor} ;
label(textext("\start\switchtobodyfont[10pt]%
\setupinteraction[color=simpleslides:backgroundcolor,style=normal]%
\startcolor[simpleslides:backgroundcolor]
\goto{\pagenumber}[Prev
]{\useMPgraphic{name}}}
Here are a few great looking multiple choice questions about colors.
\startquestions
\question What is your favorite color?
\startchoices[columns,four]
\choice \mycolordot{.625red}
\choice \mycolordot{.625blue}
\choice \mycolordot{.625green}
\choice \mycolordot
withcolor \mycolor;
\stopuseMPgraphic
\define[1]\mycolordot{\def\mycolor{#1}\framed[location=top,offset=0pt,frame=off]{\useMPgraphic{name}}}
What is your favorite color? (There is too much space after these choices.)
\startchoices[columns,four]
\choice \mycolordot{.625red}
\choice \mycolordot
[choices]
\setupchoices [each] [A] [left=(, right=), width=1.7em, stopper=,]
\define\choice{\item}
Here are a few great looking multiple choice questions about colors.
\startquestions
\question What is your favorite color?
\startchoices[columns,four]
\item Red
\item Blue
\item Green
\item
want to give my
> solution to one of the problems, as an example, on the handout.
>
> -Gavin
I have similar problem for my courses. The solution I use, different than the
one offered, is to write in a « special » color the text I want to hide from
the students. This permits me to have
to that (as we
do with math now). (This is not new: for a long time tex users had to
deal with computer modern fonts with basically only proper kerning for
english.)
Add to that evolving technologies (color fonts, image based ones e.g.
emoji, variable fonts) that show up, then need fonts, where
as attached
>> file)
>>
>>> Le 6 janv. 2022 à 20:00, Hans Hagen via ntg-context a
>>> écrit :
>>>
>>> Hi,
>>>
>>> Maybe this is of interest to critical users:
>>>
>>> \setupsynchronize [paralleltext] [col
On 1/6/2022 10:36 PM, Henning Hraban Ramm via ntg-context wrote:
Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context:
Hi,
Maybe this is of interest to critical users:
\setupsynchronize [paralleltext] [color=darkblue]
% \setupsynchronize [paralleltext] [style=\tx,color=darkred
On 1/6/2022 10:36 PM, Henning Hraban Ramm via ntg-context wrote:
Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context:
Hi,
Maybe this is of interest to critical users:
\setupsynchronize [paralleltext] [color=darkblue]
% \setupsynchronize [paralleltext] [style=\tx,color=darkred
TX complains that \setupsynchronize was
> never defined (see the log, as attached file)
>
>> Le 6 janv. 2022 à 20:00, Hans Hagen via ntg-context a
>> écrit :
>>
>> Hi,
>>
>> Maybe this is of interest to critical users:
>>
>> \setupsynchronize [p
Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context:
Hi,
Maybe this is of interest to critical users:
\setupsynchronize [paralleltext] [color=darkblue]
% \setupsynchronize [paralleltext] [style=\tx,color=darkred]
% \setupsynchronize [paralleltext] [style=\txx,color=darkgreen]
I played
his is of interest to critical users:
>
> \setupsynchronize [paralleltext] [color=darkblue]
> % \setupsynchronize [paralleltext] [style=\tx,color=darkred]
> % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen]
>
> \starttext
>
> \dorecurse{10}{%
>\par
Hi,
Maybe this is of interest to critical users:
\setupsynchronize [paralleltext] [color=darkblue]
% \setupsynchronize [paralleltext] [style=\tx,color=darkred]
% \setupsynchronize [paralleltext] [style=\txx,color=darkgreen]
\starttext
\dorecurse{10}{%
\paralleltext
{[een
,
> style=\bfb]
>
> \definenote[someothername]
>
> \setupnote
>[someothername]
>[rule=off]
>
> \setupnotation
>[someothername]
>[numberconversion=set 2]
>
> \setupnotation
>[alternative=left,
>hang=fit,
> i
[alternative=left,
hang=fit,
indenting={yes,small},
indentnext=yes]
\setupinteraction
[state=start,
color=,
contrastcolor=]
\starttext
\subject{Grande lista de autores}
\placecontent[alternative=c]
\startsection[title={Whatever}][author={A. Uthor
ing={yes,small},indentnext=yes, % please, indent everything, should
be default
]
\setupinteraction[state=start,color=black,contrastcolor=black]
\setuphead[subject][align=flushleft,style=\bfb]
\starttext
\subject{Grande lista de autores}
\placecontent[alternative=c]
\startsection[title={Whatever}][a
). It basically boils down
to boxes listening to source, target and anchor keys, as in:
\vbox
source 123
\bgroup
\offinterlineskip
\blackrule[width=4cm,height=2cm,depth=0cm,color=darkred]\par
\blackrule[width=4cm,height=0cm,depth=1cm,color=darkblue]\par
nting={yes,small},indentnext=yes, % please, indent everything,
should be default
]
\setupinteraction[state=start,color=black,contrastcolor=black]
\setuphead[subject][align=flushleft,style=\bfb]
\starttext
\subject{Grande lista de autores}
\placecontent[alternative=c]
\start
: 'small' indentation, no indentation on 'first':
\setupindenting[yes, medium, next]
\setupheads[indentnext=yes]
\setupinteraction[state=start, click=yes, focus=standard, color=darkblue]
\mainlanguage[en]
\protected\def\FancySuperscript#1⁾{\superscript{#1}}
\protected\def\FancySubscript #1
to]
\setuptyping[indentnext=auto]
% Might use: 'small' indentation, no indentation on 'first':
\setupindenting[yes, medium, next]
\setupheads[indentnext=yes]
\setupinteraction[state=start, click=yes, focus=standard, color=darkblue]
\mainlanguage[en]
\protected\def\FancySuperscript#1⁾{\superscript{#
true,
> xmin=-3.2488079448294145,
> xmax=34.87398305791419,
> ymin=-7.496155590728956,
> ymax=11.53265632858922,
> xtick={-3.0,-2.0,...,34.0},
> ytick={-7.0,-6.0,...,11.0},]
> %\clip(-3.2488079448294145,-7.496155590728956) rectangle
> (34.87398305791419,11.53265632858922);
2.0,...,34.0},
ytick={-7.0,-6.0,...,11.0},]
%\clip(-3.2488079448294145,-7.496155590728956) rectangle
(34.87398305791419,11.53265632858922);
\addplot[line
width=2.pt,color=ffvvqq,smooth,samples=100,domain=-3.2488079448294145:34.87398305791419]{x+3}
node[below right, pos= 0.1]{$h$};
\stopa
min=-3.2488079448294145,
xmax=34.87398305791419,
ymin=-7.496155590728956,
ymax=11.53265632858922,
xtick={-3.0,-2.0,...,34.0},
ytick={-7.0,-6.0,...,11.0},]
\clip(-3.2488079448294145,-7.496155590728956) rectangle
(34.87398305791419,11.53265632858922);
\draw[line
width=2.pt,color=ffvvqq,smooth,samples=
hird stage)
fonts > 'fallback modern-designsize rm 10pt' is loaded
colors > 'rgb' color space is supported
colors > 'cmyk' color space is supported
modules > 'newcolumnsets' is loaded
open source > level 2, order 3, name
'/Users/gr
processing errors after latest upgrade
Ok, seems unrelated to XML.
This here shows the problem:
% no problems withouth setupinteraction
\setupinteraction [
state=start,
focus=standard,
openaction=FitWidth,
color=,
contrastcolor
after latest upgrade
>
> Ok, seems unrelated to XML.
>
> This here shows the problem:
>
>
> % no problems withouth setupinteraction
> \setupinteraction [
> state=start,
> focus=standard,
> openaction=FitWidth,
stian (UB)
> Betreff: Re: [NTG-context] xml processing errors after latest upgrade
>
> Ok, seems unrelated to XML.
>
> This here shows the problem:
>
>
> % no problems withouth setupinteraction
> \setupinteraction [
> state=start,
>
Ok, seems unrelated to XML.
This here shows the problem:
% no problems withouth setupinteraction
\setupinteraction [
state=start,
focus=standard,
openaction=FitWidth,
color=,
contrastcolor=,
style
fineblock[Complement]
\setupblock[Complement][
before={\page[yes]\setuppagenumber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]},
after={\page[yes]\setuppagenumber[state=start]}]
\starttext
% Let's process the summar
\defineblock[ComplementTwo]
\defineblock[ComplementThree]
\setupblock[ComplementTwo,ComplementThree][
before={\page[yes]\setuppagenumber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]},
after={\page[yes]\setuppagenumber[state=start]}]
\startte
ber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]},
after={\page[yes]\setuppagenumber[state=start]}]
\doifallmodes{Professor} {
\keepblocks[Complement]
}
\starttext
page 1
\beginComplement
A complement
\currentcolorparameter \else
\resetinteractionparameter\c!color
\resetinteractionparameter\c!contrastcolor
\fi
\fi}
\permanent\protected\def\startregisterentries#1% depth
{\ifconditional\c_strc_registers_traditional
\endgraf
\fi
\begingroup
\c_strc_register_level\ifnum#1
[top=]
\startalignment[middle]
\definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt]
\color[gray]{A JOURNEY}
\definedfont[name:baskerville-italic.ttf*default at 26pt]
\color[gray]{from the}
\definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt]
\color[gray]{BEGINNING}
\stopalignment
,
way=bysection]
I actually want to (flush) left align the enumeration's number inside the
left margin and give it a blue color. But even if I have
\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
there is no alignment, no color.
However, if I do
\setupenumeration[verse
y=bysection]
>
> I actually want to (flush) left align the enumeration's number inside the
> left margin and give it a blue color. But even if I have
>\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
> there is no alignment, no color.
>
> However, if I do
color. But even if I have
\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
there is no alignment, no color.
However, if I do
\setupenumeration[verse]
[alternative=leftmargin,
text=,
width=\leftmarginwidth,
headcolor=bblue4,
distance=0em,
way=bysection]
I am able
ext
> \showstruts
> \input tufte \removeunwantedspaces\space
> \localleftbox par {%
> \hbox to 0pt{%
>\llap{L}%
> \vadjust{\strut\blackrule[width=1cm,color=red]}%
>\hbox{\vadjust pre{\strut\blackrule[width=1cm,co
[...]
> > gives me pages of emojis, all black. According to what is described
> > on
> > Stackexchange, I should be getting colours. Am I doing something
> > wrong?
>
> Hi Vincent,
>
> if you are using Evince, try Okular to check color display.
>
> I exp
getting colours. Am I doing something wrong?
Hi Vincent,
if you are using Evince, try Okular to check color display.
I experienced something similar in the past.
Just in case it helps,
Pablo
___
If your question is
/TwemojiMozilla.ttf
[2] https://tex.stackexchange.com/questions/466442/context-using-emoji-
fonts-without-color
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
yword") is overwritten by the normal text in black.
I don't remember that before.
Alain
Here is the code:
%I need to ponder this usage:
\definelocalboxes
[linetextA]
[command=\LeftTextA,
location=lefttext,
style=\bs,
colo
> Am 01.11.2021 um 08:58 schrieb Henning Hraban Ramm via ntg-context
> :
>
> And it seems like GWG is in conflict with the PDF association, at least GWG’s
> recommendations contradict PDF/X.
GWG doesn’t want to contradict but has a quality focus, see
ion, at least GWG’s
recommendations contradict PDF/X.
I’ll try to reflect both...
From my personal experience:
– If you don’t exactly know what you’re doing, you should use sRGB as RGB
working color space, because most cameras and scanners use it. Yes, parts of
the color space are outside the p
{%
\llap{L}%
\vadjust{\strut\blackrule[width=1cm,color=red]}%
\hbox{\vadjust pre{\strut\blackrule[width=1cm,color=green]}}%
}\hss
}%
\localrightbox par {}%
\input tufte \removeunwantedspaces\space
\vadjust pre{\strut BEFORE 1}%
\vadjust pre
> 859154 characters metapost code, preprocessing time 3.165
seconds
...
pdfview | command: open "osm-test.pdf" 1>/dev/null 2>/dev/null &
mtx-context | pdfview overhead: 0.005 seconds
system | total runtime: 9.211 seconds of 9.328 seconds
The PDF is 488 kB.
; original size 12431810 bytes, stripped down to 8768209 bytes
openstreetmap > xml data loaded
openstreetmap > 859154 characters metapost code, preprocessing time 3.165
seconds
...
pdfview | command: open "osm-test.pdf" 1>/dev/null 2>/dev/null &
mtx-
]{\blackrule[width=\textheight,height=\textwidth,depth=0cm,color=darkred]}}
}
\dostepwiserecurse{0}{360}{10}{
\ruledhbox{\rotate[rotation=#1,location=high]{\blackrule[width=\textheight,height=\textwidth,depth=0cm,color=darkgreen]}}
}
\dostepwiserecurse{0}{360}{10}{
\ruledhbox{\rotate
backend.date=no]
> \enabledirectives[backend.trailerid=no]
> \starttext
>
> \startTEXpage
> \blackrule[height=1cm,depth=0cm,width=4cm,color=darkred]
> \stopTEXpage
>
> (there always were command line options for it)
>
> More interesting is asome new experimental code:
>
> \s
generating pdf files that can be compared. No date as a bad idea anyway.
\setupinteraction[title=My Title]
% \enabledirectives[backend.date=2034-06-07]
\enabledirectives[backend.date=no]
\enabledirectives[backend.trailerid=no]
\starttext
\startTEXpage
\blackrule[height=1cm,depth=0cm,width=4cm,color
On 10/21/2021 6:28 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
since current latest (2021.10.18 23:14), I don’t get transparency working:
\definecolor[transparent][b=1, a=1, t=0]
\starttext
\startTEXpage[offset=1em, align=middle]
\color[transparent]{\ssbf totally
Dear list,
since current latest (2021.10.18 23:14), I don’t get transparency working:
\definecolor[transparent][b=1, a=1, t=0]
\starttext
\startTEXpage[offset=1em, align=middle]
\color[transparent]{\ssbf totally\\transparent?}
\stopTEXpage
\stoptext
Am I missing something
{white}{black}{#3}%
\fi\fi
}
\defineeffect[OuterEffect][alternative=outer,rulethickness=0.1pt]
\defineeffect[InnerEffect][alternative=inner,rulethickness=0.1pt]
\def\makeOutlinedText#1#2#3%
{%
\hbox%
{%
\rlap{\color[#1]{\effect[InnerEffect]{#3}}}%
\color[#2]{\effect
ot;, though.
— html-test.tex —
\definefontfamily [mainface][math][stix]
\setupbodyfont[mainface,10pt]
\setupinteraction[state=start, click=yes, focus=standard, color=darkblue]
\setupbackend[export=yes] % Exporting HTML/XML
\defineregister [index]
\setupregister [index] [indi
, but I'm having problems with the following MWE:
```
\def\style#1[#2] {
\ctxlua{userdata.style([==[#2]==])}
\placestyle
}
here you overload a core macro
\startluacode
userdata = userdata or {}
userdata.style = function(keyvals)
local style = {
color = nil,
text = nil
\style#1[#2] {
\ctxlua{userdata.style([==[#2]==])}
\placestyle
}
\startluacode
userdata = userdata or {}
userdata.style = function(keyvals)
local style = {
color = nil,
text = nil,
}
args = utilities.parsers.settings_to_hash(keyvals)
for k, v in pairs(args) do
st version and the code that we ship with context no
longer runs (quits on some path creation, then when commented on some
color/style settings and finally loops in finding a lexer). I know (from
scite) that there has been updates to the scintilla lexer interface
(again) that I need to look into but i
=color,backgroundcolor=navajowhite1]
\startitemize[columns,three,n]
\startitem
Une quantité constante est une quantité déterminée, qui
conserve toujours la même valeur.
\stopitem\par
\startitem
Une quantité variable est une quantité indéterminée
Hi,
How to fix the small problem in the code below where the text goes out of
the frame ?
Thanks
Fabrice
\usecolors[x11]
\starttext
\startframedtext[frame=off,width=\textwidth,
align={broad,right},indenting={yes},background=color,backgroundcolor=navajowhite1]
\startitemize[columns,three
\starttext
It seems that the problem comes up when the same color as the surrounding
text is used in MPcode.\par
{
\red
text red\par
\startMPcode
drawoptions(withcolor blue);
label("text blue in MPcode", origin);
\stopMPcode
\par
text still red\par
But\par
te
Hi everybody
After some part of a tex file where there is some startMPcode section the color
of the text (e.g. blue) changes to black up until the next page in the pdf.
Is there something I am missing ?
Thank you.
Thierry
that locally.)
Hi, thank you!
I’m looking forward to these improvements, even if they won’t be in effect for
my talk in Bassenge.
Running a project with this version, I get tons of messages like:
4:10:
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
1
4:10:
\glue
month and beyond.
>>>
>>> (In a next upload the new marking and tabulate optimization might become
>>> default but for now i test that locally.)
>> Hi, thank you!
>> I’m looking forward to these improvements, even if they won’t be in effect
>> fo
for
my talk in Bassenge.
Running a project with this version, I get tons of messages like:
4:10:
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
1
4:10:
\glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 0.0pt
plus 0.83287pt minus
ts, even if they won’t be in effect for
my talk in Bassenge.
Running a project with this version, I get tons of messages like:
4:10:
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
1
4:10:
\glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoi
Dear List,
the red highlight block in the following example is not covering the two
40pt characters:
\definetextbackground[important][frame=no,background=color,backgroundcolor=red]
\starttext
abc\important{123{\switchtobodyfont[40pt]45}xy}z
\stoptext
Is there an option that fixes this?
Thanks
sx = 2mm, sy = 2mm,
> >nx = 80, ny = 40,
> >tx = 15, ty = 15,
> >
> >list = {
> >
> > [
> >
> >connect = true,
in a given list?
\startMPcode
draw lmt_axis [
sx = 2mm, sy = 2mm,
nx = 80, ny = 40,
tx = 15, ty = 15,
list = {
[
connect = true,
color = "darkblue",
close = true,
, sy = 2mm,
nx = 80, ny = 40,
tx = 15, ty = 15,
list = {
[
connect = true,
color = "darkblue",
close = true,
points = {data.csv},
Dear list,
I am a huge fan of the new metafun interface.
Hans asked for luametafun requests, so here are a few.
- color by value in lmt_surface
We want to show a surface plot of a function where the color indicates the
function value (instead, or in addition to a light source).
The easiest
Hello list,
I have noticed that some gradients get lost when embedding an external figure
from a pdf (Preview and Acrobat DC and in printer), although the original pdf
works fine for me.
It seems to occur with color-to-color gradients (but not all), but not with
color-to-alpha ones.
While
o turn checking on or
off, so that generic directives (in the example, see also specific
breeds) will not generate an error, while the Ford Prefect example will
generate an error.
\defineprocessor[also][color=blue]
\defineprocessor[under][color=green]
\defineprocessor[alsoun
/095666.html
<https://mailman.ntg.nl/pipermail/ntg-context/2019/095666.html>)
I am trying just a simple hello world:
\starttext
Hello World!
\stoptext
From the latest lmtx install (2021.08.24 22:16) on an ubuntu 64bit live
system:
These give the desired color output for lmtx
context
Hello World!
\stoptext
>From the latest lmtx install (2021.08.24 22:16) on an ubuntu 64bit live
system:
These give the desired color output for lmtx
context --ansi test.tex
context --ansilog test.tex
But with luatex, these make no difference in the stdout (no ansi colors)
context --luatex --a
[page][background={foreground, hi}]
\starttext
\startTEXpage
\framed[frame=off, offset=none]
{\setlayer[hi]{\color[red]{hi}}
\externalfigure[cow-brown]\framedheight}
\stopTEXpage
\stoptext
In this case, \getfiguredimensions would work, but I don’t know how to
deal with a pure text
{foreground, hi}]
\starttext
\startTEXpage
\framed[frame=off, offset=none]
{\setlayer[hi]{\color[red]{hi}}
\externalfigure[cow-brown]\framedheight}
\stopTEXpage
\stoptext
In this case, \getfiguredimensions would work, but I don’t know how to
deal with a pure text box.
BTW, is there a
Hi,
I probably shouldn't use footnotes within titles, but I am misusing the
title elements for a quick interview style document (I use them in the ToC).
One thing I have noticed is that interaction style (color and styles) are
not applied in the footnote and footnote numbering.
Is that a side
not seem to work
\setupcolors[state=start]
\setupcolor[xwi]
\definetextbackground
[Code]
[frame=on,
framecolor=black,
%corner=0,
%offset=10pt,
background=color,
backgroundcolor=gray,
location=paragraph]
\setuptyping
[before={\blank\starttextbackground[Code
]
\definetextbackground
[Code]
[frame=on,
framecolor=black,
%corner=0,
%offset=10pt,
background=color,
backgroundcolor=gray,
location=paragraph]
\setuptyping
[before={\blank\starttextbackground[Code]},
after={\stoptextbackground\blank}]
\starttext
\starttyping
=on,
framecolor=black,
%corner=0,
%offset=10pt,
background=color,
backgroundcolor=gray,
location=paragraph]
\setuptyping
[before={\blank\starttextbackground[Code]},
after={\stoptextbackground\blank}]
\starttext
\starttyping
example
\stoptyping
\stoptext
\typingparameter\c!before\relax
\startpacked[\v!blank]%
\buff_verbatim_setup_line_numbering
\buff_verbatim_initialize_typing_one
\buff_verbatim_setup_keep_together
\normalexpanded{\buff_verbatim_type_block{\e!start\m_typing}{\e!stop\m_typing}}}
\protect
\starttext
\starttyping[abc][color=red
> >
> > - Only 3D files supported. This means U3D and later PRC files. The 3D
> > objects described in the files are shown in a scene whose parameters
> > (like camera position, angle, background color, etc.) can be
> > configured.
> >
> > - The
,
background=color,
backgroundcolor=lightgray,
foregroundcolor=,
foregroundstyle=]
\setupenumerations
[before={\blank},
after={\blank},
alternative=top,
title=yes,
titleleft={},
titleright={},
titlestyle=bold,
width=broad]
\defineenumeration
[exercice]
[text=Exercice
you.
> Fabrice
>
> \setupbodyfont[newcomputermodern-book,11pt]
>
> \defineframed
>[ACFRAME]
>[frame=off,
> width=fit,
> align=flushleft,
> location=low,
> background=color,
> backgroundcolor=lightgray,
> foregroundcolor=,
>
plays all media [1].
hm, sounds bad
4) 3D art
- First appeared in PDF 1.6 (2004).
- Only 3D files supported. This means U3D and later PRC files. The 3D
objects described in the files are shown in a scene whose parameters
(like camera position, angle, background color, etc.)
On 27/07/21 08:12, Gavin via ntg-context wrote:
Hi All,
Getting Closer I asked:
2) While I’m having good luck with paths, colors are causing trouble. In the
data set the color information is in strings with French names of the color,
like “rouge.” If I hand this string to MetaPost, MetaPost
Hi All,
Getting Closer I asked:
>> 2) While I’m having good luck with paths, colors are causing trouble. In the
>> data set the color information is in strings with French names of the color,
>> like “rouge.” If I hand this string to MetaPost, MetaPost doesn’t expand i
On Mon, 26 Jul 2021, Gavin via ntg-context wrote:
> 2) While I’m having good luck with paths, colors are causing trouble. In the
> data set the color information is in strings with French names of the color,
> like “rouge.” If I hand this string to MetaPost, MetaPost doesn
vince segfaults). Acrobat and Foxit support this
mechanism as well, but Acrobat only allows embedded files. Okular by
mistake auto-plays all media [1].
4) 3D art
- First appeared in PDF 1.6 (2004).
- Only 3D files supported. This means U3D and later PRC files. The 3D
objects describe
for MetaPost to grab information from a Lua table? Currently
the MetaPost code calls a Lua function which has a single line returning the
information from the table. Is this necessary, or is these something in
MetaPost that can get a path or color from a Lua table?
2) While I’m having good luck
\setupbodyfont[newcomputermodern-book,11pt]
\defineframed
[ACFRAME]
[frame=off,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray,
foregroundcolor=,
foregroundstyle=]
\startuseMPgraphic{acframe}
fill OverlayBox
]
[frame=off,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray,
foregroundcolor=,
foregroundstyle=]
\setupenumerations
[before={\blank},
after={\blank},
alternative=top,
title=yes,
titleleft={},
titleright
before LMTX, thus it is not a regression.
% !TEX TS-program = ConTeXt (LuaTeX LMTX2021)
% !TEX encoding = UTF-8 Unicode
\starttext
\setupinitial[color=red]
\start
\setupinitial[n=2,m=1]
\placeinitial\input ward
\stop
\start
\setupinitial[style=\tf,n=2,m=1]
\placeinitial\input ward
\stop
Thanks, this has been very helpful.
On Fri, Jul 23, 2021 at 1:02 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:
> T. Kurt Bond schrieb am 23.07.2021 um 17:55:
> > With natural tables I can define a color, tell the table to have to
> > use color backgroun
T. Kurt Bond schrieb am 23.07.2021 um 17:55:
With natural tables I can define a color, tell the table to have to
use color backgrounds and turn the frame off and get every odd row in
all my tables will have that color for the background.
== Example
> Am 23.07.2021 um 17:55 schrieb T. Kurt Bond :
>
> With natural tables I can define a color, tell the table to have to
> use color backgrounds and turn the frame off and get every odd row in
> all my tables will have that color for the background.
>
> Can I get this sam
With natural tables I can define a color, tell the table to have to
use color backgrounds and turn the frame off and get every odd row in
all my tables will have that color for the background.
== Example
\definecolor[grayback][r
On 7/22/2021 2:59 PM, Rudd, Kevin wrote:
Hey---
There seems to be a change with color transfer from ConTeXt to MetaPost.
Using string references to defined (spot?) colors seemed to work but now
does not; all of my colorful figures are now rendered only in shades of
gray when using defined
301 - 400 of 5296 matches
Mail list logo