Better HN
topnewbestaskshowjobs
Log inSign up

patrickg

779 karma · joined Jan 1, 2010 (16y ago) · 336 submissions

https://www.speedata.de
Submissions

comment 1mo ago · link · parent

(author here)

True, of course. My main area is PDF and typographic programming, so I never think about the world out there...

2.

A page looks innocent: the algorithms behind a typeset page(news.speedata.de ↗)

19 points · by patrickg · 1mo ago · 2 comments

comment 9mo ago · link · parent

Thank you (author here). I deliberately used the default settings. Typst mentions settings for the line breaking system in the manual (for example you can set the penalties for changing interword spacing between lines), the speedata publisher can switch on margin kerning.

There might be settings to speed up things, so if any of the authors provide me with the settings, I'd be happy to implement those.

comment 9mo ago · link · parent

Correct, I rarely submit something, I wasn't aware that I don't have to fill in all fields.

comment 9mo ago · link · parent

I benchmark six different typesetting systems, typst ist by far the fastest. This article describes why the speedata Publisher is still my choice for producing product catalogs.

6.

Benchmarking Automatic Typesetting Systems(news.speedata.de ↗)

20 points · by patrickg · 9mo ago · 5 comments

comment 11mo ago · link · parent

LuaHBTeX support has improved in the current version (next year's TeX-live), for example support for subsetting fonts.

comment 11mo ago · link · parent

I use the standard binary from TeX-live and use the integrated harfbuzz loader, which works like a charm.

The downloadable ZIP is ready to run and does not need any additional libraries. (That said, I include some helpers, for example for https access. )

comment 11mo ago · link · parent

(Author of speedata Publisher here)

Just a small note: the speedata Publisher ships with a LuaTeX, so you don't need it pre-installed.

10.

Mixing Go and Lua(news.speedata.de ↗)

2 points · by patrickg · 2y ago · discuss

comment 3y ago · link · parent

This is what I do

I have ca. 190 test cases on which I run my software and compare the md5 sums of the resulting PDF. If they are not the same, I create a PNG for every page and compare visually with imagemagick.

The trick is to remove all random stuff from the PDF (like ID generation or such).

This takes about 3 seconds on the M1 Pro laptop. I think this is very much okay.

Links: https://github.com/speedata/publisher/tree/develop/qa (the tests) https://github.com/speedata/publisher/blob/develop/src/go/sp... (the Go source code for the comparison)

comment 4y ago · link · parent

In which sense “better output quality”?

comment 4y ago · link · parent

I have a related feeling about TeX. It has superb output quality but the programming is awful. When LuaTeX finally arrived a few years ago, it was possible to do almost everything you have done before in the TeX language (starting with \backslashes) in Lua.

See http://wiki.luatex.org/index.php/TeX_without_TeX for an introduction.

I have (shameless plug) created a database publishing software using this technique (https://github.com/speedata/publisher/). Once in a while I have to use LaTeX and it feels a bit old school to do the macro programming.

My next project is to rewrite the TeX algorithms in Go - see https://github.com/speedata/boxesandglue. Already usable but not TeX like in any way (this is just a library, not a frontend software like TeX)

comment 4y ago · link · parent

Did you try to enforce the AGPL somehow? In the sense that the user that puts it on a (web)server must provide the end user the source code? (The 'A' in AGPL).

comment 5y ago · link · parent

https://openclipart.org is (somewhat) back. I think this was better browsable and searchable in the past. At least there is some contents available.

These pages are really valuable.

comment 5y ago · link · parent

There is osxcross: https://github.com/tpoechtrager/osxcross

comment 6y ago · link · parent

I have written a QR encoder in Lua and documented it a bit. Perhaps this goes into the direction?

http://speedata.github.io/luaqrcode/docs/qrencode.html

comment 6y ago · link · parent

I started with a closed source software but I opened it shortly after. So I didn't start with this in my mind, but since I love open source software, I had the feeling that I should open it and try my luck. I love the idea of the GNU projet.

comment 6y ago · link · parent

I give away my database publishing software (https://www.speedata.de/) for free and make a living with offering services (helping companies producing high quality product catalogs and datasheets etc. using the software) Its not much, but I live a happy live.

I spend about 1/2 of the time doing services and 1/2 hacking on the software. Quite often, customers are paying for new features in the software so it is paid hacking. Great!

comment 7y ago · link · parent

Changelog to 3.0.1 here: https://www.w3.org/publishing/epub32/epub-changes.html

21.

Original Bauhaus Journals for Free: Gropius, Klee, Kandinsky and More(openculture.com ↗)

126 points · by patrickg · 7y ago · 15 comments

comment 9y ago · link · parent

No official support for Mac yet... Interesting anyways, thanks

comment 9y ago · link · parent

Data files and source code. Sure I have considered using line wrap, but I don't like it.

comment 9y ago · link · parent

Yes, I've had an exchange with the author about this, and he said, it might be possible to tweak this, but his is buried in some obsucure configuration.

comment 9y ago · link · parent

I really like Lua and hacking things in Lua, so this editor looks like its what I need. But there is one show stopper, that I have no idea how to avoid: scrolling horizontally on my Mac is terrible slow, and I have lots of files with long lines..

The author and the communtity around it is great, all questions that I had have been answered quickly. So every few months or so I download the newest package and look if anyting has changed meanwile.

comment 9y ago · link · parent

But it should be possible to a) use a prepaid credit card or b) pay with good old cash. That way it is still possible to buy without getting tracked (while all the others that don't care use the loyalty card).

comment 9y ago · link · parent

Not many comments about privacy. This is how I see it: You are identified when you enter the shop and amazon knows exactly the products you buy.

If you have the choice to buy or not to buy at the shop, that's fine, it is your decision. But let's imagine that in the not so far future, all shops in your neighborhood are like this. No way to go shopping whithout given exact trace of you, your location, the stuff you buy, the time you buy, the amount of food etc.

We all know that too much data is not good for us (yes, I am looking at you, my government).

While I like the idea of not standing in a line and wait, I really wish that these shops offer a prepaid anonymous card for those who don't want to be totally tracked.

28.

Original Bauhaus Journals for Free: Gropius, Klee, Kandinsky and More(openculture.com ↗)

3 points · by patrickg · 10y ago · discuss

29.

TiSA-Leaks: Fundamental rights shall be levered out for free trade(netzpolitik.org ↗)

4 points · by patrickg · 10y ago · discuss

comment 10y ago · link · parent

Short answer: no. In theory, it would be possible to increase the speed, but that would include a rewrite of these two font packages. Fontloading is not necessarily slow in Lua(TeX), but the mentioned luaotfload for example deals with all kinds of complex scripts which is not necessary in most cases.
12345
12