ith
> all the modules (with the new script from ConTeXt Garden), but nothing works.
Here is what is going on:
`tikzlibrarycalendar.code.tex` contains the line:
\pgfutil@usemodule{pgfcalendar}
In `generic/pgf/utilities/pgfutil-context.def`, \pgfutil@usemodule is defined
as:
\def\pgfuti
}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
I get:
Command Line: context.exe --synctex=-1 "blackrule1.tex"
Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive
resolvers | formats | executing runner 'run luametatex format':
Pablo,
Thanks, even though I use LMTX, only this form works:
[\pagenumber{} of \the\numexpr\totalnumberofpages - 1\relax]
Thanks
Jeroen
Op ma 4 sep 2023 om 18:43 schreef Pablo Rodriguez :
> On 9/4/23 18:09, Jeroen wrote:
> > The following MWE shows pagenumbering starting at the se
ldocument}{something|emptynode|notemptynode}{xml:*}\stopxmlsetups \xmlregistersetup{xml:mysetups} \startxmlsetups xml:emptynodenode=\xmltag{#1}:\crlfifxmlselfempty-else-fi:\space\ifxmlselfempty{#1}attribute = \xmlatt{#1}{value}\elsecontent = \xmlflush{#1}\fi\crlfifxmlselfempty-else-fi reversed:\space\ifxmlse
receiving incremental file list
./
ctan.lsr
document-2.htm
download-1.htm
download-2.htm
logo-ade.png
logo-cts.png
logo-pod.png
rss.xml
show-fil.pdf
context/latest/
context/latest/cont-lmt.zip
context/latest/cont-mpd.zip
context/latest/cont-ppc.zip
context/latest/cont-sci.zip
On 9/4/2023 6:09 PM, Jeroen wrote:
The following MWE shows pagenumbering starting at the second page with page
number 1. With the totalnumberofpages we end up with one page too many. Is
there a way to reduce this with 1?
\setupfootertexts
[title]
[\pagenumber{} of \totalnumberofpages
On 9/4/23 18:09, Jeroen wrote:
> The following MWE shows pagenumbering starting at the second page with
> page number 1. With the totalnumberofpages we end up with one page too
> many. Is there a way to reduce this with 1?
Hi Jeroen,
this might do the work (LMTX only):
[\p
The following MWE shows pagenumbering starting at the second page with page
number 1. With the totalnumberofpages we end up with one page too many. Is
there a way to reduce this with 1?
\setupfootertexts
[title]
[\pagenumber{} of \totalnumberofpages]
\setcounter
[userpage]
[0
I get:
Command Line: context.exe --synctex=-1 "blackrule1.tex"
Startup Folder:
\\ub.univie.ac.at\U_Dom\Users
G-L\Hermann\Documents\Texlive
resolvers | formats | executing runner 'run luametatex format':
luametatex --jobname="./blackrule1.tex" --socket --shell-esca
--synctex=-1 "blackrule1.tex"
Startup Folder:
\\ub.univie.ac.at\U_Dom\Users
G-L\Hermann\Documents\Texlive
resolvers | formats | executing runner 'run luametatex format':
luametatex --jobname="./blackrule1.tex" --socket --shell-escape
--fmt=C:/Users/Hermann/Downloa
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:emptynode
node=\xmltag{#1}:\crlf
ifxmlselfempty-else-fi:\space
\ifxmlselfempty{#1}
attribute = \xmlatt{#1}{value}
\else
content = \xmlflush{#1}
\fi
\crlf
ifxmlselfempty-else-fi reversed:\space
\ifxmlselfempty{#1}
content = \xmlflush{#1}
\else
jbf schrieb am 04.09.2023 um 08:34:
I am attempting to get a TOC that looks like the following (in other
words with section titles and their relative page numbers in a block
below the chapter):
Chapter 1 ...5
Section 1 5, Section 2 6
I am attempting to get a TOC that looks like the following (in other
words with section titles and their relative page numbers in a block
below the chapter):
Chapter 1 ...5
Section 1 5, Section 2 6, Section 3 7,
Section 4 8, Section 5 9
receiving incremental file list
./
ctan.lsr
document-2.htm
download-1.htm
download-2.htm
logo-ade.png
logo-cts.png
logo-pod.png
rss.xml
show-fil.pdf
context/latest/
context/latest/cont-lmt.zip
context/latest/cont-mpd.zip
context/latest/cont-ppc.zip
context/latest/cont-sci.zip
\xmlsetsetup{\xmldocument}{something|emptynode|notemptynode}{xml:*}\stopxmlsetups\xmlregistersetup{xml:mysetups}\startxmlsetups xml:emptynodenode=\xmltag{#1}:\crlfifxmlselfempty-else-fi:\space\ifxmlselfempty{#1} attribute = \xmlatt{#1}{value}\else content = \xmlflush{#1}\fi\crlfifxmlselfempty-else-fi
tination-doc.pdf)
/NewWindow true
/S /GoToR
>>
endobj
A GoToE destination for "\attachment[file=destination-doc.pdf,
method=hidden]" would read:
1 0 obj
<<
/S /GoToE
/D [ 14 /Fit ]
/NewWindow true
/T << /R /C
oR
>>
endobj
A GoToE destination for "\attachment[file=destination-doc.pdf,
method=hidden]" would read:
1 0 obj
<<
/S /GoToE
/D [ 14 /Fit ]
/NewWindow true
/T << /R /C
/N (destination-doc.pdf) >>
>>
endobj
With Embedde
p,
> when an external library is loaded in Lua. Any ideas on how to solve it?
Hi Jairo,
you need to expose _dynamic_ symbols in your luametatex binary. If you
are using Linux, just adding the following to the CMake invocation line
should work:
-DCMAKE_EXECUTABLE_ENABLE_EXPORTS=1
For example
higher font size gives less slanted text (or not at all).
Using MkIV text is slanted fine, independent from font size.
Could anyone confirm the issue?
I can confirm the slant decreases at larger font sizes.
\starttext
\dostepwiserecurse{10}{100}{1}
{{\switchtobodyfont[#1pt]#1pt:\definedfont[Serif
(or not at all).
Using MkIV text is slanted fine, independent from font size.
Could anyone confirm the issue?
I can confirm the slant decreases at larger font sizes.
\starttext
\dostepwiserecurse{10}{100}{1}
{{\switchtobodyfont[#1pt]#1pt:\definedfont[Serif*slanted]\vrule\relax
S\vrule\relax lanted
, independent from font size.
Could anyone confirm the issue?
I can confirm the slant decreases at larger font sizes.
\starttext
\dostepwiserecurse{10}{100}{1}
{{\switchtobodyfont[#1pt]#1pt:\definedfont[Serif*slanted]\vrule\relax
S\vrule\relax lanted}\par}
\stoptext
Wolfgang
old mechanism, maybe time for an upgrade with
merged vectors)
\definecharacterspacing [myspacing]
\setupcharacterspacing [myspacing] ["27E8] [right=0.25,alternative=1]
\setupcharacterspacing [myspacing] ["27E9] [left=0.25,alternative=1]
and then
\setcharacterspacing[myspacing]
Hans
-
Finally I saw the problem. Calling
\xmlfilter{#1}{./node/command(demo:attribute:node)} is the right way.
Sorry for the noise.
dr. Hans van der Meer
> On 30 Aug 2023, at 13:49, Hans van der Meer via ntg-context
> wrote:
>
> This line of code comes from the xml documentat
This line of code comes from the xml documentation (page 31):
\xmlfilter{#1}{./node[@type=="cleanup"]}
It should select among the 's those with .
However, this node is not selected in the call to \xmlfilter.
Where am I wrong?
MWE follows
% failure to typeset attribute selected.
\setu
receiving incremental file list
./
ctan.lsr
document-2.htm
download-1.htm
download-2.htm
logo-ade.png
logo-cts.png
logo-pod.png
rss.xml
show-fil.pdf
context/latest/
context/latest/cont-lmt.zip
context/latest/cont-mpd.zip
context/latest/cont-ppc.zip
context/latest/cont-sci.zip
this:
\def\foo#1{#1 test ##}
\def\foo#1{#1 test\def\more##1{(##1)}}
the internal representation of #1 is a reference to parameter 1 while
the ## becomes one # (cc parameter) in the second exmaple followed by a
character 1 (cc other)
then, when tex serializes e.g. in tracing it duplicates the hash
On 8/25/2023 1:45 PM, denis.ma...@unibe.ch wrote:
-Ursprüngliche Nachricht-
Von: Hans Hagen
Gesendet: Freitag, 25. August 2023 09:06
An: Maier, Denis Christian (UB) ; mailing list for
ConTeXt users
Betreff: Re: [NTG-context] Re: xmldoif: checking for contents of attribute
On 8/25/2023
but no upload
>
So, that would mean that the double checking is only necessary for find, not
for contains. And indeed the example below works.
Is that correct or are there any unwanted side-effects?
\startxmlsetups xml:test
\xmlsetsetup{#1}{*}{-}
\xmlsetsetup{#1}{doc|elem
\xmlsetsetup{#1}{*}{-}
\xmlsetsetup{#1}{doc|element}{xml:*}
\stopxmlsetups
\xmlregisterdocumentsetup{test}{xml:test}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startluacode
function xml.finalizers.tex.url(e,a)
local u = #e > 0 and
;
> > I'm trying to check whether an attribute contains (or, actually starts
> > with) a
> given string.
> \xmldoifelse{#1}{.[@class and contains(@class,'abc')]}{Yes}{No}
> \xmldoifelse{#1}{.[@class and find(@class,"abc")]}{Yes}{No}
Thanks for your help. I can u
%
\startxmlsetups xml:test
\xmlsetsetup{#1}{*}{-}
\xmlsetsetup{#1}{doc|element}{xml:*}
\stopxmlsetups
\xmlregisterdocumentsetup{test}{xml:test}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:element
One way would be to do the search in Lua; when you have multiple searches to
perform, that may be the easiest way to go. For example:
\startxmlsetups xml:test
\xmlsetsetup{#1}{*}{-}
\xmlsetsetup{#1}{doc|element}{xml:*}
\stopxmlsetups
\xmlregisterdocumentsetup
%
\startxmlsetups xml:test
\xmlsetsetup{#1}{*}{-}
\xmlsetsetup{#1}{doc|element}{xml:*}
\stopxmlsetups
\xmlregisterdocumentsetup{test}{xml:test}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:element
\xmlfilter{#1}{./find(attribute('class'), 'abc
context.im("a^2")
> context.stopxcell()
> context.startxcell{ width = "1cm" }
> context.im("b")
> context.stopxcell()
> context.startxcell{ width = "1cm" }
> context.im("2b^2
ext.im("2b^2")
context.stopxcell()
context.stopxrow()
for i = 0,9 do
context.startxrow()
for j = 1,4 do
context.startxcell()
if j == 1 then
context(i)
elseif j == 2 then
context(ma
pxcell()
context.stopxrow()
for i = 0,9 do
context.startxrow()
for j = 1,4 do
context.startxcell()
if j == 1 then
context(i)
elseif j == 2 then
cont
= "1cm" }
context.im("b")
context.stopxcell()
context.startxcell{ width = "1cm" }
context.im("2b^2")
context.stopxcell()
context.stopxrow()
for i = 0,9 do
context.startxrow()
for j
On 8/23/2023 4:12 AM, Andres Conrado Montoya wrote:
I have been using the following macro to add a bunch of sections to the
start of chapters in a book, it works but I think is kind of weak:
%%%
\define[7]\metadatos{
\startsection[title={Resumen}] #1 \stopsection
I have been using the following macro to add a bunch of sections to the
start of chapters in a book, it works but I think is kind of weak:
%%%
\define[7]\metadatos{
\startsection[title={Resumen}] #1 \stopsection
\startsection[title={Palabras clave}] #2 \stopsection
\start
e can do
>
> \starttext
>
> \setupframed
> [mathstrikeout]
> [color=darkgreen,
> backgroundcolor=darkred,
> frame=off]
>
> \startTEXpage[offset=4dk,align=flushleft]
> \dm{1+\mathstrikeout[strike:text={what is this?}]{(2x-x)}+2=3+x}
> \blank
> \dm{1+\mathstrike
- \frac{5}{12})^2 - \frac{1}{24}}
\stopitem
\startitem
\m{-3(x - \frac{1}{3})^2 + \frac{1}{3}}
\stopitem
\startitem
\m{7(x + \frac{5}{14})^2 + \frac{199}{28}}
\stopitem
\startitem
\m{-\frac{1}{2}(x + 2)^2 + \frac{9}{2}}
\stopitem
ce
I don't know what the cancel package gives, but since December 22 or
so, one can do
\starttext
\setupframed
[mathstrikeout]
[color=darkgreen,
backgroundcolor=darkred,
frame=off]
\startTEXpage[offset=4dk,align=flushleft]
\dm{1+\mathstrikeout[strike:text={what is this?}]{(2x-x)}+2=3+x}
\blank
cture cross;
> cross := image(draw (0,0)--(1,1); draw (0,1)--(1,0););
> draw cross xscaled \overlaywidth yscaled \overlayheight withpen pencircle
> scaled .8pt ;
> \stopuniqueMPgraphic
>
> \defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
>
> \define[1]\cancel{%
>
;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
Maybe something else is available nowadays
{ward}
\startitemize[n][style=\bf]
\startitem
\startalextable
\startitem $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$ \stopitem
\startitem $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$ \stopitem
\startitem $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$ \stopitem
\startitem $-\dfrac{1}{2}(x + 2)^2 + \dfrac{9
bf]
> \item \godown[-\lineheight] \startitemize
> [a,columns,two,packed,broad][stopper=),before={\blank[nowhite]}]
> \item $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$
> \item $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$
> \item $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$
> \ite
: using setups
which are basically macros. The #1 is the current node (but you can store it in
a
macro and use it later if needed). So, only references are passed around.
for thomas: we now also have (in lmtx)
\ifxml {id}{pattern} \else \fi
\ifxmltext {id}{pattern} \else \fi
to provide anybody homework solutions, so
> just to give you an idea to get you started:
>
> \startxmlsetups xml:mysetup
> \xmlsetsetup{main}{document|element|mdata|tdata|name|date|num|con
> tent|shortdescription|p}{xml:*}
> \stopxmlsetups
>
> \xmlregistersetup{xml:m
; which are basically macros. The #1 is the current node (but you can store it
> in a
> macro and use it later if needed). So, only references are passed around.
>
> for thomas: we now also have (in lmtx)
>
> \ifxml {id}{pattern} \else \fi
> \ifxmltext {id}{pa
[nowhite]}]
\item $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$
\item $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$
\item $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$
\item $-\dfrac{1}{2}(x + 2)^2 + \dfrac{9}{2}$
\stopitemize
\stopitemize
A. Christe
Le 22 août 2023 à 04:08 +0200, fv leung
SAMPLE Nothing to do: %s, %s, %s dpi, %s x %s px",
oldname, newname, resolution, width, height))
return
end
local TEXpt = 65536
local inch = 72.27
-- MkIV:
-- local image = img.scan{filename = oldname}
-- LMTX:
local image = figures.getinfo(oldname,1)
image = image.status
I'd do it this way:
\starttext
\startitemize[n][style=\bf]
\item\vtop{%
\startitemize[a,horizontal,four][stopper=\)]
\startitem
$6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$
\stopitem
\startitem
$-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$
\stopitem
\startitem
$7(x
[a,columns,four,packed,broad][stopper=),before={\blank[nowhite]}]
\item $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$
\item $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$
\item $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$
\item $-\dfrac{1}{2}(x + 2)^2 + \dfrac{9}{2}$
\stopitemize
\stopitemize
and then processed. But I definitely get the "do my homework
for me" vibe, so this will be all from me.
in addition:
you need a bit of imagination because basically (depends a bit on what
you do) one big nested expansion is going on, as Thomas explained: using
setups which are basically macr
xml:document
\xmlflush {#1}
\stopxmlsetups
\startxmlsetups xml:element
\xmlflush {#1}
\stopxmlsetups
\startxmlsetups xml:mdata
\xmldoifelsetext {#1} {/date}
{{\bf \xmltext {#1} {name}}\par
{\it \xmltext {#1} {date}}\par}
{\xmltext {#1
\xmlregistersetup{xml:mysetup}
\startxmlsetups xml:mysetup:document
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:mysetup:element
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:mysetup:mdata
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:mysetup:tdata
\xmlflush{#1}
\stopxmlsetups
Have you looked at chapter 3.10 "Testing" of the manual xml-mkiv.pdf?
There are a lot of commands there that should help you, such as
\xmldoiftext {#1} {/mdata/date}
{\bf \xmlflush {#1}}
or \xmldoifelsetext.
There's also \xmlfilter, which you can use to test for the conten
Hello list,
having the xml data at the bottom, I would like to process it so that
the result is like this:
---
What it is (e.g. bold formatted)
date: 2023-08-01 (italic)
Description (small font size)
Another text (small font size)
hd1 - Header 1
§ 1 First (A first short description
+0200, Wolfgang Schuster wrote:
> > > > > Hi,
> > > > >
> > > > > 1. Learn to two provide a working minimal example which shows the
> > > > > problem.
> > > > >
> > > > Did the minimal example I provided
tps://wiki.contextgarden.net/Barcodes>
1) I had to create the path $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint
2) I symbolic linked directly to the homebrew created libzint library
$ cd $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint
$ ln -s /usr/local/Cellar/zint/2.12
\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p|]
\NC asdf \NC a asdf asdf asdf asdf asdf asdf
sdf asdf
t; \startsetups[mypenalties]
> > \setdefaultpenalties
> > \setpenalties\clubpenalties{1}{150}
> > \setpenalties\widowpenalties{1}{1}
> > \setpenalties\displaywidowpenalties{1}{1}
> > \stopsetups
> >
> > \setuplayout[setups=mypenaltie
2.0 works for me on an x64 Mac mini using ConTeXt ver: 2023.08.10 02:59
Following the instructions here <https://wiki.contextgarden.net/Barcodes>
1) I had to create the path $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint
2) I symbolic linked directly to the homebrew created libzint librar
On 8/20/2023 5:51 PM, Carlos wrote:
On Sun, Aug 20, 2023 at 03:38:15PM +0200, Wolfgang Schuster wrote:
Carlos schrieb am 19.08.2023 um 15:32:
On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote:
Hi,
1. Learn to two provide a working minimal example which shows the problem
Carlos schrieb am 20.08.2023 um 17:51:
On Sun, Aug 20, 2023 at 03:38:15PM +0200, Wolfgang Schuster wrote:
Carlos schrieb am 19.08.2023 um 15:32:
On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote:
Hi,
1. Learn to two provide a working minimal example which shows the problem
On Sun, Aug 20, 2023 at 03:38:15PM +0200, Wolfgang Schuster wrote:
> Carlos schrieb am 19.08.2023 um 15:32:
> > On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote:
> > > Hi,
> > >
> > > 1. Learn to two provide a working minimal example whi
Carlos schrieb am 19.08.2023 um 15:32:
On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote:
Hi,
1. Learn to two provide a working minimal example which shows the problem.
Did the minimal example I provided earlier wasn't enough for you?
Besides, You know perfectly well
University
Fort Collins, CO 80523
On Aug 19, 2023, 1:14 PM -0600, Hamid,Idris , wrote:
On Aug 19, 2023, 1:01 PM -0600, Wolfgang Schuster
, wrote:
** Caution: EXTERNAL Sender **
Hamid,Idris schrieb am 19.08.2023 um 20:36:
Many thanks. From font-pre.mkiv:
\definealternativestyle [\v!smallcaps
On Aug 19, 2023, 1:01 PM -0600, Wolfgang Schuster
, wrote:
** Caution: EXTERNAL Sender **
Hamid,Idris schrieb am 19.08.2023 um 20:36:
Many thanks. From font-pre.mkiv:
\definealternativestyle [\v!smallcaps] [\setsmallcaps] [\setsmallcaps]
:
\unexpanded\def\setsmallcaps{\doaddfeature{f:smallcaps
styles that have the smcp feature, but I don't like having
to redefine a system command.
So the questions are:
1) Is there a recommended\better way to get \sc to work across all styles?
\setupbodyfont[pagella]
\starttext
\tf Upright, \it Italic, \bf Bold and \bi Bolditalic
\style[style
\sc{\addff{smallcaps}}
This works for all styles that have the smcp feature, but I don't like
having to redefine a system command.
So the questions are:
1) Is there a recommended\better way to get \sc to work across all
styles?
\setupbodyfont[pagella]
\starttext
\tf Upright, \it Italic
Hi,
On Sat, Aug 19, 2023 at 3:36 PM Carlos wrote:
>
> On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote:
> > Hi,
> >
> > 1. Learn to two provide a working minimal example which shows the problem.
> >
>
> Did the minimal example I pr
for all styles that have the smcp feature, but I don't like having
to redefine a system command.
So the questions are:
1) Is there a recommended\better way to get \sc to work across all styles?
2) Are there any edits you would recommend to the above typescript template?
Once we're clear
=normal,
number=no,
]
\starttext
\startdefinition{\cite[righttext={{ p.\nbsp 1}},
alternative=theorem][burago2022course]}
This is something
\stopdefinition
\startsubject[title={References}]
\placelistofpublications
\startsubject
\stoptext
The problem with this is that the citation
On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote:
> Hi,
>
> 1. Learn to two provide a working minimal example which shows the problem.
>
Did the minimal example I provided earlier wasn't enough for you?
Besides, You know perfectly well that \stoptext is not ev
On 8/19/2023 1:12 PM, vm via ntg-context wrote:
Is there a (simple) way to export the results of a
\startMPpage ... \stopMPpage
directly to a svg file?
My current route is to import the pdf into inkscape, group path objects
by stroke color, then save the result as svg and translate
the table together piece by piece with
the collecting
mechanism which collect parts of the table until you flush the whole
collection
at the end with the \stopcollecting command.
\starttext
\bTABLE
\startcollecting
\startcollect
\bTABLEbody
\stopcollect
\startcollect
\bTR
\bTD Cell 1\eTD
\bTD
Hi,
1. Learn to two provide a working minimal example which shows the problem.
2. The example below results in a correct output for \TEX.
\setuplayout[width=16cm]
\showmakeup
\starttext
Thus, I came to the conclusion that the designer of a new
system must not only be the implementer
commands, like \bTABLEhead,
\eTABLEhead, bTABLEbody or \eTABLEbody: it seems impossible to
incapsulate them into lua functions. For example, the following is not
compiled:
\starttext
\bTABLE
\ctxlua{context.bTABLEbody()}
\bTR
\bTD Cell 1\eTD
\bTD Cell 2\eTD
\eTR
\ctxlua{context.eTABLEbody()}
\eTABLE
or \eTABLEbody: it seems impossible to
incapsulate them into lua functions. For example, the following is not
compiled:
\starttext
\bTABLE
\ctxlua{context.bTABLEbody()}
\bTR
\bTD Cell 1\eTD
\bTD Cell 2\eTD
\eTR
\ctxlua{context.eTABLEbody()}
\eTABLE
\stoptext
Can anybody suggest a workaround
.do?cod_rh=0002125949
},
orcid={https://orcid.org/0009-0007-0765-4241},
gscholar={
https://scholar.google.com/citations?user=GpYTTU0J=es=1},
]
%% I want to do something like
\startGetAuthor[nombre={Andrés Conrado Montoya Acosta}]
\datasetentry{bio}\par
email: \mailhref{\datasete
\startsetups[mypenalties]
\setdefaultpenalties
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p
\startsetups[mypenalties]
\setdefaultpenalties
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p|]
\NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf
On 8/18/2023 1:02 PM, Wolfgang Schuster wrote:
Alex Leray schrieb am 18.08.2023 um 12:19:
Hello Wolfgang,
Le 17/08/23 à 18:56, Wolfgang Schuster a écrit :
Is it correct all your listing are HTML code and you need line breaks
for the entries of the href attributes?
The content is from
Thank you Hanks, seems to work well after some tweaking.
I had an issue, the patch you sent me gave an error when I ran 'context
--make'. The error said:
tex error > tex error on line 51 in file core-dat.mkxl: Parameters
must be numbered consecutively
[#1]#*[
S
\perman
persize[A7]
\setbreakpoints[compound]
\starttext
\startlines[style=mono]
1. Thisisthetruth:waste-not-want-not
2. Thisisthetruth:waste/not/want/not
3. Thisisthetruth:waste+not+want+not
4. Thisisthetruth:waste(not(want(not))
5. Thisisthetruth(waste)not)want)not
\stoplines
\stoptext
persize[A7]
\setbreakpoints[compound]
\starttext
\startlines[style=mono]
1. Thisisthetruth:waste-not-want-not
2. Thisisthetruth:waste/not/want/not
3. Thisisthetruth:waste+not+want+not
4. Thisisthetruth:waste(not(want(not))
5. Thisisthetruth(waste)not)want)not
\stoplines
\stoptext
Hi,
I'd like to break lines in verbatim on certain characters like "/".
I can do it for normal texte, but not inside typing environment.
Is there a way to achieve this?
Below is my test code.
Thanks,
Alex
* * *
\setuppapersize[A7]
\setbreakpoints[compound]
\starttext
1. This is
. I'm using
datasets and a recursion, kind of hacky but I can't find a better way of
handling it. Specifically I would like to know:
1. Is there a way of getting the length of a filled dataset? (how many
entries it contains)
2. Is it OK to use \startuserdata \stopuserdata without its inlineuserdata
can't find a better way of
handling it. Specifically I would like to know:
1. Is there a way of getting the length of a filled dataset? (how many
entries it contains)
2. Is it OK to use \startuserdata \stopuserdata without its inlineuserdata?
Is there an alternative that does not require
receiving incremental file list
./
ctan.lsr
document-2.htm
download-1.htm
download-2.htm
logo-ade.png
logo-cts.png
logo-pod.png
rss.xml
show-fil.pdf
context/latest/
context/latest/cont-lmt.zip
context/latest/cont-mpd.zip
context/latest/cont-ppc.zip
context/latest/cont-sci.zip
ite] {oli};
% ròtuls
\draw (2,2) node[anchor=west] {$2/5$};
\draw (2,5.25) node[anchor=west] {$1/4$};
\stoptikzpicture
\stoptext
Aditya___
If your question is of interest to others as well, p
gt; > problem to several "wrong" files.
> > One was trivialy fixed because I did not close one environment, but other
> > don't. Please help:
>
> 1. You need \starttext and \stoptext at the begin and end of your
> example file.
>
> 2. You forgot
Xavier B. schrieb am 16.08.2023 um 00:12:
Thanks.
After some work on it, following your advice, I reduce the compilation problem to several
"wrong" files.
One was trivialy fixed because I did not close one environment, but other
don't. Please help:
1. You need \starttext and
63)
\startexercici[reference=exercici:problemes-de-fraccions-1, title={oli}]
Calculeu quina part del dipòsit queda buida, sabent que l'aigua ocupa $2/5$
del recipient i l'oli, $1/4$ (vegeu figura~\in[fig:oli-aigua-diposit]).
15 \usetikzlibrary[trees]
16 \usetikzlibrary[calc, i
(nesting, trial mode etc), think of
\bTABLE \bTR \bTD
\startitemize[a]
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\startitem
\startitemize[n]
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\stopitemize
(nesting, trial mode etc), think of
\bTABLE \bTR \bTD
\startitemize[a]
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\startitem
\startitemize[n]
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\stopitemize
vm via ntg-context schrieb am 15.08.2023 um 21:13:
Placing identical images in a n x m grid
shows extra space every two rows.
Also the vertical and horizontal spaces are different.
There is probably a reason for this to happen, but how to avoid it ?
1. You're missing the caption (even
al error: return
code: 1" is a error message from the console), it might be a started
command not closed, such as in:
\starttext
\startitemize
\item a
\stoptext
Just in case it might help,
Pablo
__
801 - 900 of 33732 matches
Mail list logo