6:17 AM
@samcarter_looks_forward_TUG'21 some missing library?

2 hours later…
7:51 AM

8:12 AM
@Skillmon I rather suspect an outdated library - but I don't want to risk an update right now

LaTeX should rename figure -> floatingfigureyesIknowwhatitmeans and table in the same way around. Sometime I think we should prepare a page with "no, \begin{figure} is not meaning what you are thinking... (sigh)
3

8:28 AM
@Rmano Can the H specifier from the float package please be removed in the very same update?

2 hours later…
10:25 AM
I see learnlatex.org is getting >175 clicks per day from Google
4

10:37 AM
@JosephWright good news!

It's also #3 in Google now for 'learn latex'

@JosephWright for me its only second to TeX.SX's question for good learning resources. (if we don't count sponsored Overleaf links)

@Skillmon I was using private mode

Oh, wait, I think the Overleaf links aren't sponsored (no sponsor disclaimer hidden), so I guess it's fourth.
@JosephWright in private mode it's fourth, after Overleaf, Overleaf in German, and TeX.SX.

@Skillmon I guess that's .de vs .co.uk searches

10:43 AM
@JosephWright yes, most likely.

11:40 AM
@Skillmon yeah, google is sometimes stupid regarding the localization of searches: in a private window it shows me the cs. version of Overleaf because it knows from the IP that I'm in Czechia.

12:25 PM
Chemical Periodic System with a TikZ-matrix.

1 hour later…
1:47 PM
@yo' we will be expecting the Czech translation of learnlatex shortly:-)

@yo' :)

@yo' Czech seems a very expressive language, the entire course collapsed down to Nepoužívejte tento nafouklý nesmysl, používejte prostý.
3

@DavidCarlisle :D
Strč prst skrz krk

2:06 PM
Hi everyone! How are the TikZ arrows implemented so that they look like TeX ones? In MetaPost cmarrows is needed for the same purpose...

@JairoA.delRio It's done by drawing the right shape
\pgfarrowsdeclare{latex}{latex}
{
\pgfutil@tempdima=0.28pt%
\pgfutil@tempdimb=\pgflinewidth%
\ifdim\pgfinnerlinewidth>0pt%
\pgfmathsetlength\pgfutil@tempdimb{.6\pgflinewidth-.4*\pgfinnerlinewidth}%
\fi%
\pgfarrowsleftextend{+-1\pgfutil@tempdima}
\pgfarrowsrightextend{+9\pgfutil@tempdima}
}
{
\pgfutil@tempdima=0.28pt%
\pgfutil@tempdimb=\pgflinewidth%
\ifdim\pgfinnerlinewidth>0pt%
\pgfmathsetlength\pgfutil@tempdimb{.6\pgflinewidth-.4*\pgfinnerlinewidth}%

@JosephWright Esoteric. Thanks!

@JairoA.delRio I'm meaning to implement arrows for l3draw, so I had an idea where to look

2:35 PM
@yo' Just use the English text and put a couple of accents on top -- worked fine for wikipedia theguardian.com/uk-news/2020/aug/26/…

@samcarter_looks_forward_TUG'21 haha. Or take English and remove most vowels ;)

@yo' :)

@yo' do both and nobody will notice :)

@samcarter_looks_forward_TUG'21 :)

@PhelypeOleinik Re. tex.stackexchange.com/questions/596510/… - I think \text_if_single_char:n(TF) or \text_if_single_codepoint:n(TF), as we are not talking tokens

2:47 PM
@JosephWright Ah, right :) char sounds better to me
@JosephWright Fixed the comment

@PhelypeOleinik One to discuss on the team list - we have \char_to_utfviii_bytes:n which takes a Unicode codepoint, but \char_generate:nn only works for the engine range, for example

@JosephWright It would be hard to generate more than the engine range for catcodes other than the trivial ones (for example catcode 1 would give you two begin-group tokens for ä)...
@JosephWright Maybe with the restriction of catcode 12 (or 13 to make the character actually work for typesetting)

@PhelypeOleinik :)
@PhelypeOleinik I've mailed the team list

@JosephWright I think especially the mapping functions are useful for text processing
Mar 4 at 15:48, by Paulo Cereda
@DavidCarlisle you are mean

2:58 PM
@PhelypeOleinik I think you meant to use
Jun 29 '17 at 16:15, by Paulo Cereda
@DavidCarlisle you are not mean :)

@DavidCarlisle ? é is like ä isn't?

@UlrikeFischer Don't trust an Englishman to write proper Unicode ;-)

@UlrikeFischer in French é is the right answer whenever you write è they have multiple accents like have multiple genders for inanimate objects, just to make sure you can never get it right

@PhelypeOleinik I see I should have copy&pasted ;-)

@UlrikeFischer :-)

3:06 PM
@PhelypeOleinik I can write U+0074 U+0065 U+0068

@DavidCarlisle You can do some strange stuff with accents in French. I'm pretty creée is a proper word in French if it is referring to an object of female gender

@DavidCarlisle this stresses the oracle ;-)

@DavidCarlisle But not U+0074 U+0068 U+0065 I'm sure

@daleif my plan was to always use a macron and hope that I was within experimental error of the required slope but that plan wasn't well received.
@UlrikeFischer you need a better oracle, paste U+ notation into the first box at r12a.github.io/app-conversion and click convert:-)
@PhelypeOleinik there are some who argue that NFD ought to be promoted more than NFC (as it is more regular) certainly it is not improper!

3:28 PM
@DavidCarlisle :)
@DavidCarlisle \char_to_nfd:N perhaps ;)

@DavidCarlisle Indeed, but NFD breaks my code, so it's obviously less proper ;-)

@DavidCarlisle Step 1: Promote NFD. Step 2: pdfTeX can no longer read most Unicode input files. Step 3: Everyone switches to LuaTeX... I like your plan.

@MarcelKrüger Step 4: find that luatex support for nfd depends on the mode and the font and the phase of the moon?

1 hour later…
4:56 PM
@yo' yes, that was a mix up on my ends (because it was displayed above some not-so-helpful table google put after the first two results. A place where I'd only expect sponsored links. Upon second investigation I realized that there was no such "Ad" or "sponsored link" disclaimer present (which is why I wrote "Oh, wait, I think the Overleaf links aren't sponsored (no sponsor disclaimer hidden), so I guess it's fourth." afterwards :)
@JosephWright please implement the Stealth arrows in l3draw as default. They look way better :P
2

@Skillmon I'm looking at a few l3draw things - tempted to first tackle the outstanding PDF-based features (shadings, patterns, objects)

5:30 PM
@JosephWright One rapid question: in the xfp (or l3fp? can't remember) it says that the modulo operation is not there, is it (still) true? That could be quite important for the graphic things --- think rotations.
interface3.pdf ^ ^ ^ ^

5:59 PM
By the way, I'm probably the only one, but if anyone else compiles from the dos command line (cmd.exe) I wrote a bash script (well, stole off Stackexchange) to play a random sound file in a folder when your compile is done
As I didn't want to get sick of the same song every time (I still can't listen to the song I used as my wakeup alarm a few years ago, as I hate the first few bars so much), and my compiles can take several minutes if I turn my entire thesis on at once.

6:34 PM
@JosephWright Did you change something about \SI not being able to be used in captions anymore? Suddenly having trouble compiling things

7:00 PM
2
In-game presentation.

7:31 PM
@Canageek peoples most loved bug reports "something doesn't work anymore"

@UlrikeFischer I was guessing it was a deliberate change, but all of a sudden every instance of \SI{45}{\degree} within a \caption gives an error that googling tells me comes from putting something fragile within a caption. Moving to \ang{45} fixes it.

7:43 PM
@Canageek sorry but if you really get such an error you should try to find the cause. It would very unusual for a command of Joseph to break like this.

@UlrikeFischer I'll see if I can do a MWE. It is odd since it is in a chapter I've not touched in months.

7:54 PM
hello
how to do the big braces

8:05 PM
@Vrouvrou \left\{ <stuff> \right\}

@UlrikeFischer OF COURSE it doesn't work in the MWE. Of. Freaking. Course.
So SOMETHING has changed in my thesis since .....last...November or so to break it.

@Canageek look you have a document that errors and one that works, now you only need to go from the one to other ...

@UlrikeFischer My preamble for the one that doesn't work is 500 lines long, not counting the university thesis template. Honestly, moving to \ang{180} was easier. I just thought Joseph might have deliberately changed something, since I've only ever found one bug in his packages, and I seem to be a magnet for them

what is <stuff>?

@Canageek what is the exact error message?

8:14 PM
@Vrouvrou a placeholder for the expression you want to be surrounded by big braces.

@UlrikeFischer ./chapters/ch6/3dprinting.tex:685: Argument of \degree has an extra }.

@Rmano there is an \int_mod:nn function (of course only works for integers...)

@Canageek and what do you get from \show\degree just before the place?

> \degree=\long macro:
#1->\renewcommand {\@degree }{#1}.
l.682 \show\degree

./chapters/ch6/3dprinting.tex:686: Argument of \degree has an extra }.

sounds as if something redefines it. that won't go well in a caption.

8:27 PM
@UlrikeFischer Is there a way to find out what is redefining it?
Like, add a note to the log file if this is redefined?

@Canageek I'd guess your thesis template that uses a macro \degree to set the degree you aim to get with that thesis.

@Canageek place \show\degree in strategic places.

@Canageek do you use any template one can access?

That is it. How did that not show up months ago when I compiled that chapter?

@Canageek no idea :) The only person who could possibly know the answer is you :)

8:29 PM
I must have gone back, and changed 180 degrees to \SI{180}{\degree} at some point without recompiling? o.0
Anyway, that was strange, but I can edit the template to fix that
Or just use \ang{180} since that works fine

2 hours later…
10:17 PM
quack

10:29 PM
@PauloCereda /distinct rabbit sound

10:48 PM
@Skillmon Hi Mr. Rabbit! <3

11:19 PM
@Canageek -- This is just a wild guess, but the problem is showing up in a caption -- a "moving argument". Try putting \protect before \degree. That shouldn't be a problem, but \protect is often a solution for similar looking problems.

@barbarabeeton Someone found it: My thesis template redefines "degree". Switching to \ang{180} fixed the problem.
Given this fact I'm not sure how SI unit works at all but it seems fine except in captions and the table of contents.
(why commands that don't work in captions exist seems a bit silly, but I'm sure there is a technical reason for it dating back to sometime when LaTeX was being typed on punch cards)
checks Ok, TeX is only the SECOND oldest program I use regularly. (Shelx was first written in 1972, and first publicly released in 1976, TeX came out in 1978)

@Canageek -- Glad you found it. It's the redefinition that's the problem. In a "moving argument" (a string that is parsed once, saved, and reused, like a caption, a running head, an index entry ...), some bits are expanded and what's read the second time is not the same as what's read the first, and in the new context, isn't valid. \protect (or \string in ur-TeX) preserves the original form. SI surely uses a protected definition for \degree, which was disabled by the redefinition.
@DavidCarlisle or @egreg could explain it better.

@barbarabeeton That makes sense. And there are times you wouldn't WANT to save the original definition I'm guessing. Probably also a good reason that the caption doesn't automatically protect everything inside it as well?
What I don't get is why if it was redefined....how is it still showing be the degree symbol when it ISN'T inside a caption.

11:43 PM
Dammit
I made two really nice figures in ChemDraw. Then made them into pdfs for use with LaTeX
Now I need to remember how I did that
Since Chemdraw's non-vector output is hot garbage and it doesn't do PDF natively
I think I might have gone through SVG? Or was it postscript. Dammit.