[NTG-context] Re: testing language tagging?

2025-07-31 Thread Mikael Sundqvist
at the structure) > > > > > > Well, since my sample was PDF/UA-2, I guess you know that `Blockquote` > is deprecated from PDF-2.0. > > > > > > >This quote contains two paragraphs. > > > > > > > > > >

[NTG-context] Re: testing language tagging?

2025-07-31 Thread Pablo Rodriguez via ntg-context
stopquotation Hi Mikael, fine if also applied to `blockquote` (and other instances from `\setupdelimitedtext`). > giving (only look at the structure) > > Well, since my sample was PDF/UA-2, I guess you know that `Blockquote` is deprecated from PDF-2.0. > >

[NTG-context] Re: testing language tagging?

2025-07-30 Thread Mikael Sundqvist
allowed. > > Sorry, but I don’t see why blockquotes should contain only a single > paragraph. As a funny coincidence, I was just looking at block quotes. We are making some simple variant of tagging in an example setup (maybe others want it differently). What do you think of \startquotati

[NTG-context] Re: Opening quotation mark

2025-06-15 Thread Wolfgang Schuster
tion is to use either proper quotation marks in your input (many text editors can replace " with opening and closing symbols) or use the \quote and \quotation commands. The old method to use `` and '' for quotation marks can be activated but the other solutions mentioned above ar

[NTG-context] Re: Opening quotation mark

2025-06-15 Thread John Was
e commercial font Baskerville MT Pro if I type the simple ' as usual > > in TeX; but opening quotation marks remain as ` or ``. > > Don’t do this. Use \quote{} for single quotes and \quotation{} for > double quotes. > Maybe use \

[NTG-context] Re: Opening quotation mark

2025-06-15 Thread Henning Hraban Ramm
Am 15.06.25 um 17:20 schrieb John Was: Hello I have found that trep=yes gives me correct closing quotation marks in the commercial font Baskerville MT Pro if I type the simple ' as usual in TeX; but opening quotation marks remain as ` or ``. Don’t do this. Use \quote{} for single quote

[NTG-context] Opening quotation mark

2025-06-15 Thread John Was
sition for ` \def`{{\char"2018}}% 2018 is the position for ‘ (opening quote) But this fails in ConTexT. Any idea how to fix this, with or without any \catcode fiddling? (In XeTeX the font works as expected if I just give mapping=tex-text when setting up the font call, but I don&#

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Wolfgang Schuster
;ua1", pdf = "Span" }, table = { pua = "ua1", pdf = "Table" }, tablerow = { pua = "ua1", pdf = "TR" }, tablecell = { pua = "ua1", pdf = "TD&q

[NTG-context] Re: Alternate text for images?

2025-04-09 Thread Pablo Rodriguez via ntg-context
ablecell = { pua = "ua1", pdf = "TD" }, tableheadcell = { pua = "ua1", pdf = "TH" }, tablehead = { pua = "ua1", pdf = "THEAD" }, tablebody = { pua = "ua1", pdf = &q

[NTG-context] How to typeset interactive, hyphenated URLs in a bibliography?

2025-04-06 Thread Riviera Taylor
,prefix=no] \startbuffer[text] \quote{Welcome to my website} \cite[smith2025]. \stopbuffer \savebuffer[list=text,file=text.tex,prefix=no] \starttext \setupinteraction[state=start,color=black] \environment bib_env \enabledirectives[hyphenators.urls.packslashes] \sethyphenate

[NTG-context] Re: \setupdelimitedtext and color parameter: only the second delimiter is colored

2025-01-27 Thread Wolfgang Schuster
Am 27.01.2025 um 20:50 schrieb garu...@azules.eu: Is this the expected behaviour? I don't think so because not all methods show this behaviour. begin example \starttext \setupdelimitedtext [quote] [color=red] \quote{Some text} \setupdelimitedtext [quote] [location=paragraph] \

[NTG-context] \setupdelimitedtext and color parameter: only the second delimiter is colored

2025-01-27 Thread garulfo
Is this the expected behaviour? >From an observation from >https://wiki.contextgarden.net/Text_blocks/Environments/Quotes#Directly \starttext \quote{Some text} \setupdelimitedtext [quote] [color=red] \quote{Some text} \setupdelimitedtext [quote] [symcolor=red] \quote{Som

[NTG-context] rfc4180splitter not handling UTF-8 with BOM files

2024-11-23 Thread Marco Patzer
Hi! I run into a problem reading in certain CSV files. I nailed it down to the following example: \starttext \startluacode local mycsvsplitter = utilities.parsers.rfc4180splitter{ separator = ",", quote = '"'} -- fails with -- token call, execute: [ctxlu

[NTG-context] Re: \inch not doing the expected thing (what I expect, anyway).

2024-11-15 Thread Jim
-p/1718417 See "Correct answer by FivePicaPica" -> https://webdesignledger.com/common-typography-mistakes-apostrophes-versus-quotation-marks/ This one says to use straight, not curly quotes, but is silent on the issue of whether the quote is slanted (thus a prime): -> https://ww

[NTG-context] Re: italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread Tomáš Hála
apostrophe. Example: > > una opera => un'opera ("a work", but also "an opera") > una opera => un’opera (with the unicode curly single quote) > > In case of definite articles, that is true also for masculine words > starting with a vowel. > > l

[NTG-context] italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread mf
un'opera ("a work", but also "an opera") una opera => un’opera (with the unicode curly single quote) In case of definite articles, that is true also for masculine words starting with a vowel. la opera => l'opera ("the work", also "the opera&qu

[NTG-context] Re: configuring spitter

2024-10-08 Thread Wolfgang Schuster
    context(tablecell)    context.eTD() end    context.eTR() end    context.eTABLEbody() context.eTABLE() \stopluacode \stoptext end example This works perfectly with commas and doublequotes. Is it possible to configure the splitter so that it work

[NTG-context] Re: configuring spitter

2024-10-08 Thread Henning Hraban Ramm
; second baz Use the source, juh! In https://source.contextgarden.net/tex/context/base/mkiv/util-prs.lua?search=rfc4180splitter#l580 you can find that rfc4180splitter takes a "specification" parameter that looks like { separator = ",", quote = '"' }. I did

[NTG-context] Re: Why does text within a very simple xtable seem to not want to take up a lot of free space?

2024-09-24 Thread Wolfgang Schuster
each table cell is a local group where font changes won't affect another cell. 3. Move the font changes to the foregroundstyle key to keep the cell free from unnecessary markup. 4. Use an \endash (or --) because the name after the quote and don't forget "\ " after \endash to

[NTG-context] Re: ConTeXt beginner, What should I enable within font features? And how do I see all the options possible?

2024-09-07 Thread Wolfgang Schuster
ptext end example I have dlig and trep on so that works with single quotations like don't have a directional quote, and so that I get the Times New Roman ligatures via dlig and not just liga. itlc is enabled since I read some documentation and they sometimes mention enabling it It sh

[NTG-context] Re: ConTeXt beginner, What should I enable within font features? And how do I see all the options possible?

2024-09-05 Thread Marcus Vinicius Mesquita
dlig and trep on so that works with single quotations like don't have > a directional quote, and so that I get the Times New Roman ligatures via dlig > and not just liga. itlc is enabled since I read some documentation and they > sometimes mention enabling it > > is there so

[NTG-context] ConTeXt beginner, What should I enable within font features? And how do I see all the options possible?

2024-09-05 Thread Felix
and trep on so that works with single quotations like don't have a directional quote, and so that I get the Times New Roman ligatures via dlig and not just liga. itlc is enabled since I read some documentation and they sometimes mention enabling it is there some stuff like the extrafea

[NTG-context] Re: Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread Hans Hagen
features that I **should** have turned on in ConTeXt when using Times New Roman that is installed by default on Windows. I also was not able to get a "proper (?)" single quote like when Word or LaTeX compiles "Don't", that ' is a straight quote in the compiled text. I

[NTG-context] Re: Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread Wolfgang Schuster
when using Times New Roman that is installed by default on Windows. I also was not able to get a "proper (?)" single quote like when Word or LaTeX compiles "Don't", that ' is a straight quote in the compiled text. I also heard that ConTeXT would be much better for

[NTG-context] Re: Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread Wolfgang Schuster
ConTeXt when using Times New Roman that is installed by default on Windows. I also was not able to get a "proper (?)" single quote like when Word or LaTeX compiles "Don't", that ' is a straight quote in the compiled text. I also heard that ConTeXT would be much better

[NTG-context] Re: Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread Hans Hagen via ntg-context
Windows. I also was not able to get a "proper (?)" single quote like when Word or LaTeX compiles "Don't", that ' is a straight quote in the compiled text. I also heard that ConTeXT would be much better for typography since it does have a more advanced typographical e

[NTG-context] Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread fm117575
ot; single quote like when Word or LaTeX compiles "Don't", that ' is a straight quote in the compiled text. I also heard that ConTeXT would be much better for typography since it does have a more advanced typographical engine as the base (and this is a big reason as to w

[NTG-context] Re: Quotation mark in drop caps

2024-07-10 Thread Thangalin
would work for most cases; however, the quotation marks could include: " -- straight quote “ -- opening curly double quote ‘ -- opening curly single quote (or apostrophe) « -- opening double quote (French, Spanish, etc.) ‹ -- opening single quote 「 -- opening Japanese quote % SOT

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-18 Thread Gerion Entrup
> > \color[m-indigo-800]{\structureuservariable{subtitle}} > > \stopfont > > \blank[3cm] > > > > \startextract[author={\structureuservariable{quoteauthor}}] > > \structureuservariable{quote} > >

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Wolfgang Schuster
\stopfont \blank[3cm] \startextract[author={\structureuservariable{quoteauthor}}] \structureuservariable{quote} \stopextract \stopframed \stoplocalheadsetup \stopsetups The use

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Gerion Entrup
} \stopfont \blank[3cm] \startextract[author={\structureuservariable{quoteauthor}}] \structureuservariable{quote} \stopextract \stopframed \stop

[NTG-context] Re: missing space with French quotation

2024-05-30 Thread Rik Kabel
, ...)     %% \language sets language to use for hyphenation, quote rules, ... \mainlanguage includes all settings of \language. As you can see in the following example \mainlanguage change the float label and the quotation marks but \language changes only the quotation marks and uses the label of the

[NTG-context] Re: missing space with French quotation

2024-05-30 Thread Wolfgang Schuster
Rik Kabel schrieb am 30.05.2024 um 19:21: From my basic environment file, a useful reminder: %% \mainlanguage sets language used for labels (TOC, chapters, ...) %% \language sets language to use for hyphenation, quote rules, ... \mainlanguage includes all settings of \language. As

[NTG-context] Re: missing space with French quotation

2024-05-30 Thread Rik Kabel
From my basic environment file, a useful reminder: %% \mainlanguage sets language used for labels (TOC, chapters, ...) %% \language sets language to use for hyphenation, quote rules, ... -- Rik On 2024-05-30 11:34, Peter Münster wrote: Hi, When using \start/stopquotation in French

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Henning Hraban Ramm
mmon is that they use the tex language / ecosystem.) In my experience, most people interested in ConTeXt know LaTeX, so it makes sense to compare. And I actually just say “LaTeX is the most known command-based typesetting system” (that’s just true) to shortcut explaining what a cbts might be. Your c

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Wolfgang Schuster
units "es" and "dk" are unknown to me. What does they mean? Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf A quote from the Luametatex source regarding the es unit: The Edith and Tove were introduced at BachoTeX 2023 and because the error message

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
ans tricky drawing}] Now, see the results of Hans has given to \quote{metapost lovers}, here is some of the trickery used : \startMPpage[offset=1ts] draw image ( fill (unitsquare xscaled 10cm yscaled 4cm) withcolor svgcolor(0.5,0,0) ; registerluminositygroup ("test") ( fill (un

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
(see > > https://www.w3.org/TR/jlreq/#possibilities_for_linebreaking_between_character > > ) and eventually more, which I didn't test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict > > and nihongo_very_strict which each implement one o

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Ursula Hermann
, \stopitem \startitem \m{\forall n \in \naturalnumbers\mtp{:} 3\divides n \implies 4 \divides n}, \stopitem \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^3 \mtext{ ungerade } \implies n \mtext{ ungerade}}. \stopitem \stopitemize \stoptext To quote Pablo, I hope it helps. /Mikael On Thu, Feb 29

[NTG-context] Re: Japanese

2024-02-29 Thread luigi scarso
ing_between_character > ) and eventually more, which I didn't test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict > and nihongo_very_strict which each implement one of the 3 cases described > here: https://www.w3.org/TR/jlreq/#addendum_a > &

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Mikael Sundqvist
\implies n > 1}, \stopitem \startitem \m{\forall n \in \naturalnumbers\mtp{:} 3\divides n \implies 4 \divides n}, \stopitem \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^3 \mtext{ ungerade } \implies n \mtext{ ungerade}}. \stopitem \stopitemize \stoptext To quote Pablo, I hope it helps.

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
x27;t test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict and > nihongo_very_strict which each implement one of the 3 cases described here: > https://www.w3.org/TR/jlreq/#addendum_a > > According the line gap (Otared uses \setupwhitespace[big]

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
ee scripts nihongo_loose, nihongo_strict and nihongo_very_strict which each implement one of the 3 cases described here: https://www.w3.org/TR/jlreq/#addendum_a According the *line gap* (Otared uses \setupwhitespace[big], which is exceeding common line gaps), I'd like to quote from https

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
might be useful to define three scripts nihongo_loose, nihongo_strict and nihongo_very_strict which each implement one of the 3 cases described here: https://www.w3.org/TR/jlreq/#addendum_a According the line gap (Otared uses \setupwhitespace[big], which is exceeding common line gaps), I'd like to

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
;une retraite aux flambeaux à cheval est prévue par les Thraces, ainsi qu'une fête de nuit \quote{qui vaut la peine d'être vue} (ἣν ἄξιον θεάσασθαι; {\em èn axion théasasthai} - 328a). \blank Κάθε άνθρωπος δικαιούται να επικαλείται όλα τα δικαιώματα και όλες τις ελευθερίες πο

[NTG-context] Issue with italics

2024-02-26 Thread Jean-Pierre Delange
lui-même rendues à la déesse avec les autres participants, dont il fait pourtant état. Sur le chemin du retour, il est arrêté par Polémarque qui leur apprend qu'une retraite aux flambeaux à cheval est prévue par les Thraces, ainsi qu'une fête de nuit \quote{qui vaut la peine d&#x

[NTG-context] Re: QR Code

2023-12-18 Thread Ursula Hermann
den.net}, width=2.5cm] (Not sure how tolerant the codes are.) But you must install the zint libraries, as outlined in https://wiki.contextgarden.net/Barcodes I guess you saw this, since you quote the wiki examples. Hraban __

[NTG-context] Re: QR Code

2023-12-18 Thread Ursula Hermann
] (Not sure how tolerant the codes are.) But you must install the zint libraries, as outlined in https://wiki.contextgarden.net/Barcodes I guess you saw this, since you quote the wiki examples. Hraban ___ If your qu

[NTG-context] Re: QR Code

2023-12-18 Thread Henning Hraban Ramm
outlined in https://wiki.contextgarden.net/Barcodes I guess you saw this, since you quote the wiki examples. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Pablo Rodriguez
s in footnotes, such as in: Relevant to the discusssion, see »Grundgesetz«, §73: : Der Bund hat die ausschließliche Gesetzgebung über: 1. die auswärtigen Angelegenheiten; 2. die Staatsangehörigkeit im Bunde; 3. [...] I need to quote the legal text and the list inside th

[NTG-context] About Pgfplot.-

2023-07-22 Thread Freddy Omar López Quintero
\catcode `\,=12 \catcode `\|=12 \catcode `\&=12 \let " \pgfmath@char@quote \pgfsetzvec \begingroup \pgfmath@catcodes \pgfmath@quickparsefalse \ifpgfmathfloat \let \pgfmath@parse@next =\pgfmathfloatparsenumber \else \let \pgfmath@parse@next =\pgfmathparse@ \fi \p

Re: [NTG-context] Protect the lettrine

2023-06-16 Thread Hans Hagen via ntg-context
e lettrine? Here's the output I'm looking to achieve: https://i.stack.imgur.com/XeZQS.png Note how the second line honours the lettrine's width and padding, in the same way that the second line of the first paragraph in Knuth's quote respects the width and padding. Here'

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread Max Chernoff via ntg-context
output I'm looking to achieve: > > https://i.stack.imgur.com/XeZQS.png > > Note how the second line honours the lettrine's width and padding, in the > same way that the second line of the first paragraph in Knuth's quote > respects the width and padding. Here's a quest

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Thangalin via ntg-context
Here's the output I'm looking to achieve: https://i.stack.imgur.com/XeZQS.png Note how the second line honours the lettrine's width and padding, in the same way that the second line of the first paragraph in Knuth's quote respects the width and padding. On Tue, Jun 13, 2023

Re: [NTG-context] Feynman Diagrams

2023-04-12 Thread Aditya Mahajan via ntg-context
, 675 Mass Ave, Cambridge, MA 02139, USA. %% %%%% %% \CheckSum{924} %% \CharacterTable %% {Upper-case\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-04-02 Thread George N. White III via ntg-context
gt; ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex", > ["lastcontext"]="\n \n \\inaccessible \n > \n \"\n\\pgfmath@catcodes ->\\catcode `\\==12 \\catcode `\\,=12 \\catcode > `\\|=12 \\catcode `\\&=12 \\

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
de hat > > \startformula > \widehat{a+b+c+d+e+f} \neq \widerandomhat{a+b+c+d+e+f} > \stopformula > > Once the thesis is printed, we will contact the \UNICODE\ > Consortium to suggest that it gets a slot. > \stopitem > > \startitem > Our

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Willi Egger via ntg-context
> >\startformula >\widehat{a+b+c+d+e+f} \neq \widerandomhat{a+b+c+d+e+f} >\stopformula > >Once the thesis is printed, we will contact the \UNICODE\ Consortium to >suggest that it gets a slot. > \stopitem > > \startitem >Our most amb

[NTG-context] update / punctuation / math

2023-04-01 Thread Hans Hagen via ntg-context
at the names of math symbols plenty are kind of weird. We think it is not natural and are considering a \quote {natural language math input} project, where you tell what it is and get the symbols you expect. For that we need to analyze typeset math and from the context as well as vi

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Ulrike Fischer via ntg-context
t loads tikz files in m-tikz.mkxl with \tikzinputfiles, and that calls \setcatcodetable\texcatcodes. After that ~ has catcode 12 and that breaks the \let~\pdfmath@char@quote in the pgfmathparser.code.tex file \begingroup \lccode`\~=`\" \lowercase{\endgroup \def\pgfmath@catcodes{% \ca

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Hans Hagen via ntg-context
ot;, ["lastcontext"]="\n \n \\inaccessible \n \n \"\n\\pgfmath@catcodes ->\\catcode `\\==12 \\catcode `\\,=12 \\catcode `\\|=12 \\catcode `\\&=12 \\let \"\n \\pgfmath@char@quote \

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Xavier B. via ntg-context
> ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex", > ["lastcontext"]="\n \n \\inaccessible \n \n > \"\n\\pgfmath@catcodes ->\\catcode `\\==12 \\catcode `\\,=12 \\catcode > `\\|=12 \\catcode `\\&=12 \\let \"\n

[NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Xavier B. via ntg-context
sible \n \n \"\n\\pgfmath@catcodes ->\\catcode `\\==12 \\catcode `\\,=12 \\catcode `\\|=12 \\catcode `\\&=12 \\let \"\n \\pgfmath@char@quote \n\\pgfmathparse ->\\begingroup \\pgfmath@catcodes \n

Re: [NTG-context] rewrite for Greek in the wiki

2023-01-22 Thread Pablo Rodriguez via ntg-context
tonic." That's a bit of an > oversimplification. Many thanks for noticing the typo in “orthography”. The sentence you quote, it is an oversimplification (altough “from 1500” is also “before 1982” 😅). I’m afraid I didn’t find the right way to describe the difference between polytonic

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Aditya Mahajan via ntg-context
e> level 5, order 29, name 'pgfmathfunctions.misc.code.tex' open source > level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex' close source> level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex' open source &

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Hans Hagen via ntg-context
code`\==12 % \catcode`\,=12 % \catcode`\|=12 % \catcode`\&=12 % \let~\pgfmath@char@quote }}% {\pgfmath@catcodes "} \bye works in Knuth TeX, so it's likely not our fault. So what's with the double quote ... I haven't looked pgf core in a whi

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Aditya Mahajan via ntg-context
at's most likely due to > > https://github.com/pgf-tikz/pgf/issues/1062 > https://github.com/pgf-tikz/pgf/pull/1073 > > but this MWE > > \catcode`\@=11 > > \begingroup > \lccode`\~=`\" > \lowercase{\endgroup > \def\pgfmath@catcodes{% > \catc

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Henri Menke via ntg-context
\def\pgfmath@catcodes{% \catcode`\==12 % \catcode`\,=12 % \catcode`\|=12 % \catcode`\&=12 % \let~\pgfmath@char@quote }}% {\pgfmath@catcodes "} \bye works in Knuth TeX, so it's likely not our fault. Cheers, Henri > > Thanks, > Adit

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Aditya Mahajan via ntg-context
e> level 5, order 29, name 'pgfmathfunctions.misc.code.tex' open source > level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex' close source> level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex' open source &

Re: [NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-11 Thread Hans Hagen via ntg-context
l to “ using the substitute feature. This works for TeX Gyre Schola. But perhaps someone knows a nicer way. 2) This approach doesn't work for lmodern or palatino, I still get "' as inch-sign/quote there... anything else I need to tweak for these fonts? \startluacode

[NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-11 Thread Leah Neukirchen via ntg-context
t perhaps someone knows a nicer way. 2) This approach doesn't work for lmodern or palatino, I still get "' as inch-sign/quote there... anything else I need to tweak for these fonts? \startluacode fonts.handlers.otf.addfeature { name = &qu

[NTG-context] How to get line numbering to match block quote position?

2022-10-10 Thread Joel via ntg-context
I have some text that is a block quote, but also has line numbering:     \setuplinenumbering[step=3]    \starttext    \startblockquote             \startlinenumbering                 \input knuth             \stoplinenumbering         \stopblockquote \stoptext The line numbering is

Re: [NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-28 Thread Leah Neukirchen via ntg-context
Hans Hagen via ntg-context writes: >> After a bunch of debugging, it turns out that LMTX breaks the TikZ >> 'quotes' >> library, which works using code ala: >> \def\tikz@enable@node@quotes{% >>\pgfkeyssetvalue{/handlers/first char syntax/the charact

Re: [NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-22 Thread Hans Hagen via ntg-context
aps you misspelled it.^^J...^^Jl.7 I think the culprit is a tikzcd arrow in cell 1-1 After a bunch of debugging, it turns out that LMTX breaks the TikZ 'quotes' library, which works using code ala: \def\tikz@enable@node@quotes{% \pgfkeyssetvalue{/handlers/first char syntax/the charact

[NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-22 Thread Leah Neukirchen via ntg-context
arrow in cell 1-1 After a bunch of debugging, it turns out that LMTX breaks the TikZ 'quotes' library, which works using code ala: \def\tikz@enable@node@quotes{% \pgfkeyssetvalue{/handlers/first char syntax/the character "}{\tikz@quote@parser}% \let\tikz@quotes@as\tikz@node@quo

Re: [NTG-context] missing space with French quotation

2022-09-22 Thread Jean-Pierre Delange via ntg-context
Hi Peter, I know that's not the expected answer and I'm sorry about that. But why use \startquotation when \quotation{something} does the job just fine? I've looked to replicate your MWE and for my part, there's just a space missing at the end of the quote before the

Re: [NTG-context] Curling straight quotation marks

2022-08-24 Thread Thangalin via ntg-context
> > > Just use \quotation and \quote, then you have the right settings for > many languages and can also be sure that quotes get closed and are > consistent over the whole document. > Thanks Hraban. That won't work with my workflow. I edit in Markdown (plain text), tran

Re: [NTG-context] Curling straight quotation marks

2022-08-24 Thread Henning Hraban Ramm via ntg-context
/keenquotes/ <https://whitemagicsoftware.com/keenquotes/> I use it for preprocessing documents prior to passing them to ConTeXt. Just use \quotation and \quote, then you have the right settings for many languages and can also be sure that quotes get closed and are consistent over the

Re: [NTG-context] issue with lpath

2022-08-04 Thread Hans Hagen via ntg-context
immediate preceding siblings (index [-1]) that are h3." But the CSS version is nicer. Still, both solutions fail on generic input. Sorry, out of clues \startbuffer[demo] One Standard paragraph Quoted text Two Direct quote \stopbuffer \startxmlsetups

[NTG-context] issue with lpath

2022-08-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have this sample: \startbuffer[demo] One Standard paragraph Quoted text Two Direct quote \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1} {p|blockquote} {xml

Re: [NTG-context] french quotation marks

2022-07-26 Thread Denis Maier via ntg-context
gt;> … » as double (\quotation) and ‹ … › as single (\quote) quotation > >> marks. > >> > >> The current setting in ConTeXt however is « … » for both, just > >> with less spacing for \quote. > >> If no francophone user objects I’d suggest to fix this.

Re: [NTG-context] french quotation marks

2022-07-26 Thread Alan via ntg-context
Wikipedia), French uses « > >> … » as double (\quotation) and ‹ … › as single (\quote) quotation > >> marks. > >> > >> The current setting in ConTeXt however is « … » for both, just > >> with less spacing for \quote. > >> If no francophone user obje

Re: [NTG-context] french quotation marks

2022-07-26 Thread Henning Hraban Ramm via ntg-context
Am 26.07.22 um 11:48 schrieb Arthur Rosendahl: On Tue, Jul 12, 2022 at 09:51:35PM +0200, Henning Hraban Ramm via ntg-context wrote: Hi, according to my knowledge (and also Wikipedia), French uses « … » as double (\quotation) and ‹ … › as single (\quote) quotation marks. The current setting in

Re: [NTG-context] french quotation marks

2022-07-26 Thread Arthur Rosendahl via ntg-context
On Tue, Jul 12, 2022 at 09:51:35PM +0200, Henning Hraban Ramm via ntg-context wrote: > Hi, according to my knowledge (and also Wikipedia), French uses « … » as > double (\quotation) and ‹ … › as single (\quote) quotation marks. > > The current setting in ConTeXt however is « … » fo

[NTG-context] french quotation marks

2022-07-12 Thread Henning Hraban Ramm via ntg-context
Hi, according to my knowledge (and also Wikipedia), French uses « … » as double (\quotation) and ‹ … › as single (\quote) quotation marks. The current setting in ConTeXt however is « … » for both, just with less spacing for \quote. If no francophone user objects I’d suggest to fix this

Re: [NTG-context] Pull quote between two column - trial

2022-05-29 Thread Garulfo via ntg-context
to use pull quotes, I need to use the dimensions of the different elements to be typeset, before typesetting, in order to adapt the shapes of the flow accordingly. So here is just a basic code to 1/ get the dimensions of an item A that will be typeset, before it is actually typeset 2/ use thes

Re: [NTG-context] Pull quote between two column - trial

2022-05-28 Thread jbf via ntg-context
That is progress, Garulfo, and real progress! I'm sorry I have not been any help to you in achieving this... a bit beyond my skill set. But I have long regarded this particular 'feature' to be a quite important 'missing' feature of ConTeXt, since I occasionally get requests from authors as to t

Re: [NTG-context] Pull quote between two column - trial

2022-05-28 Thread Garulfo via ntg-context
\startuseMPgraphic{mytest1} % column on the left of the pull quote lmt_parshape [path = pleft ] ; fill pleft withcolor \MPcolor{transparentred} ; \stopuseMPgraphic \startuseMPgraphic{mytest2} % column on the right of the pull quote lmt_parshape [path = pright] ; fill pright withcolor \MPcolor

[NTG-context] Pull quote between two column - trial

2022-05-21 Thread Garulfo via ntg-context
Hi all, hope you are all doing well. I am still trying to display pull quote between two columns. lmt_parshape is really helpfull. I need to add a 1pt gap to make the left column behave correctly, but the right column remains shifted one line below the intended one. Question1: any clue

[NTG-context] pull quotes

2022-04-26 Thread jbf via ntg-context
how to make a pull quote in general terms, but Garulfo's question was quite specific - was there a preferred way to set an intercolumn pull quote, and presumably he also meant of the kind found in the link above. I did not see any response to his question so perhaps he received one off-li

Re: [NTG-context] right item marks for associative questions?

2022-04-15 Thread Damien Thiriet via ntg-context
xrow() context.stopxtable() end \stopluacode \starttext \startluacode Author = {"Nietzsche","God"} Quote = {"God is dead","Nietzsche is Dead"} QCMAssociatif (Author,Quote) \stoptext Damien Thiriet __

Re: [NTG-context] help with facing page image

2022-03-07 Thread Henning Hraban Ramm via ntg-context
ine[2]\Nothing{} % do nothing \setuphead[chapter][ number=no, page=left, command=\Nothing, before=, after={\directsetup{eka:imagechapter}}, ] % example: \startchapter [title={Chapter Title – here only used in list}] [author={},image=cow, subtitle={Subtitle – here a quote b

Re: [NTG-context] sorting for particular sub entries to register

2022-02-01 Thread jbf via ntg-context
formatting or sub entries that are surrounded by quote marks (straight or curly, it makes no difference) do not appear in the correct alphabetical order. Two attempts on my part: text before \index[Plenary+periti]{Plenary Council+{\it periti} (experts)} text after. text before \

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Robert via ntg-context
t;> >> On Mon, Jan 31, 2022 at 10:38 PM jbf via ntg-context > <mailto:ntg-context@ntg.nl>> wrote: >> Let me come back to the unresolved (for me) question of two situations in >> sub entries to a book index (register). Sub entries that have formatting or >>

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread jbf via ntg-context
ub entries that have formatting or sub entries that are surrounded by quote marks (straight or curly, it makes no difference) do not appear in the correct alphabetical order. Two attempts on my part: text before \index[Plenary+periti]{Plenary Council+{\it periti} (experts)}

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Adam Reviczky via ntg-context
atting or > sub entries that are surrounded by quote marks (straight or curly, it makes > no difference) do not appear in the correct alphabetical order. > > Two attempts on my part: > > text before \index[Plenary+periti]{Plenary Council+{\it periti} (experts)} > text after. >

[NTG-context] sorting for particular sub entries to register

2022-01-31 Thread jbf via ntg-context
Let me come back to the unresolved (for me) question of two situations in sub entries to a book index (register). Sub entries that have formatting or sub entries that are surrounded by quote marks (straight or curly, it makes no difference) do not appear in the correct alphabetical order

Re: [NTG-context] registers, how to ignore quote marks

2022-01-30 Thread jbf via ntg-context
No, I had already tried that. It places the subentry at the top of the list of subentries, not in its correct alphabetical order. Using the example below, I assume you meant (I am including text before and after): The \index[Plenary+periti]{Plenary Council+{\it periti} (experts)} group compris

Re: [NTG-context] registers, how to ignore quote marks

2022-01-30 Thread Hans Hagen via ntg-context
out always understanding why. But I can say that I have the 'sorting' issue resolved if it is a main entry, including if that entry is surrounded by quote marks or has one part of that entry formatted differently (e.g. italics). But I don't seem able to apply this to subentries! I

Re: [NTG-context] registers, how to ignore quote marks

2022-01-29 Thread jbf via ntg-context
I can say that I have the 'sorting' issue resolved if it is a main entry, including if that entry is surrounded by quote marks or has one part of that entry formatted differently (e.g. italics). But I don't seem able to apply this to subentries! I cannot solve the sorting of sub

  1   2   3   4   5   6   7   8   9   10   >