Dear list, When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent version of ConTeXt, I now get a straight apostrophe. Is there a new option to convert automatically straight into curly apostrophes ? \starttext John's \stoptext gives where I used to get Here is my log file resolvers | formats | executing runner 'run luametatex format': /Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-osx-64/bin/luametatex --jobname="./mfe-quote.tex" --fmt=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./mfe-quote.tex" --c:input="./mfe-quote.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-osx-64/bin" system > system > ConTeXt ver: 2021.11.19 09:31 LMTX fmt: 2021.11.22 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './mfe-quote', input './mfe-quote.tex', result './mfe-quote' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './mfe-quote.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded backend > xmp > using file '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 close source > level 1, order 2, name './mfe-quote.tex' mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path: /Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.013 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 9 found files, scanned paths: <none> mkiv lua stats > stored bytecode data: 499 modules (0.248 sec), 99 tables (0.013 sec), 598 chunks (0.260 sec) mkiv lua stats > traced context: maxstack: 1607, freed: 0, unreachable: 1607 mkiv lua stats > cleaned up reserved nodes: 71 nodes, 9 lists of 435 mkiv lua stats > node memory usage: 6 attribute, 3 attribute_list, 1 glue, 58 glue_spec, 3 kern, 2 penalty, 2 temp mkiv lua stats > node list callback tasks: 12 unique task lists, 7 instances (re)created, 45 calls mkiv lua stats > used backend: pdf mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: file: 57, saved: 146, direct: 2, function: 973, value: 1, message: 0, bytecode: 598, late 0, total: 1777 (0 per page) mkiv lua stats > randomizer: initialized with value 0.051172108195605 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.119, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.151 seconds mkiv lua stats > font embedding time: 0.002 seconds, 1 fonts mkiv lua stats > result saved in file: mfe-quote.pdf, compresslevel 1, objectcompresslevel 3 mkiv lua stats > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries mkiv lua stats > used platform: osx-64, type: unix, binary subtree: texmf-osx-64 mkiv lua stats > used engine: luametatex version: 2.093, functionality level: 20211117, format id: 603, compiler: clang mkiv lua stats > tex properties: 740046 hash slots used of 2097152, 46674 control sequences, approximate memory usage: 29 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 55 MB, ctx: 53 MB, max: 53 MB, symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.500 seconds, 1 processed pages, 1 shipped pages, 1.998 pages/second resolvers | formats | executing runner 'run luametatex format': /Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-osx-64/bin/luametatex --jobname="./mfe-quote.tex" --fmt=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=2 --c:fulljobname="./mfe-quote.tex" --c:input="./mfe-quote.tex" --c:kindofrun=2 --c:maxnofruns=9 --c:texmfbinpath="/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-osx-64/bin" system > system > ConTeXt ver: 2021.11.19 09:31 LMTX fmt: 2021.11.22 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './mfe-quote', input './mfe-quote.tex', result './mfe-quote' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './mfe-quote.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded backend > xmp > using file '/Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 close source > level 1, order 2, name './mfe-quote.tex' mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path: /Users/jprey/Applications/ConTeXt/Current/osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.014 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 9 found files, scanned paths: <none> mkiv lua stats > stored bytecode data: 499 modules (0.245 sec), 99 tables (0.014 sec), 598 chunks (0.259 sec) mkiv lua stats > traced context: maxstack: 1607, freed: 0, unreachable: 1607 mkiv lua stats > cleaned up reserved nodes: 71 nodes, 9 lists of 435 mkiv lua stats > node memory usage: 6 attribute, 3 attribute_list, 1 glue, 58 glue_spec, 3 kern, 2 penalty, 2 temp mkiv lua stats > node list callback tasks: 12 unique task lists, 7 instances (re)created, 45 calls mkiv lua stats > used backend: pdf mkiv lua stats > jobdata time: 0.001 seconds saving, 0.002 seconds loading mkiv lua stats > callbacks: file: 57, saved: 146, direct: 2, function: 973, value: 1, message: 0, bytecode: 598, late 0, total: 1777 (1777 per page) mkiv lua stats > randomizer: resumed with value 0.051172108195605 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.119, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.146 seconds mkiv lua stats > font embedding time: 0.002 seconds, 1 fonts mkiv lua stats > result saved in file: mfe-quote.pdf, compresslevel 1, objectcompresslevel 3 mkiv lua stats > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries mkiv lua stats > used platform: osx-64, type: unix, binary subtree: texmf-osx-64 mkiv lua stats > used engine: luametatex version: 2.093, functionality level: 20211117, format id: 603, compiler: clang mkiv lua stats > tex properties: 740046 hash slots used of 2097152, 46673 control sequences, approximate memory usage: 29 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 55 MB, ctx: 53 MB, max: 53 MB, symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.494 seconds, 1 processed pages, 1 shipped pages, 2.025 pages/second system | total runtime: 1.036 seconds of 1.096 seconds -- Jean-Philippe Rey jean-philippe.rey@centralesupelec.fr 91192 Gif-sur-Yvette Cedex - France Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51
Same here, but I get correct results with the –luatex flag
Denis
Von: ntg-context
Oh, but I’m still on ConTeXt ver: 2021.10.24 21:45
I’ll need to check after an update.
Denis
Von: Maier, Denis Christian (UB)
Gesendet: Samstag, 27. November 2021 17:47
An: 'mailing list for ConTeXt users'
Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21:
Dear list,
When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent version of ConTeXt, I now get a straight apostrophe. Is there a new option to convert automatically straight into curly apostrophes ?
\starttext John's \stoptext
The option is no longer part of the default feature set. To enable the feature add "trep=yes" to the default features. \definefontfeature [default] [default] [trep=yes] \starttext John's \stoptext Wolfgang
Thanks. What does trep stand for? Denis
-----Ursprüngliche Nachricht----- Von: ntg-context
Im Auftrag von Wolfgang Schuster via ntg-context Gesendet: Samstag, 27. November 2021 18:00 An: mailing list for ConTeXt users ; Jean-Philippe Rey via ntg-context Cc: Wolfgang Schuster Betreff: Re: [NTG-context] Typographical quotes Dear list,
When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent version of ConTeXt, I now get a straight apostrophe. Is
Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21: there a new option to convert automatically straight into curly apostrophes ?
\starttext John's \stoptext
The option is no longer part of the default feature set. To enable the feature add "trep=yes" to the default features.
\definefontfeature [default] [default] [trep=yes]
\starttext John's \stoptext
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 __________________________________________________________ _________________________
On Sat, 27 Nov 2021, Wolfgang Schuster via ntg-context wrote:
Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21:
Dear list,
When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent version of ConTeXt, I now get a straight apostrophe. Is there a new option to convert automatically straight into curly apostrophes ?
\starttext John's \stoptext
The option is no longer part of the default feature set.
Personally, I think that that is a bit extreme. An apostrophe is a really common construct and I suspect that this change in default will mean that almost everyone needs to add tlig in their documents. We may perhaps need a 'sensible-defaults' module :-) Aditya
On Sat, 27 Nov 2021, Wolfgang Schuster via ntg-context wrote:
Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21:
Dear list,
When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent version of ConTeXt, I now get a straight apostrophe. Is there a new option to convert automatically straight into curly apostrophes ?
\starttext John's \stoptext
The option is no longer part of the default feature set.
Personally, I think that that is a bit extreme. An apostrophe is a really common construct and I suspect that this change in default will mean that almost everyone needs to add tlig in their documents. We may perhaps need a 'sensible-defaults' module :-) we entered the unicode world and left ascii space so for instance the ugly enter `` '' and expect english double quotes is also a not-done now, nor are !` and ?` for the spacing rotated ! and ?; i can't find the font right now but there were with interesting space-something ligatures
On 11/27/2021 6:40 PM, Aditya Mahajan via ntg-context wrote: that only didn't show up because tex has no space. anyway, these kind of auto font dependent remappings and ligatures are kind of tricky because they depend on the font and as such are a rather specific 8 bit tex thing ... also, to some extend now, there are more tex traditions that context doesn't support; take this plain definition (there are many) dedicated to math users: \mathcode`\^^D="225E % \land which gives \starttext $^^D$ \stoptext and as it's plain it's documented and in the tex book so users can expect it. It's for those who can afford a https://www.artlebedev.com/optimus/maximus/ (i don't have one and it's no longer for sale, alas). Anyway, it's easier to enabel a feature that to disable one when side effects of font handling kicks in happen. 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 -----------------------------------------------------------------
On Sat, 27 Nov 2021, Hans Hagen wrote:
On Sat, 27 Nov 2021, Wolfgang Schuster via ntg-context wrote:
Dear list,
When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent version of ConTeXt, I now get a straight apostrophe. Is
Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21: there a new option to convert automatically straight into curly apostrophes ?
\starttext John's \stoptext
The option is no longer part of the default feature set.
Personally, I think that that is a bit extreme. An apostrophe is a really common construct and I suspect that this change in default will mean that almost everyone needs to add tlig in their documents. We may perhaps need a 'sensible-defaults' module :-) we entered the unicode world and left ascii space so for instance the ugly enter `` '' and expect english double quotes is also a not-done now, nor are !` and ?` for the spacing rotated ! and ?; i can't find the font right now but
On 11/27/2021 6:40 PM, Aditya Mahajan via ntg-context wrote: there were with interesting space-something ligatures that only didn't show up because tex has no space.
I am okay with removing all these vestiges of TeX. But, I still think that the following should work okay: Let's try blah blah ... I could have entered it as Let’s try blah blah .. but it is not that natural to me.
now, there are more tex traditions that context doesn't support; take this plain definition (there are many) dedicated to math users:
I am not opposed to remove 8bit TeX hacks. I was simply objecting for removing the apostrophe mapping. For example, you used it in the sentence above (in “don't”)!
Anyway, it's easier to enabel a feature that to disable one when side effects of font handling kicks in happen.
I agree. Maybe I'll just add a imap in vim to map ' to ’ and forget about it.... Aditya
I am not opposed to remove 8bit TeX hacks. I was simply objecting for removing the apostrophe mapping. For example, you used it in the sentence above (in “don't”)! english quotes have hyjacked dutch quotes so long ago i already gave up on caring too much ... when keying in i really hate visual ugliness so
On 11/27/2021 9:48 PM, Aditya Mahajan via ntg-context wrote: that's why i never did `foo' or ``foo'' and just 'foo' (lucky me programming languages work that way although the new fashion seems to be to have tons of ligatures in coding expressions) 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 -----------------------------------------------------------------
Am 28.11.21 um 11:32 schrieb Hans Hagen via ntg-context:
On 11/27/2021 9:48 PM, Aditya Mahajan via ntg-context wrote:
I am not opposed to remove 8bit TeX hacks. I was simply objecting for removing the apostrophe mapping. For example, you used it in the sentence above (in “don't”)! english quotes have hyjacked dutch quotes so long ago i already gave up on caring too much ...
It’s not English vs. Dutch (or any other language) but keyboard layout limitations from the typewriter era vs. typography. " and ' are wrong in English, too. Hraban the Typesetter
Am 28.11.21 um 11:32 schrieb Hans Hagen via ntg-context:
On 11/27/2021 9:48 PM, Aditya Mahajan via ntg-context wrote:
I am not opposed to remove 8bit TeX hacks. I was simply objecting for removing the apostrophe mapping. For example, you used it in the sentence above (in “don't”)! english quotes have hyjacked dutch quotes so long ago i already gave up on caring too much ...
It’s not English vs. Dutch (or any other language) but keyboard layout limitations from the typewriter era vs. typography.
" and ' are wrong in English, too. sure, i know that, but i was more refering to the fact that the visual rendering (even publisher specs) became 'use the english ones', shape and location wise (high/low) .. the dutch seem to care less about it
On 11/28/2021 11:44 AM, Henning Hraban Ramm via ntg-context wrote: than germans, french, czech etc (same for positioning of quotes) 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 -----------------------------------------------------------------
Am 27.11.21 um 18:40 schrieb Aditya Mahajan via ntg-context:
On Sat, 27 Nov 2021, Wolfgang Schuster via ntg-context wrote:
The option is no longer part of the default feature set.
Personally, I think that that is a bit extreme. An apostrophe is a really common construct and I suspect that this change in default will mean that almost everyone needs to add tlig in their documents. We may perhaps need a 'sensible-defaults' module :-)
Nothing against such a module, but I think it’s wrong to expect automatical text replacements. If I type ' or " or -- I don’t want that replaced, even if it may be traditional TeX behavior. Is it too much to remember a few shortkeys for typographical glyphs? Hraban
Le 27 nov. 2021 à 17:59, Wolfgang Schuster
a écrit : Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21:
Dear list,
When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent version of ConTeXt, I now get a straight apostrophe. Is there a new option to convert automatically straight into curly apostrophes ?
\starttext John's \stoptext
The option is no longer part of the default feature set. To enable the feature add "trep=yes" to the default features.
\definefontfeature [default] [default] [trep=yes]
Thanks a lot Wolfgang. Where can we find the current default feature set ? -- Jean-Philippe Rey jean-philippe.rey@centralesupelec.fr mailto:jean-philippe.rey@centralesupelec.fr 91192 Gif-sur-Yvette Cedex - France Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51
participants (6)
-
Aditya Mahajan
-
denis.maier@unibe.ch
-
Hans Hagen
-
Henning Hraban Ramm
-
Jean-Philippe Rey
-
Wolfgang Schuster