The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘ImageMagick’ Category

infinite loop in “LaTeX: A Document Preparation System” by Leslie Lamport, printed in 1994.

Posted by jpluimers on 2024/09/10

Cover of "LaTeX: A Document Preparation System, 2nd edition", Published by Addison-Wesley Professional (June 30, 1994) © 1994, authored by Leslie Lamport

Cover of “LaTeX: A Document Preparation System, 2nd edition”, Published by Addison-Wesley Professional (June 30, 1994) © 1994, authored by Leslie Lamport

LaTeX was slightly later than the 1992 Turbo Pascal 7.0 Language Guide having both entry in the manual about Recursion (“recursive loop, see recursive loop”) which of course is similar to “infinite loop” and entries for “infinite loop See loop, infinite” and “loop, infinite See infinite loop”.

So what is LaTeX?

Where Donald Knuth created the typesetting program TeX (visually TeX), Leslie created a set of macros for it, later named LaTeX (visually LaTeX) and wrote the first (still famous) book – cover on the right – on it: [Wayback/Archive] LaTeX: A Document Preparation System by Leslie Lamport, second edition, printed in 1994 back then by Addison-Wesley (now Pearson Education, subsidiary of Pearson plc) with ISBN 9780201529838.

It’s gimmick was at page 252, inside the index referring “infinite loop” to page 252 itself.

Many people keep posting screenshots of the page without referencing where it is from. That’s a bit sad, as these gimmicks are an important part of history where programming books were as much about explaining features of computing environment, as well as explaining underlying concepts like recursion.

So this 2024 post finally made me write this blog post: [Wayback/Archive] vx-underground on X: “HELP!”

[Wayback/Archive] GTv89dwWsAM05wM.jpg (552×639)

Read the rest of this entry »

Posted in *nix, *nix-tools, ffmpeg, History, ImageMagick, LaTeX, pandoc document converter, Power User, Typesetting | Leave a Comment »

Stephan Kämper: Processing a Number of Image Files – Seaside Testing

Posted by jpluimers on 2024/05/29

I have a hard time remembering all those ImageMagick parameters, so I was glad that Stephan posted this: [Wayback/A] Processing a Number of Image Files – Seaside Testing

Via: [Wayback/Archive] Stephan Kämper on Twitter: “Another note to self: How I can resize image files using @ImageMagick. ➙ …”

–jeroen

Posted in Development, Image Editing, ImageMagick, Power User, Scripting, Software Development | Leave a Comment »

Python Breaking Distance calculator (includes the German DIN 1451 font for traffic signage)

Posted by jpluimers on 2022/09/20

If you ever want a good visual representation to compare the breaking distance for a car at two different speeds, and see at what speed you will hit the human “obstacle”, then use the Python script mkbremsweg.py.

Git repository: [Wayback/Archive.is] joschtl / bremsweg · GitLab.

The image is generated in the current directory

It probably won’t work on Windows as it dynamically builds a very long command-line calling ImageMagick tool [Wayback/Archive.is] convert once to do all the drawing.

The text in the picture for now is hardcoded in German, but would be easy to adopt.

The fonts used are and FreeSans and [Wayback/Archive.is] Alte DIN 1451 Mittelschrift Font Family · 1001 Fonts (which the Germans use for Traffic Signage and is very similar to fonts used in other countries).

Calculations are based on [Wayback/Archive.is] Bremsweg-Rechner für Anhalteweg & Bremsweg – Johannes Strommer.

Via:

–jeroen

Posted in *nix, *nix-tools, cars, Development, ImageMagick, LifeHacker, Power User, Python, Scripting, Software Development, Traffic, Windows | Leave a Comment »