Re: [NTG-context] Numbered Itemlist With Interruption
Don't worry... I've read contextgarden on lots of things and missed more than you've ever thought of I reckon! The answer to problems is usually in there somewhere, but finding it can be a bit of challenge sometimes. Julian On 26/4/23 13:58, Michael Urban via ntg-context wrote: On Apr 25, 2023, at 8:30 PM, jbf via ntg-context wrote: \startitemize[continue]% THIS SHOULD DO WHAT YOU WANT Wow, thanks. I must have read that 'Enumerations' contextgarden wiki page a half dozen times and missed it anyway. Mike ___ 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] Numbered Itemlist With Interruption
> On Apr 25, 2023, at 8:30 PM, jbf via ntg-context wrote: > > > \startitemize[continue]% THIS SHOULD DO WHAT YOU WANT Wow, thanks. I must have read that 'Enumerations' contextgarden wiki page a half dozen times and missed it anyway. Mike ___ 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] Numbered Itemlist With Interruption
\startitemize[continue]% THIS SHOULD DO WHAT YOU WANT \item Picking up where we left off. \item And all is well. \stopitemize Julian On 26/4/23 13:21, Michael Urban via ntg-context wrote: I am trying to have two numbered itemizations, with a paragraph in between, such that the second list starts where the first left off, without having to manually calculate the new start point. The following does not work, and I do not understand why. Mike \starttext \definecounter[mynumber][] \startitemize[n] \item The first item. \item The second item \item Item number \currentitemnumber{}, the last one. \setcounter[mynumber][\currentitemnumber] \stopitemize The \type{\getnumber[mynumber]} value is \getnumber[mynumber]. \incrementcounter[mynumber] And now the big finish, start at \getnumber[mynumber]: \startitemize[n][start=\getnumber[mynumber]] % WHY DOES THIS FAIL? \item Picking up where we left off. \item And all is well. \stopitemize Done! \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 ___
[NTG-context] Numbered Itemlist With Interruption
I am trying to have two numbered itemizations, with a paragraph in between, such that the second list starts where the first left off, without having to manually calculate the new start point. The following does not work, and I do not understand why. Mike \starttext \definecounter[mynumber][] \startitemize[n] \item The first item. \item The second item \item Item number \currentitemnumber{}, the last one. \setcounter[mynumber][\currentitemnumber] \stopitemize The \type{\getnumber[mynumber]} value is \getnumber[mynumber]. \incrementcounter[mynumber] And now the big finish, start at \getnumber[mynumber]: \startitemize[n][start=\getnumber[mynumber]] % WHY DOES THIS FAIL? \item Picking up where we left off. \item And all is well. \stopitemize Done! \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] Font error in PDF using ConTeXt and Kepler typeface
Another check you can do is to run $ mtxrun --script font --list --name '--pattern=*kepler*' and see if the file for keplerstd-light is the one you are expecting and not a second copy somewhere that is upsetting things. > On 25 Apr 2023, at 21:40, lynx--- via ntg-context wrote: > > Werner: > This is the one that I think will help the most (taken from the Fonts out of > Context manual, pp 147 - 148 > "If you want to use Lucida, all you have to do when you have bought the > fonts, is to put > the OpenType files in a place where they can be found, for instance: > > tex/texmf-fonts/fonts/data/lucida > > Of course you need to run mtxrun --generate afterwards so that the files can > be found. > > > > On 2023-04-25 12:34, lynx--- via ntg-context wrote: >> Hello, Werner: >> Have you tried some diagnostic tests, such as trying to get the PDF output >> via DVIPS? I suspect that you are, in fact, more knowledgeable and >> experience with ConTeXt than I am, but for what it is worth you may want to >> look at: >> • \setupoutput[dvips,acrobat] (see: Context-The Manual (Hans Hagen; >> English, page 24)) >> • \showbodyfont[Options] (see: Not-so-short Intro to ConTeXt (J. >> Ataz-Lopez;English, page 114)) >> • $ mtxrun (mtxrun is the ConTeXt TDS Runner Tool) command from a >> terminal window it has has a large number of options for finding the fonts >> installed, and for querying their characteristics (see: Fonts out of ConTeXt >> (Hans Hagen, pg 52 and ff)) >> Em >> >> On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote: >> Hi conTeXt folks, >> >> may I ask again. How could I debug the font typesetting of PDF files with >> conTeXt? >> >> Any help is highly appreciated. >> >> Best Werner >> >> On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context >> wrote: Hi all, >> >> I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version >> 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font >> files are loaded correctly (see log below), the generated PDF is unreadable >> (see attached image). >> >> Notes: >> - Only serif font (keplerstd-light.otf) is not working. It's not embedded in >> the generated PDF. >> - italics and bold fonts are embedded and are rendered well >> - Can't provide font files because Kepler is a commercial typeface >> >> Do you have any ideas how to debug this issue? >> >> Thanks Werner >> >> log file: >> mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, >> frutigernextpro-bold.otf, frutigernextpro-regular.otf, >> iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, >> keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, >> lmroman10-regular.otf >> mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, >> 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 >> seconds >> Example: >> >> This text can't be read in PDF.par >> {it However, italics are working.}par >> {bold Also Bold and bfem BoldItalics!}par >> input{zapf} > — Bruce Horrocks Hampshire, UK ___ 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] Font error in PDF using ConTeXt and Kepler typeface
Werner: This is the one that I think will help the most (taken from the Fonts out of Context manual, pp 147 - 148 "If you want to use Lucida, all you have to do when you have bought the fonts, is to put the OpenType files in a place where they can be found, for instance: tex/texmf-fonts/fonts/data/lucida Of course you need to run MTXRUN --GENERATE afterwards so that the files can be found. On 2023-04-25 12:34, lynx--- via ntg-context wrote: > Hello, Werner: > Have you tried some diagnostic tests, such as trying to get the PDF output > via DVIPS? I suspect that you are, in fact, more knowledgeable and experience > with ConTeXt than I am, but for what it is worth you may want to look at: > > * \setupoutput[dvips,acrobat] (SEE: _Context-The Manual_ (Hans Hagen; > English, page 24)) > * \showbodyfont[Options] (SEE: _Not-so-short Intro to ConTeXt (_J. > Ataz-Lopez;English, page 114)) > * $ MTXRUN (mtxrun is the _ConTeXt TDS Runner Tool_) command from a > terminal window it has has a large number of options for finding the fonts > installed, and for querying their characteristics (SEE: _Fonts out of ConTeXt > _(Hans Hagen, pg 52 and ff)) > > Em > > On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote: > Hi conTeXt folks, > > may I ask again. How could I debug the font typesetting of PDF files with > conTeXt? > > Any help is highly appreciated. > > Best Werner > > On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context > wrote: Hi all, > > I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version > 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font files > are loaded correctly (see log below), the generated PDF is unreadable (see > attached image). > > Notes: > - Only serif font (keplerstd-light.otf) is not working. It's not embedded in > the generated PDF. > - italics and bold fonts are embedded and are rendered well > - Can't provide font files because Kepler is a commercial typeface > > Do you have any ideas how to debug this issue? > > Thanks Werner > > log file: > mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, > frutigernextpro-bold.otf, frutigernextpro-regular.otf, > iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, > keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, > lmroman10-regular.otf > mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, > 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 > seconds > Example: > > This text can't be read in PDF.par > {it However, italics are working.}par > {bold Also Bold and bfem BoldItalics!}par > input{zapf} > ___ > 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] Font error in PDF using ConTeXt and Kepler typeface
Hello, Werner: Have you tried some diagnostic tests, such as trying to get the PDF output via DVIPS? I suspect that you are, in fact, more knowledgeable and experience with ConTeXt than I am, but for what it is worth you may want to look at: * \setupoutput[dvips,acrobat] (SEE: _Context-The Manual_ (Hans Hagen; English, page 24)) * \showbodyfont[Options] (SEE: _Not-so-short Intro to ConTeXt (_J. Ataz-Lopez;English, page 114)) * $ MTXRUN (mtxrun is the _ConTeXt TDS Runner Tool_) command from a terminal window it has has a large number of options for finding the fonts installed, and for querying their characteristics (SEE: _Fonts out of ConTeXt _(Hans Hagen, pg 52 and ff)) Em On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote: > Hi conTeXt folks, > > may I ask again. How could I debug the font typesetting of PDF files with > conTeXt? > > Any help is highly appreciated. > > Best Werner > > On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context > wrote: > >> Hi all, >> >> I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version >> 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font >> files are loaded correctly (see log below), the generated PDF is unreadable >> (see attached image). >> >> Notes: >> - Only serif font (keplerstd-light.otf) is not working. It's not embedded in >> the generated PDF. >> - italics and bold fonts are embedded and are rendered well >> - Can't provide font files because Kepler is a commercial typeface >> >> Do you have any ideas how to debug this issue? >> >> Thanks Werner >> >> log file: >> mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, >> frutigernextpro-bold.otf, frutigernextpro-regular.otf, >> iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, >> keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, >> lmroman10-regular.otf >> mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, >> 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 >> seconds >> Example: >> >> This text can't be read in PDF.par >> {it However, italics are working.}par >> {bold Also Bold and bfem BoldItalics!}par >> input{zapf} > ___ > 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] Font error in PDF using ConTeXt and Kepler typeface
Hi conTeXt folks, may I ask again. How could I debug the font typesetting of PDF files with conTeXt? Any help is highly appreciated. Best Werner On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context wrote: >Hi all, > >I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version >2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font files >are loaded correctly (see log below), the generated PDF is unreadable (see >attached image). > >Notes: > - Only serif font (keplerstd-light.otf) is not working. It's not embedded in > the generated PDF. > - italics and bold fonts are embedded and are rendered well > - Can't provide font files because Kepler is a commercial typeface > >Do you have any ideas how to debug this issue? > >Thanks Werner > >log file: >mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, >frutigernextpro-bold.otf, frutigernextpro-regular.otf, >iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, >keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, >lmroman10-regular.otf >mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, >18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 >seconds >Example: > >This text can't be read in PDF.par >{it However, italics are working.}par >{bold Also Bold and bfem BoldItalics!}par >input{zapf} ___ 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] Idea for a shared repository.
Am 25.04.23 um 17:13 schrieb Aditya Mahajan via ntg-context: On Tue, 25 Apr 2023, Pawel Urbanski via ntg-context wrote: What about creating a repository called: 'templates' or 'resources' - we can figure out the exact name later. Why not use the wiki for such documents? For fonts, there is already a wiki page collecting typescripts: https://wiki.contextgarden.net/Typescripts_examples There are also a collection of templates which are already on the wiki: https://wiki.contextgarden.net/Category:Sample_documents It is not about duplicating the Context garden site but to collect code in a place where we could gradually fix possible errors or introduce improvements. This can be done on the wiki as well. I agree that it makes most sense to keep examples and (font) setups in the wiki. Projects with several files, like modules, should have their own (git) repositories. (The scripts at modules.contextgarden.net can pull releases directly from a repository.) I think it’s better to have (and manage) your own account somewhere and link to it from the wiki than to use the “official” account for stuff that is not part of ConTeXt proper. My stuff is at https://codeberg.org/fiee/; some of that would also make (more) sense in the wiki. 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 ___
Re: [NTG-context] Idea for a shared repository.
On Tue, 25 Apr 2023, Pawel Urbanski via ntg-context wrote: > What about creating a repository called: 'templates' or 'resources' - we can > figure out the exact name later. Why not use the wiki for such documents? For fonts, there is already a wiki page collecting typescripts: https://wiki.contextgarden.net/Typescripts_examples There are also a collection of templates which are already on the wiki: https://wiki.contextgarden.net/Category:Sample_documents > It is not about duplicating the Context garden site but to collect code in a > place where we could gradually fix possible errors or introduce improvements. This can be done on the wiki as well. 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 ___
[NTG-context] Idea for a shared repository.
Dear Everyone, We currently have the Context Garden site, wiki and htis list for documentation and resources. There is a Github contextgarden organization that can host repositories. What about creating a repository called: 'templates' or 'resources' - we can figure out the exact name later. The idea behind it is to collect templates and examples that are scattered all over the web or in the list threads. The first example that comes to my mind is the type definition for a Roboto font I needed and other type scripts that can be useful for the community. Then there are templates for books, slides or documents. The Repository has a wiki where we could add some notes about more complex items. It is not about duplicating the Context garden site but to collect code in a place where we could gradually fix possible errors or introduce improvements. 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 ___