diff --git a/content/notes/2022/12/02h20m30s41.md b/content/notes/2022/12/02h20m30s41.md new file mode 100644 index 00000000..dfa778da --- /dev/null +++ b/content/notes/2022/12/02h20m30s41.md @@ -0,0 +1,8 @@ +--- +date: 2022-12-02T20:30:41+01:00 +context: "https://zerokspot.com/weblog/2022/12/02/grail-pen-acquired-pilot-capless/" +--- + +Congrats, it's a great pen indeed, I also own one! I do feel that the ink reservoir is way too small though, every time I want to write with it I have to refill it---which is another pain, as the hole that sucks up the ink is placed higher than with other pens like my Lamy 2000. + +If you hold the Lamy at the right angle, it writes even better, but that's part of the problem. I'm a leftie and the Lamy is quite difficult to wield just right! The Capless is also superb as a "sealth" fountain pen. Nobody expects it in a meeting if you suddenly "click out" a nib 😄 diff --git a/content/post/2022/11/writing-a-tufte-book-in-markdown.md b/content/post/2022/11/writing-a-tufte-book-in-markdown.md index b63dc710..9585b10f 100644 --- a/content/post/2022/11/writing-a-tufte-book-in-markdown.md +++ b/content/post/2022/11/writing-a-tufte-book-in-markdown.md @@ -88,6 +88,14 @@ using a simple regex: `re.sub(r"\\citet{fig:(\w+)}", r"Figure~\\ref{fig:\1}", fi A lot of figures are misaligned depending on the left-hand or right-hand side since the caption appears in the margin. This is very irritating since adding or removing text moves them around, breaking the layout. That's fixed by hacking in `\checkoddpage \ifoddpage \forcerectofloat \else \forceversofloat \fi` just after each `\begin{figure}`, see [this GitHub issue](https://github.com/Tufte-LaTeX/tufte-latex/issues/144). +You probably also want to make use of _short captions_, otherwise the list of figures will be very confusing. The Pandoc filter https://github.com/martisak/pandoc-shortcaption is great for that, and converts + +``` +![a very very long explanation of an image](image.jpg "the short version") +``` + +Into a `\caption[the short version]{a very very long explanation of an image}`. That way, you can simply make use of Markdowns built-in support for _alt_ texts. + Another problem: how can you produce `\begin{figure*}`---note the star---to create full-width images spanning across the extended margin? By default, you can't. You can do this: ``` @@ -98,7 +106,7 @@ And Pandoc will interpret the width ratio and produce `includegraphics[width=1\t I have no solution for margin figures except for a custom property within `{}`that does more or less the same. -As for tables, Pandoc generates `longtable` blocks instead of regular ones, and it's full of weird crap. Most of the tables I have require special TeX commands anyway, for instance to rotate certain column headers, so I gave up and simply relied on TeX for those blocks instead. +As for tables, Pandoc generates `longtable` blocks instead of regular ones, and it's full of weird crap. Most of the tables I have require special TeX commands anyway, for instance to rotate certain column headers, so I gave up and simply relied on TeX for those blocks instead. In that case, if Pandoc acts weird and starts translating `\` to `\textbacklash` instead of your TeX command, try [encapsulating the whole block](https://github.com/jgm/pandoc/issues/4473) in a `{=latex}` Markdown code block. If you want subtables: do not use the deprecated `subfigure` package which is incompatible with tufte-book! `booktabs` and `subfig` (with `caption=false`) does the trick, see [this stackexchange post](https://tex.stackexchange.com/questions/87364/problem-with-tufte-book-and-subfigure). diff --git a/data/webmentions.json b/data/webmentions.json index ae102127..e4410a45 100644 --- a/data/webmentions.json +++ b/data/webmentions.json @@ -1,4 +1,32 @@ [ + { + "author": { + "name": "Sebastiaan Andeweg", + "picture": "/pictures/seblog.nl" + }, + "name": "", + "content": "It seems like a lot of people (W, J and H) are cleaning up their . I always tried to be minimalist in my HTML (and I did meditate back when I build the current version of my site), so my head was actually already rather empty. I did however rem...", + "published": "2022-11-28T16:14:33+00:00", + "url": "https://seblog.nl/2022/332/1", + "type": "mention", + "source": "https://seblog.nl/2022/11/28/1/twitter-metadata", + "target": "https://brainbaking.com/post/2022/11/bloggers-dump-your-twitter-card-tags/", + "relativeTarget": "/post/2022/11/bloggers-dump-your-twitter-card-tags/" + }, + { + "author": { + "name": "James Ravenscroft", + "picture": "/pictures/brainsteam.co.uk" + }, + "name": "Bloggers, Dump Your Twitter Card Tags | Brain Baking", + "content": "Liked post: https://brainbaking.com/post/2022/11/bloggers-dump-your-twitter-card-tags/", + "published": "2022-11-27T18:19:54+00:00", + "url": "https://brainsteam.co.uk/likes/2022/11/27/bloggers-dump-your-twitter-card-tags-brain-baking1669572163/", + "type": "like", + "source": "https://brainsteam.co.uk/likes/2022/11/27/bloggers-dump-your-twitter-card-tags-brain-baking1669572163/", + "target": "https://brainbaking.com/post/2022/11/bloggers-dump-your-twitter-card-tags/", + "relativeTarget": "/post/2022/11/bloggers-dump-your-twitter-card-tags/" + }, { "author": { "name": "Jan-Lukas Else",