Community

This page aggregates blog entries by people who are writing about TeX and related topics.

Filling and version control

Posted on January 20, 2019 by Content AND Presentation Feed

It has been said a lot of times that when writing some (natural language) text with version control in Emacs, filling is a bad idea. Any change involving adding or deleting a significant number of characters and then refilling can result in all subsequent lines in a paragraph changed, and the diff looks really ugly then. The solution usually proposed is putting each sentence on a separate line, and then just use visual-line-mode to wrap your lines on the screen without putting any hard newlines in. Well, I sort of dislike this idea.

Read this post in context »

Ten years of Some TeX Developments

Posted on January 1, 2019 by Some TeX Developments Feed

Just over ten years ago, I decided to establish a blog about TeX matters. After a bit of consideration and searching, I found that texdev.net was available, and decided to call the blog Some TeX Developments. I’ve written nearly 400 posts since then, from one-liners about the blog itself to extended ‘articles’ on highly-technical aspects of TeX programming. I know that some of the most useful posts are ‘user’ advice, for example comparing TeX Live to MiKTeX, or explaining how overlays work in beamer. The blog recently moved to GitHub Pages, making it a bit easier for me to run, and to fix older posts. I expect to keep blogging, and look forward to the topics that come up in the next ten years!

Read this post in context »

Cuti-cuti Malaysia: 2019 calendar with Malaysian public and school holidays

Posted on December 31, 2018 by Malaysian LaTeX User Group Feed

I made a calendar marked with Malaysian holidays for personal use, and then decided to make it public. It uses my LaTeX CD calendar template. Here are some sample pages: Download Cuti-cuti Malaysia 2019 Calendar for Penang Download LaTeX source code files This has been customised specifically with Penang in mind, so state holidays observed […]

Read this post in context »

TUGboat 39:3 published

Posted on December 23, 2018 by TeX Users Group Feed

TUGboat volume 39, number 3 (a regular issue) has been mailed to TUG members. It is also available online and from the TUG store. Thus, prior TUGboat issue 39:2 is now publicly available. Please consider joining or renewing your TUG membership if you haven't already.

Read this post in context »

Einführung in ConTeXt

Posted on December 22, 2018 by TeXwelt Feed

Axel Kielhorn hat eine deutschsprachige Einführung in ConTeXt verfasst, wie er heute auf der Vereins-Mailingliste mitteilte. Auf 45 Seiten erklärt er die wesentlichen Grundlagen, also Gliederung (Kapitel, Abschnitte und feiner) Stichpunkt-Listen, Aufzählungen, beschreibende Listen Text-Formatierung, Schriften und Größen Querverweise und … Weiterlesen →

Read this post in context »

TeX Live/Debian updates 20181214

Posted on December 15, 2018 by There and back again Feed

Another month passed, and the (hoepfully) last upload for this year brings updates to the binaries, to the usual big set of macro and font packages, and some interesting and hopefully useful changes. The...

Read this post in context »

Floating point calculations in LaTeX

Posted on December 9, 2018 by Some TeX Developments Feed

TeX does not include any ‘native’ support for floating point calculations, but that has not stopped lots of (La)TeX users wanting to do sums (and more complicated things) in their document. As TeX is Turing complete, it’s not a surprise that there are several ways to implement calculations. For end users, the differences between these are not important: what is key is what to use. Here, I’ll give a bit of background, look at the various possibilities, then move on to give a recommendation. Background When Knuth wrote TeX, he had one aim in mind: high-quality typesetting. He also wanted to have sources which were truly portable between different systems. At the time, there was no standard for specifying how floating point operations should be handled at the hardware level: as such, no floating point operations were system-independent. Knuth decided that TeX would provide no user access to anything dependent on platform-specific floating-point operations. That means that the TeX functions that look like floats (in particular dimen work) actually use integer arithmetic and convert ‘at the last minute’. Technical considerations There are two basic approaches to setting up floating point systems in TeX: either use dimensions or doing everything in ...

Read this post in context »

A 'new' primitive: \expanded

Posted on December 6, 2018 by Some TeX Developments Feed

In recent years, development of pdfTeX has been very limited, with the v1.40 branch now being around for over 10 years. However, in the past there were plans for a v1.50 branch, and some code was actually written. One primitive that was fully coded-up at that time was \expanded. The idea of this is pretty simple: it carries out full expansion like \message (and almost) like \edef), but it is still expandable. For example, try \def\a{\b}\def\b{c} \message{Hello \a\space #} \detokenize\expandafter{\expanded{Hello \a\space #}} \bye using LuaTeX. Why is the example for LuaTeX? When LuaTeX development started, the team behind it used the development code from pdfTeX as a starting point, and that included \expanded. However, release pdfTeX itself didn’t incorporate this code, and so it’s not been more widely available. Enter the LaTeX Team For some time, the LaTeX Team have been thinking about asking for \expanded to be made more widely available. Unlike the \romannumeral ‘trick’, \expanded does not require any hard work to get ‘past’ any output, so it is very useful for creating macros that work like functions. It’s also fast and clear in intention. In the past, making requests for changes to the pdfTeX codebase was hard ...

Read this post in context »

Bringing XeTeX into line

Posted on December 6, 2018 by Some TeX Developments Feed

In parallel with work on the \expanded primitive, I’ve been working recently on bringing the ‘utility’ primitives in XeTeX into line with those in pdfTeX, pTeX and upTeX. Background XeTeX was written to extend e-TeX to allow full Unicode working, including loading system fonts. The development started from the DVI-mode e-TeX, rather than from pdfTeX, which had added various new primitives to e-TeX. Much of the difference between pdfTeX and e-TeX is directly to do with producing PDF output, but there are some additions that are entirely independent of that. Over the years, some of the ‘utilities’ have been added to XeTeX (for example \pdfstrcmp, which in XeTeX is just \strcmp). However, several have not made it, but have been added to pTeX and upTeX. That’s meant that XeTeX has between ‘a bit behind’ in feature terms: there are things that simply can’t be done without primitive support. An opportunity arises As I’ve said in my other post today, the recent setting up of a Travis-CI testing environment for TeX Live building means that it is now easy to try adding new material to the WEB sources of pdfTeX, XeTeX, etc. As I was working on \expanded anyway, I decided ...

Read this post in context »

Blog on the move

Posted on November 26, 2018 by Some TeX Developments Feed

I’ve been writing Some TeX Developments for ten years now, starting off on WordPress.com before moving to a self-hosted WordPress set up. All of this time, I’ve stuck with WordPress as it’s a very powerful and flexible system. However, it’s got some downsides too. In particular, as it is dynamic, database-driven, system, the pages are created each time someone requests them. That’s great for things like supporting comments, but it means there’s a non-trivial amount of work done each time someone views a page. That turns into a real cost when you are paying for your own hosting. My most recent hosts were really good for support, but I needed enough CPU cycles to push me into the ‘non-trivial’ cost bracket. At the same time, a dynamic site means that there’s always a security risk. Enter GitHub Pages I’m hardly the only person to come across these issues, and it’s no surprise that there are a variety of good solutions. One that’s really gained in popularity over recent years is GitHub Pages. This uses a specially-named Git repository to run a generation system called Jekyll. Unlike WordPress, Jekyll generates pages when the sources are committed, so the pages themselves are ...

Read this post in context »

Blog on the move

Posted on November 26, 2018 by Some TeX Developments Feed

I’ve been writing Some TeX Developments for ten years now, starting off on WordPress.com before moving to a self-hosted WordPress set up. All of this time, I’ve stuck with WordPress as it’s a very powerful and flexible system. However, it’s got some downsides too. In particular, as it is dynamic, database-driven, system, the pages are created each time someone requests them. That’s great for things like supporting comments, but it means there’s a non-trivial amount of work done each time someone views a page. That turns into a real cost when you are paying for your own hosting. My most recent hosts were really good for support, but I needed enough CPU cycles to push me into the ‘non-trivial’ cost bracket. At the same time, a dynamic site means that there’s always a security risk. Enter GitHub Pages I’m hardly the only person to come across these issues, and it’s no surprise that there are a variety of good solutions. One that’s really gained in popularity over recent years is GitHub Pages. This uses a specially-named Git repository to run a generation system called Jekyll. Unlike WordPress, Jekyll generates pages when the sources are committed, so the pages themselves are ...

Read this post in context »

Netzwerk-Jobs in Hamburg und der ganzen Welt

Posted on November 20, 2018 by TeXblog Feed

Tl;dr: es gibt da ein paar Jobangebote. Nach meinem Mathestudium wollte ich ja erstmal in die Ferne und bin als IT Officer auf ein Kreuzfahrtschiff gestiegen. Leben und Arbeiten in der Besatzung mit der Technik war spannend und die Reisen … Continue reading →

Read this post in context »

Checklisten setzen mit

Posted on November 17, 2018 by Uwe Ziegenhagen Feed

Mit dem typed-checklist Paket lassen sich einfach komplexe Checklisten setzen, hier ein Beispiel aus der Dokumentation: \documentclass{article} \usepackage{typed-checklist} \begin{document} \begin{CheckList}{Goal} \Goal{open}{I have a trendy haircut} \begin{CheckList}{Task} \Task{done}{find a hairdresser} \Task{started}{make an appointment} \Task{open}{go to the hairdresser} \end{CheckList} \Goal{achieved}{I have a typed checklist} \end{CheckList} \end{document} UweUwe Ziegenhagen mag LaTeX und Python, auch gern in Kombination. Hat […]

Read this post in context »

Changelogs setzen mittels „changelog“ Paket

Posted on November 17, 2018 by Uwe Ziegenhagen Feed

Mit dem changelog Paket gibt es eine komfortable Möglichkeit, changelogs in Dokumenten zu setzen. Hier ein Beispiel, entnommen der Dokumentation. \documentclass[12pt,ngerman]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{booktabs} \usepackage{babel} \usepackage{graphicx} \usepackage{csquotes} \usepackage{paralist} \usepackage{xcolor} \usepackage[color]{changelog} \begin{document} \begin{changelog}[sectioncmd=\section,title={Versionshistorie}] \begin{version}{0.9} \added Really cool features \end{version} \begin{version}[date=2019-01-23] \item A version with only a date \end{version} \begin{version}[v=1.1.0] \item A version with no date \end{version} […]

Read this post in context »

Zwei DIN A5 Seiten auf einer DIN A4 Seite setzen

Posted on November 17, 2018 by Uwe Ziegenhagen Feed

Für meine Studentinnen und Studenten erstelle ich zu jeder Vorlesung eine kurze Wiederholung auf Basis der exam Klasse. Üblicherweise reicht ein DIN A5 Blatt, daher liegt es nahe, zwei DIN A5 Blätter auf ein DIN A4 Blatt zu drucken. Um nicht den Text zweimal setzen zu müssen, gibt es zwei nützliche Lösungen (neben der Nutzung […]

Read this post in context »

Earlier posts