Re: [NTG-context] XML roundtripping

2019-05-16 Thread Hans Hagen
the last page number => in the next article, set the first page > number to this + 1 > (So, we do not necessarily need to write the page numbers back to the > XML, but we'll somehow need to pass the page number to the next article > in the chain.) &g

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
t; > - Typeset each article individually. > > - Get the last page number => in the next article, set the first page > > number to this + 1 > > (So, we do not necessarily need to write the page numbers back to the > > XML, but we'll somehow need to pass the page number to th

Re: [NTG-context] XML roundtripping

2019-05-15 Thread nyssus
On 15/05/2019 15:35, Denis Maier wrote: > Another option could be: > - Typeset each article individually. > - Get the last page number => in the next article, set the first page > number to this + 1 > (So, we do not necessarily need to write the page numbers back to the XML, &

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Mica Semrick
cle individually. >- Get the last page number => in the next article, set the first page >number to this + 1 >(So, we do not necessarily need to write the page numbers back to the >XML, >but we'll somehow need to pass the page number to the next article in >the >chain.) > >

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Hans Hagen
is neglectable to the run) Another option could be: - Typeset each article individually. - Get the last page number => in the next article, set the first page number to this + 1 (So, we do not necessarily need to write the page numbers back to the XML, but we'll somehow need to pass the p

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
be: - Typeset each article individually. - Get the last page number => in the next article, set the first page number to this + 1 (So, we do not necessarily need to write the page numbers back to the XML, but we'll somehow need to pass the page number to the next article in the chain.) Am Mi.,

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
everyone > > > > I am setting up a workflow for a journal where we will be using JATS XML > > as an input format. PDFs should be typeset via ConTeXt. Is roundtripping > > possible with ConTeXt? I will perhaps need to write page numbers back to > > a XML file (ei

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Hans Hagen
On 5/14/2019 9:38 AM, Denis Maier wrote: Hi everyone I am setting up a workflow for a journal where we will be using JATS XML as an input format. PDFs should be typeset via ConTeXt. Is roundtripping possible with ConTeXt? I will perhaps need to write page numbers back to a XML file (either

[NTG-context] \includeonly and ConTeXt components

2019-05-15 Thread Denis Maier
Hi again, last question for the moment ;-) With LaTeX we can use `\includeonly` for partial compilation. The good thing is that we can still refer to labels from other files, have a complete TOC, and correct page numbers. In ConTeXt the project structure is supposed to be used for partial

[NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
Hi everyone I am setting up a workflow for a journal where we will be using JATS XML as an input format. PDFs should be typeset via ConTeXt. Is roundtripping possible with ConTeXt? I will perhaps need to write page numbers back to a XML file (either to the input file or to a new file.). Best

Re: [NTG-context] inserting figure labels

2019-05-12 Thread Hans van der Meer
is with an \externalfigure[] not within a >> placefigure but still accompanied by a label in the current running series. >> For example an uninterrupted series of figure numbers with: >> \placefigure[][]{labeltext-1}{\externalfigure[figure1]} % -> Figure 1 >> labeltext-1

Re: [NTG-context] inserting figure labels

2019-05-12 Thread Henning Hraban Ramm
\externalfigure[] not within a > placefigure but still accompanied by a label in the current running series. > For example an uninterrupted series of figure numbers with: > \placefigure[][]{labeltext-1}{\externalfigure[figure1]} % -> Figure 1 > labeltext-1 > \e

[NTG-context] inserting figure labels

2019-05-11 Thread Hans van der Meer
by a label in the current running series. For example an uninterrupted series of figure numbers with: \placefigure[][]{labeltext-1}{\externalfigure[figure1]} % -> Figure 1 labeltext-1 \externalfigure[figure-2] \macrocall{labeltext-2} % -> Figure 2 labeltext-2 \placefigure

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
al lly = paperheight + topoffset - height local urx = width - leftoffset local ury = paperheight - topoffset -- boxes can be cached local function extrabox(WhatBox,offset,always) if offset ~= 0 or always then addtopageattributes(WhatBox, pdfarray

[NTG-context] Hyphenation questions

2019-04-24 Thread Dmitry Starostin
. In APS, I cannot figure out how to make a space appear between the numbers for cited sources. [1, p. 1,2, p. 2]. But [1, p. 1, 2, p. 2] is what is desired. In one case it did appear automatically, but all others don't work. \cite[righttext={{{, p.~1}},{{, p.~2}}}][book1,book2

Re: [NTG-context] preparing math exams

2019-04-23 Thread Fabrice L
Hi, Le 23 avril 2019 à 11:10:11, Gour (g...@atmarama.com) a écrit: Hello, For regular formulas involving e.g. rational numbers, I'm sure that input language for math is quite sufficient, but wonder about drawing part? Metapost (Metafun) is your best friend here. You can insert directly

[NTG-context] preparing math exams

2019-04-23 Thread Gour
Hello, I wonder what would be recommended way to prepare math exams for primary school (e.g. 5th to 8th grade) which involves drawing lines, segments, angles, polygons, circles, drawing functions etc.? For regular formulas involving e.g. rational numbers, I'm sure that input language for math

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Hans Hagen
as LuaMetaTeX, there is a strange behavior in math mode: when the characters < and - follow each other one gets \leftarrow… This is embarrassing when one writes inequalities for negative numbers. So one has to separate them in order to obtain with curly braces. Can this be fixed or is it inten

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Aditya Mahajan
in math mode: when the characters < and - follow each other one gets \leftarrow… This is embarrassing when one writes inequalities for negative numbers. So one has to separate them in order to obtain with curly braces. Can this be fixed or is it intended ? \starttext $\alpha < -1$ $

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Hans Hagen
< and - follow each other one gets \leftarrow… This is embarrassing when one writes inequalities for negative numbers. So one has to separate them in order to obtain with curly braces. Can this be fixed or is it intended ? \starttext $\alpha < -1$ $\alpha \leftarrow 1$ $\alpha < {-1}$ $\alph

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Mikael P. Sundqvist
r one gets \leftarrow… This is > embarrassing when one writes inequalities for negative numbers. > So one has to separate them in order to obtain with curly braces. Can this be > fixed or is it intended ? > > \starttext > $\alpha < -1$ > > $\alpha \leftarrow 1$ > > $\a

[NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Otared Kavian
ive numbers. So one has to separate them in order to obtain with curly braces. Can this be fixed or is it intended ? \starttext $\alpha < -1$ $\alpha \leftarrow 1$ $\alpha < {-1}$ $\alpha {<} - 1$ \stoptext Best

[NTG-context] Referencing the page on which an endnote was generated

2019-04-09 Thread Rik Kabel
List, I would like to create headings for the endnotes appendix chapter of a book with headings like "Notes for pages x–y" but can find no way to capture x and y. Is there a way to get those page numbers to insert into the heade

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-03 um 13:30 schrieb Hans Hagen : > On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: >> Am 2019-04-02 um 18:53 schrieb Hans Hagen : >>> On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Hans Hagen
On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: Am 2019-04-02 um 18:53 schrieb Hans Hagen : On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Herbert Voss
. And for the record: “ff.” for page ranges is now discouraged in most scholarly publications; journals and publishers now say f. for x - x+1, or exact page numbers. it has nothing do do with "folgende", but it is often used because it means nearly the same. folium = { de = {”f”, ”ff”},

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Thomas A. Schmitz
or page ranges is now discouraged in most scholarly publications; journals and publishers now say f. for x - x+1, or exact page numbers. Thomas ___ If your question is of interest to others as well, please add

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Ulrike Fischer
Am Wed, 3 Apr 2019 10:56:21 +0200 schrieb Henning Hraban Ramm: > or is there a need to collapse pages in bibliographies? there can be such page ranges with ff both in the bibliography and the citation. But normally you input them hard coded as you know it in advance (in biblatex as 1\psq or

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-02 um 18:53 schrieb Hans Hagen : > On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: >> Ahoi, >> with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s >> great. >> But (at least in German publications) it’s usual that 1,2 becomes 1f. and >> 1,2,3 becomes 1ff. >>

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Hans Hagen
On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? it should not be

[NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Henning Hraban Ramm
Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? Greetlings, Hraban --- https://www.fiee.net

[NTG-context] (no subject)

2019-03-22 Thread Dmitry Starostin
I started getting a bug, updated today and am still getting it. I hope someone can at least make a note of it, if not provide a suggestion/solution. MWE included. The bug is the 'incollection' and 'inbook' entries in the bibliography have 1. have page numbers in parentheses for apa and chicago 2

[NTG-context] Fwd: Question and Answer Iteration

2019-03-13 Thread Jeroen
This worked very well, thanks. I now want at the end of each chapter some questions with the chapter number in the follow-up number, and then at the end of the document a separate chapter with the answers with matching numbers. In general for a single QA section this works, but now I start

Re: [NTG-context] My own backgroundcolor in a frame

2019-03-08 Thread juh
d=color, foregroundcolor=black , >offset=2mm, >align=flushleft] > > My problem is now: > how can I write, if I have an Rgb Color and I do not know the name. I have > looked at the list, but cannot find the color. > Can I say: background=color, backgroundcolor=rgb and p

[NTG-context] My own backgroundcolor in a frame

2019-03-08 Thread Ursula Hermann
an Rgb Color and I do not know the name. I have looked at the list, but cannot find the color. Can I say: background=color, backgroundcolor=rgb and put the numbers in (lets say: r=200, g=112, b=300)? Is that correct, or do I have to take a special way? Or do I have to define it? Many thanks

Re: [NTG-context] em-dash ligature is converted to en-dash in the generic fontloader

2019-03-01 Thread Hans Hagen
t; > > This issue can be fixed in the fontloader with the attached patch. > Hm, I don't see those lines here and it looks ok in context so ... no For reproduction in context, the code \starttext ff\discretionary{l}{}{l} \stoptext currently produces a single `fl` ligature instead

Re: [NTG-context] A strange request...

2019-02-20 Thread Wolfgang Schuster
a little struggle with the page numbering. The reading page consists out of the even page together with the following uneven page. It is easy to print on the uneven page a page number, however this will result in uneven page numbers only throughout the book. My question is, whether

Re: [NTG-context] A strange request...

2019-02-20 Thread luigi scarso
he top… > > Now there is of course a little struggle with the page numbering. The > reading page consists out of the even page together with the following > uneven page. It is easy to print on the uneven page a page number, however > this will result in uneven page numbers only throug

Re: [NTG-context] Omitting part number in chapter numbers

2019-02-20 Thread Wolfgang Schuster
part[title={Part2}] \startchapter[title={Chapter3}] \input knuth \stopchapter \stoppart \stoptext I can make chapter numbers flow independently of parts, which is nice. But the numbering for chapters is like 1.1, 1.2, and 2.3, which is a good default, but not what I want. Is there any way to omit p

[NTG-context] A strange request...

2019-02-20 Thread Willi Egger
. The reading page consists out of the even page together with the following uneven page. It is easy to print on the uneven page a page number, however this will result in uneven page numbers only throughout the book. My question is, whether there is an algorithm to print page numbers as follows: 1

[NTG-context] Omitting part number in chapter numbers

2019-02-19 Thread Simon Collier
nput knuth \stopchapter \stoppart \stoptext I can make chapter numbers flow independently of parts, which is nice. But the numbering for chapters is like 1.1, 1.2, and 2.3, which is a good default, but not what I want. Is there any way to omit part number and get only the chapter number displayed

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear Wolfgang, >> I couldn’t figure out what relation is there between Theorems and Exam. > The numbers are correct with the latest beta. > > mtx-context | current version: 2019.02.10 17:43 > You are right. The example which I sent last time had no problem in

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Wolfgang Schuster
Jeong Dal schrieb am 11.02.19 um 11:17: 2. Also, the numbers of examples is not reset even though the new chapter began, for example, Example 2.3, 2.4, 3.5, 3.6 etc. However, I couldn’t make the same error with this code, It never happened without theorems, but it appeared when I added

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
eorem{\index{ThreeOne}{\bf ThreeOne}} This is the first Theorem \stopTheorem \startExam We call it \index{ThreeThree}{\bf ThreeThree} \stopExam \stopchapter \page \placeindex \stoptext %% How to get rid of the message [entry not flushed]? 2. Also, the numbers of examples is no

Re: [NTG-context] Headings vs. enumerations

2019-02-01 Thread Clyde Johnston
Thanks Wolfgang. The problem I had with using headers was maintaining the numbers for the headings and clauses. I was able to solve this with the [prefix=yes] option for the itemizegroup. Here is a solution (for anyone else) that achieves what I want: \starttext \placecontent[alternative=c

Re: [NTG-context] getting ConTeXt results back to Lua (for typesetting solutions at end of document)

2019-02-01 Thread Otared Kavian
or Question \setupinteraction[state=start] % We define two counters which follow the numbers % appearing in Question and Answer \newcounter\QuestionCounter \newcounter\HintCounter \newcounter\AnswerCounter % We create two commands to be used in the % enumeration environments % Note that the check

Re: [NTG-context] New logo proposal

2019-01-29 Thread Hans Hagen
On 1/29/2019 2:01 PM, Floris van Manen wrote: i can imagine these numbers being language dependent .. not all languages have the X https://nl.wikipedia.org/wiki/Scrabble so you use english .. dutch is not bad either with 20 i agree, we need a native \scrabblescore function to add the total

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-16 Thread Hans Hagen
he left side. See https://tex.stackexchange.com/q/457428/323 Thanks a lot, but I wasn't looking for a way to just delete page numbers but to style the empty page in arbitrary ways. Maybe it is better to do this manually. I would let chapter open on even pages too and just insert a styled page

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Jeong Dal
rote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> in my document \startchapter and \starttitle starts a new chapter on the >>>>>> right (odd) page. So sometimes, there is a blank even page just before a >>>>&

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Hans Hagen
named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it in \startchapter so that it is placed on the left side. See https://tex.stackexchange.com/q/457428/323 Thanks a lot, but I wasn't looking for a way to just delete page numbe

[NTG-context] MetaFun: how to check the number of arguments

2019-01-14 Thread Jeong Dal
gt;>> >>>> I would like to manipulate this blank even page. >>>> >>>> There are several things I would like to do, eg. having no headers and >>>> footers, setting the background color to a named color, placing an image >>>> or some g

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Wolfgang Schuster
it in \startchapter so that it is placed on the left side. See https://tex.stackexchange.com/q/457428/323 Thanks a lot, but I wasn't looking for a way to just delete page numbers but to style the empty page in arbitrary ways. Maybe it is better to do this manually. I would let chapter open

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Rik Kabel
it in \startchapter so that it is placed on the left side. See https://tex.stackexchange.com/q/457428/323 Thanks a lot, but I wasn't looking for a way to just delete page numbers but to style the empty page in arbitrary ways. Maybe it is better to do this manually. I would let chapter open on even

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
n the page. >> >> Is there a way to define such a page, name it and call it in >> \startchapter so that it is placed on the left side. > > See https://tex.stackexchange.com/q/457428/323 Thanks a lot, but I wasn't looking for a way to just delete page numbers but to style the empty pa

Re: [NTG-context] final thoughts on experiments with lua

2019-01-09 Thread Henning Hraban Ramm
associative arrays ("pairs" in Lua speak) do not have an > order. When I analyze my texts, I want book numbers, chapters, paragraphs > preserved in the order in which they are read (entered into the table). In > many cases, it is not possible (or extremely awkward) to sort th

Re: [NTG-context] final thoughts on experiments with lua

2019-01-09 Thread Hans Hagen
in Lua than in python! > One final thought: one limitation that I still find cumbersome to work around is the fact that associative arrays ("pairs" in Lua speak) do not have an order. When I analyze my texts, I want book numbers, chapters, paragraphs preserved in the order in which

Re: [NTG-context] final thoughts on experiments with lua

2019-01-09 Thread luigi scarso
On Wed, Jan 9, 2019 at 8:57 PM Thomas A. Schmitz wrote: > > One final thought: one limitation that I still find cumbersome to work > around is the fact that associative arrays ("pairs" in Lua speak) do not > have an order. When I analyze my texts, I want book numbers,

[NTG-context] final thoughts on experiments with lua

2019-01-09 Thread Thomas A. Schmitz
limitation that I still find cumbersome to work around is the fact that associative arrays ("pairs" in Lua speak) do not have an order. When I analyze my texts, I want book numbers, chapters, paragraphs preserved in the order in which they are read (entered into the table). In

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
, incrementnumber=list] \startproduct Danggok \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definestructureconversionset[backpart:pagenumber][][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber

Re: [NTG-context] Drops Module

2018-12-13 Thread Peter Rolf
dow' >     [ctxlua]:1: in main chunk > > This is due to the change in Lua5.3 with respect to floating point > numbers. The simplest solution is to change '%d' to '%.0f' at > appropriate places. > > Thanks, > Aditya > _

[NTG-context] Drops Module

2018-12-10 Thread Aditya Mahajan
/tex/context/third/drops/t-drops.lua:1098: in upvalue 'get_IM_paths' /home/adityam/texmf/tex/context/third/drops/t-drops.lua:1380: in field 'shadow' [ctxlua]:1: in main chunk This is due to the change in Lua5.3 with respect to floating point numbers. The simplest solution is to change '%d

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
> On 6 Dec 2018, at 15:23, Wolfgang Schuster > wrote: > > The force key is valid for the \definefallbackfamily command, e.g. > > \definefallbackfamily [...] [...] [range={...},force=yes] I tried to test it with the code below, but then it selects the stixtwomath glyphs. So possibly the

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Wolfgang Schuster
Hans Åberg schrieb am 06.12.18 um 15:18: On 2 Dec 2018, at 19:01, Hans Hagen wrote: This super/supscript stuff is a bit more tricky because when a superscript 2 is in the font, and a superscript 3 isn't, using a fake ^3 alongside that ^2 quite certainly will look bad because the 2 is

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
> On 2 Dec 2018, at 19:01, Hans Hagen wrote: > > This super/supscript stuff is a bit more tricky because when a superscript 2 > is in the font, and a superscript 3 isn't, using a fake ^3 alongside that ^2 > quite certainly will look bad because the 2 is normally of a different design > that

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 19:01, Hans Hagen wrote: > > On 12/2/2018 6:33 PM, Hans Åberg wrote: >> Maybe as a part of general features: A font fallback that selects the >> character from a sequence of fonts if not available, which could involve >> ranges, too, but not necessarily. And being able to

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Hagen
On 12/2/2018 6:33 PM, Hans Åberg wrote: On 2 Dec 2018, at 16:55, Hans Hagen wrote: On 12/2/2018 3:44 PM, Hans Åberg wrote: On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 16:55, Hans Hagen wrote: > > On 12/2/2018 3:44 PM, Hans Åberg wrote: >>> On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: >>> >>> STIX fonts don’t contain super and subscript numbers. >> They are in STIX Two, so I can get t

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Hagen
On 12/2/2018 3:44 PM, Hans Åberg wrote: On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using: \definefontfamily[stix-two][mono][Stix Two Text] \definefontfamily[stix-two][math][Stix Two

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: > > STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using: \definefontfamily[stix-two][mono][Stix Two Text] \definefontfamily[stix-two][math][Stix Two Math] \setupbodyfont[stix

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Henning Hraban Ramm
STIX fonts don’t contain super and subscript numbers. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD Am 2018-12-01 um 23:30 schrieb Hans Åberg : > Only some of the Unicode subscript and superscript numbers and si

[NTG-context] Typing Unicode subscript and superscript numbers

2018-12-01 Thread Hans Åberg
Only some of the Unicode subscript and superscript numbers and signs show up in the example below in the typing and text environments, though all correct in the formula environment. — \setupbodyfont[stix,10pt] \starttext \startformula \startalign \NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6

Re: [NTG-context] vertically centering line numbers

2018-12-01 Thread Pablo Rodriguez
On 12/1/18 9:49 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 30.11.18 um 19:29: >> [...] >> Is there a way to center vertically the line numbers? > > \defineshift [RaiseNumber] [dy=-0.25,style=\tfxx] > > \setuplinenumbering [step=3,command=\RaiseNumber

Re: [NTG-context] vertically centering line numbers

2018-12-01 Thread Wolfgang Schuster
the line numbers? \defineshift [RaiseNumber] [dy=-0.25,style=\tfxx] \setuplinenumbering [step=3,command=\RaiseNumber] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] vertically centering line numbers

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplinenumbering[step=3, style=\tfxx] \starttext \startlinenumbering \dorecurse{40}{This is a verse.\\} \stoplinenumbering \stoptext Is there a way to center vertically the line numbers? Many thanks for your help, Pablo

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-24 Thread Wolfgang Schuster
need chapter numbers in this particular project, but anyhow: Is there a better way to achieve my result without using tables? Where exactly should the image appear in the output? Wolfgang ___ If your question

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Procházka Lukáš Ing .
title} \eTD \eTR \eTABLE So I have a chapter with a image on the left. I dont need chapter numbers in this particular project, but anyhow: Is there a better way to achieve my result without using tables? Thanks. Huseyin Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de Am 22.11.2018 um 22:31 schrieb

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Huseyin Özoguz
\eTABLE So I have a chapter with a image on the left. I dont need chapter numbers in this particular project, but anyhow: Is there a better way to achieve my result without using tables? Thanks. Huseyin Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de Am 22.11.2018 um 22:31 schrieb Wolfgang

Re: [NTG-context] issues with optical bounds

2018-11-19 Thread Pablo Rodriguez
ion. > > i have no time now but keep in mind that we also have a multiplier (the > system is set up to use ratios / fractions, not hard coded numbers Many thanks for your reply, Hans. Although optical bounds in OpenType and character protrusion are very similar in their goals, I thin

Re: [NTG-context] issues with optical bounds

2018-11-18 Thread Hans Hagen
also have a multiplier (the system is set up to use ratios / fractions, not hard coded numbers also, it makes no sense to experiment too much with only some demo fonts with incomplete coverage ... adapting the low level mechanism to just one font with one character protruding makes no sense

Re: [NTG-context] hyphenation

2018-10-26 Thread Wolfgang Schuster
Untested: \setupreferenceformat[style=\nohyphens] Wolfgang Hans van der Meer schrieb am 26.10.18 um 13:38: Using roman numbers in figures I encountered a case where XIII.9 was hyphenated into XI-II.9. A bit unclear, in my opinion. Easily repairable with something like \def\myfigure[#1

Re: [NTG-context] hyphenation

2018-10-26 Thread Hans Hagen
On 10/26/2018 1:38 PM, Hans van der Meer wrote: Using roman numbers in figures I encountered a case where XIII.9 was hyphenated into XI-II.9. A bit unclear, in my opinion. Easily repairable with something like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}} Just an observation, not really

[NTG-context] hyphenation

2018-10-26 Thread Hans van der Meer
Using roman numbers in figures I encountered a case where XIII.9 was hyphenated into XI-II.9. A bit unclear, in my opinion. Easily repairable with something like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}} Just an observation, not really a problem but maybe something waiting to be fixed

Re: [NTG-context] Questions to font family Pagella

2018-10-22 Thread Pablo Rodriguez
On 10/18/18 10:25 PM, Arthur Reutenauer wrote: >> But for single letters (such as in heading numbers [12.A.γ] and >> references to them), I would like to use the Greek glyphs that come with >> Pagella. > > I see: it clearly makes sense to use the same

Re: [NTG-context] what defines the font size?

2018-10-19 Thread luigi scarso
we can say "Let's start to design a font in a grid 1000x1000 of font design units" as well "Let's start to design a font in a grid of 2048x2048 units". In any case, at some point we have to translate these numbers from the dimensionless "glyph space" to a di

Re: [NTG-context] Questions to font family Pagella

2018-10-18 Thread Arthur Reutenauer
> But for single letters (such as in heading numbers [12.A.γ] and > references to them), I would like to use the Greek glyphs that come with > Pagella. I see: it clearly makes sense to use the same font for Greek and Latin in this particular case; but surely diacritics are not

Re: [NTG-context] Questions to font family Pagella

2018-10-18 Thread Pablo Rodriguez
fonts, in many different styles. I use the Greek glyphs from GFS Didot for the Greek words of passages in the documents I use with Pagella. But for single letters (such as in heading numbers [12.A.γ] and references to them), I would like to use the Greek glyphs that come with Pag

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Kelley, Claire
er to call R externally. >> >> What I am still most interested in is how I could get a single value from >> R to be part of the Context code. (Like you would do with \Sexpr{} in >> sweave. The use case for this is that I have some complicated tikz code that >> m

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Alan Braslau
On Fri, 5 Oct 2018 20:07:27 +0200 Hans Hagen wrote: > > I want to fill it in with numbers that r reads from a csv file and > > processes. > Can you give an example? Do you only need R for reading the csv? The processing is done by R. Of course, it *could* be done in Lu

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Hans Hagen
{} in sweave. The use case for this is that I have some complicated tikz code that makes a fancy matrix - I want to fill it in with numbers that r reads from a csv file and processes. Can you give an example? Do you only need R for reading the csv? Hans ntg-context@ntg.nl

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Kelley, Claire
have some complicated tikz code that makes a fancy matrix - I want to fill it in with numbers that r reads from a csv file and processes. On 10/5/18, 1:48 PM, "ntg-context on behalf of Pablo Rodriguez" wr

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-04 Thread Taco Hoekwater
rtTEXpage Some camelcase and number and {\sc SoMe CaMeLcAsE TeXt with Numbers and also EA\"e\'a\ae\AE\ and whatever has lowercase, like Effe Flink} but also different stuff \stopTEXpage \stoptext This only works for font families with many weights (IBM Plex has e

Re: [NTG-context] accessing glyphs in the private area

2018-10-02 Thread Hans Hagen
either has the generic fontloader imho some suitable primitive command for name access. All the examples in the generic folder uses numbers or direct input: e.g. \Uchar"1D49D or \Uradical "0 "221A one can write these helpers ... i consider those things macro package dependent asd there

Re: [NTG-context] accessing glyphs in the private area

2018-10-02 Thread Ulrike Fischer
ike \char which expect a number; the name field of a character is marked as "unused" in the manual. Neither has the generic fontloader imho some suitable primitive command for name access. All the examples in the generic folder uses numbers or direct input: e.g. \Uchar"1D49D or \Ur

Re: [NTG-context] accessing glyphs in the private area

2018-10-02 Thread Hans Hagen
hs by their unicode code point, and assign "non-unicode" glyphs numbers that don't interfere. Did I got right? indeed, and we use the private space for those with no unicode (which can be a lot, also think for instance of the snippets that make up math extensibles) Then I do understand

Re: [NTG-context] accessing glyphs in the private area

2018-10-02 Thread Ulrike Fischer
rt the glyphs, index unicode glyphs by their unicode code point, and assign "non-unicode" glyphs numbers that don't interfere. Did I got right? Then I do understand that you need some free numbers to push glyphes. But I do not understand why to achieve this you remove glyphs from their un

[NTG-context] accessing glyphs in the private area

2018-10-02 Thread David Carlisle
Ulrike and Hans wrote > > It is not only that font. Actually the libertine package broke, > > fontawesome broke, and Coelacanth was only used by Thérèse in the > > example as it is free, her real problem was with using Goudy > > fleurons. > in context i strongly a

Re: [NTG-context] accessing glyphs in the private area

2018-10-01 Thread Hans Hagen
or nothing for latex, as for plain generic i won't do that anyway) but i don't expect those areas to be used for useable glyphs (in fact, i would probably never rely on numbers in such private areas myself or write some plug into the loader that would remap them to areas i want them in .. i

Re: [NTG-context] accessing glyphs in the private area

2018-10-01 Thread Ulrike Fischer
some point so > that you can use numbers but probably those features are context > specific anyway. For what do you reserve the space in the PUA? -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ I

Re: [NTG-context] accessing glyphs in the private area

2018-10-01 Thread Hans Hagen
... actually a mess as that font has Uni and uni so who's to know). I have no clue if it clashes with some features at some point so that you can use numbers but probably those features are context specific anyway. Hans

Re: [NTG-context] open type feature "frac"

2018-09-28 Thread Hans Hagen
. The output is still not really satisfactory. With mode=node numbers with slash looks okay, but single numbers are rather odd: only the last digit has the correct size: \starttext \font\test={file:linlibertine_r.otf:mode=node;script=latn;language=DFLT;+frac} \test 787347 125 it all depends

  1   2   3   4   5   6   7   8   9   10   >