« first day (3592 days earlier)      last day (1637 days later) » 

00:38
@AlexG It's great to have a dvips expert on the team, thanks again.
@AlexG If you have time and feel like it, you could maybe have a look at github.com/pgf-tikz/pgf/issues/690. Somewhere the graphics state and PGF get out of sync, making it impossible to nest pictures.
@AlexG While I don't want to officially support nesting pictures, I also don't want it to fall apart immediately.
@AlexG BTW, I have assumed so far that you agree that I modify and/or redistribute your changes under the terms of the GPLv2 + LPPLv1.3c. Is that correct?
 
6 hours later…
cis
cis
06:58
@VincentMiaEdieVerheyen It is not such a good idea / style, to use several things for tasks like

eso-pic ----> positioning
plain-LaTex ---> v-centering
..... -----> .......


If the super experts ( @DavidCarlisle @Skillmonlikestopanswers.xyz @samcarter_is_at_topanswers.xyz ) do that, pffff .....

It is more elegant to use one uniform method with one uniform syntax from one package: tcolorbox.


Basically somehow like this (I wait for the question on the main page and post the code there, it is simply too voluminous for the chat):
07:22
@HenriMenke Choose whichever license you feel is appropriate, Henri.
yo'
yo'
08:20
@samcarter_is_at_topanswers.xyz @PauloCereda Oh Fubà got some darker hairs now!
cis
cis
08:33
@VincentMiaEdieVerheyen After minor improvements, this is the case on a DIN A4 page with 2cm margins; which is probably useful if the whole thing should be printable.

Without the colored guide lines, the vertical rulers stick directly to the images.


If it is a purely electronic document and page dimensions are unimportant, and if scale = 1 is mandatory for the images, you can change the paperwidth / -height as you have already done in other examples.
@JosephWright did you ever tried to use l3build with miktex?
@UlrikeFischer Not for ages
@UlrikeFischer Full paths show up, I think
@JosephWright that too, I tried l3build check in latex2e and get lots of "script not found" because I made the error when installing miktex at the begin of the year not to remove one space. And l3build install fails with
"\\?\C:\Users\Nililand2020\Documents\OtherGit\latex3\latex2e\base"
CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet.
UNC-Pfade werden nicht unterstützt.
Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.
Hi sorry I need a quick answer to this: tex.stackexchange.com/q/560788/98645
0
Q: Fixing hbox overflow by breaking \href?

rugkSimilar to the URL problem: Forcing linebreaks in \url and URL latex linebreak My links do cause an hbox overflow. However, I have an \href with a local link. Can I force line breaks at any char there, too? Code: \newcommand*{\linkLocal}[1]{\href{run:./#1}{\texttt{#1}}} \newcommand*{\linkLocalNam...

@yo' :D Good point: Fubà is the best proof that ducks and cats can peacefully live together for years!
08:40
How can I force a line-breaking in \href similatr to the solutions for url? I just want to break at all characters.
yo'
yo'
@samcarter_is_at_topanswers.xyz well, saying that Fubà is peaceful is quite an overstatement :)
@yo' Oh? I have only seen cute images of Fubà which looked very peaceful
(@PauloCereda Fubà needs a chat account, @ ping does not work :) )
yo'
yo'
@samcarter_is_at_topanswers.xyz I have spent 10 days in the same house where he lives... Yep he looks peaceful, until he runs away on the roof only to make loud noises :-)
@UlrikeFischer Guess I should check it out
@JosephWright but perhaps better after the release ;-) (I can open an issue at l3build if you want)
08:54
@UlrikeFischer Yes and yes please
@rugk quick answers are much easier with complete examples.
6
09:16
@DavidCarlisle quack
@AlanMunn awwww <3
@DavidCarlisle oh no
@samcarter_is_at_topanswers.xyz awwwww <3
@yo' ooh Fubá :D
@yo' the naughty cat. :D
@samcarter_is_at_topanswers.xyz ooh accounts
@PauloCereda I see, you are working very hard on the ooh-counter :)
@samcarter_is_at_topanswers.xyz ooh the counter :)
@yo' :) maybe this was cat music?
yo'
yo'
09:32
@samcarter_is_at_topanswers.xyz the roof was quite a large drum kit for this size of an animal :)
@yo' I know the problem from baboons running on the roof in Namibia :)
 
2 hours later…
11:36
user image
2
@samcarter_is_at_topanswers.xyz @yo' ^^ Fubá :)
@PauloCereda Oh, totally peaceful - just as I said :)
11:53
@PauloCereda So cute *-*
@PhelypeOleinik <3
yo'
yo'
12:09
@samcarter_is_at_topanswers.xyz but lying on a rooftop. Seems he got super-tired from all the drumming
@yo' drumkat. :)
yo'
yo'
12:27
Is anywhere a list of ways how luatex reports lua errors? I am aware of errors containing "The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored." -- are there any other ones?
yo'
yo'
@samcarter_is_at_topanswers.xyz sounds about right. Just Fubà doesn't need the drumsticks; he's fine with all the flower pots as tools.
@PauloCereda :)
13:03
@yo' for normal lua errors you get this like [\directlua]:1: attempt to perform arithmetic on a string value stack traceback
13:32
@yo' In almost all cases, Lua error go through luatex_error and therefore end up being a fatal memory error which terminates LuaTeX after printing an error containing ` (lua)` (this case is very rare) or they end up being normal TeX errors triggered though normal_warning. In the latter case, the help message will always be "The lua interpreter ran into a problem, so the\nremainder of this lua chunk will be ignored.".
@yo' ah sorry ignore me that was the help text not the error message.
 
1 hour later…
14:55
@cis eso-pic does only provide a picture environment which you can use and a few shorthands to get coordinates. picture is "plain" LaTeX, so why is it bad to position things in "plain" LaTeX with "plain" LaTeX?
15:50
@MarcelKrüger did you see the luatex-cache question? tex.stackexchange.com/q/560861/2388
@UlrikeFischer No, but I get the impression that I've seen this before. Is there an issue about this?
@MarcelKrüger we had once something about concurrent luatex runs, github.com/latex3/luaotfload/issues/157. But I don't think it adapts here, also I can't reproduce this (but it could be because of the dev versions).
16:17
any ideas on how to include a video or gif in a beamer pdf?
I am trying to use the code in this question https://tex.stackexchange.com/q/261657/63097, but I am getting the so annoying
"undefined control sequence", the most annoying latex error ever
Also, if I use the first code in this answer tex.stackexchange.com/a/270891/63097, I only get a play button, but nothing starts
pdf is a vector-based file... can we play videos in pdfs?
using this code tex.stackexchange.com/a/240247/63097 nothing starts
I see a bunch of images
I wanted the gif to automatically start
@nbro It will automatically start if in presentation mode of a suitable viewer, e.g. adobe reader
I am on a mac
I am using preview
suggestions?
I also want to resize the gif so that it doesn't occupy all the slide
@nbro Preview, as a significant bunch of PDF viewers, probably won't support most of the advanced features. You'd probably have more luck with Adobe viewers.
@nbro why is undefined control sequence annoying? it's one of the easier errors to understand, you simply used a command that is not defined.
16:55
any free solution for mac to view gifs?
@nbro I don't think any pdf viewer can show animated gif can it? don't you always have to expand it out to separate images then include them all with a pdf animation?
Anonymous
@cis I see. Thank you! Got back from work now (and currently in chinese class), so that's why the late reply :)
Anonymous
*replies, will add more later
Anonymous
Would be very interested to look at your code. My current code is:
Anonymous
\documentclass[a4paper, landscape]{article}
\usepackage[margin=0cm, showframe=false]{geometry}
\geometry{paperwidth=15cm, paperheight=30cm}
\usepackage{mwe} % Dummy images

\usepackage{comment}

\usepackage[skins]{tcolorbox}
\tcbuselibrary{raster}

\usepackage{eso-pic}
\newcommand\myvhcenter[1]
{%
\begingroup
\sbox0{#1}%
\raise.5\dimexpr\dp0-\ht0\relax\hbox to 0pt{\hss\usebox0\hss}%
\endgroup
}
\newcommand\myhcenter[1]{\makebox[0pt][c]{#1}}

\usepackage{tikz}
\usepackage{tikzpagenodes} % current page text area.center
Anonymous
17:10
But in fact, I think that it would make more sense to have a set of rulers around each image, instead of combining two pictures inside a set of rulers, what are your thoughts?
Anonymous
I discussed this a bit with my gf and we feel that, the less space next to your object, before the rulers begin, the better you can compare distances, for example imagine an object that is not high on the left, but high on the right,
Anonymous
then it would be best to see a ruler on the right side as well, right next to it
Anonymous
@cis Shall I post a new OP for that idea, to have only 1 picture inside each set of rulers,
for each of the two pictures on the page, so you can post your improved code there?
@nbro As an option, you could convert .gif to .mp4 and use the media4svg package . I think it's the most portable without relying on Acrobat :)
@UlrikeFischer Actually github.com/latex3/luaotfload/issues/40 is the one I was thinking about: Some complication when the font is found in multiple paths which I was never able to reproduce.
17:27
@MarcelKrüger it looks more like a rounding/random number problem. The numbers the op showed reminded me of some feynman diagrams which switched forth and back.
yo'
yo'
17:53
@MarcelKrüger Thanks, this is useful. I think we're fine in the case directlua crashes (but we still should test that), and it's useful to know that the non-fatal errors should have the standard help message. (Recently a bug report for Overleaf was filed that we do not treat lua errors as errors and we show green, which is not good.)
Still, if there was a way how to reliably triger a fatal lua error, that would be great for testing. Does anyone have any code that does this, please? Would be greatly appreciated.
Anonymous
Hi @cis I have posted a question on the main page here:

https://tex.stackexchange.com/questions/560883/automated-ruler-how-to-have-one-set-of-rulers-around-each-picture-2-pictures

Would be great if you could show your new optimised code there, and would be great if it could have 1 set of rulers per picture.
Anonymous
@Skillmonlikestopanswers.xyz @Skillmonlikestopanswers.xyz Can you post this line of code of yours here as an answer? just for documentation purposes ... will be useful for me and others at some point tex.stackexchange.com/questions/560885/…
Anonymous
@PabloGonzálezL I wonder whether or not an svg can be posted in a facebook group, which is where some handy (geology/paleontology) identification groups are. I feel the .gifs can not be in high resolution, nor full-screen, in these groups.
18:10
@yo' I don't think that there is code to do that reliably, Lua tries to avoid such fatal error whenever possible. (Basically they are only triggered if Lua either determined or suspects that the remeining memory isn't even enough to build a proper error message.) Especially since under Linux, processes trying to allocate too much memory normally get killed, it's not easy to trigger.
@UlrikeFischer I see what you mean, but I don't see where any non-deterministic behavior would get introduced in the math kern system. Maybe a full diff will show what's going on.
ooh an upcoming surprise
yo'
yo'
@MarcelKrüger ah thanks, this means we don't really have to worry about it. Thanks again, much helpful and appreciated!
@PauloCereda surprises are not surprising if you pre-announce them
@PauloCereda nobody expects the Spanish inquisition
@DavidCarlisle oh no
@DavidCarlisle oh no
18:25
@VincentMiaEdieVerheyen As you already have the original images in high definition and you have already added the rules for the different views, I would move from .gif' to .mp4' format and upload that (it is more less what I do when I show a geometric construction with ruler and compass, an animated pdf and a video for those who only have a mobile phone)
@yo' wasn't the issue reported here by @MarcelKrüger?:
Aug 27 at 14:28, by Marcel Krüger
@yo' Have you seen https://tex.stackexchange.com/questions/560286/why-is-directlua-broken ? The actual issue is that the Lua code is broken, but Overleaf's logfile parser doesn't pick up the error message, given the misleading impression that everything works. (IMO Overleaf gives that impression anyway, but in this case it is not visible even if you actively look into the error list.)
yo'
yo'
@DavidCarlisle ah well, that's quite right (who shall I blame for this? :D ) I made note only about the (now deleted) Q, but not about his comment.
@yo' lua font issue, clearly blame @UlrikeFischer
18:42
@VincentMiaEdieVerheyen done (and added LaTeX-style top alignment with \raisebox instead of TeX's \raise).
Anonymous
@PabloGonzálezL Can you show me an example of what you make? just curious
Anonymous
@Skillmonlikestopanswers.xyz Thanks. I know there were some other snippets you wrote, answers some other small questions ... difficult to find them in the chat ... we should try to open questions on the site.
Anonymous
Once I found a button that I think showed all history you had with a person in a chatroom?
@VincentMiaEdieVerheyen In general I create, image by image, using beamer and \pause, then I separate the file with gs and include it in my main document (master) using the animate package, at the same time I use gs to pass everything to .png and then fmpeg to create .mp4
Anonymous
19:02
@PabloGonzálezL But I mean can you show me the endresult of the things with the compass or ruler
Anonymous
I am curious about the context/content
19:38
@nbro Like @PauloCereda already said, preview won't do it. However you can use adobe reader on mac, this works fine
@VincentMiaEdieVerheyen If you are looking for an example how to convert pdf to mp4, I'm usually using a workflow like this: github.com/samcarter/Extravaganza2019/blob/master/samcarter/…
19:58
@PabloGonzálezL And can I visualize a mp4 in a pdf? can you provide an example?
@DavidCarlisle Well, yes, I think so. The solutions I've seen suggest us to convert the gif to png images... that's what I did actually, but that still doesn't make the images animated
So, there is no way of showing an animation with preview?
adobe reader is not free, right?
@nbro neither is mac, right?
on a mac, I am on a mac
@nbro a png can not be animated you need to animate them from the pdf which only works with certain viewers or make them into a video mp4 and embed that
20:03
@DavidCarlisle Actually, I already have a video, an mp4
but can I display a video with Mac's preview ?
@nbro no, use adober reader
@nbro no idea, but more chance of that than a gif, but do you really need to embed it, why not just link to it?
I want to show a short video during my presentation
just to give the audience a better idea of what I mean
@nbro yes and why does it need to be embedded in the file?
@nbro sure but why inside a pdf? Simply add a link and play the file with whatever app on your mac plays videos.
20:05
@DavidCarlisle well, are you suggesting that I quit the preview program and show the video separately?
this is supposed to be the presentation of my thesis
so I don't think this is a great idea
@nbro even a mac can run more than one program at once, you don't need to quit anything just make a link that opens the video, play that then continue
2
that would break the flow
@nbro You don't need to quit preview. Add a link which will open the vide
@nbro I can not see why not, Apart from anything else it will work, which is better than not working.
true
20:07
@nbro Using adobe reader won't break the flow (and also works better with many presenters, which will have a problem with preview)
what about powerpoint? maybe it's better I use power point
ok, I will try to install adobe reader, if free
@nbro not free, but without cost
what does that mean more exactly?
@nbro it is not open source, so not free in that sense
@nbro it is not free software in the sense of the free software foundation (open source, freedom to modify) but it is available at no cost
20:12
ha, well, the important thing is that they don't collect my browser history and passwords lol
at least for this purpose
cis
cis
@Skillmonlikestopanswers.xyz
It's not fundamentally bad.
I'm just saying: If you are using a package (tcolorbox) that can do all these things anyway, it makes more sense to stay in this package and use its tools. In contrast to a mix of different methods, different packages.
@cis Sometimes a sledgehammer is not the right tool to crack a nut. It is like people eating everything with a spoon (I know some of these) but sometimes it is the right choice to use a fork or a knife. tcolorbox may be your spoon but don't expect to get concise and readable code out of it if you use it for tasks it is not indented for where other packages will be fork and knife for the task which may even be "plain LaTeX".
how do I start a "presentation mode" in a acrobat readeR?
@nbro by looking in the menu (view probably in english).
ha
there's full screen mode
right, thanks
20:25
Hans' latest announcement on the ConTeXt mailing list outlines the important steps in ConTeXt progress :D
“In order to keep the 'context is good for toy math' reputation up to date, in lmtx we can now have proper discretionaries in math and math in discretionaries. The kind of things no one asks for but they might be useful in educational settings. ”
Is it possible only to show the notes of the pdf only to me in acrobat reader even if I will be sharing my screen to that advisor, etc., given that the presentation will be online
don't know if it suits my current need though
@nbro the beamer documentation contains some remarks about notes on a second screen.
21:11
@nbro Ctrl-L
and what is the best way to include a video in a pdf to visualise it with acrobat reader
the problem is that I would like to visualise videos and have notes that are not displayed to the audience
pdfpc.github.io apparently can do it
yo'
yo'
@nbro Alt+Tab to the VLC Player.
@nbro print the notes separately and have them on a (paper) clipboard with you for the talk
well, but if I have them on paper them they will notice I am sometimes reading
it will be an online presentation
but they will see me maybe?
I don't know, actually
cis
cis
How to set a "color-background" at an answer on the main-page?
....
...
@nbro Don't use notes during the presentation. They are nice as preparation, but not so much if the presenter reads from them. This is often distracting and they could make a much better presentation without
cis
cis
21:21
46 secs ago, by cis
How to set a "color-background" at an answer on the main-page?
There was such a yellow frame .... ?
@samcarter_is_at_topanswers.xyz This is just in case I forget something or I am nervous, i.e. some last resource
I typically don't read from notes
@cis The yellow background is gone, but there are user script to restore them
cis
cis
@samcarter_is_at_topanswers.xyz Can you say me how to do?
.... what? ....
[![enter image description here][3]][3]
... what? ...
---->

[![enter image description here][3]][3]
with background color
@cis Found this somewhere on main meta, don't remember where exactly:
// ==UserScript==
// @name         Revert quote background color
// @namespace    aryanbeezadhur.com
// @version      0.7
// @description  Stack Exchange userscript to revert the quote background from white to yellow
// @author       Aryan Beezadhur
// @match          *://*.stackoverflow.com/questions/*
// @match          *://superuser.com/questions/*
// @match          *://meta.superuser.com/questions/*
// @match          *://serverfault.com/questions/*
// @match          *://meta.serverfault.com/questions/*
with this script, block quotes are yellow again
cis
cis
@samcarter_is_at_topanswers.xyz oha, i'll never get how to use that.
@cis I didn't mix different packages. I used only one. And if the new dev-format was already the main format I wouldn't need any package at all.
cis
cis
@samcarter_is_at_topanswers.xyz Ok, thanks but that's too complicated for me. I just have the problem that sample images ("white page") are not delimited on the white background of the main page.
@cis Sure, that is a flaw in the new blockquote design. This also destroyed my answer tex.stackexchange.com/questions/469953/… :(
cis
cis
@samcarter_is_at_topanswers.xyz I am TeXer, so I will use \pagecolor{lightgray!22} :)
21:48
@cis Not with tcolorbox? I'm surprised :)
cis
cis
@samcarter_is_at_topanswers.xyz tcolorbox does the positioning tasks, it's layouts will be disabled.
@VincentMiaEdieVerheyen @VincentMiaEdieVerheyen See here:
0
A: Automated ruler - how to have one set of rulers around each picture, 2 pictures side by side on a page

cisThe following uses tcolorbox (which based widly on TikZ) for all positioning tasks (no further packages are required here) and TikZ for the ruler-annotations. First: The unitlength \u should be determined like here. The method is based on to measure the dimensions of the raster boxes and thus to ...

Should there not be a common x-ruler for both images, but two separate ones for the two images, the method is exactly the same, only some coordinates has to be changed.
22:13
Why does this code does not center me the picture at the center of the slide?
```
\begin{tikzpicture}
\node[anchor=center, inner sep=0] at (current page.center) {\includegraphics[width=0.4\textwidth]{figures/robot1.jpg}};
\end{tikzpicture}
```
I just wrapped it in a figure env and now it is centered
weird
@nbro (current page.center) needs [remember picture].
cis
cis
22:37
@nbro @nbro (current page.center) needs [remember picture, overlay]
I am trying now to draw an arrow on top of an image with the code above but inside a figure
if I use
\draw[->] (10, 10) -- (20,20) node[above] {axe de $s$};
It moves the figure
I don't want the picture to be moved
I want to label certain parts of the picture
how can I do that?
I am using this code
```
\begin{figure}

\begin{tikzpicture}
\node[anchor=center, inner sep=0] at (current page.center) {\includegraphics[width=0.4\textwidth]{figures/robot.jpg}};
\draw[->] (10, 10) -- (20,20) node[above] {axe de $s$};
\end{tikzpicture}
\end{figure}
```
cis
cis
Because this not runable, I can't doing tests and experiments.
But flat-rate: use [overlay] if you dont want sth. to have shift-effects.
I think the problem was
(current page.center)
I added (0, 0)
actually, no, the problem still persistss
cis
cis
@nbro Whatever
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{backgrounds}
\begin{document}
\begin{figure}
\begin{tikzpicture}[%framed,
remember picture, overlay,
shift={(current page.center)}
]
\node[anchor=center, inner sep=0] at (0,0)% <--
 {\includegraphics[width=0.4\textwidth]{example-image}};
\draw[->] (0, 0) -- (2,2) node[above] {axe de $s$};
\end{tikzpicture}
\end{figure}
\end{document}
@nbro Another method putting (maybe non-TikZ-) content to the page center basing on tcolorbox is given here :()
0
A: Vertically centering a tcolorbox on a page

cisFor vertically centering of a tcolorbox on a page you can put the tcolorbox into another tcolorbox, which is as big as the page. Then use valign=center, halign=center \documentclass[12pt]{article} \usepackage[showframe=true, % <--- setto false paper=letterpaper, margin=2cm, ]{geometry} \usepac...


« first day (3592 days earlier)      last day (1637 days later) »