« first day (4092 days earlier)      last day (773 days later) » 

4:35 AM
huh… if I put a minipage and a parbox with identical parameters into a colorbox (width is something like 135mm - 2\fboxsep using the calc package), the minipage is slightly wider, how come?
5:11 AM
@BAYMAX tried qpdf --qdf --stream-data=uncompress?
2 hours later…
6:53 AM
@PauloCereda Happy rubber duck day!
7:37 AM
@CarLaTeX ooh!
8:05 AM
user image
Happy Rubber Ducky Day!

Bär reminds everybody of his qualities as a fashion designer and the possibilities of the Bearwear package.
@CarLaTeX ^^^^
@mirabilos I would guess, user error adding space tokens?
@UlrikeFischer x-ray showing consumed lunch?
@UlrikeFischer ooh
8:24 AM
firefox doesn't work:(
@DavidCarlisle ???
@JosephWright I got upgraded to 98 and now trying to open any tab makes it spin forever, in fairness the "about" version banner does advertise "nightly is experimental and may be unstable", but had to switch to chrome this morning.
9:00 AM
@DavidCarlisle hey, it's happening for me too on 95.0.1 this morning. Had to kill and restart several time.
So it's something network-related
@DavidCarlisle this says that it helps to disable the collection and sending of error data: chip.de/news/… @Rmano
@UlrikeFischer it seems it's working again...
9:21 AM
@UlrikeFischer das scheint zu funktionieren
@DavidCarlisle gut ;-)
@UlrikeFischer jetzt alle Makros der Form \yyyyy :(
@DavidCarlisle ich könnte einen Kurs anbieten, "wo ist das z?"
@UlrikeFischer ich würde mich anmelden
9:45 AM
@UlrikeFischer you could also sell a special keyboard with z at a nice accessible location :)
@samcarter nice idea, it could be quite small, two keys for z and Z should be enough.
@UlrikeFischer The perfect hardware: three keys with exchangeable covers and programmable keys stackoverflow.blog/2021/03/31/the-key-copy-paste
@samcarter you beat me for 3 seconds ;-)
@Rmano sorry!
@samcarter 😂😂😂
9:49 AM
@UlrikeFischer I propose to use the third key for inserting ducks
@samcarter It would be nice to relabel the Windows-key to Duck-key with a nice cover... duck-b seems better that windows-b (or whatever ;-), b seems appropriate).
@Rmano everything is better than a windows key :)
10:12 AM
@samcarter 'Flag' or 'Special' :)
@JosephWright Ulrike has the perfect duck for a flag key: github.com/TikZlings/Extravaganza2021/blob/main/ulrike/…
10:31 AM
Now to write about how to create package options with the new code ...
^^^ where is easybook?
@samcarter Gerd had to restart the server for me ... perhaps that nixed easybook's uploads :)
@JosephWright Ohh, @JosephWright the dragon easybook slayer
11:08 AM
@UlrikeFischer Very elegant!
2 hours later…
1:13 PM
Dear TeX-experts, can I ask you if there is way to debug file paths for images in LaTeX? I would like to make a slide show with tifs, I found code to convert them to pngs and using the option --shell-escape with pdflatex. If the tif-file is in the same folder, it works. If it is outside and on a different level, it does not work. Also the very long file path contains white space. Thank you
@Gudrun I would avoid --shell-escape. Convert the tifs before using them. Much simpler and safer.
Hallo Ulrike. Okay, then I go and convert them to png with convert. Let me see, if this solves the path problem! thank you :-)
1:59 PM
@samcarter Another day, another release: github.com/josephwright/siunitx/releases
@JosephWright Are you winning the "most releases per year" contest?
an apple update a day keeps the doctor away
so what's the current forecast: will 3.1 or 3.0.100 be the winner to get the big party?
2:16 PM
@samcarter 3.1.0: once I've finished with TLC3 stuff for Frank, I'll be starting on new features for siunitx
@samcarter I have to look at gitinfo(2) first for .. reasons
@JosephWright yeah!
2:35 PM
@samcarter I have to sort something about the new approach to option handling first ...
3:03 PM
@JosephWright ooh where's semantic versioning :)
@JosephWright oh :(
Looks like I cannot convert the tifs with imagemagic commands. I guess I have to use PowerPoint or similar to make a slideshow.
@Gudrun If you managed to convert them with pdflatex + shell-escape than it should be possible directly too. pdflatex doesn't add special magic here.
@Gudrun how did you include the tifs in pdflatex if not using omage magic convert?
That is a very good observation, @UlrikeFischer
@DavidCarlisle so slow
3:50 PM
For the moment the .tif has to be in the same folder as the .tex. I am able to convert it with --shell-escape to a png.
I found on texstackexchange:
\epstopdfDeclareGraphicsRule{.tif}{png}{.png}{convert #1 \OutputFile}

and in my beamer document:

\includegraphics[height=0.8\textheight, keepaspectratio]{6720B2_019.tif}
\caption{Transition zone}
But convert 6720B2_019.tif x.png gives convert: Not a TIFF or MDI file, bad magic number 28514 (0x6f62). 6720B2_019.tif' @ error/tiff.c/TIFFErrors/599.` And I updated imagemagick via homebrew today.
I mean with the convert on its own in the terminal in the last section
The terminal command convert is from /usr/local/bin/convert
@Gudrun are you on a mac?
@Gudrun Try to open the tif in preview and then save in an image format of your choice
And the convert is the ImageMagick convert, I checked via the manual with man convert.
That worked, I converted it with preview to pdf.
@Gudrun :thumbsup:
3:59 PM
But convert did its job now in the command line. I changed the folder.
There is now an x.png.
@Gudrun so you can conver the tif using imagemagic just use the same command on the commandline as you were getting pdflatex to do.
My idea was to create a overview slideshow with the images that are located in different folders than the tex file, but the paths have always white space. I don't know how to do it best. Should I create alias or symbolic links to a subfolder where the .tex file ? I could in this folder perform the conversion of the tifs to png and then linke them into the .tex file.
@DavidCarlisle Yes, it seems so, but convert gives a warning in the terminal, convert: Unknown field with tag 34682 (0x877a) encountered. TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/959.` But it does the job. x.png appears.
and so does the .png from the shell - escape latex.
@Gudrun tiff is a weird format it's basically a container for all kinds of stuff so it's not that unusual to find tiff that give warnings or don't convert. Or at least it used to be not unusual I haven't seen a tiff file for decades now:-)
@Gudrun pdflatex has no part in that at all it is just literally using the command that you specify in an internal shell just as if you typed it on the commandline
That is what the microscope software provides :-) Thank you for your explanation.
Do you have maybe a good advice how to deal with the paths, please?
I don't want to do this in Keynotes, because it is so click intensiv.

Re pdflatex: Yes, I understand! That is very logical. I think you also commented on this tex stackexchange issue. :-)
But shell-escape has to be used to be able to execute the code?
If you pre-convert then spaces in paths should not be a problem at all \includegraphics{/path to/a folder with spaces/image1.png} should work fine.
4:08 PM
Ah this is so complicated, maybe I try again with "path / to / a folder"?
@Gudrun yes but avoid that on any document that you need to share with anyone, never run pdflatex --shell-escape on some random document you copied from the internet, it could do anything on your machine that you can do. Delete all your files, forward all your mail to another person, ...
Re 'shell-escape': Upps, this sounds like a security issue. I won't use it.
@Gudrun well of course, that's why it is disabled by default.
Thank you for telling me this. I did not know it.
Could I also ask something else, please?
@Gudrun it is of course no different to other programs you might copy, if I give you a shell script for mac or linux or a bat file for windows, they can also run arbitrary commands but then it is more obvious that you are runing a command. If you use pdflatex --shell-escape then that is exactly the same (no worse, just the same)
4:11 PM
When my .tex is in one folder, but the images would be in a different location and not below the tex file folder's location, and the paths have space, is there a way to work with \graphicspath{}, please? For example, one part of the path-to-image is in graphicspath and the rest is in \includegraphics{/rest/path /to /image} ?
@Gudrun unless you have an old latex, spaces should not need any special handling
@DavidCarlisle Yes, true. Obviously, I did not know the full truth of --shell-escape.
pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2021)
@Gudrun so fine spaces should be handled without you doing anything special
Maybe it is easier to collect all images in a subfolder to the tex-file via symbolic link and covert them there to png.
re spaces
@Gudrun spaces in filenames are evil. (But latex now goes to some effort to make them work anyway)
4:15 PM
yes, I know, normally I avoid them ...
but I fear when I change them now, it blows up other stuff :D
I love LaTeX ! Juhu
but there is still in my case the conversion problem :-)
@Gudrun png is one of the worst formats to use with LaTeX regarding compile times. Use PDF for vector graphics or JPG for raster graphics. Both can be included without further conversion.
Should I better convert to pdf? I don't mind at all
@Gudrun why do you have a problem? (if you ignore the warning)
Because all the tif files are in other folders and they are all tif, because they are all microscope images.
@Gudrun pdf (or jpg) would be faster to include into pdflatex, but unlikely tpo make much difference unless you hav ethousands of them
4:18 PM
Ulrike said I should convert outside running pdflatex.
@Gudrun yes but a couple of lines of shell script will convert them all to png so why dpes it matter?
I did also not know about png. I sometimes saved images to png as I thought it is better for my TeX document. I will never do this again, but opt for jpg or pdf. Thank you.
@DavidCarlisle Because they are all in different folders distributed.
and maybe it is easier to link them into one image folder location, convert them there, and then I have to deal with only one path to all images.
talking of running code copied off the internet but something like find . -name \*.tif -exec convert \{\} \{\}.png \; (untested) will convert any tif file at any folder below the current directory
Halleluja, after two hybrid meetings with awfully bad sound, the third meeting of the day finally has understandable sound! yeah!
Thank you, but I have really a lot of them, 500. No need to convert them all, but I save your command.
4:21 PM
@samcarter two in German and one in English?
@Gudrun shrug you might find a single command to convert them all is easier to type than running multiple commands just on the ones you want, so it's a bit of compute time and disk space but...
:-) Does language matter or better to have headphones?
@DavidCarlisle the other way round :) However the audio quality seems more related to the speaker having an actual microphone instead of just a laptop somewhere in the room...
@DavidCarlisle Yeap, currently I am running low on diskspace as well. Sorry. But I can convert also linked files with one command. Could be a compromise.
@Gudrun spaces in filenames are bad, spaces between words are good, but German is sadly lacking there:-)
@Gudrun The input device is different :)
4:24 PM
@Samcarter: Does a cheap microphone on earphones not help already?
"spaces between words are good, but German is sadly lacking there:-)" Does it? You mean when I would write Streichholzschachtel as one word?
@Gudrun the problem is: if you are just listening remotely, there is not much you can do to improve the setup of the speaker
The part that causing the white space problem is to some extend the One Drive - Uni name. :( But nevermind. I can link all the images now happily thanks to your help in a nice beamer slide show!!!!
@samcarter: True, but when I speak, I have my headphone with microphone on :-)
So I try to think of my audience.
I have to change the location. Thank you so much for your help! I wish you a good remaining day.
@Gudrun That's nice of you! For online-only talks, things usually works well. The speaker either using a microphone or were close enough to their computer to be understandable. But now that hybrid meetings are en vogue, things are much worse :(
@Gudrun Have a good day, too!
@samcarter Thank you. You are right, I hope unis/speakers will invest in portable microphones.
@DavidCarlisle about:config, disable network.http.http3.enabled
@UlrikeFischer and @egreg your tex.stackexchange.com/a/130142/43807 works fine for me, aligning the last page to 48, except the PDF now has 54 pages because the numbering (according to Okular) goes 1, 2, 1, 2, i, ii, 1, 2, 3, 4, …
so \the\c@page does not seem to be the right page number to use…
:60136661 hmm, might be, but the setup is:

 \put(0mm,-234mm){\transparent{.898}\colorbox{AlekSIStransp}{\transparent{1}%  ← indented 1 space
\begin{minipage}[t][50mm][c]{135mm - 2\fboxsep}
% ↑ not indented
  % content here, indented 2 spaces
% ↓ not indented
 }% ← indented 1 space again
I’m not too sure if I should add % to the end of the \begin/\end as well, I think that broke something when I did it once, but I am adding it to the end of all the other lines
4:41 PM
@mirabilos ah thanks
@mirabilos so you are adding a space after every minipage
@mirabilos you are using calc package? (otherwise 135mm - 2\fboxsep is an error)
@mirabilos colorbox is like fbox and a minipage or parbox is like a big letter, and \fbox{x } is wider than \fbox{x}
yes, using calc
back to the page numbers problem, when I use \theps@count via tex.stackexchange.com/a/150832/43807 latexmk aborts in the first run with undefined references :(
as for the minipage vs parbox problem, I changed the one where the millimetres did matter to parbox (luckily I could)
@DavidCarlisle ouch ok, so, should I append % after \end{minipage} or does that fail or does that not help and I should just not indent things?
@mirabilos yes well either don't add the space or if you want to add it, comment it out.
@DavidCarlisle ok thanks
any idea how I can get the absolute page number?


\fbox{x }



@mirabilos ^^
@mirabilos If you have a recent latex then latex maintains an absolute page count @UlrikeFischer will remember the counter name:-)
@DavidCarlisle recent as in Debian 11 “bullseye”, texlive-latex-base 2020.20210202-3
and (I asked) I can rely on that in the eventual build env
(for the spaces explanation) thanks❣
4:56 PM
@DavidCarlisle they are documented in ltshipout
@JavierBezos ooh documentation, Ulrike will be pleased:-) — David Carlisle 21 hours ago
@UlrikeFischer \ReadonlyShipoutCounter ?
@mirabilos or the next one, depends on your use case.
so, directly after a \clearpage (but not inside an \AddToShipoutPictureFG* or something), it contains the page number of the previous page?
the next one can be changed by user code, which I need to avoid
(end goal is to insert enough empty pages before the last one so that the last one is a multiple of 4, for booklet printing, the last one is the back cover)
@DavidCarlisle I am pleased ;-) But patterns are not necessarly loaded only at format creation, if the user is using polyglossia they perhaps use lualatex.
5:01 PM
@UlrikeFischer yes sure I was careful to add "if xetex" in some (hopefully all) relevant places
5:26 PM
this works!

% clear 1‥4 pages for the back cover
\null\clearpage% force one to be empty for inner back cover
% align outer back cover to multiple of 4
% from https://tex.stackexchange.com/a/130142/43807
% \the\c@page is the current page number but can be reset
% cf. https://tex.stackexchange.com/a/150832/43807
% \theps@count would be an absolute page number but adding
% the pagesel package breaks the build with undefined refs
% https://chat.stackexchange.com/transcript/message/60142085#60142085
@UlrikeFischer might want to update the answer in tex.stackexchange.com/a/130142/43807 accordingly
and ❦ to all you helpful people, without whom I’d have given up on Tₑχ/LᴬTᴇΧ long ago
5:47 PM
@mirabilos why should I change the answer? As far as I can see it is still valid and does what it claims to do.
6:40 PM
@Rmano Thanks for taking care of the axis lines = center question.
@Rmano BTW, you are cordially invited to the PGF/TikZ Matrix chat matrix.to/#/#pgf-tikz:matrix.org
@Rmano You can also put this in the circuitikz README if you wan to provide some casual support for circuitikz users over there.
@Rmano And of course you can notify us, when our updates to PGF break circuitikz again :)
@HenriMenke thanks! I have little time on my hands now, but I thought to have a look at the matrix ;-).
@Rmano Wait, you are already in our Matrix chat.
Even better.
Feel free to advertise it on the circuitikz README. Maybe this will attract some users for informal discussion.
@HenriMenke Ok, will do! (Yes, I did log-in before Christmas to have a look, I think)
3 hours later…
10:03 PM
Hey, quick question. I'm drawing a tikz diagram and simply want an arrow from one node to another. This is all fine and good, but for some reason when addressing the starting node with Pi.north west instead of just Pi the arrow becomes a double arrow <->... Does someone happen to know why and/or how I can fix it?
Ahh, nevermind! The "trick" is to use \path instead of \draw.... :^)
10:22 PM
@UlrikeFischer it only does what it claims to if nothing resets page numbers in the midst
do you think I should put the change as different answer then? I don’t want to steal credits…
10:34 PM
@mirabilos well nothing in the example reset page numbers, and imho it is rather odd to do it in an article. If you want to add an answer do it.
@UlrikeFischer yeah, I’m dealing with Sphinx docs here 🤮 the things you do for friendly FOSS projects…
will do

« first day (4092 days earlier)      last day (773 days later) »