Re: [NTG-context] Math bug (maybe) - prime
On Wed, Dec 28, 2022 at 5:58 AM Alan Braslau via ntg-context wrote: > > On Wed, 28 Dec 2022 00:27:39 +0100 > Hans Hagen via ntg-context wrote: > > > What you can do is: > > > > $\primed{a}^2$ > > > > which basically makes the prime an operation .. a small price to pay > > for more robust handling of primes (also across fonts) > > I anticipated that (unicode) prime is a pain to handle, given that > different fonts present it differently. > > $\primed{a}...$ is a very readable and reasonable solution (unlike > \mathord{}, which seems to be a messy fix). I will learn and use that. > > Thank you! > > Alan > > P.S. inverting the order of the "exponents", if prime is some sort of > exponent, was a surprising result. Alan, Note that the 2 sits higher in \primed{a}^2 than it does in (a')^2. For readability, I really prefer the version with parentheses. /Mikael ___ 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 c-o-w: The XMas gift for ConTeXt users
Dear Zdeněk, Thanks for your prompt response. Yes, great, I got the right PDF now. Best regards 黄复雄(Huang Fysyong) Zdeněk Svoboda via ntg-context 于2022年12月28日周三 10:42写道: > > Hello Huang, > > This was probably an error on my side. > > Can you please try again now? I have tried to fix it, it should > hopefully work now. > > Sincerely, > Zdeněk Svoboda > > Dne 28. 12. 22 v 3:01 黄复雄 via ntg-context napsal(a): > >> You can probably test with uploading a font the the work directory. > >> > > Hans, > > thanks for the tip. > > > > I uploaded a noto-cjk font file, NotoSerifCJKsc-Regular.otf, to the > > root directory. > > Also, my typography file, test.tex, is in the root directory, and it reads > > > > ```context > > \definefont[myfont][file:NotoSerifCJKsc-Regular.otf*default at 12pt] > > > > \starttext > > > > {\myfont 我我} > > > > \stoptext > > ``` > > > > Then I did not get the correct PDF file, i.e. the two Chinese > > characters are not displayed on it. and the log shows: > > > > ```log > > .. > > fonts > defining > forced type 'otf' of 'NotoSerifCJKsc-Regular' not found > > 17fonts > defining > unable to define 'NotoSerifCJKsc-Regular.otf' as > > 'myfont--0' > > .. > > 51fonts > start missing characters: > > /home/admin/context/tex/texmf/fonts/data/gust/lm/lmroman10-regular.otf > > 52fonts > 2 U+06211 我 > > 53fonts > stop missing characters > > .. > > ``` > > > > I processed on my Win10 PC, with the same font file, test.tex and the > > same directory structure, > > and got the correct PDF file and the log is as follows: > > > > ```log > > .. > > fonts > defining > source file > > 'c:/windows/fonts/NotoSerifCJKsc-Regular.otf' is not found > > fonts > defining > using source file > > 'NotoSerifCJKsc-Regular.otf' due to cache mismatch > > .. > > mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, > > lmroman12-regular.otf, notoserifcjksc-regular.otf > > .. > > ``` > > > > Any further hints? > > > > Best regards, > > 黄复雄(Huang Fusyong) > > ___ > > 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] Math bug (maybe) - prime
On Wed, 28 Dec 2022 00:27:39 +0100 Hans Hagen via ntg-context wrote: > What you can do is: > > $\primed{a}^2$ > > which basically makes the prime an operation .. a small price to pay > for more robust handling of primes (also across fonts) I anticipated that (unicode) prime is a pain to handle, given that different fonts present it differently. $\primed{a}...$ is a very readable and reasonable solution (unlike \mathord{}, which seems to be a messy fix). I will learn and use that. Thank you! Alan P.S. inverting the order of the "exponents", if prime is some sort of exponent, was a surprising result. ___ 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 c-o-w: The XMas gift for ConTeXt users
Hello Huang, This was probably an error on my side. Can you please try again now? I have tried to fix it, it should hopefully work now. Sincerely, Zdeněk Svoboda Dne 28. 12. 22 v 3:01 黄复雄 via ntg-context napsal(a): You can probably test with uploading a font the the work directory. Hans, thanks for the tip. I uploaded a noto-cjk font file, NotoSerifCJKsc-Regular.otf, to the root directory. Also, my typography file, test.tex, is in the root directory, and it reads ```context \definefont[myfont][file:NotoSerifCJKsc-Regular.otf*default at 12pt] \starttext {\myfont 我我} \stoptext ``` Then I did not get the correct PDF file, i.e. the two Chinese characters are not displayed on it. and the log shows: ```log .. fonts > defining > forced type 'otf' of 'NotoSerifCJKsc-Regular' not found 17fonts > defining > unable to define 'NotoSerifCJKsc-Regular.otf' as 'myfont--0' .. 51fonts > start missing characters: /home/admin/context/tex/texmf/fonts/data/gust/lm/lmroman10-regular.otf 52fonts > 2 U+06211 我 53fonts > stop missing characters .. ``` I processed on my Win10 PC, with the same font file, test.tex and the same directory structure, and got the correct PDF file and the log is as follows: ```log .. fonts > defining > source file 'c:/windows/fonts/NotoSerifCJKsc-Regular.otf' is not found fonts > defining > using source file 'NotoSerifCJKsc-Regular.otf' due to cache mismatch .. mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-regular.otf, notoserifcjksc-regular.otf .. ``` Any further hints? Best regards, 黄复雄(Huang Fusyong) ___ 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 c-o-w: The XMas gift for ConTeXt users
> > You can probably test with uploading a font the the work directory. > Hans, thanks for the tip. I uploaded a noto-cjk font file, NotoSerifCJKsc-Regular.otf, to the root directory. Also, my typography file, test.tex, is in the root directory, and it reads ```context \definefont[myfont][file:NotoSerifCJKsc-Regular.otf*default at 12pt] \starttext {\myfont 我我} \stoptext ``` Then I did not get the correct PDF file, i.e. the two Chinese characters are not displayed on it. and the log shows: ```log .. fonts > defining > forced type 'otf' of 'NotoSerifCJKsc-Regular' not found 17fonts > defining > unable to define 'NotoSerifCJKsc-Regular.otf' as 'myfont--0' .. 51fonts > start missing characters: /home/admin/context/tex/texmf/fonts/data/gust/lm/lmroman10-regular.otf 52fonts > 2 U+06211 我 53fonts > stop missing characters .. ``` I processed on my Win10 PC, with the same font file, test.tex and the same directory structure, and got the correct PDF file and the log is as follows: ```log .. fonts > defining > source file 'c:/windows/fonts/NotoSerifCJKsc-Regular.otf' is not found fonts > defining > using source file 'NotoSerifCJKsc-Regular.otf' due to cache mismatch .. mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-regular.otf, notoserifcjksc-regular.otf .. ``` Any further hints? Best regards, 黄复雄(Huang Fusyong) ___ 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 c-o-w: The XMas gift for ConTeXt users
Hello Zdeněk, in addition to the former mail I would like to tell you, that I tested now also with Firefox (108.01). — Login went fine, logout went fine, the files I uploaded/created are shown in the fil-pane and the letter-eating bug did not occur with the test-file. — It looks like there is something also related to Chrome… I would like to congratulate you also for the “progress” animation, cute! Kind regards Willi > On 27 Dec 2022, at 20:44, Zdeněk Svoboda via ntg-context > wrote: > > Hi Willi, > > Thank you for the feedback! > > Strange bug being thrown out of the editor while not logged in -- I'll have > to look into that because I have not encountered it yet. > > May I ask what browser and OS are you using? I'm unable to reproduce the bug > with the tab-key in tabulate. > > I know about the letter-eating bug and apparently I haven't been successful > in fixing it yet. > > As for the files lost: > 1. you created an account, > 2. uploaded some files and pictures, > 3. then tried to generate a PDF which got stuck, > 4. so you refreshed the page, > 5. and the files were lost? > Am I correct? I will try to reproduce it taking your steps and will try to > fix it. > > And for the logout -- you did not manage to logout at all? > > > Thank you for the kind words. I'm hoping it will be a useful tool to promote > ConTeXt! > > > Sincerely, > Zdeněk Svoboda > > ___ > 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 c-o-w: The XMas gift for ConTeXt users
Hello Zdeněk, > On 27 Dec 2022, at 20:44, Zdeněk Svoboda via ntg-context > wrote: > > Hi Willi, > > Thank you for the feedback! > > Strange bug being thrown out of the editor while not logged in -- I'll have > to look into that because I have not encountered it yet. > > May I ask what browser and OS are you using? I'm unable to reproduce the bug > with the tab-key in tabulate. I am working on a MacBook Air, 10 year old, updated to the latest possible Os version, which is Big Sur (11.7), in this case I used Google Chrome. > > I know about the letter-eating bug and apparently I haven't been successful > in fixing it yet. > > As for the files lost: > 1. you created an account, > 2. uploaded some files and pictures, > 3. then tried to generate a PDF which got stuck, > 4. so you refreshed the page, > 5. and the files were lost? > Am I correct? I will try to reproduce it taking your steps and will try to > fix it. > You are correct. I created a file with the provided interface and saved it several times while building the test. During the building I uploaded two pictures, which were present in the file-pane. After this experimenting with the letter-eating bug the engine got in a endless loop which I had to terminate by closing the browser. After reopening the web-site the three files were gone. > And for the logout -- you did not manage to logout at all? I was not at all able to logout. Is it the normal behaviour of this site, that you are automatically logged in again when starting? Again thank you for your work. I am also impressed about the overall performance of the tool! Kind regards Willi > > > Thank you for the kind words. I'm hoping it will be a useful tool to promote > ConTeXt! > > > Sincerely, > Zdeněk Svoboda > > ___ > 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] Math bug (maybe) - prime
On 12/27/2022 6:33 PM, Alan Braslau via ntg-context wrote: MWE: \starttext $a^2′$ $a′^2$ $\mathord{a′}^2$ $a^*^2$ \stoptext Should the \mathord{} be necessary to get the desired result? (I would expect the second line to work, just like $a^*^2$.) primes are kind of special and a pain in tex - traditional tex sees them as superscripts and therefore expects soem active character and parsing magick for successive scripts - that assumes a special way of havign these primes in the font (read: is it a text size thing already raised or a script one not yet raised) - it also sort of spoils spacing (as one can end up with an empty nucleus inserted) - in mkiv we use different magick than in mkii anyway, in lmtx (luametatex) primes have been promoted to first class citizens which means that a nucleus can have - super(post)script - sub(post)script - superprescript - subprescript - prime and each comes with spacing and positioning properties cf opentype and our own additions for the pre/prime) there is some magick wrt subscripts as these often are indices (which is why we have for instance ^^^ and ___ too) What you can do is: $\primed{a}^2$ which basically makes the prime an operation .. a small price to pay for more robust handling of primes (also across fonts) 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 c-o-w: The XMas gift for ConTeXt users
On 12/27/2022 7:54 PM, Willi Egger via ntg-context wrote: While creating a tabulate I detected, that the use of the tab-key is only possible at the beginning of the line. When using the tab-key inside a tabulate line the whole line is indented for another tab. Can you configure your editor to inject 4 spaces instead of a tab character? FWIW, I always try to avoid tabs. In the meantime I also created an account. — Strange that I have to confirm the account to an e-mail, which does not make any reference to what account this confirmation is asked for. it avoids ghost users so a one time thing Not withstanding all my comments, I am impressed how your system works. Once it will be stable I am convinced, that it can be a useful tool to promote the use of ConTeXt. Thank you for all the work performed so far! indeed 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 upload
On 27/12/2022 23:32, Hans Hagen via ntg-context wrote: I think i figured out what the issue is. A bit tricky to figure out because my local gcc is newer than the one on the garden (and it actually also produces 10% smaller binaries). lmtx context is working again, thanks ! ___ 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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror
receiving incremental file list context/latest/ context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip sent 11,958 bytes received 432,976 bytes 889,868.00 bytes/sec total size is 449,106,203 speedup is 1,009.38 Running archiver: New dir: /var/www/aanhet.net/context//htdocs/archives/context-2022-12-28.00 172187672 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-28.00/latest 126745317 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-28.00/current 18956262 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-28.00/alpha 126707516 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-28.00/beta 444600863 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-28.00 444600863 total ___ 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 upload
On 12/27/2022 11:00 PM, Pablo Rodriguez via ntg-context wrote: On 12/27/22 21:13, Hans Hagen via ntg-context wrote: I don’t know what may be wrong here. me neither so i need to check it I’m afraid I’m getting the same error with newer upload (https://mailman.ntg.nl/pipermail/ntg-context/2022/107492.html). I think i figured out what the issue is. A bit tricky to figure out because my local gcc is newer than the one on the garden (and it actually also produces 10% smaller binaries). 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 upload
On 12/27/22 21:13, Hans Hagen via ntg-context wrote: >> >> I don’t know what may be wrong here. > me neither so i need to check it I’m afraid I’m getting the same error with newer upload (https://mailman.ntg.nl/pipermail/ntg-context/2022/107492.html). 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 ___
[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip context/latest/cont-tmf.zip context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip sent 101,556 bytes received 20,104,241 bytes 4,490,177.11 bytes/sec total size is 449,106,234 speedup is 22.23 Running archiver: New dir: /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.22 172187703 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.22/latest 126745317 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.22/current 18956262 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.22/alpha 126707516 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.22/beta 444600894 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.22 444600894 total ___ 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 upload
On 12/27/2022 6:44 PM, Pablo Rodriguez via ntg-context wrote: On 12/27/22 18:04, Hans Hagen via ntg-context wrote: Hi, I uploaded lmtx. There have been some additions to tabulate. Hi Hans, many thanks for the new upload, but I’m afraid I get this error in LMTX (MkIV works fine): \starttext \null \stoptext resolvers | formats | executing runner 'run luametatex format': ~/context/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex" --fmt=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=~/context/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="~/context/tex/texmf-linux-64/bin" mtx-context | fatal error: return code: 1 I have erased and generated the cache with "mtxrun --generate". I don’t know what may be wrong here. me neither so i need to check it - 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 c-o-w: The XMas gift for ConTeXt users
Hi Willi, Thank you for the feedback! Strange bug being thrown out of the editor while not logged in -- I'll have to look into that because I have not encountered it yet. May I ask what browser and OS are you using? I'm unable to reproduce the bug with the tab-key in tabulate. I know about the letter-eating bug and apparently I haven't been successful in fixing it yet. As for the files lost: 1. you created an account, 2. uploaded some files and pictures, 3. then tried to generate a PDF which got stuck, 4. so you refreshed the page, 5. and the files were lost? Am I correct? I will try to reproduce it taking your steps and will try to fix it. And for the logout -- you did not manage to logout at all? Thank you for the kind words. I'm hoping it will be a useful tool to promote ConTeXt! Sincerely, Zdeněk Svoboda ___ 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 c-o-w: The XMas gift for ConTeXt users
Hi Zdeněk! Congratulation, the online version, the web-site looks very nice. you have built in a lot of nice features! I tried the interface for a short while. During testing I was thrown out each time and you do not understand why. — Does this have to do with the fact that I did not create a user-account? While creating a tabulate I detected, that the use of the tab-key is only possible at the beginning of the line. When using the tab-key inside a tabulate line the whole line is indented for another tab. While it is nice to see all the available command-choices it is rather less intuitive, that always the brackets are placed. Specially while editing \bTABLE … \eTABLE and the commands belonging to this table-type it could be good to have the right arrow key to have the command placed with brackets and with the down-arrow-key the command being placed without brackets (?) — I think, that the source should not be cluttered with empty brackets all over the place. When you start the editor from the website you have no idea, what the layout of the page will be. While being somewhere in the edited text I switched to the layout-wizzard. Strange enough it is A4 on A3-Paper, I think for a normal user it should be A4 on A4 paper. The default layout dimension is in pt. — I doubt whether this is the best for a newcomer. May be mm would be better? — After returning to the editor I detected, that the new layout is placed at the cursor's position. Might it be a good idea, to place this at the top of the document or probably to ask the user whether the layout change should be placed at the cursor’s place? In the meantime I also created an account. — Strange that I have to confirm the account to an e-mail, which does not make any reference to what account this confirmation is asked for. Nice is that now I was not kicked out of the editor anymore! While testing further I experienced, that the system is eating up a letter: \blank[small] —> caused a sequence undefined error: in the log there was \blank[smal … Hereafter I put a space after small and it worked correctly. Then I withdrew the space, saved the file and started generation of PDF. — got a hanger… After restarting everything it appeared, that my test file was not listed in the editor’s left pane and also not the two uploaded picture-files. — I tried to logout. Logout does not seem to work. Not withstanding all my comments, I am impressed how your system works. Once it will be stable I am convinced, that it can be a useful tool to promote the use of ConTeXt. Thank you for all the work performed so far! Kind regards Willi > On 27 Dec 2022, at 00:57, Zdeněk Svoboda via ntg-context > wrote: > > Hello ConTeXt community! > > I'm Zdeněk Svoboda, a master degree student at Mendel university in Brno. > I've been using ConTeXt for a while now and have always been impressed by its > capabilities and the helpfulness of this community. > > For my thesis project with Tomáš Hála as the supervisor, I've developed an > online application for working with ConTeXt. The main goal was to create an > application capable of compiling ConTeXt source right from the browser but I > thought that it's not enough and added a few features or tools on top of > that. Functions of the application include: > > - User accounts to save files and access them from other computers. > - Editor with syntax highlighting and autocompletion for ConTeXt command. > - Generating PDF document and previewing it directly from the browser. > - Layout designer to customize the layout of their documents with a > variety of options and mouse resizability of each layout element. > - Table designer for creating and customize tables with alignment and > border settings, colors, merging and splitting cells eg. > - Lists designer with a simple interface to customize lists. > - Help function for ConTeXt commands (hidden under the "?" button) > > Developing this application was a great learning experience for me, and I > faced a number of technical challenges along the way. For example, having to > dig through the XML document to extract all the information needed for the > "?" help function. > > I'm excited to share my project with the ConTeXt community and hope that it > will be a useful resource for someone. If you're interested in trying it out, > you can find it at https://www.context-on-web.eu/. I'd love to hear any > feedback or suggestions you have. If you find a bug or encounter an error > while using the application, please let me know (and cc: th...@mendelu.cz) > the steps you took that caused it. > > Known bugs: > - Generated code from table designer needs better formatting > - Duplicated color definitions in table designer > - Layout designer -- numbers are not rounded > > Best regards, > Zdeněk Svoboda > > ___ > If your
Re: [NTG-context] new upload
On 12/27/22 18:04, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded lmtx. There have been some additions to tabulate. Hi Hans, many thanks for the new upload, but I’m afraid I get this error in LMTX (MkIV works fine): \starttext \null \stoptext resolvers | formats | executing runner 'run luametatex format': ~/context/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex" --fmt=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=~/context/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="~/context/tex/texmf-linux-64/bin" mtx-context | fatal error: return code: 1 I have erased and generated the cache with "mtxrun --generate". I don’t know what may be wrong here. 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] new upload
the latest update broke my installation on linux. How can I revert to a working version? .F $ context context18.tex resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' resolvers | formats | executing runner 'run luametatex format': /home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname="./context18.tex" --fmt=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./context18.tex" --c:input="./context18.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin" Segmentation fault (core dumped) mtx-context | fatal error: return code: 1 ___ 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] Math bug (maybe) - prime
MWE: \starttext $a^2′$ $a′^2$ $\mathord{a′}^2$ $a^*^2$ \stoptext Should the \mathord{} be necessary to get the desired result? (I would expect the second line to work, just like $a^*^2$.) 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 upload
i get an error running the sample code: \starttext \defineorientation[test][orientation=down,vertical=top] \startbuffer[b] \definetabulatemove[a][xoffset=40pt] \definetabulatemove[b][orientation=test,yoffset=depth] \starttabulate[|c|c|] \TM[a] \NC \darkred cell one \NC \darkgray cell one \NC \NR \TM[b] \NC \darkgreen cell one \NC \darkblue cell one \NC \NR \TM[a] \NC \darkred cell two \NC \darkgray cell two \NC \NR \TM[b] \NC \darkgreen cell two \NC \darkblue cell two \NC \NR \TM[a] \NC \darkred cell three \NC \darkgray cell three \NC \NR \TM[b] \NC \darkgreen cell three \NC \darkblue cell three \NC \NR \TM[a] \NC \darkred cell four \NC \darkgray cell four \NC \NR \TM[b] \NC \darkgreen cell four \NC \darkblue cell four \NC \NR \stoptabulate \stopbuffer \start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop \start \showstruts \ruledvbox{\getbuffer[b]} \stop \start \ruledvbox{\getbuffer[b]} \stop \startbuffer[b] \definetabulatemove[a][xoffset=20pt] \starttabulate[|p|p|] \TM[a] \NC \darkred \samplefile{tufte} \NC \darkgray \samplefile{ward} \NC \NR \NC \darkgreen \samplefile{tufte} \NC \darkblue \samplefile{ward} \NC \NR \TM[a] \NC \darkred \samplefile{tufte} \NC \darkgray \samplefile{ward} \NC \NR \NC \darkgreen \samplefile{tufte} \NC \darkblue \samplefile{ward} \NC \NR \stoptabulate \stopbuffer \start \small \small \showmakeup[line] \showstruts \getbuffer[b] \stop \stoptext $ context context\ 17.tex resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' resolvers | formats | executing runner 'run luametatex format': /home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname="./context 17.tex" --fmt=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./context 17.tex" --c:input="./context 17.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin" Segmentation fault (core dumped) ___ 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] new upload
Hi, I uploaded lmtx. There have been some additions to tabulate. \starttext % \showboxes % \showstruts \starttabulate[|w(top,3cm)|w(top,3cm)|] \NC test \NC test \par test \NC \NR \NC test \NC test \par test \NC \NR \stoptabulate \starttabulate[|w(top,packed,3cm)|w(top,packed,3cm)|] \NC test \NC test \par test \NC \NR \NC test \NC test \par test \NC \NR \stoptabulate \starttabulate[interlinespace=no,format={|w(bottom,3cm)|w(bottom,3cm)|}] \NC test \NC test \par test \NC \NR \NC test \NC test \par test \NC \NR \stoptabulate \starttabulate[format={|w(3cm)|w(3cm)|}] \NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \stoptabulate \starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}] \NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \stoptabulate \starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}] \NC \vbox{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR \NC \vbox{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR \stoptabulate \starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}] \NC \vtop{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR \NC \vbox{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \stoptabulate \stoptext This permits top and bottom alignments of text blobs without interrow spacing being disturbed. A bit more weird addition is the new \TM (move) option: \starttext \defineorientation[test][orientation=down,vertical=top] \startbuffer[b] \definetabulatemove[a][xoffset=40pt] \definetabulatemove[b][orientation=test,yoffset=depth] \starttabulate[|c|c|] \TM[a] \NC \darkred cell one \NC \darkgray cell one \NC \NR \TM[b] \NC \darkgreen cell one \NC \darkblue cell one \NC \NR \TM[a] \NC \darkred cell two \NC \darkgray cell two \NC \NR \TM[b] \NC \darkgreen cell two \NC \darkblue cell two \NC \NR \TM[a] \NC \darkred cell three \NC \darkgray cell three \NC \NR \TM[b] \NC \darkgreen cell three \NC \darkblue cell three \NC \NR \TM[a] \NC \darkred cell four \NC \darkgray cell four \NC \NR \TM[b] \NC \darkgreen cell four \NC \darkblue cell four \NC \NR \stoptabulate \stopbuffer \start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop \start \showstruts \ruledvbox{\getbuffer[b]} \stop \start \ruledvbox{\getbuffer[b]} \stop \startbuffer[b] \definetabulatemove[a][xoffset=20pt] \starttabulate[|p|p|] \TM[a] \NC \darkred \samplefile{tufte} \NC \darkgray \samplefile{ward} \NC \NR \NC \darkgreen \samplefile{tufte} \NC \darkblue \samplefile{ward} \NC \NR \TM[a] \NC \darkred \samplefile{tufte} \NC \darkgray \samplefile{ward} \NC \NR \NC \darkgreen \samplefile{tufte} \NC \darkblue \samplefile{ward} \NC \NR \stoptabulate \stopbuffer \start \small \small \showmakeup[line] \showstruts \getbuffer[b] \stop \stoptext This uses some new low level alignment options that operate on rows as a whole. As usual, I have no clue what users will come up with but the idea is that these 'moves' are independent of the alignment so the in this case shifted columns actually keeps their alignment. (It is mostly about consistent support luametatex engine features but it might come in handy.) Some other 'new' things are too obscure to mention now, 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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror
receiving incremental file list context/latest/ context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip sent 11,948 bytes received 966,018 bytes 651,977.33 bytes/sec total size is 449,097,999 speedup is 459.22 Running archiver: New dir: /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.18 172180321 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.18/latest 126745317 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.18/current 18956262 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.18/alpha 126707516 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.18/beta 444593512 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-27.18 444593512 total ___ 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 c-o-w: The XMas gift for ConTeXt users
On 12/27/2022 2:30 AM, 黄复雄 via ntg-context wrote: Dear Zdeněk Svoboda. I tried your platform, it's great and it will definitely help to promote ConTeXt. Thanks for your work. I am from China and I would like to know, does this platform support CJK fonts (e.g. https://github.com/googlefonts/noto-cjk)? if yes, then is there any examples of usage? or have any plans to support them? It's a matter of choice. It's not so much about 'support'because these fonts work ok, but more about what is a reasonable subset of fonts for cjk (covering all of chinese, japanese, korean). You can probably test with uploading a font the the work directory. 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 c-o-w: The XMas gift for ConTeXt users
On 12/27/22 00:57, Zdeněk Svoboda via ntg-context wrote: > Hello ConTeXt community! > [...] > I'm excited to share my project with the ConTeXt community and hope that > it will be a useful resource for someone. If you're interested in trying > it out, you can find it at https://www.context-on-web.eu/. I'd love to > hear any feedback or suggestions you have. If you find a bug or > encounter an error while using the application, please let me know (and > cc: th...@mendelu.cz) the steps you took that caused it. Hi Zdeněk, your site is pretty impressive. Congratulations for your awesome work! It surely will help users, especially the ones new to ConTeXt. Many thanks for your excellent work, Pabllo ___ 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 ___