Re: [NTG-context] tikz error upgrading to texlive version (artix)
On Thu, 30 Mar 2023, Xavier B. via ntg-context wrote: > Thanks, Max, for finding the problem. It is related to two more bugs: > https://github.com/pgf-tikz/pgf/issues/990 > and > https://github.com/pgf-tikz/pgf/issues/958 > > Perhaps Hans or other people could help tikz staff to do the pending and > definitive solution. > It's annoying to have to put workarrounds in production documents. > > There is just a glad mkiv user ;-) I reported that tikz is not working a few months ago, but after a few back and forth with Hans, could not get it to work. At that time, it appeared that I was the only have having issues, so I thought that I was making a mistake in how I was installing the package. I have reverted to using mkiv for my course notes, because I heavily use pgfplots and that is not working in LMTX. (I was also using some nice new features of metafun, and have had to resort to compiling them externally using LMTX via the filter module and compiling the main doc with MkIV). Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Numbering of figures after defining a new float
Have you tried: \setuplist [figure] [partnumber=no] ... \placelistoffigures [criterium=part] Alan On Thu, 30 Mar 2023 17:09:15 +0200 Willi Egger via ntg-context wrote: > Hello everybody, > > > I am still working on the previously mentioned project, consisting > out of different parts. There are about 25 chapters in each part and > most of the chapters contain figures. When using the predefined > figure environment, then all figures in the figure-list are placed > correctly though at each part the numbering restarts. > > Now I tried to implement for each part its own float environment, > which enables me to produce a figure-list per part with subtitels. > How ever in the newly defined floats there is no continuous numbering > i.e. chapternumber.serialnumber. Instead each float get the chapter > number only. > > How to get the numbering right? > > Kind regards > Willi > > The following example shows what happens: > > \useMPlibrary[dum] > > \definefloat[Afigure][Afigures][figures] > \definefloat[Bfigure][Bfigures][figures] > > \setuphead > [part] > [placehead=yes, >page=yes] > > \setuphead > [chapter] > [page=no] > > \starttext > > \starttitle[title=List of figures] > \startsubject[title=Figures (predefined figureenvironment)] > \placelistoffigures > \stopsubject > > \startsubject[title=Figures A] > \placelistofAfigures > \stopsubject > > \startsubject[title=Figures B] > \placelistofBfigures > \stopsubject > \stoptitle > > \startpart[title=Part ONE] > \startchapter[title={Chapter one in part one}] %les21 > > \startplaceAfigure > [location=left, >reference=fig:dumA, >title={Dummy A}] > {\externalfigure[dummy][width=0.6\textwidth]} > \stopplaceAfigure > > \startplacefigure > [location=left, >reference=fig:dumB, >title={Dummy B}] > {\externalfigure[dummy][width=0.6\textwidth]} > \stopplacefigure > > \startsection[title=Section A] > > \startplaceAfigure > [location=left, >reference=fig:dumC, >title={Dummy C}] > {\externalfigure[dummy][width=0.6\textwidth]} > \stopplaceAfigure > > \stopsection > \stopchapter > \stoppart > > \startpart[title=Part TWO] > \startchapter[title=Chapter one in part two] > > \startplaceBfigure > [location=left, >reference=fig:dumD, >title={Dummy D}] > {\externalfigure[dummy][width=0.6\textwidth]} > \stopplaceBfigure > \stopchapter > \stoppart > \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] tikz error upgrading to texlive version (artix)
Thanks, Max, for finding the problem. It is related to two more bugs: https://github.com/pgf-tikz/pgf/issues/990 and https://github.com/pgf-tikz/pgf/issues/958 Perhaps Hans or other people could help tikz staff to do the pending and definitive solution. It's annoying to have to put workarrounds in production documents. There is just a glad mkiv user ;-) Thanks another way, Xavier On Thu, 30 Mar 2023 14:57:06 -0600 Max Chernoff ha escrit: > Hi Xavier, > > During the texlive package, I get this error: > > > I simply run context to this file: > > > > \usemodule[tikz] > > > > \starttext > > {\bf a} \tikz (0,0) -- (1,0); > > \stoptext > > > So, the problem is not the package or the distro, it's something more > > basic which causes the error. > > Someone else reported this issue to the TikZ GitHub: > >https://github.com/pgf-tikz/pgf/issues/1248 > > so it's definitely not just you. There's also a suggested (temporary) > solution there. For a more permanent solution, someone will need to patch > the m-tikz.mkXX files distributed with ConTeXt. > > -- Max ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] characters.tex.toutf bug
Hi Hans, > it is more side effect of removing the (declared obsolete some years > ago) `` '' input which catched it later > > i tend to remove > > for k, v in next, ligaturemapping do > hash[k] = v > end > > in favor of an explicit 'tquo' feature that one can enable if wanted > > \definefontfeature[default][default][tlig=yes,tquo=yes,trep=yes] That does make the output more consistent, but not in the way that I'm wanting. My real code looks more like this: \definefontfeature[default][default][tlig=yes, tquo=yes, trep=yes] \startbuffer[test-bib] @article{one, author = {``Auth\v{o}r---One''}, } @article{two, author = {``Authǒr---Two''}, } \stopbuffer \usebtxdataset[test-bib.buffer] \startluacode for key, value in table.sortedpairs(publications.datasets.default.luadata) do print(key, publications.prerollcmdstring(value.author)) end \stopluacode publications.prerollcmdstring seems to run before any of the replacements/ligatures, so with your fix I get this as the output: one ``Authǒr---One'' two ``Authǒr---Two'' while with my suggested fix I get: one “Authǒr—One” two “Authǒr—Two” I'm using a CLD document to convert a bunch of old .bib and .tex files into Lua tables (which I'll then convert into XML). I can't modify any of the input files, so I'll need to somehow deal with all the LaTeX-style input. Using publications.prerollcmdstring + characters.tex.toutf seems like the best way to do this, but I'm open to a different solution if you have any suggestions. Thanks, -- Max ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] tikz error upgrading to texlive version (artix)
Hi Xavier, > During the texlive package, I get this error: > I simply run context to this file: > > \usemodule[tikz] > > \starttext > {\bf a} \tikz (0,0) -- (1,0); > \stoptext > So, the problem is not the package or the distro, it's something more > basic which causes the error. Someone else reported this issue to the TikZ GitHub: https://github.com/pgf-tikz/pgf/issues/1248 so it's definitely not just you. There's also a suggested (temporary) solution there. For a more permanent solution, someone will need to patch the m-tikz.mkXX files distributed with ConTeXt. -- Max ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] tikz error upgrading to texlive version (artix)
If I run the minimal context distro [https://wiki.contextgarden.net/Installation], I get this: $ context a.tex resolvers | formats | executing runner 'run luametatex format': /home/xan/bin/context-minimal/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex" --fmt=/home/xan/bin/context-minimal/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/xan/bin/context-minimal/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./a.tex" --c:input="./a.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/xan/bin/context-minimal/tex/texmf-linux-64/bin" job > passes > version mismatch: 1.32 <> 1.33 system > system > ConTeXt ver: 2023.03.20 17:07 LMTX fmt: 2023.3.30 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/home/xan/bin/context-minimal/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 '/home/xan/bin/context-minimal/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './a', input './a.tex', result './a' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './a.tex' modules > 'tikz' is loaded open source > level 2, order 3, name '/home/xan/bin/context-minimal/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' runtime error : input file 'pgfutil-common.tex' is not found, quitting mtx-context | fatal error: return code: 1 So, the problem is not the package or the distro, it's something more basic which causes the error. Thanks in advance, On Thu, 30 Mar 2023 20:52:51 +0200 "Xavier B." ha escrit: > Hi, > > I use artix linux (a fork of arch with systemd alternative init systems). > During the texlive package, I get this error: > > return { > > ["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 > \\pgfmath@char@quote \n\\pgfmathparse > ->\\begingroup \\pgfmath@catcodes \n > \\pgfmath@quickparsefalse \\ifpgfmathfloat \\let \\pgfmath@parse@next > =\\pgfmathfloatparsenumber \\else \\let \\pgfmath@parse@next =\\pgfmathparse@ > \\fi \\pgfmath@parse@next \n \\pgfmathparse \n > {1cm}\\ifpgfmathmathunitsdeclared \\pgf@x \\pgfmathresult mu\\relax \\else > \\pgf@x \\pgfmathresult pt\\relax \\fi \n\\pgfmath@next #1#2->#2\n > \n...\nl.926 \\pgfsetxvec{\\pgfpoint{1cm}{0cm}}\n > ", > ["lastluaerror"]="?", > ["lasttexerror"]="! Missing control sequence inserted", > ["linenumber"]=926, > ["offset"]=10, > } > > I simply run context to this file: > > \usemodule[tikz] > > \starttext > {\bf a} \tikz (0,0) -- (1,0); > \stoptext > > My version of context is: > > [xan@coronari ~]$ context --version > mtx-context | ConTeXt Process Management 1.04 > mtx-context | > mtx-context | main context file: > /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv > mtx-context | current version: 2023.03.10 12:15 > mtx-context | main context file: > /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl > mtx-context | current version: 2023.03.10 12:15 > > My packages are: > > $ pacman -Qs texlive > local/texlive-bibtexextra 2023.66579-1 (texlive-most) > TeX Live - Additional BibTeX styles and bibliography databases > local/texlive-bin 2023.66539-1 > TeX Live binaries > local/texlive-core 2023.66587-1 (texlive-most) > TeX Live core distribution > local/texlive-pictures 2023.66549-1 (texlive-most) > TeX Live - Packages for drawings graphics > local/texlive-publishers 2023.66550-1 (texlive-most) > TeX Live - LaTeX classes and packages for specific publishers > local/texlive-science 2023.66461-1 (texlive-most) > TeX Live - Typesetting for mathematics, natural and computer sciences > > > > I also posted the message in Artix mailing list > [https://lists.artixlinux.org/archives/artix-general/2023-March/000977.html] > > > Thanks in advance, > Xavier > > PS: In arch there are many AUR packages for installing minimal latest > version: > > https://aur.archlinux.org/packages/context-minimals-git > https://aur.archlinux.org/packages/context > https://aur.archlinux.org/packages/context-modules > > Which one do you recomend to? ___ If your question is of interest to others as well, please add an
[NTG-context] tikz error upgrading to texlive version (artix)
Hi, I use artix linux (a fork of arch with systemd alternative init systems). During the texlive package, I get this error: return { ["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 \\pgfmath@char@quote \n\\pgfmathparse ->\\begingroup \\pgfmath@catcodes \n \\pgfmath@quickparsefalse \\ifpgfmathfloat \\let \\pgfmath@parse@next =\\pgfmathfloatparsenumber \\else \\let \\pgfmath@parse@next =\\pgfmathparse@ \\fi \\pgfmath@parse@next \n \\pgfmathparse \n {1cm}\\ifpgfmathmathunitsdeclared \\pgf@x \\pgfmathresult mu\\relax \\else \\pgf@x \\pgfmathresult pt\\relax \\fi \n\\pgfmath@next #1#2->#2\n \n...\nl.926 \\pgfsetxvec{\\pgfpoint{1cm}{0cm}}\n ", ["lastluaerror"]="?", ["lasttexerror"]="! Missing control sequence inserted", ["linenumber"]=926, ["offset"]=10, } I simply run context to this file: \usemodule[tikz] \starttext {\bf a} \tikz (0,0) -- (1,0); \stoptext My version of context is: [xan@coronari ~]$ context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2023.03.10 12:15 mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2023.03.10 12:15 My packages are: $ pacman -Qs texlive local/texlive-bibtexextra 2023.66579-1 (texlive-most) TeX Live - Additional BibTeX styles and bibliography databases local/texlive-bin 2023.66539-1 TeX Live binaries local/texlive-core 2023.66587-1 (texlive-most) TeX Live core distribution local/texlive-pictures 2023.66549-1 (texlive-most) TeX Live - Packages for drawings graphics local/texlive-publishers 2023.66550-1 (texlive-most) TeX Live - LaTeX classes and packages for specific publishers local/texlive-science 2023.66461-1 (texlive-most) TeX Live - Typesetting for mathematics, natural and computer sciences I also posted the message in Artix mailing list [https://lists.artixlinux.org/archives/artix-general/2023-March/000977.html] Thanks in advance, Xavier PS: In arch there are many AUR packages for installing minimal latest version: https://aur.archlinux.org/packages/context-minimals-git https://aur.archlinux.org/packages/context https://aur.archlinux.org/packages/context-modules Which one do you recomend to? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Numbering of figures after defining a new float
Willi Egger via ntg-context schrieb am 30.03.2023 um 17:09: Hello everybody, I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure environment, then all figures in the figure-list are placed correctly though at each part the numbering restarts. Now I tried to implement for each part its own float environment, which enables me to produce a figure-list per part with subtitels. How ever in the newly defined floats there is no continuous numbering i.e. chapternumber.serialnumber. Instead each float get the chapter number only. How to get the numbering right? Kind regards Willi The following example shows what happens: \useMPlibrary[dum] \definefloat[Afigure][Afigures][figures] \definefloat[Bfigure][Bfigures][figures] The name of the existing float instance is figure (without s). \definefloat[Afigure][Afigures][figure] \definefloat[Bfigure][Bfigures][figure] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Numbering of figures after defining a new float
Hi Hraban, thanks for your answer, however this is not precisely what I am talking about. If you have 3 figures in chapter 1, you want them to be numbered as 1.1 , 1.2 , 1.3. However with floats defined with \definefloat[Afigure][Afigures][figure] they all get solely the chapter number: 1. Kind regards Willi > On 30 Mar 2023, at 18:01, Henning Hraban Ramm via ntg-context > wrote: > > Am 30.03.23 um 17:09 schrieb Willi Egger via ntg-context: >> I am still working on the previously mentioned project, consisting out of >> different parts. There are about 25 chapters in each part and most of the >> chapters contain figures. When using the predefined figure environment, then >> all figures in the figure-list are placed correctly though at each part the >> numbering restarts. >> Now I tried to implement for each part its own float environment, which >> enables me to produce a figure-list per part with subtitels. How ever in the >> newly defined floats there is no continuous numbering i.e. >> chapternumber.serialnumber. Instead each float get the chapter number only. >> How to get the numbering right? > > You can define the resetting of numbering with > \setupcaption[Afigure][way=bytext|bypart|bychapter]. > > For the list, \placelist[Afigure][criterium=chapter] (or local?) should work. > > HTH, > Hraban > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] meta-imp-fen in mkxl?
Hi all, I wanted to use a rightbrace as background for a table, as defined in meta-imp-fen.mkiv. Unfortunately, I can't get it to work, for 2 reasons: 1. meta-imp-fen doesn't appear to be ported to mkxl. 2. When I try to compile with the --luatex switch, I get this error message: tex error > tex error on line 101 in file /mnt/shared/lmtx/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv: ! Undefined control sequence l.101 \newinteger \c_grph_replacement_n So, I'm a bit stymied right now. What can be done? All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Numbering of figures after defining a new float
Am 30.03.23 um 17:09 schrieb Willi Egger via ntg-context: I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure environment, then all figures in the figure-list are placed correctly though at each part the numbering restarts. Now I tried to implement for each part its own float environment, which enables me to produce a figure-list per part with subtitels. How ever in the newly defined floats there is no continuous numbering i.e. chapternumber.serialnumber. Instead each float get the chapter number only. How to get the numbering right? You can define the resetting of numbering with \setupcaption[Afigure][way=bytext|bypart|bychapter]. For the list, \placelist[Afigure][criterium=chapter] (or local?) should work. HTH, Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Numbering of figures after defining a new float
Hello everybody, I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure environment, then all figures in the figure-list are placed correctly though at each part the numbering restarts. Now I tried to implement for each part its own float environment, which enables me to produce a figure-list per part with subtitels. How ever in the newly defined floats there is no continuous numbering i.e. chapternumber.serialnumber. Instead each float get the chapter number only. How to get the numbering right? Kind regards Willi The following example shows what happens: \useMPlibrary[dum] \definefloat[Afigure][Afigures][figures] \definefloat[Bfigure][Bfigures][figures] \setuphead [part] [placehead=yes, page=yes] \setuphead [chapter] [page=no] \starttext \starttitle[title=List of figures] \startsubject[title=Figures (predefined figureenvironment)] \placelistoffigures \stopsubject \startsubject[title=Figures A] \placelistofAfigures \stopsubject \startsubject[title=Figures B] \placelistofBfigures \stopsubject \stoptitle \startpart[title=Part ONE] \startchapter[title={Chapter one in part one}] %les21 \startplaceAfigure [location=left, reference=fig:dumA, title={Dummy A}] {\externalfigure[dummy][width=0.6\textwidth]} \stopplaceAfigure \startplacefigure [location=left, reference=fig:dumB, title={Dummy B}] {\externalfigure[dummy][width=0.6\textwidth]} \stopplacefigure \startsection[title=Section A] \startplaceAfigure [location=left, reference=fig:dumC, title={Dummy C}] {\externalfigure[dummy][width=0.6\textwidth]} \stopplaceAfigure \stopsection \stopchapter \stoppart \startpart[title=Part TWO] \startchapter[title=Chapter one in part two] \startplaceBfigure [location=left, reference=fig:dumD, title={Dummy D}] {\externalfigure[dummy][width=0.6\textwidth]} \stopplaceBfigure \stopchapter \stoppart \stoptext test.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] contextgarden wiki
On Thu, Mar 30, 2023 at 09:31 (+0200), Taco Hoekwater wrote: >> On 30 Mar 2023, at 00:23, Jim via ntg-context wrote: >> At https://wiki.contextgarden.net/Wiki:About there is a Contact section, >> including >> For general questions (any questions!), start a new topic on the >> Context_wiki:Discussions page. >> If you need the help of an administrator, there is a list of >> administrators at Context_wiki:Administrators. >> There are *no* topics on the Discussions page, and the Administrators page >> doesn't exist. This causes me to be concerned that no one is there. >> Is anyone there? > Yes! And I fixed the missing interwiki prefix. The pages actually exist, > but the link prefix didn’t. Thanks very much, it is a good help. >> In case anyone wonders why I am asking... I was looking at the wiki page >> for "\listing", which is no longer in Mk IV (and may also not be in Mk II >> (I didn't check)). In 2015 both Hans and Wolfgang mentioned in this list >> that the command was gone. > You meant "\nolist”. I did. Mea culpa. > I am sure there are more obsolete command pages, but they are not easy to > find. I edited this page by using the also obsolete \couplepage as an > example. Thanks, if I come across any more pages I can identify as obsolete, I'll mark them in a similar way. (I am working my way through A Not So Short Introduction to ConTeXt Mark IV and the author occasionally says something like "I couldn't get this to work", which is how I came across \nolist. Perhaps on a rainy day I'll hunt through that document and it will reveal some other obsolete commands.) Cheers. Jim ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] characters.tex.toutf bug
On 3/30/2023 7:57 AM, Max Chernoff via ntg-context wrote: Hi Hans, "characters.tex.toutf" only works if there is a backslash somewhere in its input string. This leads to some really surprising behaviour in the following example: \definefontfeature[default][tlig=no, trep=no] \startbuffer[test-bib] @article{one, author = {``Author---\v{O}ne''}, } @article{two, author = {``Author---Two''}, } \stopbuffer \usebtxdataset[test-bib.buffer] \starttext \placelistofpublications[method=dataset] \stoptext Removing the following lines elseif not find(str,"\\",1,true) then return str from the definition of "characters.tex.toutf" in "char-tex.{lmt,lua}" fixes this issue for me. it is more side effect of removing the (declared obsolete some years ago) `` '' input which catched it later i tend to remove for k, v in next, ligaturemapping do hash[k] = v end in favor of an explicit 'tquo' feature that one can enable if wanted \definefontfeature[default][default][tlig=yes,tquo=yes,trep=yes] \startbuffer[test-bib] @article{one, author = {``Author---\v{O}ne''}, } @article{two, author = {``Author---Two''}, } @article{three, author = {Author---Two}, } @article{three, author = {,,Author---Two''}, } \stopbuffer so I tested that with the above which seems to work. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] contextgarden wiki
> On 30 Mar 2023, at 00:23, Jim via ntg-context wrote: > > At https://wiki.contextgarden.net/Wiki:About there is a Contact section, > including > >For general questions (any questions!), start a new topic on the >Context_wiki:Discussions page. > >If you need the help of an administrator, there is a list of >administrators at Context_wiki:Administrators. > > There are *no* topics on the Discussions page, and the Administrators page > doesn't exist. This causes me to be concerned that no one is there. > > Is anyone there? Yes! And I fixed the missing interwiki prefix. The pages actually exist, but the link prefix didn’t. > In case anyone wonders why I am asking... I was looking at the wiki page > for "\listing", which is no longer in Mk IV (and may also not be in Mk II > (I didn't check)). In 2015 both Hans and Wolfgang mentioned in this list > that the command was gone. You meant "\nolist”. I am sure there are more obsolete command pages, but they are not easy to find. I edited this page by using the also obsolete \couplepage as an example. Berst wishes, Taco — Taco Hoekwater E: t...@bittext.nl genderfluid (all pronouns) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___