. The first is that the module
creates a week calendar with eahc working day on one page and the weekend on
one page. The other version allows to setup an individual setup of the pages.
This module also comes with a couple of templates for general information
keeping. The new version includes also
l this is resolved:
\usemodule[filter]
\startbuffer[tikz-start]
\usemodule[tikz]
% Add font setup
% Add tikz setup
\starttext
\startTEXpage
\starttikzpicture
\stopbuffer
\startbuffer[tikz-stop]
\stoptikzpicture
\stopTEXpage
\stoptext
\stopbuffer
\defineexternalfilter
[tikzpicture]
!
I’m playing with some examples of section numbering.
* Is there a setup to influence the order of number segments? I.e. can
I have “section.chapter.part“ instead of “part.chapter.section”?
You need a new prefix-set to rearrange the order of the sections.
begin example
\defineprefixset
Henning Hraban Ramm via ntg-context schrieb am 31.12.2022 um 18:23:
A happy new year to everyone!
I’m playing with some examples of section numbering.
* Is there a setup to influence the order of number segments? I.e. can
I have “section.chapter.part“ instead of “part.chapter.section”?
You
Am 31.12.22 um 20:41 schrieb Pablo Rodriguez via ntg-context:
On 12/31/22 18:23, Henning Hraban Ramm via ntg-context wrote:
I’m playing with some examples of section numbering.
* Is there a setup to influence the order of number segments? I.e. can I
have “section.chapter.part“ instead
On 12/31/22 18:23, Henning Hraban Ramm via ntg-context wrote:
> I’m playing with some examples of section numbering.
>
> * Is there a setup to influence the order of number segments? I.e. can I
> have “section.chapter.part“ instead of “part.chapter.section”?
I thought sec
ction numbering.
>
> * Is there a setup to influence the order of number segments? I.e. can I
> have “section.chapter.part“ instead of “part.chapter.section”?
>
> * How can I format the segments, e.g. to get two or three digits each
> (leading zeros)?
>
> * I can
A happy new year to everyone!
I’m playing with some examples of section numbering.
* Is there a setup to influence the order of number segments? I.e. can I
have “section.chapter.part“ instead of “part.chapter.section”?
* How can I format the segments, e.g. to get two or three digits each
Dear Everyone,
I'm setting up a project structure that will possibly let me share styles
and layouts with lots of documents I need to create weekly.
Unfortunately my definitions in the environment file or files are ignored...
Here is the setup under the purposely created structure:
** The folder
cript is a wrapper around the podman command to
> help build, save, and load the container, as well as connect and run
> commands. It's a work-in-progress.
>
> My goal is to simplify the setup and configuration of ConTeXt as well
> as make the instructions "cross platform"
is a wrapper around the podman command to
help build, save, and load the container, as well as connect and run
commands. It's a work-in-progress.
My goal is to simplify the setup and configuration of ConTeXt as well
as make the instructions "cross platform" owing to containerization.
Fro
Hi Steffen,
> But how can I adjust in general the horizontal distance between glyphs
> (I don't mean \kern, I am looking for a general setup)?
You probably want \definecharacterkerning. See
https://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf#page=171
for details on how
the horizontal distance between glyphs (I don't
mean \kern, I am looking for a general setup)?
Steffen
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
sions like that or always?
In https://source.contextgarden.net/syst-aux.mkiv
it looks like \measured returns a dimension, while \measure returns a
string (\the\measured), is this right?
So I should use \measure{} in setup keyvals, and \measured in dim
expressions?
Now, when I use calculated measures
v
it looks like \measured returns a dimension, while \measure returns a
string (\the\measured), is this right?
So I should use \measure{} in setup keyvals, and \measured in dim
expressions?
Now, when I use calculated measures for a page size, I get:
"""
You can't use '\di
a
string (\the\measured), is this right?
So I should use \measure{} in setup keyvals, and \measured in dim
expressions?
Now, when I use calculated measures for a page size, I get:
"""
You can't use '\dimexpr' in ho
of \textwidth. ...though the
last image can have the ordinary gap afterwards.
How can I se the vertical spacing between this sequence of image to
0.02\textwidth?
Do you need floats at all? Otherwise a combination might fit your needs,
and there you can setup the distances.
https
Hi Alan,
I have an almost identical set-up (M1, MacOS12.6, TexShop, useAlternatePath,
useConTeXtSyncParser). One important difference, I use
sync method: SyncTeX (TeX ≥ 2010)
I’d recommend trying that. There are some other differences in my setup that
probably are not important
or Wolfgang, probably) told me at one time, or I
picked it up from a discussion on the list, and it’s part of my default
setup since.
Hraban
___
If your question is of interest to others as well, please add an entry
.
The log tells me:
This is LuaTeX, Version 1.13.0 (TeX Live 2021)
Compiling with LMTX, i read:
ConTeXt ver: 2022.09.11 20:44 LMTX
And compiling with MkIV (of the TeX Live 2022):
This is LuaTeX, Version 1.15.0 (TeX live 2022)
in a setup where lmtx is leading mtxrun/context will use luametatex
er had a problem installing it on my old computer (Intel
> processor).
>
> Do you know if it is a known problem?
>
> These are the commands I used (taken from the wiki):
>
> rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
> sh ./first-setup.sh --modules = all
> I've never had a problem installing it on my old computer (Intel processor).
>
> Do you know if it is a known problem?
>
> These are the commands I used (taken from the wiki):
>
> rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
> sh ./first-setup.sh --m
installing it on my old computer (Intel processor).
Do you know if it is a known problem?
These are the commands I used (taken from the wiki):
rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
sh ./first-setup.sh --modules = all --fonts = all --goodies = all --context
= latest
Jeroen via ntg-context schrieb am 08.10.2022 um 13:17:
Hello,
Could anybody help me out with the setup and a MWE to get a document
exactly as the one from Steve Peter in the Practex Journal in 2005 as
in https://tug.org/pracjourn/2005-1/peter/peter.pdf
The articles used a now out of date
Am 08.10.22 um 13:17 schrieb Jeroen via ntg-context:
Could anybody help me out with the setup and a MWE to get a document
exactly as the one from Steve Peter in the Practex Journal in 2005 as
in https://tug.org/pracjourn/2005-1/peter/peter.pdf
I find this one hard to replicate. What
Hello,
Could anybody help me out with the setup and a MWE to get a document
exactly as the one from Steve Peter in the Practex Journal in 2005 as in
https://tug.org/pracjourn/2005-1/peter/peter.pdf
I find this one hard to replicate. What is the font type that was used for
this document ?
Thanks
ey box. No error message.
Neither of those links are valid images themselves, they are both
redirects. The following works though:
\starttext
\externalfigure[https://tug.org/images/logobw.jpg]
\stoptext
I can't seem to get the second one to work since its redirected URL is a
bit odd
Hi,
fetching images per URI was supported (and is also documented in the
wiki), but with LMTX 2022.09.11 and one of
\externalfigure[http://tug.org/images/logobw.jpg]
or
\externalfigure[https://picsum.photos/300/200]
I only get the usual grey box. No error message.
Do I need any setup
yuourself (not that hard); ther eis a
smake script that should move the bin to the right spot (nice test case
for Mojca who made that setup)
Hans
-
Hans Hagen | PRAGMA ADE
Dear list,
I’m experiencing a weird issue with hyphenation:
\setuphyphenation
[method=traditional]
\starttext
\hyphenatedword{a-legibility-c}
\sethyphenationfeatures
[strict]
\hyphenatedword{a-legibility-c}
\stoptext
I need the setup hyphenation commands to get underscore
Hi,
At the ctx meeting we released luametatex, that is, the source code is
now in the context zip (so it grew a few MB). At the same time Mojca set
up some contextgarden repositories on github. We're working on a setup
for users to generate older snapshots, if needed (for instance because
e MP code for several custom enumeration.
> >
> > However I can't make the overall setup work, needless to say different
> > border colors for each enumeration though setupMPvariables. What am I
> > missing?\startuseMPgraphic{mp:textFrame}
> begingroup;
>
On 9/3/2022 6:48 PM, Alexandre Christe via ntg-context wrote:
Dear all,
I'm trying to reuse some MP code for several custom enumeration.
However I can't make the overall setup work, needless to say different
border colors for each enumeration though setupMPvariables. What am I
missing
Dear all,
I'm trying to reuse some MP code for several custom enumeration.
However I can't make the overall setup work, needless to say different
border colors for each enumeration though setupMPvariables. What am I
missing?
MWE: see attachment
testColorParagraphs.tex
Description: TeX
figures.identify()
if info.status.status ~= 0 then
figures.check() -- !Counts pages here!
end
figures.pop()
return --data
info
end
end
local format = string.format
-- figures.cachepaths.path = "cache" -- should be setup-option
local function sample_down(o
\stopitemize
\stopitemize
\stoptext
Alexandre Christe via ntg-context 於 2022年9月2日 週五
下午5:08寫道:
> Dear all,
>
> I'm struggling to setup a nested itemize with no blank line and several
> columns.
>
> What I mean is something like
> 1. a) bla c) bla
> b) bla d) b
Dear all,
I'm struggling to setup a nested itemize with no blank line and several
columns.
What I mean is something like
1. a) bla c) bla
b) bla d) bla
The following MWE is my starting point
\starttext
\startitemize[n]
\item \blank[-line]
\startitemize[a,horizontal,two] [margin=2cm
f name.name then
local data = figures.push(name)
local info = figures.identify()
if info.status.status ~= 0 then
figures.check() -- !Counts pages here!
end
figures.pop()
return --data
info
end
end
local format = string.format
-- figures.cachepaths.path = "cach
Hello!
based on the answer Hans posted on my question how to correctly setup header
texts in a ConTeXt Lua Document I added a section on the Wiki:
https://wiki.contextgarden.net/CLD#Setting_up_Header_Texts
Kind regards
Willi
> On 25 Aug 2022, at 19:45, Hans Hagen wrote:
>
> On 8/
chuster via ntg-context
> wrote:
>
>
> > amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00:
> >
> > > Is there any documentation about \ruby?
> >
> >
> > You can see all available parameters in setup-en.pdf, the example below
> > shows a few of
the operators into the
new line:
\setupmathematics[setups=math:spacing:split]
\setupformulas[split=yes,align=flushleft]
\startformula
x\dorecurse{30}{ + #1x^{#1x}} = 10
\stopformula
Would it be possible to achieve this via a custom setup like
math:spacing:split to get an output like this?
푥 + 1푥1푥 + 2푥2푥
=math:spacing:split]
\setupformulas[split=yes,align=flushleft]
\startformula
x\dorecurse{30}{ + #1x^{#1x}} = 10
\stopformula
Would it be possible to achieve this via a custom setup like
math:spacing:split to get an output like this?
푥 + 1푥1푥 + 2푥2푥 + 3푥3푥 + 4푥4푥 + 5푥5푥 + 6푥6푥 + 7푥7푥 + 8푥8푥 +
9푥9푥 + 10푥10푥
Hi everyone
One of my current main projects where I use ConTeXt is typesetting journal
articles from xml sources. As the journal appears only online, we've decided to
publish each article individually. I have a working setup, but I occasionally
ponder whether I could make things more smootly
022 um 14:00:
>
> > Is there any documentation about \ruby?
>
>
> You can see all available parameters in setup-en.pdf, the example below
> shows a few of them:
>
> begin example
> \setupinterlinespace[line=4ex]
>
> \setuptype[style=\ttx]
>
> \st
amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00:
Is there any documentation about \ruby?
You can see all available parameters in setup-en.pdf, the example below
shows a few of them:
begin example
\setupinterlinespace[line=4ex]
\setuptype[style=\ttx]
\starttext
\start
Am 11.08.22 um 15:51 schrieb Henning Hraban Ramm via ntg-context:
Hi Hans,
yesterday you told me about the image conversions in grph-con.lua, and I
tried to find out how to use them. Up to know I only knew "mp" for SVG
images.
I found I can use "gray.pdf" or "cmyk.pdf" to convert an image
Hi Hans,
yesterday you told me about the image conversions in grph-con.lua, and I
tried to find out how to use them. Up to know I only knew "mp" for SVG
images.
I found I can use "gray.pdf" or "cmyk.pdf" to convert an image (JPG or
PNG) to grayscale/CMYK, but the resolution isn’t used for
business graphics
with different tools to printing from TEI-XML to setup a single source
publishing chain with Pandoc. The problems are in the details. ;-)
Yes, probably in the details manual ;-P
No, not this time. But bring them up in the online meetup.
Another topic:
If we want to promote ConTeXt
an intensive training.
Aside from the core functions I would like to learn more about
integrations as this is what we are trying to do at Hostsharing at the
moment. This could cover small things like automated business graphics
with different tools to printing from TEI-XML to setup a single source
:
...
But the entries do exist in the bib file, and a minimal example works.
In both cases, the setup looks like:
\usebtxdataset[dmlig][dm-ligatures/references.bib]
\setupbtx[dataset=dmlig]
\usebtxdefinitions[apa]
\setupbtx[apa:cite][alternative=num]
Unfortunately, I got no answers. But I found out
:practical-typography-ligatures'
found in dataset 'dmlig'
publications> no entry 'bringhurst:style' found in dataset 'dmlig'
publications> no entry 'rafaeli:book-typography' found in dataset
'dmlig'
But the entries do exist in the bib file, and a minimal example works.
In both c
>
> >I object :-) Single chevrons are not used at all in typography
> > from France. I read however on
> > https://fr.wikipedia.org/wiki/Guillemet that they are in
> > Switzerland, hence if that can be confirmed there could be an
> > option for Swiss French
ser objects I’d suggest to fix this.
> >
> >I object :-) Single chevrons are not used at all in typography
> > from France. I read however on
> > https://fr.wikipedia.org/wiki/Guillemet that they are in
> > Switzerland, hence if that can be confirmed there could be an
> &
page look a bit odd and I'd rather the header was blank.
I used aftersection=\directsetup{...} for the same purpose.
In LMTX, \directsetup makes no sense any more, just use \setup{}.
Hraban
___
If your ques
, hence if that can be confirmed there could be
an option for Swiss French; but in the mean time I think that the
current setup should stay as it is.
Ok, thank you!
So the German Wikipedia as well as “DUDEN Satz und Korrektur“ are wrong.
Hraban
firmed there could be
an option for Swiss French; but in the mean time I think that the
current setup should stay as it is.
Best,
Arthur
___
If your question is of interest to others as well, p
which is split over two pages. Now on the even page there
is no header. So the question is how to convince cld to setup the header when
the table is split ….
I attach my “minimal” example, which shows the problem.
Kind regards
Willi
test.tex
Description: Binary data
> On 18 Jul 2022, at 22
> On 20 Jul 2022, at 09:40, Henning Hraban Ramm via ntg-context
> wrote:
>
> Am 20.07.22 um 09:06 schrieb Henning Hraban Ramm via ntg-context:
>> Hi,
>> how do I access the current chapter number and the number of chapters
>> (including appendixes; after the fi
Am 20.07.22 um 09:06 schrieb Henning Hraban Ramm via ntg-context:
Hi,
how do I access the current chapter number and the number of chapters
(including appendixes; after the first run)?
I’d like to setup a chapter color like
\definecolor[ChapterColor][
s=1,v=1,
h=360
Hi,
how do I access the current chapter number and the number of chapters
(including appendixes; after the first run)?
I’d like to setup a chapter color like
\definecolor[ChapterColor][
s=1,v=1,
h=360*\namedstructurevariable{chapter}{number}/\numberofchapters,
]
and use it for a thumb
e same
> directory as the source) called "mp_test_file.txt" that contains:
>
> done[9][1] := 1 ;
> done[4][3] := 2 ;
> done[5][3] := 3 ;
> done[5][1] := 4 ;
> done[2][9] := 5 ;
> done[8][6] := 6 ;
> done[9][10] := 7 ;
> done[9][7] := 8 ;
> done[10]
(in the same
directory as the source) called "mp_test_file.txt" that contains:
done[9][1] := 1 ;
done[4][3] := 2 ;
done[5][3] := 3 ;
done[5][1] := 4 ;
done[2][9] := 5 ;
done[8][6] := 6 ;
done[9][10] := 7 ;
done[9][7] := 8 ;
done[10][2] := 9 ;
done[6][5] := 10 ;
I think, with a bit o
Willi Egger via ntg-context schrieb am 16.07.2022 um 17:03:
Hello!
I tried to setup a headertext in a context-lua-document. — No problem for the
singlesided version, however hoe to pass the info for a double sided version?
Unfortunately the cld-mkiv manual contains an example for a singlesided
Hello!
I tried to setup a headertext in a context-lua-document. — No problem for the
singlesided version, however hoe to pass the info for a double sided version?
Unfortunately the cld-mkiv manual contains an example for a singlesided
document.
It ried
context.setupheadertexts({
function
are treated the same way. The only part that
> differs is the file name extension (and header within the file).
The below is likely overkill and a good bit of work to setup, but it is
also very flexible. Maybe it suits your needs.
The Markdown-to-XML conversion can be tuned to include all the relev
command. This seems to be
the case when you first invoke the \cite command (i.e., in the
btx:sbl:cite:footnote setup).
Here is the problem: if you invoke the btx:sbl:cite:inline setup from
inside the btx:sbl:cite:footnote setup, it seems that the loctext parameter
is no longer accessible, and t
on't have a high level interface for that; it will be
part of the more general math penalties setup.
These are just a few of the things to play with.
Hans
-
Hans Hagen | P
Hi Joel (et al.),
I tried the SBL bibliography setup with the latest LMTX; the example and
bib database are from Dennis’ article on ligatures in the upcoming CG
journal:
"""
\usebtxdataset[default][references.bib]
\setupbtx[dataset=default]
\usebtxdefinitions[sbl]
\setupin
15:50 skrev Mauricio Reyna via ntg-context
> :
>
> This is my emacs setup for AUCTEX with ConTeXt.
>
> ;; Install straight.el
> (defvar bootstrap-version)
> (let ((bootstrap-file
>(expand-file-name "straight/repos/straight.el/bootstrap.el"
> u
This is my emacs setup for AUCTEX with ConTeXt.
;; Install straight.el
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el"
user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p boot
Am 30.06.22 um 09:36 schrieb Hans Hagen via ntg-context:
On 6/30/2022 9:22 AM, Angel M Alganza via ntg-context wrote:
They’re also tedious, because you can’t setup rows/columns in advance
(like \setupTABLE) – or did that change?
I'm afraid you're right.
You're joking right? SInce when can one
On 6/30/2022 9:22 AM, Angel M Alganza via ntg-context wrote:
Hi Henning,
On Thu, Jun 30, 2022 at 09:02:28AM +0200, Henning Hraban Ramm via
ntg-context wrote:
They’re also tedious, because you can’t setup rows/columns in advance
(like \setupTABLE) – or did that change?
I'm afraid you're
Hi Henning,
On Thu, Jun 30, 2022 at 09:02:28AM +0200, Henning Hraban Ramm via ntg-context
wrote:
They’re also tedious, because you can’t setup rows/columns in advance
(like \setupTABLE) – or did that change?
I'm afraid you're right.
Cheers,
Ángel
of the trick (the column width).
Is there a way to do the same for the row height, please?
I never looked at xtables, since the wiki says they're used for tables
that need to span several pages, which I don't need.
They’re also tedious, because you can’t setup rows/columns in advance
(like
\stopXML
\stoptext
Which is the option to have the first contents broken and indented
automatically by ConTeXt?
I have tried all possible options from
https://www.pragma-ade.com/general/qrcs/setup-en.pdf#page=266. I had no
luck.
I remember that this worked (but I couldn’t find the message from
Thanks Aditya,
I tried your suggestion, but the result is the same. Here's the XML setup
for all images in the document:
\startxmlsetups xml:img
\starttexcode
\placefloat[here,force]{}{%
\hbox{\externalfigure[\xmlatt{#1}{src}][conversion=mp]}
}
\stoptexcode
\stopxmlsetups
The setup I offered in the previous email was all correct, but in a
large project like a dictionary with 26 or more components there can
always be something else that goes wrong! Component 'D' had an extra {
in it, but oddly enough the component was compiling, except that I
picked up an error
according to documentation.
Many thanks for your reply, Hraban.
Using current latest (from 2022.05.11 11:36) with current sample outputs
no different setup for chapters from bodypart:
\startsectionblockenvironment[bodypart]
\setuplist[chapter]
[alternative=d
n.
Many thanks for your reply, Hraban.
Using current latest (from 2022.05.11 11:36) with current sample outputs
no different setup for chapters from bodypart:
\startsectionblockenvironment[bodypart]
\setuplist[chapter]
[alternative=d]
\stopsectionblockenvironment
Thanks for all your help. Using Magick had no effect so I've had another look
at my setup. It turned out I had this in m
\setupexternalfigures
[maxwidth=\textwidth,
maxheight=0.8\textheight.
location={local,global},
]
The period to end maxheight is obviously a mistake. (However, I'm still
Hello,
I didn't mention the platform: context-setup-win64.
Thank you,
Jano
On Tue, Jun 14, 2022 at 1:20 PM Jano Kula wrote:
> Hello list,
>
> I cannot make fresh install of lmtx to work. The structure after unzipping:
> C:\data\context\bin\beta
> C:\data\context\bin\beta\bin
&g
e patterns with
>> the monotonic ones for \language[gr} and leave the rest to users.
>
> Hans added the missing setup, it will probably be fixed in the next upload.
Great news and many thanks for the upcoming fix.
Pablo
__
olytonic Modern Greek patterns in ConTeXt, replace the patterns with
the monotonic ones for \language[gr} and leave the rest to users.
Hans added the missing setup, it will probably be fixed in the next upload.
Hraban
___
I
\csname \??constructionnotehandler \currentconstructionhandler \endcsname
\strc_constructions_finalize \strc_notations_finalize
\stopfootnote
}
Is there any chance my setup might work again?
Steffen
__
]
\definelinenote[otherlinenote]
%~ \setupnote[otherlinenote]
%~ [compress=yes]
\starttext
\startlinenumbering
\dorecurse{20}
{uvwxyz\linenote{abcdef} }
\stoplinenumbering
\stoptext
For some reason unknown to me, "compress=yes" only works in linenote if
I setup another linenote and
Hi,
> On 29 May 2022, at 22:15, Keith McKay via ntg-context
> wrote:
>
> Hi Steffen
>
> I have TeXshop setup on my mac mini M1 but I rarely use it.
I do not use TeXshop, but I did just upgrade to an M1 Mac, and I had some
issues with
intel binaries 'sticking around’.
Hi Steffen
I have TeXshop setup on my mac mini M1 but I rarely use it. I've just
ran it on a file I have been working on and it runs OK. Here is my engine:
%%
#!/bin/bash export
PATH=$PATH:/Users/pothole/data/contextmacosarm64/tex/texmf-osx-arm64/bin
/Users/pothole/data
22 kl. 21:59 skrev Pablo Rodriguez via ntg-context
>>>> mailto:ntg-context@ntg.nl>>:
>>>>
>>>> On 5/23/22 13:11, Jan-Erik Hägglöf via ntg-context wrote:
>>>>> HI!
>>>>>
>>>>> Tried to make a checklist in an i
erdocumentsetup{demo}{xml:demo:base}
> > \startxmlsetups xml:demo:tag
> > %\doif{\xmlnamespace{#1}}{o}{NameSpaceO:}
> > \xmlflush{#1}
> > \stopxmlsetups
> > \starttext
> > \startbuffer[test]
> >
> > > xmlns:o="NameSpaceO">
> >
ups
> > \xmlregisterdocumentsetup{demo}{xml:demo:base}
> > \startxmlsetups xml:demo:tag
> > %\doif{\xmlnamespace{#1}}{o}{NameSpaceO:}
> > \xmlflush{#1}
> > \stopxmlsetups
> > \starttext
> > \startbuffer[test]
> >
> > > xmlns:o=&q
ontext
>>> mailto:ntg-context@ntg.nl>>:
>>>
>>> On 5/23/22 13:11, Jan-Erik Hägglöf via ntg-context wrote:
>>>> HI!
>>>>
>>>> Tried to make a checklist in an interactive document.
>>>>
>>>> The proble
problem seems to be that all checks/uncecks in same click, not each
>>> individually.
>>>
>>> Is there something wrong with my code?
>>
>> Hi Jan-Erik,
>>
>> you basically put the same field twice.
>>
>> Add something like:
>>
>> \definefie
ist in an interactive document.
>>
>> The problem seems to be that all checks/uncecks in same click, not each
>> individually.
>>
>> Is there something wrong with my code?
>
> Hi Jan-Erik,
>
> you basically put the same field twice.
>
meSpaceO:}
> \xmlflush{#1}
> \stopxmlsetups
> \starttext
> \startbuffer[test]
>
>xmlns:o="NameSpaceO">
> text text
>
> \stopbuffer
> \xmlprocessbuffer{demo}{test}{}
> \stoptext
>
> My questions:
> - Is there a good way to have a separate XML
u basically put the same field twice.
Add something like:
\definefield [check-you] [check] [setup 3] [yes,no] [no]
\define\chka{\field[check-you]}
\chka
Checks will be different then.
I hope it helps,
Pablo
[yes] [{\externalfigure[check-mark-svgrepo-com.svg][conversion=mp]}]\definesymbol [no] []\setupfield[setup 3][width=0.5cm, height=0.5cm,rulethickness=1pt, corner=round, framecolor=red]\definefield [check-me] [check] [setup 3] [yes,no] [no]\define\chk{\field[check-me]}\starttext\chk\blank[3cm]\chk
{o}{NameSpaceO:}
> \xmlflush{#1}
> \stopxmlsetups
> \starttext
> \startbuffer[test]
>
>xmlns:o="NameSpaceO">
> text text
>
> \stopbuffer
> \xmlprocessbuffer{demo}{test}{}
> \stoptext
>
> My questions:
> - Is there a good way
So far I accomplished this but problem is that when I check it checks all, not
individually.
\setupinteraction[state=start]
\setupexternalfigures[location=global]
\definesymbol [yes]
[{\externalfigure[check-mark-svgrepo-com.svg][conversion=mp]}]
\definesymbol [no] []
\setupfield
[setup 3
Thank you for the useful tip.
I’ve tested the example given below but ran into missing figure, maybe I need
to reconstruct the MetaPost file as mentioned in setup. Se attached example:
Thanks in advance!
/Jan-Erik
\setupinteraction[state=start]
\setupexternalfigures[location=global
}
\definenamespace
[addr]
[type=module,
name=address,
command=yes,
setup=list,
parent=addr,
]
\define[1]\useaddress
{\setnotetext[address][#1]{\namedaddressparameter{#1}{name}}}
\setupaddress[style=italic]
\defineaddress[fst][name={Name of Institute or Affiliation, City
201 - 300 of 5706 matches
Mail list logo