| fatal error: return code: 1
>
> D:\ah21\TEX\vertical-typesetting>
> ```
>
> and got a mini-try-error.log:
>
> ```text
> return {
> ["filename"]="d:/ah21/TEX/vertical-typesetting/mini-try.lmtx",
> ["lastcontext"]="",
&g
;]="d:/ah21/TEX/vertical-typesetting/mini-try.lmtx",
["lastcontext"]="",
["lastluaerror"]="registered function call [254]:
...n64/tex/texmf-context/tex/context/base/mkiv/util-seq.lua:328:
attempt to call a nil value\nstack traceback:\n
ramed
[Example]
[width=max,
offset=none,
framecolor=lightgray]
\starttext
\startprocesscommalist[normal,{normal,verytolerant},{normal,stretch},{normal,hanging},{normal,hz}]
\starttitle[title=\currentcommalistitem]
\startframed[Example][align=\currentcommalistitem]
\samplefile{
all, hence the 5cm width. Problem
is that that vertical label (Taken by...) is on the right hand side of
the page, and I can't seem to adjust that with various offset attempts
to bring it across to the right of the pic. How do I now get it to
\c!leftwidth \n \\hss \\egroup ...\n ...\n\n \n
\\stopfrontmatter\n\n", ["lastluaerror"]="", ["lasttexerror"]="Valid
keyword expected, likely 'plus'", ["lasttexhelp"]="You started a keyword
but it seems to be an invalid one. The
:{slanted}}]
\setupbodyfont[mainface]
\startTEXpage[offset=1em]
a \it a
\stopTEXpage
\stoptext
Compact fonts in LuaMetaTeX prevent the slanted in the fallback font,
but it causes no problem with the main defined font family.
MkIV slants both the fallback and the main font families.
I guess
ia.
>>
>> My file is:
>>
>> \setupbodyfont[cambria]
>> \definefont[symbola][file:symbola*default at 10pt]
>> \starttext
>> \startMPpage[offset=1dk]
>> draw textext("AC{\symbola ⚡}DC");
>> \stopMPpage
>> \stoptext
>
>Which result (YE
Lutz Haseloff schrieb am 16.08.2024 um 09:47:
Hi Hans, hi all,
the latest ConTeXt lmtx seems to have a problem with MS Cambria.
My file is:
\setupbodyfont[cambria]
\definefont[symbola][file:symbola*default at 10pt]
\starttext
\startMPpage[offset=1dk]
draw textext("AC{\symbola
Hi Hans, hi all,
the latest ConTeXt lmtx seems to have a problem with MS Cambria.
My file is:
\setupbodyfont[cambria]
\definefont[symbola][file:symbola*default at 10pt]
\starttext
\startMPpage[offset=1dk]
draw textext("AC{\symbola ⚡}DC");
\stopMPpage
\stoptext
mtxrun find
>
> > On Wed, Aug 7, 2024 at 1:01 AM Henning Hraban Ramm wrote:
> > >
> > > Am 06.08.24 um 21:26 schrieb Shiv Shankar Dayal:
> > > > What is the general method of customizing chapter tit
t; > using Metapost?
> >
> > If you can create it with a macro, you can use it for a title.
> >
> > This looks just like \framed and \rotate with \offset.
> >
> > Hraban
> > ___
attachment. Is it achievable without
> > using Metapost?
>
> If you can create it with a macro, you can use it for a title.
>
> This looks just like \framed and \rotate with \offset.
>
> Hraban
> ___
\framed and \rotate with \offset.
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
yscaled 1cm ;
\stopuseMPgraphic
\defineoverlay[circled][\useMPgraphic{circled}]
\def\Circled#1%
{\framed
[background=circled,frame=off,offset=overlay]
{\color[darkred]{#1}}}
\setuppagenumbering[location=]
\setupheadertexts[margin][][\hbox to \hsize{\hss\Circled\pagenumber\hss}]
and for
"gray" ;
w := MakeupWidth;
h := OverlayHeight;
draw (0,0)--(MakeupWidth,0) withpen pencircle scaled 2pt withcolor green;
draw (0,OverlayHeight)--(MakeupWidth,OverlayHeight) withpen pencircle
scaled 2pt withcolor green;
Add offset value to the horizontal/vertical dimensi
er:rightpage}] [\prefixedpagenumber]
[\prefixedpagenumber] [\directsetup{header:leftpage}]
\defineframedtext
[ChapterFrame]
[frame=on,
width=local,
height=broad,
after={\blank[2*line]},
offset=0pt]
\startsetups [section:chapter]
\setuphead
[chapter]
[align=leftright,
textco
thickness=1mm,
framecolor=blue,
toffset=0mm, % there is an offset anyways
]
%% -> mwe-textbackground.pdf
% \definetextbackground[excursusbg] [
% location=text,
% background=color,
% backgroundcolor=lightblue,
% frame=on,
% loffset=10cm, % seems t
, offset=2pt]
\setupTABLE[row][first][topframe=on, bottomframe=on, style=bf]
\setupTABLE[row][last][bottomframe=on]
\setupTABLE[row][even][background=color,backgroundcolor=red]
\setupcolors[state=start]
\starttext
A table:\\
\bTABLE
\bTR \bTD head1 \eTD \bTD head2 \eTD \eTR
\bTR \bTD
Reader for Windows and macOS with the US English version may not
crash (I was told).
The sample document contains only a link. It has generated from the
following source:
\setupinteraction[state=start]
\starttext
\startTEXpage[offset=1dk]
\protected\define[1]\myurl%
{{\tt\goto
ckrule [width=4cm]} is it and the question is how
> >> \stacking
> >> [two] {\scale [s=2] {fancy}} we can go
> >>
> >> \startstacking[one]
> >> \startformula
> >> \sqrt{1+x}
> >> \stopformula
> >> \stopstacking
> &g
\startstackingsteps[one,two,{one,two}]
\startTEXpage[offset=1ts]
\getbuffer
\stopTEXpage
\stopstackingsteps
\startTEXpage[offset=1ts] \setupstacking[criterium={one}] \getbuffer
\stopTEXpage
\startTEXpage[offset=1ts] \setupstacking[criterium={two}] \getbuffer
ncy}} we can go
> >
> > \startstacking[one]
> > \startformula
> > \sqrt{1+x}
> > \stopformula
> > \stopstacking
> >
> > and how useful \stacking[two]{\inframed{it}} is.
> > \stopbuffer
> >
> > \startstackingsteps[one,two,{
gt; \definestacking[one]
> > \definestacking[two]
> >
> > \startstackingsteps[one,two,{one,two}]
> > \startTEXpage[offset=1ts]
> > \getbuffer
> > \stopTEXpage
> > \stopstackingsteps
>
> I have crude macros which provide this features (save stuff
and how useful \stacking[two]{\inframed{it}} is.
> \stopbuffer
>
> \startstackingsteps[one,two,{one,two}]
> \startTEXpage[offset=1ts]
> \getbuffer
> \stopTEXpage
> \stopstackingsteps
>
> \startTEXpage[offset=1ts] \setupstacking[criterium={one}
On Fri, 21 Jun 2024, Hans Hagen via ntg-context wrote:
> Hi,
>
> -- support for stacking at the tex end (maybe for presentations)
>
> \starttext
>
> \definestacking[one]
> \definestacking[two]
>
> \startstackingsteps[one,two,{one,two}]
> \startTEXpage
g[two]{\inframed{it}} is.
\stopbuffer
\startstackingsteps[one,two,{one,two}]
\startTEXpage[offset=1ts]
\getbuffer
\stopTEXpage
\stopstackingsteps
\startTEXpage[offset=1ts] \setupstacking[criterium={one}] \getbuffer
\stopTEXpage
\startTEXpage[offset=1ts] \setupstacking[criterium
draw fullcircle scaled 2cm withcolor darkblue withstacking 2 ;
draw textext("one") withcolor darkgreen withstacking 11 ;
draw textext("two") withcolor darkgreen withstacking 12 ;
draw textext("three") withcolor darkgreen withstacking 13 ;
\stopuseMP
mm ;
> draw fullcircle scaled 3cm withcolor darkred withstacking 1 ;
> draw fullcircle scaled 2cm withcolor darkblue withstacking 2 ;
> draw textext("one") withcolor darkgreen withstacking 11 ;
> draw textext("two") withcolor darkgreen withstacking
\def\myhref#1#2%
{\goto{\hyphenatedurl{#1}}[url(#2)]}
\starttext
\startTEXpage[pagestate=start, offset=1em, align=center]
{\bfa Hovering Over Links}
\blank[1st]
\attachment[method=hidden, file={signed-a.pdf}]
\goto{An embedded PDF document}[signed-a::]
\blank[.5st
color darkgreen withstacking 11 ;
draw textext("two") withcolor darkgreen withstacking 12 ;
draw textext("three") withcolor darkgreen withstacking 13 ;
\stopuseMPgraphic
\startTEXpage[offset=.25ts]
\useMPgraphic{test}{stacking={1,11}}
\stopTEXpage
\startTEXpage[offset=.25t
change that we also need to
> change the verify offset (so two patches)
I have just discovered that verify didn’t work with the binary.
Figuring out now how to testing with the library.
>> Signatures in PDF-2.0 loose their possibility of other ranges than the
>> entire file. Their use
nd is value has been hashed.
i know but when i tested with q and m that spaces was kind of fuzzy so i
stuck with what seemed to work
As far as I know, this has to be a reason for digest mismatch (or a huge
hash collision).
could be (depends on checker) but it we change that we also need to
chang
remember correctly extensibles were properly rendered in Acrobat Reader
before the update.
Best wishes,
Jacob
\setupbodyfont[8pt]
\startTEXpage[offset=none]
$\overbracket{\hbox to 1cm{}}$
\blank
$\fenced[brace]{\vbox to 1cm{}}$
\stopTEXpage
signature]
\starttext
\startTEXpage[offset=1ts,frame=on,framecolor=darkblue]
sign: \inframed[background=signature,framecolor=darkred]
{\fieldbody[signature][width=3cm,option=hidden]}
\stopTEXpage
\stoptext
After compiling the sample, you need to run:
mtxrun
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
\starttext
\startTEXpage[offset=1pt]
\colored[a=1,t=.5,r=
/ECSXLVMT3TMQBIHA2UZJPWJN7OVV5334/attachment/2/mycert.pfx
(I sent it myself).
Here is a sample document (actually provided by Hans):
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on
[extract]
[renderingsetup=userdata:extract]
\defineuserdata
[extract]
[style=italic,
alternative=extract]
\defineframed[chapter_frame][
width=\textwidth,
align=flushright,
offset=0pt,
rulethickness=0pt
]
\startsetups[my_chapte
:Sunrise}]
\defineoverlay[Sunset][\useMPgraphic{Sun::Sunset}]
\defineoverlay[Light][\useMPgraphic{Sun::Light}]
\defineframed
[SunA]
[strut=yes,
height=\lineheight,
width=\emwidth,
frame=off,
offset=0pt]
\defineframed
[SunB]
[strut=yes,
height=\lineheight,
width=\emwidth,
fram
has same style all over the document.
but i want it to have style base on current font
and if the font changes, the style should change, while maintaining the
ratio of sizes(i.e., at the half of current font).
i attached the resulted pdf
1. You can use the \offset command to raise the footnote
Dear list,
I have the following sample
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on,framecolor=darkblue]
sign: \inframed[background=signature,framecolor=darkred
umber, title etc.
>
> begin example
> \defineframed
>[ChapterFrame]
> [width=\textwidth,
> align=flushright,
> offset=0pt,
> rulethickness=0pt]
>
> \startsetups [christian_dietrich]
>\startlocalheadsetup
> \startframed[ChapterFrame]
&g
hange the font for each element disable the default settings with
\setuphead[style=] and use \startfont (or \definedfont) to apply a
different style for the number, title etc.
begin example
\defineframed
[ChapterFrame]
[width=\textwidth,
align=flushright,
offset=0pt,
rulethic
to get the text bold. However, `#1` and `#2` does not seem to
> > follow this.
> > ```
> > \define[2]\MyChapter{%
> > \bold #1 #2: \structureuservariable{subtitle}
> > (\structureuservariable{intro})
> > }
> > ```
> >
> > ## Makeups
> >
ixed alignment and it does not solve the font size
> problem:
> ```
> \definemakeup[chapter][align=left, top=]
> \define[2]\MyChapter{%
> \startmakeup[chapter]
> #1 #2:\\
> \structureuservariable{subtitle}\\
> \stopmakeup
> (\structureuservariable{in
; ```
>
> ## Makeups
>
> The best solution, I had so far, was to define a makeup, but I don't get it
> to work with text with mixed alignment and it does not solve the font size
> problem:
> ```
> \definemakeup[chapter][align=left, top=]
> \define[2]\MyChapter{%
&g
pmakeup
(\structureuservariable{intro})
}
```
(see 5.pdf)
## Framed
I also have tried this but it does not bring any linebreaks:
```
\define[2]\MyChapter{%
\framed[frame=off, offset=0pt]{#1\\#2:\\ \structureuservariable{subtitle}\\
(\structureuservariable{intro})}
}
```
(see 6.pdf)
On 5/28/24 20:06, Hans Hagen wrote:
> On 5/28/2024 6:25 PM, Tomáš Hála wrote:
>> Hi Pablo,
>>
>> unfortunately, that it is not possible:
>>
>> http://lua-users.org/wiki/PatternsTutorial, section Limitations.
>
> \starttext
> \startTEXpage[pagestate=s
Am 28.05.24 um 20:06 schrieb Hans Hagen:
On 5/28/2024 6:25 PM, Tomáš Hála wrote:
Hi Pablo,
unfortunately, that it is not possible:
http://lua-users.org/wiki/PatternsTutorial, section Limitations.
\starttext
\startTEXpage[pagestate=start, offset=1em]
\startluacode
amed
> [textcircled]
> [width=1.4em,
> height=1.4em,
> frame=off,
> background=textcircle,
> framecolor=colour_text,
> location=low,
> offset=none]
>
> \starttext
> Here are the numbers \textcircled{1}, \textc
{X} that uses as its
background
% the above overlay...
\defineframed
[textcircled]
[width=1.4em,
height=1.4em,
frame=off,
background=textcircle,
framecolor=colour_text,
location=low,
offset=none]
\starttext
Here are the nu
On 5/28/2024 6:25 PM, Tomáš Hála wrote:
Hi Pablo,
unfortunately, that it is not possible:
http://lua-users.org/wiki/PatternsTutorial, section Limitations.
\starttext
\startTEXpage[pagestate=start, offset=1em]
\startluacode
local pat = (lpeg.Cmt(lpeg.P("
\starttext
> \startTEXpage[pagestate=start, offset=1em]
> \startluacode
> local str = "this is that"
> context(str:match("(this|these)"))
> \stopluacode
> \stopTEXpage
> \stoptext
>
> In short, I w
Dear list,
I have the following sample:
\starttext
\startTEXpage[pagestate=start, offset=1em]
\startluacode
local str = "this is that"
context(str:match("(this|these)"))
\stopluacode
\stopTEXpage
=textcircle,
location=low,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
\stoptext
Thank you again Wolfgang. This is very helpful and works well.
One question I have for you is how to set the colour of the circle to
match the other text on my page
,
> frame=off,
> background=textcircle,
> location=low,
> offset=none]
>
> \starttext
> \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
> \stoptext
Thank you again Wolfgang. This is very helpful and works well.
One question I have for you i
if you make width and hwight 1.4en instead of 1.5em, the characters will
align with the running text.
\defineframed
[textcircled]
[ width=1.4em,
height=1.4em,
location=low,
corner=round,
%radius=.5fw,
radius=\dimexpr\framedwidth/2\relax,
offset=none
= OverlayWidth,
y = OverlayHeight/2, ] ;
\stopuniqueMPgraphic
\defineoverlay
[svgback]
[\useMPgraphic{centered_svg}]
\defineframed[Sback][location=low,background=svgback,frame=off,offset=8pt]
\starttext
this is a sample \Sback{1} text
\stoptext
Hello Seyal,
This does work
%radius=.5fw,
> radius=\dimexpr\framedwidth/2\relax,
> offset=none]
>
> \starttext
> \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
> \stoptext
Thank you kindly, Wolfgang. That worked perfectly.
--
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.the
round,
radius=.5fw,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
\stoptext
Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it
failed:
Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc,
bp, dk, or54sp; but yours
idth,
> y = OverlayHeight/2, ] ;
> \stopuniqueMPgraphic
>
> \defineoverlay
> [svgback]
> [\useMPgraphic{centered_svg}]
>
> \defineframed[Sback][location=low,background=svgback,frame=off,offset
> =8pt]
>
> \starttext
> this is a sample \Sback{1} text
On Mon, 2024-05-27 at 16:51 +0200, Wolfgang Schuster wrote:
> I can't provide a circle but I can give you a box with rounded
> corners.
>
> \defineframed
> [textcircled]
> [ width=1.5em,
> height=1.5em,
> location=low,
> corner=round,
>
these commands. Any help appreciated.
I can't provide a circle but I can give you a box with rounded corners.
\defineframed
[textcircled]
[ width=1.5em,
height=1.5em,
location=low,
corner=round,
radius=.5fw,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{
[\useMPgraphic{centered_svg}]
\defineframed[Sback][location=low,background=svgback,frame=off,offset=8pt]
\starttext
this is a sample \Sback{1} text
\stoptext
On Mon, May 27, 2024 at 12:38 AM Kip Warner wrote:
> Hello list,
>
> I would like to typeset a number in a circle. Nothing fan
]
\starttext
\startTEXpage[pagestate=start, offset=1em]
\rm a\ss a\\
{\rm a\ssd a}\\
{\rm a\ssx a}\\
{\rm a\ssxx a}
\stopTEXpage
\stoptext
Scaled \ssx and \ssxx are wrong in LMTX (not scaled at all).
All font sizes are scaled fine in MkIV.
In both
Dear list,
I have the following sample:
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][ss][TeX Gyre Heros]
[scale=0.125]
\setupbodyfont[mainface]
\starttext
\startTEXpage[pagestate=start, offset=1em
nother fancy feature was added:
\startTEXpage[offset=1ts]
\samplefile{tufte}\removeunwantedspaces\space
\startshadow[contrastcolor=red,weight=100]\blue\samplefile{tufte}\removeunwantedspaces\stopshadow\space
\samplefile{tufte}\removeunwantedspaces\space
\startshadow[contrastcolor=red,weight=100,dx
without sectioning, and after 2 pages by uncommenting the
\startsection and \stopsection commands.
\setupbodyfont [pagella, 8pt]
\setupframed
[frame=on,
offset=0.000pt,
rulethickness=0.000pt,
location=top,
align=normal,
strut=yes,
]
\setuplayout [grid=yes]
\setupinteraction
0.3
local ymin = 0.4
local function f(x,y)
local x = xstep*x - xmin
local y = ystep*y - ymin
local z = x + exp(-60*x) - y
if z > 0 then
return '1'
else
return '0'
end
end
potrace.setbitmap("mybitmap", potrace.contourp
erstand.
> > Thanks
> > Fabrice
> >
> > \startMPpage[offset=1DK]
> >
> >numeric u;
> >u = 6cm;
> >
> >interim linejoin := mitered;
> >interim ahangle := 30;
> >
> >path xx,
On 5/12/2024 3:57 PM, Fabrice Couvreur wrote:
Hi,
When I want to draw the curve which corresponds to n=60 (blue curve), it
doesn't seem possible: I don't understand.
Thanks
Fabrice
\startMPpage[offset=1DK]
numeric u;
u = 6cm;
interim linejoin
Hi,
When I want to draw the curve which corresponds to n=60 (blue curve), it
doesn't seem possible: I don't understand.
Thanks
Fabrice
\startMPpage[offset=1DK]
numeric u;
u = 6cm;
interim linejoin := mitered;
interim ahangle := 30;
p
od.nl
-
outlines-003.pdf
Description: Adobe PDF document
\continuewhenlmtxmode
\starttext
\startMPpage[offset=10pt]
draw lmt_outline [
text = "\mathematics{\sqrt{2}-1}"
] ;
draw lmt_outline [
text = "\mathe
; \definefont [Ahang] [file:Ahang-Regular.otf*arabis at 18pt]
> \setupalign[r2l]
> \starttext
> {\Ahang تَشْكِيل كَسْرَة}
> \stoptext
>
> \definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
> but there is an issue with widths, ill send you a patch to test
>
>
>
يل كَسْرَة}
\stoptext
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
but there is an issue with widths, ill send you a patch to test
The provided "*arabic" featureset should suffice for this font. Also
TEXpage is useful for this kind of MWE:
\definefont [Ahang] [file:Ahang-Reg
provided "*arabic" featureset should suffice for this font. Also
TEXpage is useful for this kind of MWE:
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
\setupalign[r2l]
\startTEXpage[offset=1em]
{\Ahang تَشْكِيل كَسْرَة}
\stopTEXpage
In prehistoric ConTeXt version
2023
et should suffice for this font. Also TEXpage is
useful for this kind of MWE:
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
\setupalign[r2l]
\startTEXpage[offset=1em]
{\Ahang تَشْكِيل كَسْرَة}
\stopTEXpage
In prehistoric ConTeXt version
2023.09.26 18:19
the diacritics look fine in both C
r or before the dash, since I don't
> like it to stick to some letters like "o").
Just consider that you should add an horizontal box (or pair both space
and hyphen), otherwise you may get a line break between character and
hyphen (instead of the hair space):
\starttext
\
;> this underbar is a fraction to near the text. So I wanted to use
>> \setupbar[…] to change the offset. Unfortunately nothing happens whatever I
>> try.
>>
>> MWE:
>>
>> \setupba
Willi Egger schrieb am 28.03.2024 um 17:23:
Hello everybody,
I have a text, where a couple of lines are typeset with \underbar. — To me this
underbar is a fraction to near the text. So I wanted to use \setupbar[…] to
change the offset. Unfortunately nothing happens whatever I try.
MWE
Hello everybody,
I have a text, where a couple of lines are typeset with \underbar. — To me this
underbar is a fraction to near the text. So I wanted to use \setupbar[…] to
change the offset. Unfortunately nothing happens whatever I try.
MWE:
\setupbar[offset=-.5,dy=-.5]
\starttext
Hello
\startlayout[page]
\copypages[test-file.pdf]
\stoplayout
\stoptext
How could I avoid this offset please?
You have to change the layout for the pages where you include your
images to get rid of the default margins.
Wolfgang
avoid this offset please?
TIA for any hints,
--
Peter
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3
I have been able to achieve it as following, but the first frame width is
fixed so will cause problems with other chapter numbers such as VIII
\unexpanded\def\HeadTitle#1#2%
{\hbox to \hsize \bgroup
\hfill
\setupframed[offset=.5em,frame=off]
\tbox{\framed[width=22mm,align=right]{#1}}%
\tbox
ans tricky drawing}]
Now, see the results of Hans has given to \quote{metapost lovers}, here
is some of the trickery used :
\startMPpage[offset=1ts]
draw image (
fill (unitsquare xscaled 10cm yscaled 4cm)
withcolor svgcolor(0.5,0,0)
;
registerluminositygroup ("test") (
fill (un
ut format one has to specify every character with
> possible abuse of a substitution feature that accesses it. So that is no
> longer a real interesting option, unless of course one exports all text
> as curves, just to be sure.
>
> (I will extend general text suport but it will alw
t to do some cleanup,
ps. For metapost lovers, here is some of the trickery used:
\startMPpage[offset=1ts]
draw image (
fill (unitsquare xscaled 10cm yscaled 4cm)
withcolor svgcolor(0.5,0,0)
;
registerluminositygroup ("test") (
fill (
> Indeed, no need to show of the obvious
>
> \definebar
>[mybar]
>[backgroundbar]
> [height=\strutht,depth=\strutdp,offset=.250ex,color=red]
>
> [...]
That looks perfect, thanks!
-- Max
_
ts (a MWE will do).
>
> Position options:
> * relative placement as floats, i.e. \placefigure
> * absolute placement on layers, i.e. \setlayer
> * relative corrections with \offset (also within floats)
>
> Hraban
> ___
ow (in private mail) how you make your documents (a MWE will do).
Position options:
* relative placement as floats, i.e. \placefigure
* absolute placement on layers, i.e. \setlayer
* relative corrections with \offset (also within f
ere and I'm just not seeing it
in the example.
Thanks again,
-- Max
I can confirm that it works over \alignhere. Hans is doing some black
magic, but I guess he did not want to show off by including the whole
line.
Indeed, no need to show of the obvious
\definebar
[mybar]
[backgroundba
tel: 038 477 53 69 | 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
enting[yes, 3em]
\setuphead[section][page=yes]
\unprotect
\newbox\intertext_tmp_box
\newdimen\intertext_tmp_dimen
\starttexdefinition protected newintertext #1
\texthere[left]{
\setbox\intertext_tmp_box=\hbox{
\startframedtext[
offset=none,
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
={style: regular, features:{default, quality, slanted}},
sl={style: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d
={style: regular, features:{default, quality, slanted}},
sl={style: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d
: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d\\
\stopTEXpage
\stoptext
LMTX gets b, c and d in slanted form.
LuaTeX gets only
, quality}},
bf={style: regular, features:{default, boldened-30}},
bi={style: regular, features:{default, boldened-30, slanted}}]
\setupbodyfont
[mainface, 30pt]
\starttext
\startTEXpage[offset=1ex]
a
{\it a}\\
{\bf a}
{\bi a}
\stopTEXpage
\stoptext
With
}},
bi={style: regular, features:{default, boldened-30, slanted}}]
\setupbodyfont
[mainface, 30pt]
\starttext
\startTEXpage[offset=1ex]
a
{\it a}\\
{\bf a}
{\bi a}
\stopTEXpage
\stoptext
With current latest (2024.02.27 09:21), LuaTeX gets boldened and slanted
for regular
s [header:rightpage]
\startframed [
frame=off,
strut=no,
height=\headerheight,
offset=none,
align=low,
roffset=1em,
]
\getmarking[subject]
\stopframed
\stopsetups
\startsetups [header:leftpage]
\startframed [
frame=off,
strut=no,
h
> in field 'verbose'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/math-tag.lmt:939: in field
> 'gettextblob'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lpdf-tag.lmt:391: in upvalue
> 'makeelement'\n
> ...mtx/tex/texmf-context/tex/context/base
1 - 100 of 1002 matches
Mail list logo