Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-06 Thread denis.maier
Hi
Does that work now?
Best,
Denis

Von: ntg-context  Im Auftrag von Jairo A. del Rio
Gesendet: Dienstag, 24. November 2020 08:12
An: mailing list for ConTeXt users 
Betreff: [NTG-context] Some ligatures don't work in latest LMTX


Hi everyone. The following example works fine with MkIV, but fails with latest 
LMTX.

To be specific, the lam-alif ligature isn't working. Compile with both to see 
differences.

Majalla is a Windows font, so I guess it's available for testing:

\mainlanguage[arabic]

\definefontfeature

  [arabic]

  [mode=node,language=dflt,script=arab,

   init=yes,medi=yes,fina=yes,isol=yes,

   liga=yes,dlig=yes,rlig=yes,clig=yes,

   mark=yes,mkmk=yes,kern=yes,curs=yes]

\definefontfamily[main][serif][sakkalmajalla][features=arabic]

\setupbodyfont[main]

\setupdirections[bidi=global]

\starttext

أهلاً وسهلاً

\stoptext



Is that a bug or are more features to be specified? Thank you in advance.

Jairo
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Randomize order of blocks

2021-01-06 Thread Jairo A. del Rio
Nice. I had something a little bit different in mind, but your examples
gave me some ideas, especially the shuffling stuff. If I have something new
to add, I will share my results with the list. Thank you a lot.

Best regards,

Jairo

El mié, 6 de ene. de 2021 a la(s) 03:56, Otared Kavian (ota...@gmail.com)
escribió:

> Following up my previous message, here is an example:
>
> %% begin shuffled list of exercises
> \setuprandomize[2021]
>
> \startluacode
> function shuffle(tableau)
> local maxsize, t, tt
> maxsize = #tableau
> tt = {}
> t = {}
> for i = 1, maxsize do
> t[i] = {}
> t[i]["columnOne"] = tableau[i]
> t[i]["columnTwo"] = math.random(1,100*maxsize)
> end
> table.sort(t, function(a,b) return a.columnTwo <
> b.columnTwo end)
> for i = 1, maxsize do
> tt[i] = t[i]["columnOne"]
> end
> return tt
> end
> \stopluacode
>
> % We define three arrays
> % with the names, the functions and their derivatives
> % One could also add a ListOfVariables...
>
> \startluacode
>
> ListOfNames = {
> "f",
> "g",
> "h",
> "u",
> "v",
> "F",
> "G",
> "H",
> }
>
> ListOfFunctions = {
> "\\cos(x^2)",
> "x\\sin(x)",
> "\\tan(x)",
> "x^3 - 3x^2 + 1",
> "\\frac{1}{1 + x^2}",
> "\\sin(\\log(x))",
> }
>
> ListOfDerivatives = {
> "-2x\\sin(x^2)",
> "x\\cos(x) + \\sin(x)",
> "1 + \\tan(x)^2",
> "3x^2 - 6x",
> "\\frac{-2x}{(1 + x^2)^2}",
> "\\frac{\\cos(\\log(x))}{x}",
> }
>
> \stopluacode
>
> \starttext
>
> % We define a buffer and a shuffled list of integers
>
> \startbuffer[test-derivatives]
> \startluacode
> ShuffledList = shuffle({1,2,3,4,5,6})
> \stopluacode
>
> Let $\cldcontext{ListOfNames[ShuffledList[\recurselevel]]}(x) :=
> \cldcontext{ListOfFunctions[ShuffledList[\recurselevel]]}$. Prove that
> \startformula
> \cldcontext{ListOfNames[ShuffledList[\recurselevel]]}'(x) =
> \cldcontext{ListOfDerivatives[ShuffledList[\recurselevel]]}
> \stopformula
> \stopbuffer
>
> \dorecurse{6}{\blank[medium]{\bf Exercise #1.}
> \getbuffer[test-derivatives]
> }
>
> \stoptext
>
> %% end shuffled list of exercises
>
>
> > On 6 Jan 2021, at 09:41, Otared Kavian  wrote:
> >
> > Hi Jairo,
> >
> > One can indeed make quizzes and exams with randomized order of problems,
> randomized values and even randomized names of functions and variables.
> > I have some examples which I have been using for several years (they are
> useful especially in these days of giving exams online…): I can send them
> to you as they are, or if you tell me what kind of problems you want, then
> I can adapt my examples before sending them to you.
> >
> > Best regards: Otared
> >
> >> On 5 Jan 2021, at 17:18, Jairo A. del Rio 
> wrote:
> >>
> >> Hi, list.
> >>
> >> Some time ago I realized ConTeXt has "blocks" which allow one to make
> quizzes, exams and related with ease. However, I want to know if there's an
> option to randomize their order when printed. Thank you in advance.
> >>
> >> Jairo
> >>
> ___
> >> If your question is of interest to others as well, please add an entry
> to the Wiki!
> >>
> >> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> >> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> >> archive  : https://bitbucket.org/phg/context-mirror/commits/
> >> wiki : http://contextgarden.net
> >>
> ___
> >
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/

Re: [NTG-context] Display reference number as Roman number

2021-01-06 Thread Rik Kabel

On 11/24/2020 22:09, Rik Kabel wrote:


Hello all,

What I thought should be a simple conversion escapes me.

I have a reference (created originally via a label defined by 
\definelabel) that, when referenced as \in[label] or 
\ref[number][label] displays a number, and that is how I normally use 
it. However, I want to display it in one instance as a Roman numeral. 
\Romannumerals{\in[label]} complains that it is not being fed a number.


How can I display the label number in Roman number format in this one 
instance?


--
Rik

Okay, I have something that works. Perhaps not optimally, but it is 
functional.


   \definelabel[Qa]
   \definecounter[SAVE][numberconversion=R]
   \starttext
   This is labeled.\Qa\par
   This is labeled.\Qa[REF]\par
   \setcounter[SAVE][{\rawcountervalue[Qa]}]
   See \in[REF].\par
   See \ref[number][REF].\par
   See \in[REF].\par
   This is labeled.\Qa\par
   See \convertedcounter[SAVE].\par
   \stoptext

If you can improve it, please do. A solution that lets me use the label 
name (Qa here) and convert the associated number would be nice.


--
Rik

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Wolfgang Schuster

Marco Patzer schrieb am 06.01.2021 um 22:09:

On Thu, 7 Jan 2021 07:09:46 +1100
jbf  wrote:


I had searched everywhere on the wiki and in the manuals for
something like this, based on 'reset' but could not find it.

AFAIK it's not mentioned in the manuals. But a variant is on the
wiki “Independent Section Numbering”:

   https://wiki.contextgarden.net/Titles

   \definestructureresetset
 [default][1,1,0][1] %% reset part, chapter, but not section

   \setuphead
 [sectionresetset=default]

\definestructureresetset is the same as \defineresetset. I assume
that \definestructureresetset is the preferred way. But both will
work.


No, \defineresetset is the main command and \definestructureresetset is 
a alias for backwards compatibility.


Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Marco Patzer
On Thu, 7 Jan 2021 07:09:46 +1100
jbf  wrote:

> I had searched everywhere on the wiki and in the manuals for
> something like this, based on 'reset' but could not find it.

AFAIK it's not mentioned in the manuals. But a variant is on the
wiki “Independent Section Numbering”:

  https://wiki.contextgarden.net/Titles

  \definestructureresetset
[default][1,1,0][1] %% reset part, chapter, but not section

  \setuphead
[sectionresetset=default]

\definestructureresetset is the same as \defineresetset. I assume
that \definestructureresetset is the preferred way. But both will
work.

Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread jbf
Thanks Denis, as you said not tested, but now it has been tested... did 
not work, though I might try some variations of that just to see if it 
could work somehow.


In the meantime Marco's solution has worked so the immediate problem is 
resolved.


Julian

On 6/1/21 9:10 pm, denis.ma...@ub.unibe.ch wrote:

Not tested, but what about this?

\setupcounter[chapter][way=bytext]

Best,
Denis


-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von jbf
Gesendet: Mittwoch, 6. Januar 2021 10:24
An: mailing list for ConTeXt users 
Betreff: [NTG-context] Continued chapter numbers

I need chapter numbers to continue sequentially across several parts. At the
moment, when Part 2 begins, it begins with Chapter 1 once more, while it
should be (in continued sequence) Chapter 4.

I know that I can achieve the desired result by including ownnumber=4, so:

\startchapter[title={My chapter title},ownnumber=4] will do that for me.
But this means I have to do it for every chapter that follows (there are
11 more!).

Perhaps there is a single way to get the result I want in the preamble with
\setuphead[chapter] or similar. I have searched the wiki but it is not easy to
find an answer to this. Can anyone point me to where, in the wiki, I can find a
simple way to ensure sequential chapter numbers?

Julian

__
_
If your question is of interest to others as well, please add an entry to the
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-
context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net archive  :
https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
__
_

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread jbf

\defineresetset
   [jbfreset] [] [0]

\setuphead
   [chapter]
   [sectionresetset=jbfreset]

That does indeed work for me. I had searched everywhere on the wiki and 
in the manuals for something like this, based on 'reset' but could not 
find it. While it is clearly something you knew (and I now know!), do 
you know where this is mentioned in any ConTeXt documentation?


Grateful for the solution!

Julian

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \definefontfeature and script

2021-01-06 Thread Pablo Rodriguez
On 1/6/21 1:41 PM, Hans Hagen wrote:
> On 1/5/2021 6:53 PM, Pablo Rodriguez wrote:
>> [...]
>> GFS Heraklit
>> (https://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip [direct
>> link].) defines Greek c2sc and smcp for grek{dflt} (as displayed by
>> FontForge [which I read as: default language and Greek script]).
>
> kind of inconsistent:
>
> c2sc grek dflt
>   latn dflt
> onum cyrl dflt
>   dflt dflt
>   grek dflt
>   latn aze crt deu dflt mol rom srb trk
> smcp cyrl dflt
>   dflt dflt
>   grek dflt
>   latn dflt
>
> so just don't specify a script

I’m afraid that this doesn’t get the Greek small caps (either with
2020.12.30 16:45 or 2021.01.05 10:45).

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \definefontfeature and script

2021-01-06 Thread Hans Hagen

On 1/5/2021 6:53 PM, Pablo Rodriguez wrote:

On 1/5/21 5:11 PM, Hans Hagen wrote:

On 1/5/2021 4:46 PM, Pablo Rodriguez wrote:

[...]
If script=auto, current latest (2021.01.05 10:45) works fine. If it is
set to Latin (as above), I don’t get small caps.

Besides the potential issue in ConTeXt, I think that "script=auto" may
be safer than "script=latn". Or am I taking too much for granted?

well, ytou get what you ask for ... if you don't set the script you get
default (dflt) which also gives small caps


I have another sample that makes me wonder whether ConTeXt is misbehaving:

   \definefontfeature
 [onumsmcp]
 [script=latn,
  onum=yes,
  smcp=yes,
  c2sc=yes]

   \definefallbackfamily
 [mainface]
 [rm]
 [GFS Heraklit]
 [preset=range:greek,
  force=yes]

   \definefontfamily
 [mainface]
 [rm]
 [TeX Gyre Pagella]

   \setupbodyfont
 [mainface]

   \starttext
 \feature[+][onumsmcp]\tfb ab12αβ
   \stoptext


GFS Heraklit
(https://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip [direct
link].) defines Greek c2sc and smcp for grek{dflt} (as displayed by
FontForge [which I read as: default language and Greek script]).


kind of inconsistent:

c2sc grek dflt
 latn dflt
onum cyrl dflt
 dflt dflt
 grek dflt
 latn aze crt deu dflt mol rom srb trk
smcp cyrl dflt
 dflt dflt
 grek dflt
 latn dflt

so just don't specify a script

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-06 Thread Hans Hagen

On 1/5/2021 9:31 PM, Garulfo wrote:

Hi all,

I saw that Mojca created a directory
https://github.com/contextgarden/not-so-short-introduction-to-context

Joaquín, if you agree, and if
- you provide me with the spanish + english source codes
- Mojca provide you and me with github write access (garulfogb account)

i could :
1/ push the current code
2/ start to write a github wiki page (+ link on contextgarden) to 
describe :

- for you : how to update from your own computer (the official source)
- for any user : how to use git to get the source + link to this list 
for discussion.


Does anybody has a guide about "how to set up a documentation 
translation project with git ?".
One requirement will probably to define how propositions are officially 
validated. Does it requires Joaquín to learn how to use git ? Can we 
just work by sending files (or patches) to Joaquín who will update with 
a single git command ?
It's mainly about archiving, right? Those who write and maintain decide 
to use the repos in whatever way. (Personally I only use the gardens git 
repos for archiving and occasionally just watching what got changed. I 
don't even know (or care) how to fetch a specific version other than the 
latest right now.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread denis.maier
Not tested, but what about this?

\setupcounter[chapter][way=bytext]

Best,
Denis

> -Ursprüngliche Nachricht-
> Von: ntg-context  Im Auftrag von jbf
> Gesendet: Mittwoch, 6. Januar 2021 10:24
> An: mailing list for ConTeXt users 
> Betreff: [NTG-context] Continued chapter numbers
> 
> I need chapter numbers to continue sequentially across several parts. At the
> moment, when Part 2 begins, it begins with Chapter 1 once more, while it
> should be (in continued sequence) Chapter 4.
> 
> I know that I can achieve the desired result by including ownnumber=4, so:
> 
> \startchapter[title={My chapter title},ownnumber=4] will do that for me.
> But this means I have to do it for every chapter that follows (there are
> 11 more!).
> 
> Perhaps there is a single way to get the result I want in the preamble with
> \setuphead[chapter] or similar. I have searched the wiki but it is not easy to
> find an answer to this. Can anyone point me to where, in the wiki, I can find 
> a
> simple way to ensure sequential chapter numbers?
> 
> Julian
> 
> __
> _
> If your question is of interest to others as well, please add an entry to the
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-
> context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net archive  :
> https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> __
> _
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Marco Patzer
On Wed, 6 Jan 2021 20:24:07 +1100
jbf  wrote:

> I need chapter numbers to continue sequentially across several parts.
> At the moment, when Part 2 begins, it begins with Chapter 1 once
> more, while it should be (in continued sequence) Chapter 4.

\defineresetset
  [jbfreset] [] [0]

\setuphead
  [chapter]
  [sectionresetset=jbfreset]

Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Continued chapter numbers

2021-01-06 Thread jbf
I need chapter numbers to continue sequentially across several parts. At 
the moment, when Part 2 begins, it begins with Chapter 1 once more, 
while it should be (in continued sequence) Chapter 4.


I know that I can achieve the desired result by including ownnumber=4, so:

\startchapter[title={My chapter title},ownnumber=4] will do that for me. 
But this means I have to do it for every chapter that follows (there are 
11 more!).


Perhaps there is a single way to get the result I want in the preamble 
with \setuphead[chapter] or similar. I have searched the wiki but it is 
not easy to find an answer to this. Can anyone point me to where, in the 
wiki, I can find a simple way to ensure sequential chapter numbers?


Julian

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Randomize order of blocks

2021-01-06 Thread Otared Kavian
Following up my previous message, here is an example:

%% begin shuffled list of exercises
\setuprandomize[2021]

\startluacode
function shuffle(tableau)
local maxsize, t, tt
maxsize = #tableau
tt = {}
t = {}
for i = 1, maxsize do
t[i] = {}
t[i]["columnOne"] = tableau[i]
t[i]["columnTwo"] = math.random(1,100*maxsize)
end
table.sort(t, function(a,b) return a.columnTwo < b.columnTwo 
end)
for i = 1, maxsize do
tt[i] = t[i]["columnOne"]
end
return tt
end
\stopluacode

% We define three arrays
% with the names, the functions and their derivatives
% One could also add a ListOfVariables...

\startluacode

ListOfNames = {
"f",
"g",
"h",
"u",
"v",
"F",
"G",
"H",
}

ListOfFunctions = {
"\\cos(x^2)",
"x\\sin(x)",
"\\tan(x)",
"x^3 - 3x^2 + 1",
"\\frac{1}{1 + x^2}",
"\\sin(\\log(x))",
}

ListOfDerivatives = {
"-2x\\sin(x^2)",
"x\\cos(x) + \\sin(x)",
"1 + \\tan(x)^2",
"3x^2 - 6x",
"\\frac{-2x}{(1 + x^2)^2}",
"\\frac{\\cos(\\log(x))}{x}",
}

\stopluacode

\starttext

% We define a buffer and a shuffled list of integers

\startbuffer[test-derivatives]
\startluacode
ShuffledList = shuffle({1,2,3,4,5,6})
\stopluacode

Let $\cldcontext{ListOfNames[ShuffledList[\recurselevel]]}(x) := 
\cldcontext{ListOfFunctions[ShuffledList[\recurselevel]]}$. Prove that
\startformula
\cldcontext{ListOfNames[ShuffledList[\recurselevel]]}'(x) = 
\cldcontext{ListOfDerivatives[ShuffledList[\recurselevel]]}
\stopformula
\stopbuffer

\dorecurse{6}{\blank[medium]{\bf Exercise #1.}
\getbuffer[test-derivatives]
}

\stoptext

%% end shuffled list of exercises


> On 6 Jan 2021, at 09:41, Otared Kavian  wrote:
> 
> Hi Jairo,
> 
> One can indeed make quizzes and exams with randomized order of problems, 
> randomized values and even randomized names of functions and variables.
> I have some examples which I have been using for several years (they are 
> useful especially in these days of giving exams online…): I can send them to 
> you as they are, or if you tell me what kind of problems you want, then I can 
> adapt my examples before sending them to you.
> 
> Best regards: Otared 
> 
>> On 5 Jan 2021, at 17:18, Jairo A. del Rio  wrote:
>> 
>> Hi, list.
>> 
>> Some time ago I realized ConTeXt has "blocks" which allow one to make 
>> quizzes, exams and related with ease. However, I want to know if there's an 
>> option to randomize their order when printed. Thank you in advance.
>> 
>> Jairo
>> ___
>> If your question is of interest to others as well, please add an entry to 
>> the Wiki!
>> 
>> maillist : ntg-context@ntg.nl / 
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> ___
> 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Randomize order of blocks

2021-01-06 Thread Otared Kavian
Hi Jairo,

One can indeed make quizzes and exams with randomized order of problems, 
randomized values and even randomized names of functions and variables.
I have some examples which I have been using for several years (they are useful 
especially in these days of giving exams online…): I can send them to you as 
they are, or if you tell me what kind of problems you want, then I can adapt my 
examples before sending them to you.

Best regards: Otared 

> On 5 Jan 2021, at 17:18, Jairo A. del Rio  wrote:
> 
> Hi, list.
> 
> Some time ago I realized ConTeXt has "blocks" which allow one to make 
> quizzes, exams and related with ease. However, I want to know if there's an 
> option to randomize their order when printed. Thank you in advance.
> 
> Jairo
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___