[NTG-context] Re: Section numbering does not work
> Am 13.02.2024 um 16:54 schrieb Wolfgang Schuster > : > > Oliver Marugg schrieb am 13.02.2024 um 00:17: >> Hi >> Section numbering does not work until I remove \startbackmatter >> \stopbackmatter. I had a longer text file and I stripped it down until I >> found this? >> Greets Oliver >> Running freshly installed context ARM64 on m1 and updated it via sh >> install.sh on ARM64 macos 14.3.1: >> >> context --version >> mtx-context | ConTeXt Process Management 1.05 >> mtx-context | >> mtx-context | main context file: >> /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv >> mtx-context | current version: 2024.01.24 22:39 >> mtx-context | main context file: >> /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl >> mtx-context | current version: 2024.01.24 22:39 >> -- >> Stripped down MWE: >> \setuppapersize[A4] [A4] >> \starttext >> \completecontent[criterium=all] >> % ToC >> \page >> \chapter{CHAP 1} >> TEXT >> \startbackmatter >> \startchapter[title=Literature] >> \placelistofpublications >> \stopchapter >> \stopbackmatter >> \stoptext > > Besides enabling numbering for the backpart you can use the appendix block > which has numbering by default. > > %\defineconversionset[appendix:default][n] > > \starttext > > \startfrontmatter > \completecontent[criterium=all] > \stopfrontmatter > > \startbodymatter > \startchapter[title=CHAP 1] > TEXT > \stopchapter > \stopbodymatter > > \startappendices > \startchapter[title=Literature] > \placelistofpublications > \stopchapter > \stopappendices > > \stoptext > > Wolfgang Thanks Wolfgang for your practical hint. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Section numbering does not work
Many thanks Taco, that works indeed;-) > Am 13.02.2024 um 09:29 schrieb Taco Hoekwater : > > > >> On 13 Feb 2024, at 00:17, Oliver Marugg wrote: >> >> Hi >> >> Section numbering does not work until I remove \startbackmatter >> \stopbackmatter. I had a longer text file and I stripped it down until I >> found this? > > IIRC : > > \setupsectionblock[backpart][number=yes] > > Best wishes, > Taco > >> Greets Oliver >> >> >> Running freshly installed context ARM64 on m1 and updated it via sh >> install.sh on ARM64 macos 14.3.1: >> >> context --version >> mtx-context | ConTeXt Process Management 1.05 >> mtx-context | >> mtx-context | main context file: >> /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv >> mtx-context | current version: 2024.01.24 22:39 >> mtx-context | main context file: >> /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl >> mtx-context | current version: 2024.01.24 22:39 >> -- >> >> Stripped down MWE: >> >> \setuppapersize[A4] [A4] >> \starttext >> \completecontent[criterium=all] >> % ToC >> \page >> \chapter{CHAP 1} >> TEXT >> \startbackmatter >> \startchapter[title=Literature] >> \placelistofpublications >> \stopchapter >> \stopbackmatter >> \stoptext >> ___ >> If your question is of interest to others as well, please add an entry to >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl >> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) >> archive : https://github.com/contextgarden/context >> wiki : https://wiki.contextgarden.net >> ___ > > — > 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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Section numbering does not work
Hi Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this? Greets Oliver Running freshly installed context ARM64 on m1 and updated it via sh install.sh on ARM64 macos 14.3.1: context --version mtx-context | ConTeXt Process Management 1.05 mtx-context | mtx-context | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2024.01.24 22:39 mtx-context | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.01.24 22:39 -- Stripped down MWE: \setuppapersize[A4] [A4] \starttext \completecontent[criterium=all] % ToC \page \chapter{CHAP 1} TEXT \startbackmatter \startchapter[title=Literature] \placelistofpublications \stopchapter \stopbackmatter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: APA 7 and https
Hi Alan Many thanks for your solution. Oliver > Am 16.12.2023 um 22:33 schrieb Alan Braslau : > > A "better" solution is to put > > doi = {https://doi.org/__doi__}, > > in your bibtex database > > but I would actually use > > url = {https://doi.org/__doi__}, > > Not all editors want the complete url for the doi, but some do. > The current scheme lets the user define url= and doi= as they wish (and > even both) and does not impose a particular format. > > Alan > > > > On Fri, 15 Dec 2023 22:07:25 - > rauricast...@gmail.com wrote: > >> Hi >> >> I found a solution to reach APA7 list and links. >> >> Using >> $PATH/ConTeXtPATH/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi >> in line 1306-1312, where \starttexdefinition mutable protected >> btx:apa:doi \texdefinition {btx:format:goto} { >>url(https://doi.org/\btxflush{doi}) >>} { >> \hyphenatedurl{https://\btxflush{doi}} >>} >> \stoptexdefinition >> >> Change: >> url(http://dx.doi.org/\btxflush{doi}) to >> url(https://doi.org/\btxflush{doi}) and >> \hyphenatedurl{doi:\btxflush{doi}} to >> \hyphenatedurl{https://\btxflush{doi}}. >> >> With this two changes the correct format in the list of publications >> is shown according apa7 and as well https links instead of http links >> will be generated, which is also needed in apa7. Not all apa7 >> definitions are yet reach with this changes, but its a small step >> towards. >> >> Merry Christmas. >> >> Oliver ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] APA 7 and https
Hi I am quite new with ConTeXt, coming from LaTeX. I really like it and it is sooo fast;-). I am currently preparing the framework for the typeset of a research paper with a bibtex bibliography and current apa7 citations. How to achieve a change the url in bibliographies DOI from doi: to https://doi.org/ in the list of publications and change the url path in PDF from http: to https:// as recommended in APA7? Any hints? Many thanks, Oliver___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___