home.social

#boxesandglue — Public Fediverse posts

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

fetched live
  1. LaTeX? No: Glu. You can now write scientific papers in markdown using Glu.

    See the how-to at boxesandglue.dev/glu/howto/sci

    Bonus: 100% tagged PDF so fully accessible!

    #boxesandglue #accessibility #pdfua #texlatex

  2. PDF UA checker now checks for Math and displays the structure of the PDF file including formula. The PDF is created with boxes and glue.

    pdfuacheck.speedata.de

    #pdf #accessibility #pdf2 #boxesandglue

  3. Again many updates from boxes and glue. glu is now at version 0.0.20 (I know that does't look good, but it has more features than other 2.x software) including

    * Color and SVG fonts
    * right to left and mixed typesetting
    * PDF/UA-2 (tagged PDF 2.0)
    * inline images (width depending on outer constraints)
    * CMYK CSS support
    * repeating table foot
    * CSS attr() function
    * and lots of bug fixes of course

    Enhanced the examples at github.com/boxesandglue/boxesa

    Homepage: boxesandglue.dev

    #boxesandglue #pdf #accessibility #printcss

  4. Busy (long) weekend: written a post on GitHub actions and glu: boxesandglue.dev/news/2026-05-

    Also updated glu to v0.0.19 and added some more examples at

    github.com/boxesandglue/boxesa including some print CSS showcases.

    #printcss #boxesandglue #glu #pdf #githubactions

  5. glu is getting mature. This is an example of a markdown file processed with glu (results in a PDF) and checked for accessibility by PAC. All green!

    You get a perfectly tagged document from a markdown source with no additional work.

    OpenSource, MIT license.
    #accessibility #PDFUA #glu #boxesandglue #markdown

  6. Fixed two long standing bugs in the line breaking algorithm in boxes and glue. I had to re-read the Knuth paper about optimum fit line breaking... Both fixes are in v0.2.18

    #boxesandglue #knuth #digitaltypography

  7. There are some #xslfo examples in the glu examples section. This is mainly a proof of concept that you can implement your own typesetting system in glu (using Lua).

    I am not sure if I create more examples, since XSLFO seems to be a somewhat dead technology. This was mainly done for demonstration purposes.

    github.com/boxesandglue/boxesa

    #boxesandglue

  8. Another big step forward for boxes and glue / the Go API: bagme (boxes and glue made easy) is updated with new examples. The interface is so simple: just print some HTML code to the PDF, optionally styled with CSS. Thats it.

    boxesandglue.dev/bagme/

    #boxesandglue #golang #pdf #api

  9. Next big step for boxes and glue. There is a new example in github.com/boxesandglue/boxesa for the command line interface which creates a fully accessible PDF from markdown source without any further settings!

    Some specialities: Lua processing, CSS formatting, MetaPost decoration.

    #accessibility #boxesandglue

  10. This was an excellent week for boxes and glue.

    * the textshape Text shaper is now usable and passes almost all harfbuzz tests (still working on the last ones)
    * mpgo - a Go MetaPost code is now pretty much feature complete (an bug free, of course)
    * hobby, a Lua frontend for mpgo works fine
    * glu, a boxes and glue Lua frontend is getting more and more functionality
    * boxes and glue can now render SVGs in PDF and is font aware. it uses the textshape engine to render fonts in SVG.
    * Merged some pull requests for textshape and boxesandglue.

    boxesandglue.dev

    #boxesandglue #PDF #SVG #MetaPost

  11. Finally created a first real world example for the boxes and glue command line interface at github.com/boxesandglue/boxesa

    Creating 1,000 EN 16931 compliant invoices in 14 seconds on an 2021 m1 MacBook Pro is not bad...

    #boxesandglue #highspeedpublishing #zugferd

  12. Next attempt for a command line interface for #boxesandglue is now available at

    github.com/boxesandglue/cli

    There are binaries for Window, Linux and macOS and some sort of documentation at boxesandglue.dev/cli/. Very early stage, but it shows the direction. Great thank to the hackers at risor.io for the great language / Go bindings.

  13. So for Grazer Linuxtage (#glt25) I consider submitting a talk. I came up with two talk ideas so far. Which talk would you be interested in?

    *Current state of digital typesetting*
    a comparsion and explanation of typesetting engines like #TeX/#LuaLaTeX, #typst, #SILE, #boxesandglue, and frontends like #Quarto

    *New features in CSS3*
    This talk assumes you are familiar with #CSS, but you need an update for the latest #CSS3 features with a focus on typography and line-based typesetting

  14. The boxes and glue repositories will move to their own GitHub organization. See github.com/speedata/boxesandgl #boxesandglue

  15. This is pre alpha / experimental and just for me....

    I'd like to have a visual test for the line breaking algorithm of boxes and glue, so I created a little HTML / canvas fronted with Go / Web Assembly (wasm)

    linebreak.boxesandglue.dev

    and

    github.com/speedata/linebreak-

    More bells and whistles will follow.

    #boxesandglue #linebreak

  16. Still thinking about a pure Go graphics language for boxes and glue. One option would be porting #MetaPost to Go, but this is quite a bit of work. Any other possibilities / ideas?

    tug.org/metapost.html

    #boxesandglue #metapost #golang #graphics

  17. XTS Version 0.18 now released. With enhanced documentation at doc.speedata.de/xts/.

    Slowly and quietly XTS is getting more and more mature, but there is still a long road ahead.

    In comparison to the speedata Publisher, XTS has many more CSS capabilities, better XPath support and more consistent.

    Download on the “Releases” page at github.com/speedata/xts

    #boxesandglue #speedatapublisher #xts

  18. The next releases of boxes and glue require go >= 1.21. After this, I try to be a bit more conservative and try to stay compatible to this version.

    The reason is that boxes and glue requires the slog package, it is a structured logging package from the standard library. So even less external dependencies and more standardised behaviour.

    #golang #go #boxesandglue

  19. Only two more days until my talk “News from boxes and glue” at the TUG 2023 conference. This will be streamed on Youtube, so you can watch it online.

    tug.org/tug2023/program.html (Friday, 12:15)

    #boxesandglue

  20. Currently preparing my TUG 2023 presentation. Time for a recap.

    This is the implementation status of boxes and glue in 2022 and 2023. There is progress. The backend is pretty much “complete”, the most work in the frontend has been in the HTML/CSS section.

    #boxesandglue

  21. Friday is Infrastructure Friday.

    So I have moved the boxes and glue website to a new CMS (Material for MkDocs - which is very awesome - @squidfunk) and I promise I will start / continue documenting boxes and glue as it gets more and more mature. Homepage is as before at boxesandglue.dev.

    #boxesandglue

  22. XTS news: This has been a pretty busy week. Here are the news:

    * XTS version 0.0.2 is released (github.com/speedata/xts/releas)
    * There is the beginning of a manual at doc.speedata.de/xts/
    * The example repo is at github.com/speedata/xts-exampl
    * XTS is now BSD licensed!

    What is #XTS? The XML typesetting system is a PDF database publishing software to create product catalogs and other high demand output. #speedata #boxesandglue

  23. Next version of boxes and glue will have have automatic font expansion setting to optimize the line breaking algorithm.

    Don't overdue it. I think the second paragraph (with the second line squeezed by 1%) is okay, except for the different spacing in lines 1,2 and 3.

    So there is still room for improvement, but nevertheless boxes and glue will be on par with TeX’s typographic capabilities.

    #boxesandglue #typography #texlatex

  24. Thinking of joining the TUG 2023 meeting in Bonn this year. But approx. 1000 Euro just for attending a conference not far away seems to be a little high. And no, remote is not an option for me.

    tug.org/tug2023/index.html

    cc @TeXUsersGroup

    #texlatex #boxesandglue

  25. Next version of boxes and glue has hanging punctuation. Now working on font expansion...
    #boxesandglue #typography #css #pdf

  26. Working hard to get a first working version out for Christmas. Now bagme works with nested elements (such as div) adds border / background to elements.
    Now it is so easy to get HTML into PDF from Go (github.com/speedata/bagme)
    #boxesandglue

  27. Some new experiments with boxes and glue: I have created a new Go library called “bagme” (boxes and glue made easy) for PDF rendering HTML fragments styled with CSS. No big setup necessary.

    github.com/speedata/bagme

    (just a proof of concept at the moment)

    #boxesandglue

Share on Mastodon

Enter the server where you have an account.