home.social

#lualatex — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #lualatex, aggregated by home.social.

fetched live
  1. My new paper can now be found on the #arXiv (arxiv.org/abs/2608.19424), in addition to my website. I haven't posted to the arXiv in a little while and things have changed. I was glad to see that we don't need to supply bbl files anymore and can finally just submit bib files instead. It was also nice to see a choice of #TeXLaTeX compilers, but still no #LuaLaTeX, so I did have to cut the Japanese text from the paper. I did used to have a way to do this with #PDFLaTeX but the LuaLaTeX way is so much cleaner I don't even want to mess with the old way now.

    I have mixed feelings about the arXiv. I wish I didn't feel like I had to post there for legitimacy or exposure, and things haven't gotten evil enough for me to bail, but I'm feeling like it's time to think about how to live without it. Posting papers to my website is a start, but it doesn't seem like the whole solution.

    #academia #research #math #mathematics

  2. My new paper can now be found on the #arXiv (arxiv.org/abs/2608.19424), in addition to my website. I haven't posted to the arXiv in a little while and things have changed. I was glad to see that we don't need to supply bbl files anymore and can finally just submit bib files instead. It was also nice to see a choice of #TeXLaTeX compilers, but still no #LuaLaTeX, so I did have to cut the Japanese text from the paper. I did used to have a way to do this with #PDFLaTeX but the LuaLaTeX way is so much cleaner I don't even want to mess with the old way now.

    I have mixed feelings about the arXiv. I wish I didn't feel like I had to post there for legitimacy or exposure, and things haven't gotten evil enough for me to bail, but I'm feeling like it's time to think about how to live without it. Posting papers to my website is a start, but it doesn't seem like the whole solution.

    #academia #research #math #mathematics

  3. My new paper can now be found on the #arXiv (arxiv.org/abs/2608.19424), in addition to my website. I haven't posted to the arXiv in a little while and things have changed. I was glad to see that we don't need to supply bbl files anymore and can finally just submit bib files instead. It was also nice to see a choice of #TeXLaTeX compilers, but still no #LuaLaTeX, so I did have to cut the Japanese text from the paper. I did used to have a way to do this with #PDFLaTeX but the LuaLaTeX way is so much cleaner I don't even want to mess with the old way now.

    I have mixed feelings about the arXiv. I wish I didn't feel like I had to post there for legitimacy or exposure, and things haven't gotten evil enough for me to bail, but I'm feeling like it's time to think about how to live without it. Posting papers to my website is a start, but it doesn't seem like the whole solution.

    #academia #research #math #mathematics

  4. My new paper can now be found on the #arXiv (arxiv.org/abs/2608.19424), in addition to my website. I haven't posted to the arXiv in a little while and things have changed. I was glad to see that we don't need to supply bbl files anymore and can finally just submit bib files instead. It was also nice to see a choice of #TeXLaTeX compilers, but still no #LuaLaTeX, so I did have to cut the Japanese text from the paper. I did used to have a way to do this with #PDFLaTeX but the LuaLaTeX way is so much cleaner I don't even want to mess with the old way now.

    I have mixed feelings about the arXiv. I wish I didn't feel like I had to post there for legitimacy or exposure, and things haven't gotten evil enough for me to bail, but I'm feeling like it's time to think about how to live without it. Posting papers to my website is a start, but it doesn't seem like the whole solution.

    #academia #research #math #mathematics

  5. RE: techhub.social/@TeXUsersGroup/

    Update to my #LuaLaTeX package "marginalia" (marginal notes anywhere, even where \marginpar does not work, with automatic adjustment of positions to prevent clashes).

    It now supports right-to-left text and the document being bound on the right-hand side, in which case the terms "outer" and "inner" (used in options to specify the position of marginal notes, and styles, sizes, etc. of notes in different margins) are interpreted appropriately.

    The new functionality has been tested, but I do not write any right-to-left language, so feedback would be welcome.

    #TeXLaTeX #typography

  6. RE: techhub.social/@TeXUsersGroup/

    Update to my #LuaLaTeX package "marginalia" (marginal notes anywhere, even where \marginpar does not work, with automatic adjustment of positions to prevent clashes).

    It now supports right-to-left text and the document being bound on the right-hand side, in which case the terms "outer" and "inner" (used in options to specify the position of marginal notes, and styles, sizes, etc. of notes in different margins) are interpreted appropriately.

    The new functionality has been tested, but I do not write any right-to-left language, so feedback would be welcome.

    #TeXLaTeX #typography

  7. RE: techhub.social/@TeXUsersGroup/

    Update to my #LuaLaTeX package "marginalia" (marginal notes anywhere, even where \marginpar does not work, with automatic adjustment of positions to prevent clashes).

    It now supports right-to-left text and the document being bound on the right-hand side, in which case the terms "outer" and "inner" (used in options to specify the position of marginal notes, and styles, sizes, etc. of notes in different margins) are interpreted appropriately.

    The new functionality has been tested, but I do not write any right-to-left language, so feedback would be welcome.

    #TeXLaTeX #typography

  8. RE: techhub.social/@TeXUsersGroup/

    Update to my #LuaLaTeX package "marginalia" (marginal notes anywhere, even where \marginpar does not work, with automatic adjustment of positions to prevent clashes).

    It now supports right-to-left text and the document being bound on the right-hand side, in which case the terms "outer" and "inner" (used in options to specify the position of marginal notes, and styles, sizes, etc. of notes in different margins) are interpreted appropriately.

    The new functionality has been tested, but I do not write any right-to-left language, so feedback would be welcome.

    #TeXLaTeX #typography

  9. When I edit my books, hyphenations are checked, listed, and flagged as valid (or not) by my #LuaLaTeX package "lua-list-hyphen" [ctan.org/pkg/lua-list-hyphen].

    Attached is an example of the draft layout with supplementary data I use when I am working on ‘An Annotated Mathematician’s Apology’ [archive.org/details/hardy_anno].

    The actual page is shown in the frame, with the status flags next to each hyphenation. Above is the version and git commit the PDF was compiled from. To the right is a list of the various index entries that point to this page.

    #TeXLaTeX #indexing #hyphenation #typography

  10. When I edit my books, hyphenations are checked, listed, and flagged as valid (or not) by my #LuaLaTeX package "lua-list-hyphen" [ctan.org/pkg/lua-list-hyphen].

    Attached is an example of the draft layout with supplementary data I use when I am working on ‘An Annotated Mathematician’s Apology’ [archive.org/details/hardy_anno].

    The actual page is shown in the frame, with the status flags next to each hyphenation. Above is the version and git commit the PDF was compiled from. To the right is a list of the various index entries that point to this page.

    #TeXLaTeX #indexing #hyphenation #typography

  11. When I edit my books, hyphenations are checked, listed, and flagged as valid (or not) by my #LuaLaTeX package "lua-list-hyphen" [ctan.org/pkg/lua-list-hyphen].

    Attached is an example of the draft layout with supplementary data I use when I am working on ‘An Annotated Mathematician’s Apology’ [archive.org/details/hardy_anno].

    The actual page is shown in the frame, with the status flags next to each hyphenation. Above is the version and git commit the PDF was compiled from. To the right is a list of the various index entries that point to this page.

    #TeXLaTeX #indexing #hyphenation #typography

  12. When I edit my books, hyphenations are checked, listed, and flagged as valid (or not) by my #LuaLaTeX package "lua-list-hyphen" [ctan.org/pkg/lua-list-hyphen].

    Attached is an example of the draft layout with supplementary data I use when I am working on ‘An Annotated Mathematician’s Apology’ [archive.org/details/hardy_anno].

    The actual page is shown in the frame, with the status flags next to each hyphenation. Above is the version and git commit the PDF was compiled from. To the right is a list of the various index entries that point to this page.

    #TeXLaTeX #indexing #hyphenation #typography

  13. My #LuaLaTeX package "lua-list-hyphen" [ctan.org/pkg/lua-list-hyphen] has just been updated, and its name is now partly an artefact. :-)

    It can now check each hyphenation in the document against a user-specified dictionary of valid divisions (or allowlist) and so list and/or visually flag either all of them or only those that do not match the dictionary. (And it handles multi-language documents.)

    Attached is an example from the docs — a passage from Gibbon's ‘Decline and Fall’ set in narrow columns, with each hyphenation flagged as valid, invalid, ambiguous (in UK English ‘present’ hyphenates differently as a verb vs adj./noun), or unknown (the name ‘Vespasian’ isn't in the dictionary).

    #typography #TeXLaTeX #hyphenation

  14. My #LuaLaTeX package "lua-list-hyphen" [ctan.org/pkg/lua-list-hyphen] has just been updated, and its name is now partly an artefact. :-)

    It can now check each hyphenation in the document against a user-specified dictionary of valid divisions (or allowlist) and so list and/or visually flag either all of them or only those that do not match the dictionary. (And it handles multi-language documents.)

    Attached is an example from the docs — a passage from Gibbon's ‘Decline and Fall’ set in narrow columns, with each hyphenation flagged as valid, invalid, ambiguous (in UK English ‘present’ hyphenates differently as a verb vs adj./noun), or unknown (the name ‘Vespasian’ isn't in the dictionary).

    #typography #TeXLaTeX #hyphenation

  15. My #LuaLaTeX package "lua-list-hyphen" [ctan.org/pkg/lua-list-hyphen] has just been updated, and its name is now partly an artefact. :-)

    It can now check each hyphenation in the document against a user-specified dictionary of valid divisions (or allowlist) and so list and/or visually flag either all of them or only those that do not match the dictionary. (And it handles multi-language documents.)

    Attached is an example from the docs — a passage from Gibbon's ‘Decline and Fall’ set in narrow columns, with each hyphenation flagged as valid, invalid, ambiguous (in UK English ‘present’ hyphenates differently as a verb vs adj./noun), or unknown (the name ‘Vespasian’ isn't in the dictionary).

    #typography #TeXLaTeX #hyphenation

  16. My #LuaLaTeX package "lua-list-hyphen" [ctan.org/pkg/lua-list-hyphen] has just been updated, and its name is now partly an artefact. :-)

    It can now check each hyphenation in the document against a user-specified dictionary of valid divisions (or allowlist) and so list and/or visually flag either all of them or only those that do not match the dictionary. (And it handles multi-language documents.)

    Attached is an example from the docs — a passage from Gibbon's ‘Decline and Fall’ set in narrow columns, with each hyphenation flagged as valid, invalid, ambiguous (in UK English ‘present’ hyphenates differently as a verb vs adj./noun), or unknown (the name ‘Vespasian’ isn't in the dictionary).

    #typography #TeXLaTeX #hyphenation

  17. Big update to ‘Form & Number: A History of Mathematical Beauty’: the PDFs are now *tagged* (plus various minor improvements).

    A #TaggedPDF contains hidden extra semantic information to assist screen-reading software etc., including alt text for diagrams+images (in the case of ‘F&N’, 552 pieces of alt text were required, some quite lengthy).

    The new version is available (#OpenAccess as always) at: archive.org/details/cain_forma

    Feedback from users of screen readers would be very welcome!

    Creating this version has been possible because of the ongoing LaTeX tagging project [latex3.github.io/tagging-proje] (thank you to the LaTeX team and other contributors!). I have been adapting my own #LuaLaTeX styles [codeberg.org/ajcain/minos] to use the new interfaces.

    1/2

    #accessibility #a11y #MathArt #HistMath #HistSci #MathematicalBeauty #aesthetics #typography #TeXLaTeX

  18. Big update to ‘Form & Number: A History of Mathematical Beauty’: the PDFs are now *tagged* (plus various minor improvements).

    A #TaggedPDF contains hidden extra semantic information to assist screen-reading software etc., including alt text for diagrams+images (in the case of ‘F&N’, 552 pieces of alt text were required, some quite lengthy).

    The new version is available (#OpenAccess as always) at: archive.org/details/cain_forma

    Feedback from users of screen readers would be very welcome!

    Creating this version has been possible because of the ongoing LaTeX tagging project [latex3.github.io/tagging-proje] (thank you to the LaTeX team and other contributors!). I have been adapting my own #LuaLaTeX styles [codeberg.org/ajcain/minos] to use the new interfaces.

    1/2

    #accessibility #a11y #MathArt #HistMath #HistSci #MathematicalBeauty #aesthetics #typography #TeXLaTeX

  19. Big update to ‘Form & Number: A History of Mathematical Beauty’: the PDFs are now *tagged* (plus various minor improvements).

    A #TaggedPDF contains hidden extra semantic information to assist screen-reading software etc., including alt text for diagrams+images (in the case of ‘F&N’, 552 pieces of alt text were required, some quite lengthy).

    The new version is available (#OpenAccess as always) at: archive.org/details/cain_forma

    Feedback from users of screen readers would be very welcome!

    Creating this version has been possible because of the ongoing LaTeX tagging project [latex3.github.io/tagging-proje] (thank you to the LaTeX team and other contributors!). I have been adapting my own #LuaLaTeX styles [codeberg.org/ajcain/minos] to use the new interfaces.

    1/2

    #accessibility #a11y #MathArt #HistMath #HistSci #MathematicalBeauty #aesthetics #typography #TeXLaTeX

  20. Big update to ‘Form & Number: A History of Mathematical Beauty’: the PDFs are now *tagged* (plus various minor improvements).

    A #TaggedPDF contains hidden extra semantic information to assist screen-reading software etc., including alt text for diagrams+images (in the case of ‘F&N’, 552 pieces of alt text were required, some quite lengthy).

    The new version is available (#OpenAccess as always) at: archive.org/details/cain_forma

    Feedback from users of screen readers would be very welcome!

    Creating this version has been possible because of the ongoing LaTeX tagging project [latex3.github.io/tagging-proje] (thank you to the LaTeX team and other contributors!). I have been adapting my own #LuaLaTeX styles [codeberg.org/ajcain/minos] to use the new interfaces.

    1/2

    #accessibility #a11y #MathArt #HistMath #HistSci #MathematicalBeauty #aesthetics #typography #TeXLaTeX

  21. Another update to my #LuaLaTeX style "minos", used in ‘Form & Number: A History of Mathematical Beauty’ and my other books (links in profile).

    Git repository: codeberg.org/ajcain/minos

    Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

    Improvements mostly concern #TaggedPDF-related features:

    - Sidenotes are now tagged as *notes* (same as footnotes), not as "Aside" (the default for marginal content).

    - The theorem number appears in the proof heads even when \DocumentMetadata is used — in the previous version I had not integrated this feature into the new interfaces for theorem-like environments.

    (The number also appears in the QED symbol, which is a long-standing feature I would like to highlight. I think is useful with nested proofs; example from docs attached.)

    #TeXLaTeX #typography

  22. Another update to my #LuaLaTeX style "minos", used in ‘Form & Number: A History of Mathematical Beauty’ and my other books (links in profile).

    Git repository: codeberg.org/ajcain/minos

    Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

    Improvements mostly concern #TaggedPDF-related features:

    - Sidenotes are now tagged as *notes* (same as footnotes), not as "Aside" (the default for marginal content).

    - The theorem number appears in the proof heads even when \DocumentMetadata is used — in the previous version I had not integrated this feature into the new interfaces for theorem-like environments.

    (The number also appears in the QED symbol, which is a long-standing feature I would like to highlight. I think is useful with nested proofs; example from docs attached.)

    #TeXLaTeX #typography

  23. Another update to my #LuaLaTeX style "minos", used in ‘Form & Number: A History of Mathematical Beauty’ and my other books (links in profile).

    Git repository: codeberg.org/ajcain/minos

    Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

    Improvements mostly concern #TaggedPDF-related features:

    - Sidenotes are now tagged as *notes* (same as footnotes), not as "Aside" (the default for marginal content).

    - The theorem number appears in the proof heads even when \DocumentMetadata is used — in the previous version I had not integrated this feature into the new interfaces for theorem-like environments.

    (The number also appears in the QED symbol, which is a long-standing feature I would like to highlight. I think is useful with nested proofs; example from docs attached.)

    #TeXLaTeX #typography

  24. New version of my #LuaLaTeX style "minos".

    Git repository: codeberg.org/ajcain/minos

    Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

    - Many improvements related to creating #TaggedPDF, notably using template code for theorems and sectioning when \DocumentMetadata is used.

    - Various new/adjusted/fixed kerning customizations.

    #typography #TeXLaTeΧ

  25. New version of my #LuaLaTeX style "minos".

    Git repository: codeberg.org/ajcain/minos

    Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

    - Many improvements related to creating #TaggedPDF, notably using template code for theorems and sectioning when \DocumentMetadata is used.

    - Various new/adjusted/fixed kerning customizations.

    #typography #TeXLaTeΧ

  26. New version of my #LuaLaTeX style "minos".

    Git repository: codeberg.org/ajcain/minos

    Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

    - Many improvements related to creating #TaggedPDF, notably using template code for theorems and sectioning when \DocumentMetadata is used.

    - Various new/adjusted/fixed kerning customizations.

    #typography #TeXLaTeΧ

  27. New version of my #LuaLaTeX style "minos".

    Git repository: codeberg.org/ajcain/minos

    Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

    - Many improvements related to creating #TaggedPDF, notably using template code for theorems and sectioning when \DocumentMetadata is used.

    - Various new/adjusted/fixed kerning customizations.

    #typography #TeXLaTeΧ

  28. @yantar92 @jameshowell @11011110 @oantolin yes, we just got a thesis submitted with LuaLaTeX that passed the uni's accessibility tests. But I thought that the common wisdom was that this could not be achieved with beamer. If beamer now works that would be grand!

    #LuaLaTeX #Beamer #Orgmode

  29. @yantar92 @jameshowell @11011110 @oantolin yes, we just got a thesis submitted with LuaLaTeX that passed the uni's accessibility tests. But I thought that the common wisdom was that this could not be achieved with beamer. If beamer now works that would be grand!

    #LuaLaTeX #Beamer #Orgmode

  30. @yantar92 @jameshowell @11011110 @oantolin yes, we just got a thesis submitted with LuaLaTeX that passed the uni's accessibility tests. But I thought that the common wisdom was that this could not be achieved with beamer. If beamer now works that would be grand!

    #LuaLaTeX #Beamer #Orgmode

  31. @yantar92 @jameshowell @11011110 @oantolin yes, we just got a thesis submitted with LuaLaTeX that passed the uni's accessibility tests. But I thought that the common wisdom was that this could not be achieved with beamer. If beamer now works that would be grand!

    #LuaLaTeX #Beamer #Orgmode

  32. 在Neovim中支持LuaLaTeX高亮 使用Tree-sitter的注入(injection)功能,让LuaLaTeX中的directlua内部的代码正确使用Lua语法的高亮。 1. 遇到的问题 我的博客文章...

    #LaTeX #LaTeX #LuaLaTeX #Neovim #Tree-sitter

    Origin | Interest | Match
  33. Vraiment c'est trop top #LaForgeEdu, #Tchap et #Mastodon. Mon petit projet de cours de #Biochimie en #LaTeX a pu être largement amélioré grâce à @louispaternault (passage sous #LuaLaTeX et implémentation de la génération PDF directement dans le GitLab de #LaForgeEdu) et @amelliug (modélisation de molécules en LaTeX avec #chemfig). Il n'y a vraiment que du bon qui ressort de ces interractions humaines. Vive les ressources pédagogiques libres 🥰 bio.forge.apps.education.fr/bi

  34. Vraiment c'est trop top #LaForgeEdu, #Tchap et #Mastodon. Mon petit projet de cours de #Biochimie en #LaTeX a pu être largement amélioré grâce à @louispaternault (passage sous #LuaLaTeX et implémentation de la génération PDF directement dans le GitLab de #LaForgeEdu) et @amelliug (modélisation de molécules en LaTeX avec #chemfig). Il n'y a vraiment que du bon qui ressort de ces interractions humaines. Vive les ressources pédagogiques libres 🥰 bio.forge.apps.education.fr/bi

  35. Vraiment c'est trop top #LaForgeEdu, #Tchap et #Mastodon. Mon petit projet de cours de #Biochimie en #LaTeX a pu être largement amélioré grâce à @louispaternault (passage sous #LuaLaTeX et implémentation de la génération PDF directement dans le GitLab de #LaForgeEdu) et @amelliug (modélisation de molécules en LaTeX avec #chemfig). Il n'y a vraiment que du bon qui ressort de ces interractions humaines. Vive les ressources pédagogiques libres 🥰 bio.forge.apps.education.fr/bi

  36. Started applying my new #LuaLaTeX package "lua-simple-wrap" to the small-format version of ‘Form & Number: A History of Mathematical Beauty’.

    Previously, various figures that were placed in the margin of the large format (using my package "marginalia" [ctan.org/pkg/marginalia]) were placed as normal figures in the small format, but they often looked awkwardly small (see 1st attached image). I have started using "lua-simple-wrap" to place many of them at the side of the page with the text wrapped around them (see 2nd attached image).

    The advantage of "lua-simple-wrap" over other packages for wrapping text is that the code for each figure is placed at the same natural point in the paragraph as in the large-format version. This is important because the different versions are built from the same source by changing a global setting.

    ‘Form & Number’ (#OA as always): archive.org/details/cain_forma (large format); archive.org/details/cain_forma (small format)

    "lua-simple-wrap" Git repository: codeberg.org/ajcain/lua-simple (still in development, not yet available on CTAN)

    #TeXLaTeX #typography

  37. Started applying my new #LuaLaTeX package "lua-simple-wrap" to the small-format version of ‘Form & Number: A History of Mathematical Beauty’.

    Previously, various figures that were placed in the margin of the large format (using my package "marginalia" [ctan.org/pkg/marginalia]) were placed as normal figures in the small format, but they often looked awkwardly small (see 1st attached image). I have started using "lua-simple-wrap" to place many of them at the side of the page with the text wrapped around them (see 2nd attached image).

    The advantage of "lua-simple-wrap" over other packages for wrapping text is that the code for each figure is placed at the same natural point in the paragraph as in the large-format version. This is important because the different versions are built from the same source by changing a global setting.

    ‘Form & Number’ (#OA as always): archive.org/details/cain_forma (large format); archive.org/details/cain_forma (small format)

    "lua-simple-wrap" Git repository: codeberg.org/ajcain/lua-simple (still in development, not yet available on CTAN)

    #TeXLaTeX #typography

  38. Started applying my new #LuaLaTeX package "lua-simple-wrap" to the small-format version of ‘Form & Number: A History of Mathematical Beauty’.

    Previously, various figures that were placed in the margin of the large format (using my package "marginalia" [ctan.org/pkg/marginalia]) were placed as normal figures in the small format, but they often looked awkwardly small (see 1st attached image). I have started using "lua-simple-wrap" to place many of them at the side of the page with the text wrapped around them (see 2nd attached image).

    The advantage of "lua-simple-wrap" over other packages for wrapping text is that the code for each figure is placed at the same natural point in the paragraph as in the large-format version. This is important because the different versions are built from the same source by changing a global setting.

    ‘Form & Number’ (#OA as always): archive.org/details/cain_forma (large format); archive.org/details/cain_forma (small format)

    "lua-simple-wrap" Git repository: codeberg.org/ajcain/lua-simple (still in development, not yet available on CTAN)

    #TeXLaTeX #typography

  39. Started applying my new #LuaLaTeX package "lua-simple-wrap" to the small-format version of ‘Form & Number: A History of Mathematical Beauty’.

    Previously, various figures that were placed in the margin of the large format (using my package "marginalia" [ctan.org/pkg/marginalia]) were placed as normal figures in the small format, but they often looked awkwardly small (see 1st attached image). I have started using "lua-simple-wrap" to place many of them at the side of the page with the text wrapped around them (see 2nd attached image).

    The advantage of "lua-simple-wrap" over other packages for wrapping text is that the code for each figure is placed at the same natural point in the paragraph as in the large-format version. This is important because the different versions are built from the same source by changing a global setting.

    ‘Form & Number’ (#OA as always): archive.org/details/cain_forma (large format); archive.org/details/cain_forma (small format)

    "lua-simple-wrap" Git repository: codeberg.org/ajcain/lua-simple (still in development, not yet available on CTAN)

    #TeXLaTeX #typography

  40. I've just published my first LaTeX package!

    Countwords is a simple package for counting words in LaTeX documents. Words are counted into a standard LaTeX counter, which can then printed (or otherwise manipulated) in all the normal ways. You can stop and counting whenever you want, and have multiple independent counters.

    It's on CTAN here: ctan.org/pkg/countwords

    P.S. credit to Philipp Gesang @phgsng for the original lua wordcount code.

    #TeXAndLaTeX #lualatex #luatex

  41. I've just published my first LaTeX package!

    Countwords is a simple package for counting words in LaTeX documents. Words are counted into a standard LaTeX counter, which can then printed (or otherwise manipulated) in all the normal ways. You can stop and counting whenever you want, and have multiple independent counters.

    It's on CTAN here: ctan.org/pkg/countwords

    P.S. credit to Philipp Gesang @phgsng for the original lua wordcount code.

    #TeXAndLaTeX #lualatex #luatex

  42. I've just published my first LaTeX package!

    Countwords is a simple package for counting words in LaTeX documents. Words are counted into a standard LaTeX counter, which can then printed (or otherwise manipulated) in all the normal ways. You can stop and counting whenever you want, and have multiple independent counters.

    It's on CTAN here: ctan.org/pkg/countwords

    P.S. credit to Philipp Gesang @phgsng for the original lua wordcount code.

    #TeXAndLaTeX #lualatex #luatex

  43. I was already having misgivings about #CPython when I saw a required #Rust dependency coming up (although I know many here have no issues with this), but now that there have been #LLM commits to the project, I'd like to look at alternatives. It seems great that #Pypy exists, although I worry that it will end up replicating undesirable behavior from CPython in the future.

    I had been learning C++ with the goal of writing extensions using CPython. As it happens, I already have a physical copy of a book on #Lua and many applications are written in C++ with Lua scripting on top, so I'm going to swap out Python for Lua in an upcoming project. I'm excited to be able to experiment with #LuaLaTeX or writing scripts for #GeanyIDE. The language shows up in way more places than I realized.

    #Python #cpp #CPlusPlus #programming #Scripting #ScriptingLanguage #TexLatex

  44. I was already having misgivings about #CPython when I saw a required #Rust dependency coming up (although I know many here have no issues with this), but now that there have been #LLM commits to the project, I'd like to look at alternatives. It seems great that #Pypy exists, although I worry that it will end up replicating undesirable behavior from CPython in the future.

    I had been learning C++ with the goal of writing extensions using CPython. As it happens, I already have a physical copy of a book on #Lua and many applications are written in C++ with Lua scripting on top, so I'm going to swap out Python for Lua in an upcoming project. I'm excited to be able to experiment with #LuaLaTeX or writing scripts for #GeanyIDE. The language shows up in way more places than I realized.

    #Python #cpp #CPlusPlus #programming #Scripting #ScriptingLanguage #TexLatex

  45. I was already having misgivings about #CPython when I saw a required #Rust dependency coming up (although I know many here have no issues with this), but now that there have been #LLM commits to the project, I'd like to look at alternatives. It seems great that #Pypy exists, although I worry that it will end up replicating undesirable behavior from CPython in the future.

    I had been learning C++ with the goal of writing extensions using CPython. As it happens, I already have a physical copy of a book on #Lua and many applications are written in C++ with Lua scripting on top, so I'm going to swap out Python for Lua in an upcoming project. I'm excited to be able to experiment with #LuaLaTeX or writing scripts for #GeanyIDE. The language shows up in way more places than I realized.

    #Python #cpp #CPlusPlus #programming #Scripting #ScriptingLanguage #TexLatex

  46. I was already having misgivings about #CPython when I saw a required #Rust dependency coming up (although I know many here have no issues with this), but now that there have been #LLM commits to the project, I'd like to look at alternatives. It seems great that #Pypy exists, although I worry that it will end up replicating undesirable behavior from CPython in the future.

    I had been learning C++ with the goal of writing extensions using CPython. As it happens, I already have a physical copy of a book on #Lua and many applications are written in C++ with Lua scripting on top, so I'm going to swap out Python for Lua in an upcoming project. I'm excited to be able to experiment with #LuaLaTeX or writing scripts for #GeanyIDE. The language shows up in way more places than I realized.

    #Python #cpp #CPlusPlus #programming #Scripting #ScriptingLanguage #TexLatex

  47. My new #LuaLaTeX package: lua-simple-wrap

    This package allows easy wrapping of text around small figures, pull quotes, etc. (See attached image.)

    Unlike (I think) all other LaTeX packages for wrapping text around things, the wrapped object can be specified at its natural place in the text, and the package works out where it should appear. Virtually all the processing happens on the Lua side.

    The package is semi-experimental, and definitely requires more work before I submit it to CTAN, but the basic functionality is in place and seems to be working well. In particular, tagging support (for producing accessible PDFs) is already present.

    Git repository: codeberg.org/ajcain/lua-simple

    Download documentation and built package: codeberg.org/ajcain/lua-simple

    If you try it, feedback would be much appreciated!

    #TeXLaTeX #typography #Lua #accessibility #TaggedPDF

  48. My new #LuaLaTeX package: lua-simple-wrap

    This package allows easy wrapping of text around small figures, pull quotes, etc. (See attached image.)

    Unlike (I think) all other LaTeX packages for wrapping text around things, the wrapped object can be specified at its natural place in the text, and the package works out where it should appear. Virtually all the processing happens on the Lua side.

    The package is semi-experimental, and definitely requires more work before I submit it to CTAN, but the basic functionality is in place and seems to be working well. In particular, tagging support (for producing accessible PDFs) is already present.

    Git repository: codeberg.org/ajcain/lua-simple

    Download documentation and built package: codeberg.org/ajcain/lua-simple

    If you try it, feedback would be much appreciated!

    #TeXLaTeX #typography #Lua #accessibility #TaggedPDF

  49. My new #LuaLaTeX package: lua-simple-wrap

    This package allows easy wrapping of text around small figures, pull quotes, etc. (See attached image.)

    Unlike (I think) all other LaTeX packages for wrapping text around things, the wrapped object can be specified at its natural place in the text, and the package works out where it should appear. Virtually all the processing happens on the Lua side.

    The package is semi-experimental, and definitely requires more work before I submit it to CTAN, but the basic functionality is in place and seems to be working well. In particular, tagging support (for producing accessible PDFs) is already present.

    Git repository: codeberg.org/ajcain/lua-simple

    Download documentation and built package: codeberg.org/ajcain/lua-simple

    If you try it, feedback would be much appreciated!

    #TeXLaTeX #typography #Lua #accessibility #TaggedPDF