Re: [NTG-context] stix2-mathscr with ConTeXt

2018-08-09 Thread Wolfgang Schuster
You can find the values for the stylealternative key in stix-two-math.lfg. \setupbodyfont[stixtwo] \starttext \m{\mathscript C} \setupmathematics[stylealternative=calligraphic] \m{\mathscript C} \stoptext Wolfgang Fabrice Couvreur schrieb am 10.08.18 um 02:27: Hello, Is it possible to

[NTG-context] stix2-mathscr with ConTeXt

2018-08-09 Thread Fabrice Couvreur
Hello, Is it possible to get this type of letter with ConTeXt ? Thank you Fabrice [image: mathscr.png] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] referencing the equation

2018-08-09 Thread Henri Menke
I usually define my own reference formats, “ineq” for equations, “infig” for figures: \definereferenceformat[ineq][left=(,right=)] \definereferenceformat[infig][left=\labeltext{figure}] \starttext \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC

Re: [NTG-context] referencing the equation

2018-08-09 Thread Jeong Dal
Dear Wolfgang, Although there is an answer in the manual, I didn’t read it carefully. Sometimes, I used “\in{word}[reference]” like “\in{equation}[eq:1]". But I have to change it to “equation (\in[eq:1])”. Thank you so much. Best regards, Dalyoung > 2018. 8. 10. 오전 12:21, Wolfgang Schuster

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Hans Hagen
On 8/9/2018 10:00 PM, Pablo Rodriguez wrote: On 08/09/2018 09:34 PM, Alan Braslau wrote: The lua manual also states that one should NOT rely on the implicit conversion of a string to its numerical value, and suggests the systematic use of tonumber(). Many thanks for your reply, Alan. I guess

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Hans Åberg
> On 9 Aug 2018, at 21:20, Pablo Rodriguez wrote: > > A numeric constant with a radix point or an exponent denotes a > float; otherwise, if its value fits in an integer, it denotes an > integer. > > Well, "10.0" contains the radix point, but with no arithmetical relevance. > > My

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Alan Braslau
On Thu, 9 Aug 2018 22:00:48 +0200 Pablo Rodriguez wrote: > I guess that backwards compatibility should be important here, but I > hope there are stronger reasons for breaking it. tonumber() provides backwards compatibility. And the recommendation to use it was in the third edition (of the lua

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Pablo Rodriguez
On 08/09/2018 09:34 PM, Alan Braslau wrote: > The lua manual also states that one should NOT rely on the implicit > conversion of a string to its numerical value, and suggests the > systematic use of tonumber(). Many thanks for your reply, Alan. I guess that backwards compatibility should be

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Alan Braslau
The lua manual also states that one should NOT rely on the implicit conversion of a string to its numerical value, and suggests the systematic use of tonumber(). Alan On Thu, 9 Aug 2018 21:20:54 +0200 Pablo Rodriguez wrote: > On 08/09/2018 08:12 PM, Wolfgang Schuster wrote: > > Use

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Pablo Rodriguez
On 08/09/2018 08:12 PM, Wolfgang Schuster wrote: > Use tonumber. Many thanks for your reply, Wolfgang. The issue is in Lua itself: print(5+"5") In versions prior to 5.3, result is "10". From version 5.3, result is "10.0", I would say this might be a bug. According to the “Lua 5.3 Reference

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Robert Zydenbos
What I've done is the following: I've made a zip archive (see attachment) with a few relevant files – the two first files that will be a part of the book: preface.tex and how-to-use.tex, together with an environment file manual-environment-xasia.tex with a lot of settings, and the starting file

Re: [NTG-context] Define the dimensions of a layout

2018-08-09 Thread Lizardo M. Reyna Bowen
Hi, May be this setup works. \setuppapersize[A4] \setuplayout[   header=20mm,   footer=20mm,   height=fit,   topspace=0cm,   width=fit,   backspace=2cm,   rightmargin=0cm,   leftmargin=0cm,   leftmargindistance=0pt,   rightmargindistance=0pt] \showframe \starttext  \showsetups \stoptext

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-09 Thread Pablo Rodriguez
On 08/09/2018 02:17 PM, Robert Zydenbos wrote: > [...] > That (and the footnotes :-) ) covers just about all my typesetting > needs. I had already prepared numerous smaller documents as practice > before I started to process the book with ConTeXt, was delighted with > the results, and so I thought

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Wolfgang Schuster
Use tonumber. %% \starttext \cldcontext{\lastpage + 1} \cldcontext{"\lastpage" + 1} \cldcontext{tonumber("\lastpage") + 1} \stoptext %% Wolfgang Pablo Rodriguez schrieb am 09.08.18 um 20:02: Dear list, I have the following sample \starttext \startTEXpage[offset=1em]

[NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Pablo Rodriguez
Dear list, I have the following sample \starttext \startTEXpage[offset=1em] Pages: \ctxlua{context([[\lastpage]])}. Next page: \ctxlua{context([[\lastpage]] + 1)}. (Lua \luaversion) \stopTEXpage \stoptext With Lua-5.2 (ConTeXt with JIT), I get the expected results.

Re: [NTG-context] 12th ConTeXt Meeting (2018)

2018-08-09 Thread Jano Kula
Dear list, we are finalizing the list of participants for the ConTeXt Meeting 2018 . There are few places left, if you are interested. We cannot guarantee full service for registrations after August 15, 2018. You might still have doubts like one of the

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Wolfgang Schuster
You disable the chapter counter with \setuphead [chapter] [incrementnumber=no] which prevents the reset of the footnote counter. Wolfgang Robert Zydenbos schrieb am 09.08.18 um 17:21: What I've done is the following: I've made a zip archive (see attachment) with a few relevant files –

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Wolfgang Schuster
Have you tried to use mkiv for your document. Wolfgang Robert Zydenbos schrieb am 09.08.18 um 14:49: tex.stackexchange.com has page titled “How to manually reset the footnote numbering in ConTeXt?”

[NTG-context] resetting footnote counter

2018-08-09 Thread Robert Zydenbos
What I've done is the following: I've made a zip archive (see attachment) with a few relevant files – the two first files that will be a part of the book: preface.tex and how-to-use.tex, together with an environment file manual-environment-xasia.tex with a lot of settings, and the starting file

Re: [NTG-context] referencing the equation

2018-08-09 Thread Wolfgang Schuster
When you look at the first example in section 4.1 you can see that the parentheses are inserted by hand. %% \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2] \stopalign \stopformula As seen from (\in[eq:1])

[NTG-context] referencing the equation

2018-08-09 Thread Jeong Dal
Dear, The examples in mathalign.pdf(p4 - ) tells us the method of referencing the equation. The numbers for the equation is written as (1.1), and in the text, it is written as (1.1). That is the numbers are always surrounded by ( , ). In the output of the following code, the equations are

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Aditya Mahajan
On Thu, 9 Aug 2018, Robert Zydenbos wrote: I have tried ‘\resetcounter [footnote]’ (a suggested solution on that web page), but it does not work (at least not in MkII+XeTeX). ‘\setupcounter [footnote] [0]’ (also suggested on that web page) is rejected as an error. Can you post a minimal

Re: [NTG-context] seeindex problem with recent betas

2018-08-09 Thread Rik Kabel
On 8/8/2018 23:48, Wolfgang Schuster wrote: \setupregister[index][check=no] Wolfgang Thank you, Wolfgang. I saw the discussion on the list, but missed it in i-context.pdf. Wiki updated. -- Rik ___ If your

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Robert Zydenbos
tex.stackexchange.com has page titled “How to manually reset the footnote numbering in ConTeXt?” (https://tex.stackexchange.com/questions/359702/how-to-manually-reset-the-footnote-numbering-in-context), where exactly the same question was asked: ---begin quote--- “I have a document with many

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-09 Thread Robert Zydenbos
> On 8. Aug 2018, at 17:28, Pablo Rodriguez wrote: > > Hi Robert, > > […] I might be totally missing your point here, but it seems to me that you > try to know what can be achieved in general with ConTeXt, even before to > learn how to use ConTeXt for your typesetting needs. Not really. My