Re: [NTG-context] ConTeXt features in pandoc 3
> > > Hi Albert, Fantastic news. Thanks to Pandoc and completions in editors I can create great looking documents at the speed of light... Since you've asked for ideas or suggestions here are a few: ** Create a Pandoc markdown directive that woulc allow for document includes - in the style and spirit of Context components. ** Add the ability to place a pandoc.yaml file in the folder so it can be picked by Pandoc to get options for this folder and contained documents, ** Use LUA to run something like pipes inside Pandoc itself - LUA could be the format for the 'pandoc' file I've mentioned, ** Something Context and accessibility related: Screen readers allow to navigate quickly by element type, for example: heading / list / form elements. Headings are very useful to quickly move around the document but htere is one corner case. Context splits the heading number and heading itself into separate parts. When doing this quick navigation the user hears for example: 1.2 or 3.4 and need to reach for the arrow keys to scroll to the next logical line to read the very heading. I don't know if it is possible at the tagging level to combine the number and the heading tible togehter wiht a space in between, os htey are not stringed together in an unnatural way. Taggs are a bit like a parallel universe. Please drop a line if you would like to digg further... All the best, Pawel ___ 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] ConTeXt features in pandoc 3
Hello, a new version of pandoc, the universal document converter, was released two days ago; pandoc 3 comes with new ConTeXt-related features on which we've spend a good bit of time: - *Syntax highlighting*: Pandoc makes use of the syntax definitions and styles created by the KDE project to highlight source code. This already worked with HTML, LaTeX, and formats like docx, and is now also supported for ConTeXt. - *Inline code*: older versions of pandoc had some weird behavior wrt inline code in ConTeXt, switching between `\type` and `\mono`, which made it difficult to customize the output. This has been fixed. - *Tagging-focused output*: Calling pandoc with `--to=context+tagging` creates markup that is geared towards the creation of tagged PDFs. This can be combined with `-V pdfa=3a` to produce accessible PDFs from various input sources. - *Unlisted/unnumbered headings*: Headings with class "unnumbered" are not numbered; those with class "unlisted" get omitted from the ToC. - *Figures*: We have improved support for figures considerably, and now also support subfigures. This is currently most noticeable when converting from HTML to ConTeXt. Downloads and full changelog: https://github.com/jgm/pandoc/releases/tag/3.0 I'm grateful for any and all feedback, including tips on how to improve pandoc further. Cheers, Albert -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 ___ 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] What's the current method for using a variable font in Context and Metapost?
\starttext Test Test \definefont[bahnlight][name:bahnschriftlight*default] \startMPcode picture pic; pic := thelabel(textext("\bahnlight This is Bahnschrift light in Metafont 0123456789"), (0, 0)); draw pic; \stopMPcode \stoptext Am 20. Januar 2023 18:28:23 MEZ schrieb Guido Bartolucci via ntg-context : >And how do you set the light variation? > >On Fri, Jan 20, 2023 at 2:08 AM Lutz Haseloff via ntg-context < >ntg-context@ntg.nl> wrote: > >> Hi Guido, >> >> >> this works here: >> >> \starttext >> Test Test >> >> \usemodule[fonts-variable] >> \definefontfamily [mainface] [ss] [bahnschrift] >> \setupbodyfont[mainface] >> >> \ss 123456789 Wild! \medskip >> >> \startMPcode >> picture pic; >> pic := thelabel(textext("\ss This is in Metafont 0123456789"), (0, 0)); >> draw pic; >> \stopMPcode >> >> >> Greetings Lutz >> >> >> Am 20.01.2023 um 00:38 schrieb Guido Bartolucci via ntg-context: >> > I haven't been able to find working examples. Here is some sample >> > code. I would really like to be able to use the light variation of >> > this DIN-like font. >> > >> > \usemodule[fonts-variable] >> > \definefontfamily [mainface] [ss] [bahnschrift] >> > \setupbodyfont[mainface] >> > >> > \starttext >> > \ss 123456789 Wild! \medskip >> > >> > \startMPcode >> > picture pic; >> > pic := thelabel("This is in Metafont 0123456789", (0, 0)); >> > draw pic; >> > \stopMPcode >> > >> > \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 >> > >> ___ >> >> ___ >> 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 ___
Re: [NTG-context] What's the current method for using a variable font in Context and Metapost?
And how do you set the light variation? On Fri, Jan 20, 2023 at 2:08 AM Lutz Haseloff via ntg-context < ntg-context@ntg.nl> wrote: > Hi Guido, > > > this works here: > > \starttext > Test Test > > \usemodule[fonts-variable] > \definefontfamily [mainface] [ss] [bahnschrift] > \setupbodyfont[mainface] > > \ss 123456789 Wild! \medskip > > \startMPcode > picture pic; > pic := thelabel(textext("\ss This is in Metafont 0123456789"), (0, 0)); > draw pic; > \stopMPcode > > > Greetings Lutz > > > Am 20.01.2023 um 00:38 schrieb Guido Bartolucci via ntg-context: > > I haven't been able to find working examples. Here is some sample > > code. I would really like to be able to use the light variation of > > this DIN-like font. > > > > \usemodule[fonts-variable] > > \definefontfamily [mainface] [ss] [bahnschrift] > > \setupbodyfont[mainface] > > > > \starttext > > \ss 123456789 Wild! \medskip > > > > \startMPcode > > picture pic; > > pic := thelabel("This is in Metafont 0123456789", (0, 0)); > > draw pic; > > \stopMPcode > > > > \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 > > > ___ > > ___ > 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] A new version of the PocketDiary module and a collection of examples for creating calenders
Hi everybody, I uploaded a new version of the PocketDiary module to the ConTeXt garden. The version 2.2 is providing the calendar functionality as it is presented in PocketMods (https://pocketmod.com/). It includes day, week, month and year tables. There are two variations of the outcome. The first is that the module creates a week calendar with eahc working day on one page and the weekend on one page. The other version allows to setup an individual setup of the pages. This module also comes with a couple of templates for general information keeping. The new version includes also sun and moon data calculations. The latest version now calculates the Daylight Saving Time automatically for America and Europe or none if desired. Next to this I uploaded a collection of calendars based on the PocketDiary module’s machinery. These calendars are typeset either as A6 or A5 sized pages printed on A4 paper and impositioned for making books.. There is also a photo-calender on A4 paper. Calendar types included are: year calendar with 1 day per page, year calendar with 1 week on two facing pages, a menu calendar and a sun and moon data calendar. Also included in this collection is a so called date-driven list generator. This allows to produce lists with any kind of date interval in days for any duration. It allows to adjust the number of columns in the list as well as changing the column heads to the requirements of the list. I hope that some of you might find this helpful. Kind regards Willi ___ 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] bug $\vec{}$
It does! Thanks Mikael. Le ven. 20 janv. 2023 à 16:52, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> a écrit : > I think there is a change going on, try with > > \definemathtopaccent[top:stretch][vec]["20D7] > > for the moment. Does it look OK? > > /Mikael > > On Fri, Jan 20, 2023 at 2:45 PM Alexandre Christe via ntg-context > wrote: > > > > I confirm the behavior. > > > > Also possibly linked is that the spacing around $\overrightarrow{k}$ > seems pretty weird, so atm there is no fallback solution. > > > > > > > > Le ven. 20 janv. 2023 à 14:37, Alan Braslau via ntg-context < > ntg-context@ntg.nl> a écrit : > >> > >> MWE: > >> > >> \starttext > >> > >> $\vec{k}$ > >> > >> \stoptext > >> > >> places the arrow *before* the symbol "k", latest download. > >> > >> Alan > >> > ___ > >> 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 > > > ___ > > ___ > 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 ___
Re: [NTG-context] bug $\vec{}$
I think there is a change going on, try with \definemathtopaccent[top:stretch][vec]["20D7] for the moment. Does it look OK? /Mikael On Fri, Jan 20, 2023 at 2:45 PM Alexandre Christe via ntg-context wrote: > > I confirm the behavior. > > Also possibly linked is that the spacing around $\overrightarrow{k}$ seems > pretty weird, so atm there is no fallback solution. > > > > Le ven. 20 janv. 2023 à 14:37, Alan Braslau via ntg-context > a écrit : >> >> MWE: >> >> \starttext >> >> $\vec{k}$ >> >> \stoptext >> >> places the arrow *before* the symbol "k", latest download. >> >> Alan >> ___ >> 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 > ___ ___ 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] bug $\vec{}$
Not sure if this is related in any way, but \overset behaves weirdly with the equal sign: \startformula \overset{weird}{=} \stopformula (workaround/solution is \overset{weird}{\mathop{=}}, or \mathop{=}^{weird}) signature.asc Description: Message signed with OpenPGP ___ 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] bug $\vec{}$
I confirm the behavior. Also possibly linked is that the spacing around $\overrightarrow{k}$ seems pretty weird, so atm there is no fallback solution. Le ven. 20 janv. 2023 à 14:37, Alan Braslau via ntg-context < ntg-context@ntg.nl> a écrit : > MWE: > > \starttext > > $\vec{k}$ > > \stoptext > > places the arrow *before* the symbol "k", latest download. > > Alan > > ___ > 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] bug $\vec{}$
MWE: \starttext $\vec{k}$ \stoptext places the arrow *before* the symbol "k", latest download. Alan ___ 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] wider font effect as font feature?
On 1/20/2023 1:59 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I wanted to use a font with slightly wider effect, such as in: \definetweakedfont[wider][xscale=1.075] Is there any way that it could be applied as a font feature? Or how could I apply this effect everytime a \definefontfamily is used? there you go: .. \definefontfeature[default][default][extend=1.4] .. in wiki mode - 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 ___
[NTG-context] wider font effect as font feature?
Dear list, I wanted to use a font with slightly wider effect, such as in: \definetweakedfont[wider][xscale=1.075] Is there any way that it could be applied as a font feature? Or how could I apply this effect everytime a \definefontfamily is used? Many thanks for your help, Pablo ___ 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 ___