Re: [NTG-context] Command for specifying et al limit
On Mon, 26 Sep 2022 21:40:14 -0600 Alan Braslau via ntg-context wrote: > On Sat, 24 Sep 2022 18:57:25 + > Jethro Djan via ntg-context wrote: > > > \setupbtx[ > > dataset=ref, > > etaldisplay = 1, > > etallimit = 1, > > ] > > Remove extra spaces. Sorry, Try \setupbtx [apa:list] [etaldisplay=1, etallimit=1] and drop the \definebtxrendering [ref] I have not tested your example, but the bibliography subsystem creates many inherited namespaces, so changing parameters in a general namespace after inheritance has occurred (in the definitions) has no effect. Of course, the etaldisplay and etallimits are set to the APA standard in the APA definitions. 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] Command for specifying et al limit
On Sat, 24 Sep 2022 18:57:25 + Jethro Djan via ntg-context wrote: > \setupbtx[ > dataset=ref, > etaldisplay = 1, > etallimit = 1, > ] Remove extra spaces. 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] new hash for buffer (as file)
Hi Hans, Pablo, > > But I do agree that the line ending handling seems a little odd. I find it > > surprising that the buffers internally use CR line endings since no systems > > in the past 20 years use that. > > how about tex ... > > \number\endlinechar > \number\numexpr`M-`A+1\relax % plain sets up `^^M Argh, how could I have forgotten about that. Yes, that makes complete sense. > > First, run "chcp 65001" before running "context" and record the size of the > > file written. Then, run "chcp 1251" and run "context" again. Hopefully the > > file size doesn't change; but if it does, then that means that the binary > > content of any file written will depend on the system's default code page, > > which would complicate making reproducible hashes. > > if that were the case nothing would work .. so it's bytes in - bytes out Ok good, that's what I was expecting. I've unfortunately used some programs that even fairly recently depended on the system code page, so I'm always a little cautious. > Hi Max, > > I realized later that I was doing something wrong. My fault here. Glad that you've figured it out. > I thought that ConTeXt would output the same character encoding as in > the source file when saving a buffer. Yes, Hans confirmed that that is correct. 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] Missing letters and numbers in printout
On 9/26/2022 11:04 PM, Angel M Alganza via ntg-context wrote: On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote: mtxrun --script pdf --info oeps.pdf $ mtxrun --script pdf --info a6.pdf mtx-pdf | filename > a6.pdf mtx-pdf | pdf version > 1.7 mtx-pdf | major version > 1 mtx-pdf | minor version > 7 mtx-pdf | number of pages > 1 mtx-pdf | title > a6 mtx-pdf | creator > LuaMetaTeX 2.09 20220429 + ConTeXt LMTX 2022.05.11 11:36 mtx-pdf | producer > LuaMetaTeX-2.09 mtx-pdf | author > mtx-pdf | creation date > D:20220920071929+02'00' mtx-pdf | modification date > D:20220920071929+02'00' mtx-pdf | cropbox > pages: 1-1, width: 841.889758, height: 595.27559 mtxrun --script pdf --fonts oeps.pdf $ mtxrun --script pdf --fonts a6.pdf mtx-pdf | id basefont encoding subtype unicode characters mtx-pdf | mtx-pdf | Fm1.F1 KBVQDT+LMRoman8-Regular no encoding Type0 no vector , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l m n o p q r s t u v x y z Á á é í ñ ó ú mtx-pdf | Fm1.F2 PISBZT+LMRoman6-Regular no encoding Type0 no vector M a d e i l n mtx-pdf | Fm2.F1 KBVQDT+LMRoman8-Regular no encoding Type0 no vector , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l m n o p q r s t u v x y z Á á é í ñ ó ú mtx-pdf | Fm3.F1 KBVQDT+LMRoman8-Regular no encoding Type0 no vector , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l m n o p q r s t u v x y z Á á é í ñ ó ú mtx-pdf | Fm4.F3 VGDDRM+LMRoman12-Regular no encoding Type0 no vector 0 2 3 mtx-pdf | Fm4.F4 BBBAHN+LMMono8-Regular no encoding Type0 no vector 0 1 2 3 4 5 6 7 8 9 A D F J M N O S a b c e g h i l m n o p r s t u v y mtx-pdf | Does that help? looks ok to me 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] Missing letters and numbers in printout
On 9/26/2022 8:26 PM, Angel M Alganza via ntg-context wrote: I didn't know any of the poppler-utils, thank you! Otherwise, the only option about your documents is guessing. mtxrun --script pdf --info oeps.pdf mtxrun --script pdf --fonts oeps.pdf the second one also shows what characters are in there - 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] Missing letters and numbers in printout
On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote: mtxrun --script pdf --info oeps.pdf $ mtxrun --script pdf --info a6.pdf mtx-pdf | filename > a6.pdf mtx-pdf | pdf version > 1.7 mtx-pdf | major version > 1 mtx-pdf | minor version > 7 mtx-pdf | number of pages > 1 mtx-pdf | title > a6 mtx-pdf | creator > LuaMetaTeX 2.09 20220429 + ConTeXt LMTX 2022.05.11 11:36 mtx-pdf | producer > LuaMetaTeX-2.09 mtx-pdf | author> mtx-pdf | creation date > D:20220920071929+02'00' mtx-pdf | modification date > D:20220920071929+02'00' mtx-pdf | cropbox > pages: 1-1, width: 841.889758, height: 595.27559 mtxrun --script pdf --fonts oeps.pdf $ mtxrun --script pdf --fonts a6.pdf mtx-pdf | id basefont encoding subtype unicode characters mtx-pdf | mtx-pdf | Fm1.F1 KBVQDT+LMRoman8-Regularno encoding Type0 no vector , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l m n o p q r s t u v x y z Á á é í ñ ó ú mtx-pdf | Fm1.F2 PISBZT+LMRoman6-Regularno encoding Type0 no vector M a d e i l n mtx-pdf | Fm2.F1 KBVQDT+LMRoman8-Regularno encoding Type0 no vector , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l m n o p q r s t u v x y z Á á é í ñ ó ú mtx-pdf | Fm3.F1 KBVQDT+LMRoman8-Regularno encoding Type0 no vector , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l m n o p q r s t u v x y z Á á é í ñ ó ú mtx-pdf | Fm4.F3 VGDDRM+LMRoman12-Regular no encoding Type0 no vector 0 2 3 mtx-pdf | Fm4.F4 BBBAHN+LMMono8-Regular no encoding Type0 no vector 0 1 2 3 4 5 6 7 8 9 A D F J M N O S a b c e g h i l m n o p r s t u v y mtx-pdf | Does that help? Ángel ___ 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] Missing letters and numbers in printout
On 9/26/2022 8:26 PM, Angel M Alganza via ntg-context wrote: I didn't know any of the poppler-utils, thank you! mtxrun --script pdf --info oeps.pdf mtxrun --script pdf --fonts oeps.pdf the second one also shows what characters are in there 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] Missing letters and numbers in printout
On Mon, Sep 26, 2022 at 07:10:40PM +0200, Pablo Rodriguez via ntg-context wrote: BTW, is TeX Gyre Heros the font with missing chars in the printed version of your PDF document? It doesn't seem to be that: $ pdffonts a6.pdf name type encoding emb sub uni object ID - --- --- --- - KBVQDT+LMRoman8-Regular CID Type 0C Identity-H yes yes yes 2 0 PISBZT+LMRoman6-Regular CID Type 0C Identity-H yes yes yes 3 0 VGDDRM+LMRoman12-Regular CID Type 0C Identity-H yes yes yes 9 0 BBBAHN+LMMono8-Regular CID Type 0C Identity-H yes yes yes 10 0 There might be a workaround (or a way of testing this), compiling the PDF document with LuaTeX instead of with LuaMetaTeX. It seems it is compiled with LuaTeX: $ pdfinfo a6.pdf Title: a6 Creator:LuaMetaTeX 2.09 20220429 + ConTeXt LMTX 2022.05.11 11:36 Producer: LuaMetaTeX-2.09 CreationDate: Tue Sep 20 07:19:29 2022 CEST ModDate:Tue Sep 20 07:19:29 2022 CEST Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 1 Encrypted: no Page size: 595.276 x 841.89 pts (A4) Page rot: 0 File size: 25630 bytes Optimized: no PDF version:1.7 If you compile it invoking "context source.tex", use "context --luatex source.tex". When I try that I get: $ context --luatex a6lua.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/mnt/tex/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex a6lua.tex --redirected mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' But the way to know for sure which tools generated your PDF document and whether fonts are embedded, "pdfinfo your-file.pdf" and "pdffonts your-file.pdf" are your friends. I didn't know any of the poppler-utils, thank you! Otherwise, the only option about your documents is guessing. I guess. :-) Ángel ___ 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] new hash for buffer (as file)
On 9/26/2022 7:24 PM, Pablo Rodriguez via ntg-context wrote: On 9/26/22 02:05, Max Chernoff via ntg-context wrote: Hi Pablo, But now I don’t understand is the following issue: if the saved file contains "\r\n", why does basic Notepad the new lines? "\r\n" are the chars to get new lines in Windows. Or what am I missing here? I'm not too sure what you're asking here, but Notepad was somewhat- recently updated to handle both CRLF and LF line endings: https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/ Hi Max, I realized later that I was doing something wrong. My fault here. [...] Also, you should probably check to make sure that the results of the file don't depend on the current code page on Windows. Try writing out a buffer from ConTeXt with the following contents: АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя First, run "chcp 65001" before running "context" and record the size of the file written. Then, run "chcp 1251" and run "context" again. Hopefully the file size doesn't change; but if it does, then that means that the binary content of any file written will depend on the system's default code page, which would complicate making reproducible hashes. For more than two decades, all my TeX sources are written in UTF-8. I thought that ConTeXt would output the same character encoding as in the source file when saving a buffer. I haven’t found this issue and I’d say that all my saved buffers are UTF-8 encoded. the magic is in savedata(name,replacenewlines(content),"\n",option == v_append) because tex reads in and then lost what it saw (cr lf crlf) we use the line endings of the operating system (good old typewriters and windows use cr+lf and old macs uses cr while linux uses lf) 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] new hash for buffer (as file)
On 9/26/22 02:05, Max Chernoff via ntg-context wrote: > > Hi Pablo, > >> But now I don’t understand is the following issue: if the saved file >> contains "\r\n", why does basic Notepad the new lines? >> >> "\r\n" are the chars to get new lines in Windows. Or what am I missing here? > > I'm not too sure what you're asking here, but Notepad was somewhat- > recently updated to handle both CRLF and LF line endings: > >https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/ Hi Max, I realized later that I was doing something wrong. My fault here. > [...] > Also, you should probably check to make sure that the results of the > file don't depend on the current code page on Windows. Try writing out a > buffer from ConTeXt with the following contents: > >АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя > > First, run "chcp 65001" before running "context" and record the size of the > file written. Then, run "chcp 1251" and run "context" again. Hopefully the > file size doesn't change; but if it does, then that means that the binary > content of any file written will depend on the system's default code page, > which would complicate making reproducible hashes. For more than two decades, all my TeX sources are written in UTF-8. I thought that ConTeXt would output the same character encoding as in the source file when saving a buffer. I haven’t found this issue and I’d say that all my saved buffers are UTF-8 encoded. 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 ___
Re: [NTG-context] PDF viewer
On 9/26/22 16:44, Willi Egger via ntg-context wrote: > Hi Pablo, > > Hraban refers to Paulo Ney de Souza from US. He recently joined the > ConTeXt meeting and indeed he mentioned that TUG had a fund raising > campaign which was successful. Many thanks for your replies, Hraban and Willi. 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 ___
Re: [NTG-context] Missing letters and numbers in printout
On 9/26/22 16:06, Angel M Alganza via ntg-context wrote: > Hello, Hi Ángel, > [...] > I tried printing the same file (from the same USB drive) into a > different printer, this time connected to a computer, and sending the > file from it, which worked just fine. My guess is that the first > printer in missing the font the document uses, whereas the second > printer received the font from the computer (Devuan Linux), which has > the appropriate font. Could that be correct? From my experience, this is possible, but maybe not highly probable. By default, ConTeXt includes fonts by default, as far as I can remember (I have been using it for over a decade). > In all previous ocasions I used the version of ConTeXt included in > Texlive on Devuan, but a few months ago I decided to install ConTeXt > using the official distribution instead. Could that explain the change > in behaviour I'm seeing? Could it be that the previous versions I used > somehow embeded the fonts into the PDF file but the current one doesn't? Again, I’d very surprised if that were the case. BTW, is TeX Gyre Heros the font with missing chars in the printed version of your PDF document? I think that your printer is having issues with the embedded font in your PDF document. There might be a workaround (or a way of testing this), compiling the PDF document with LuaTeX instead of with LuaMetaTeX. If you compile it invoking "context source.tex", use "context --luatex source.tex". It might be that your printer has problems with the way LuaMetaTeX embeds the fonts in the PDF (while it has none with LuaTeX). But the way to know for sure which tools generated your PDF document and whether fonts are embedded, "pdfinfo your-file.pdf" and "pdffonts your-file.pdf" are your friends. Both infos for the following source: \setupbodyfont[helvetica] \starttext \input zapf \stoptext $ pdffonts a.pdf name type encoding emb sub uni object ID - --- --- --- - TeXGyreHeros-Regular CID Type 0C Identity-H yes yes yes 1 0 $ pdfinfo a.pdf Title: a Creator:LuaMetaTeX 2.10 20220918 + ConTeXt LMTX 2022.09.11 20:44 Producer: LuaMetaTeX-2.10 CreationDate: Mon Sep 26 18:29:02 2022 CEST ModDate:Mon Sep 26 18:29:02 2022 CEST Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 1 Encrypted: no Page size: 595.276 x 841.89 pts (A4) Page rot: 0 File size: 7531 bytes Optimized: no PDF version:1.7 Otherwise, the only option about your documents is guessing. Just in case it might 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 ___
Re: [NTG-context] Missing letters and numbers in printout
On Mon, Sep 26, 2022 at 04:54:31PM +0200, Hans Hagen via ntg-context wrote: i assume that you use mkiv or lmtx in which case fonts are embedded in I guess I'm using LMTX, but I don't know how to tell for sure, since I downloaded the installer from https://wiki.contextgarden.net/Installation for Linux and a previous version for OpenBSD 32bits as well (unfortunately there isn't one now anymore) and install it from it. the pdf file ... does the viewer show the file ok? I thought I should have said that as soon as I pressed "y" (send in Mutt :-) on my original email. Yes, MuPDF shows the complete file without any problem, all letters and numbers are there, as well as in the printout I got from printing from a coworker computer (Devuan) to their printer. Ángel ___ 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] Missing letters and numbers in printout
On 9/26/2022 4:06 PM, Angel M Alganza via ntg-context wrote: Hello, I have a document that includes some grids (drawn with \grid) as well as alphanumeric information (letters and numbers) which contents (the info, not the grids) I modify every year and then print it out. I've been using it without any problem for a few (maybe 4 or 5) years but, this time, only the grid showed up on the printout, but none of the letters or numbers would, using the same printer I used every time before. I always copy the PDF file into a USB stick that I bring to the (departamental) printer, plug it in the printer and directly print from it. I tried printing the same file (from the same USB drive) into a different printer, this time connected to a computer, and sending the file from it, which worked just fine. My guess is that the first printer in missing the font the document uses, whereas the second printer received the font from the computer (Devuan Linux), which has the appropriate font. Could that be correct? In all previous ocasions I used the version of ConTeXt included in Texlive on Devuan, but a few months ago I decided to install ConTeXt using the official distribution instead. Could that explain the change in behaviour I'm seeing? Could it be that the previous versions I used somehow embeded the fonts into the PDF file but the current one doesn't? And, if that's really the case, how could I force the font to be included into the PDF file? I remember I read something like that a very long time ago (probably about LaTeX, not ConTeXt), but I haven't found how to do it now in a few searches on the documentation. i assume that you use mkiv or lmtx in which case fonts are embedded in the pdf file ... does the viewer show the file ok? 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] PDF viewer
Hi Pablo, Hraban refers to Paulo Ney de Souza from US. He recently joined the ConTeXt meeting and indeed he mentioned that TUG had a fund raising campaign which was successful. Kind regards Willi > On 23 Sep 2022, at 17:23, Pablo Rodriguez via ntg-context > wrote: > > On 9/22/22 20:07, Henning Hraban Ramm via ntg-context wrote: >> […] >> I suggest we’ll discuss funding in the context group board, but there >> was also a discussion about fundraising at the 2022 meeting that I >> didn’t follow – I think Paulo said he had experience in fundraising? > > Hi Hraban, > > sorry if I’m misreading, but I’m afraid I wasn’t able to find any Paulo > in the messages I have from this list. > > Now I wonder who he might be. > > 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 > ___ ___ 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] Missing letters and numbers in printout
Hello, I have a document that includes some grids (drawn with \grid) as well as alphanumeric information (letters and numbers) which contents (the info, not the grids) I modify every year and then print it out. I've been using it without any problem for a few (maybe 4 or 5) years but, this time, only the grid showed up on the printout, but none of the letters or numbers would, using the same printer I used every time before. I always copy the PDF file into a USB stick that I bring to the (departamental) printer, plug it in the printer and directly print from it. I tried printing the same file (from the same USB drive) into a different printer, this time connected to a computer, and sending the file from it, which worked just fine. My guess is that the first printer in missing the font the document uses, whereas the second printer received the font from the computer (Devuan Linux), which has the appropriate font. Could that be correct? In all previous ocasions I used the version of ConTeXt included in Texlive on Devuan, but a few months ago I decided to install ConTeXt using the official distribution instead. Could that explain the change in behaviour I'm seeing? Could it be that the previous versions I used somehow embeded the fonts into the PDF file but the current one doesn't? And, if that's really the case, how could I force the font to be included into the PDF file? I remember I read something like that a very long time ago (probably about LaTeX, not ConTeXt), but I haven't found how to do it now in a few searches on the documentation. Thak you for any help or advice. Cheers, Ángel ___ 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] IBM Plex updates
Den mån 26 sep. 2022 09:11Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> skrev: > Hi, just for information: > There were new releases of the IBM Plex fonts recently: > https://github.com/IBM/plex/releases > > They’re now at version 2.3. Some faces were annoyingly renamed (Semi > Bold and Medium to SmBld and Medm). > > Hraban > Thank you for bringing this interesting type family to my attention! /bpj ___ > 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] new hash for buffer (as file)
On 9/26/2022 2:05 AM, Max Chernoff via ntg-context wrote: Hi Pablo, But now I don’t understand is the following issue: if the saved file contains "\r\n", why does basic Notepad the new lines? "\r\n" are the chars to get new lines in Windows. Or what am I missing here? I'm not too sure what you're asking here, but Notepad was somewhat- recently updated to handle both CRLF and LF line endings: https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/ But I do agree that the line ending handling seems a little odd. I find it surprising that the buffers internally use CR line endings since no systems in the past 20 years use that. how about tex ... \number\endlinechar \number\numexpr`M-`A+1\relax % plain sets up `^^M ... you don't want to know how much hassle dealing with line endings in tex is Also, you should probably check to make sure that the results of the file don't depend on the current code page on Windows. Try writing out a buffer from ConTeXt with the following contents: АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя First, run "chcp 65001" before running "context" and record the size of the file written. Then, run "chcp 1251" and run "context" again. Hopefully the file size doesn't change; but if it does, then that means that the binary content of any file written will depend on the system's default code page, which would complicate making reproducible hashes. if that were the case nothing would work .. so it's bytes in - bytes out 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 ___
[NTG-context] IBM Plex updates
Hi, just for information: There were new releases of the IBM Plex fonts recently: https://github.com/IBM/plex/releases They’re now at version 2.3. Some faces were annoyingly renamed (Semi Bold and Medium to SmBld and Medm). 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 ___