« first day (3097 days earlier)      last day (1829 days later) » 

2:25 AM
@HenriMenke, I see that beamer shadings (e.g., this question) are completely broken with current pgf (independent of my colour space work). Is this to do with issue #650?
 
 
1 hour later…
3:43 AM
@DavidPurton Which PGF version? 3.1.2 or 3.1.1?
 
4:04 AM
@HenriMenke hmmm. Actually, I can't get that question to compile with any version. (I was testing with github master version). I'm sure it used to work when I answered it.
Actually, it does work with my main installation. Which is running 3.1.1. But if I run from the git version after checkout 3.1.1 it gives errors. Maybe something else is wrong.
 
5:05 AM
@HenriMenke It's something to do with running the development version of pgf with the usertree option of TeXLive. If I git checkout 3.1.1 and add \listfiles then I get exactly the same set of files used, except the usertree case fails to compile. Although there seems to be differences between pgf in my main TeX tree and the git 3.1.1 tag… (pgfint.code.tex is missing on my machine for instance)
 
5:16 AM
@HenriMenke. Ah, forget that. Something was wrong with one of the git repos on my machine... It works for 3.1.1 but not for 3.1.2. I'll bisect.
 
5:27 AM
@HenriMenke It breaks at commit 55cc7bca or 35097122 (take your pick). So I guess it is the same as Issue #650.
 
6:12 AM
@DavidPurton Then I must have forgotten a \global in github.com/pgf-tikz/pgf/commit/…
 
6:31 AM
@HenriMenke I'm not sure if it is the right decision to make shadings local. It seems to make things more complicated (to smuggle code out of groups) with not much gain.
 
6:46 AM
@JosephWright I know. I was answering a question (tex.stackexchange.com/a/486207/2388) and simply wondered if I can do it with expl3 driver code too. Clipping worked fine but then I couldn't add the box. But I now tried with l3draw too, and here I have problems with the clipping. What is wrong in my code? The "driver" version works fine.
\documentclass{article}
\usepackage{l3draw}
\usepackage{graphicx}
\begin{document}
\ExplSyntaxOn
\noindent
\draw_begin:

\draw_path_moveto:n{0cm,0cm}
\draw_path_lineto:n{0cm,4cm}
\draw_path_lineto:n{4cm,0cm}
\draw_path_close:
\draw_path_use_clear:n{clip}

\draw_path_moveto:n{0cm,0cm}
\draw_path_lineto:n{0cm,4cm}
\draw_path_lineto:n{4cm,4cm}
\draw_path_lineto:n{4cm,0cm}
\draw_path_close:
\draw_color_fill:n{red}
\draw_path_use:n{fill}

\draw_end:

\driver_draw_begin:

\driver_draw_moveto:nn{0cm}{0cm}
 
7:10 AM
@UlrikeFischer OK, I think the issue is I need to adjust \draw_path_use:n. Looking back at the code, I tried to avoid repeated code for e.g. clipping and non-clipping routes, but I think what is happening is not all of the path/clip/fill info is in the right order. I'll check against pgf.
 
7:23 AM
@JosephWright you mean I found a bug?
 
@UlrikeFischer Yes, looks that way, at least one ... I have an issue if I fix the first one as then the driver clipping is odd
@UlrikeFischer Got it: two bugs. One easy to sort, one more tricky
 
7:56 AM
@JosephWright Ah. Ok then while I'm at it: This code gives a pdfTeX warning: pdflatex.exe: Misplaced \pdfrestore by (0sp, 11606383sp) message. The warning disappears if I use \draw_begin:/\draw_end: (or put all the stuff e.g. in some \hbox). Is that meant to happen?
\documentclass{article}
\usepackage{l3draw}
\usepackage{graphicx}
\begin{document}
\ExplSyntaxOn
\newsavebox\mybox
\savebox\mybox{\includegraphics[width=10cm]{example-image-duck}}

\vspace*{10cm}
%\draw_begin:
\driver_draw_begin:
\driver_draw_moveto:nn{0cm}{0cm}
\driver_draw_box_use:Nnnnn \mybox{1}{0}{0}{1}
\driver_draw_end:
%\draw_end:
\ExplSyntaxOff
\end{document}
 
8:32 AM
@UlrikeFischer The driver functions just do the minimal set up. In particular, they don't box up the content. If you read \draw_begin:/\draw_end: you'll see we grab everything in a box which ends up being shifted around to avoid any displacement of box
 
@JosephWright Yes I got this. I only wondered if the "misplaced \pdfrestore" without a surrounding box points to some problem in the \driver_draw_box_use code.
 
@UlrikeFischer The whole 'insert a box inside a drawing' business is tricky. I think for pdfTeX I just used Till's code: let me check
@UlrikeFischer For dvips I've got a different set up to Till
@UlrikeFischer Back with the idea that the driver code is the minimal abstraction for the system-dependent parts. \driver_draw_box_use:Nnnnn just does the insertion and setting the graphic state. In \draw_box_use:N we deal with making the box zero-sized, which is a common issue for all routes (so doesn't belong in the driver module)
 
@JosephWright ok. This means that one shouldn't use the \driver commands outside a box right?
 
8:48 AM
@UlrikeFischer We are back with the problem that ideally I'd have the driver code as non-public. But then we have to split it per-module it supports. I think, on balance, we don't want to go that way ... but I could be convinced otherwise
@UlrikeFischer Like I said, you really have to know what you are doing with them. The box one, yes, needs to be inside an hbox of zero size
@UlrikeFischer I felt that \__draw_driver_..., \__box_driver_..., etc. was making life tricky (particularly when you get to basic concepts like \special). But perhaps this is not best (@DavidCarlisle, @egreg?)
 
@JosephWright would it be abuse to make it a public module but harder to type than \driver_ say \!driver_ so it wouldn't be accessible to standard expl3 code?
 
@DavidCarlisle That would be one way: we could perhaps talk about it on the team list
 
@DavidCarlisle ooh encapsulation
 
@PauloCereda ecapsulation comme Magret de canard en croûte?
 
@JosephWright that I didn't use the command correctly isn't an argument to make them non-public -- that could easily happen with other commands too ;-). The question imho is if they are needed to write sensible packages. E.g. if someone would want to rewrite pgfplots or some other tikz library based on expl3.
 
9:00 AM
@DavidCarlisle oh non
@DavidCarlisle vous êtes méchant
 
@UlrikeFischer My approach at present is that the driver module provides an absolute minimal abstraction from \tex_<thing>:D or raw PDF/PostScript/SVG to something that we can document. As such, they are meant to keep using :D functions just to the team.
@UlrikeFischer One could write an alternative to l3draw or l3color or whatever using the driver module, though probably I need to extend the documentation in several places. However, in practice I'm hoping things like l3draw will be sufficiently general as to allow everyone to use them
@UlrikeFischer For example, pgf's basic layer is much the same as l3draw (I'm essentially re-coding but with our goodies). If you look at TikZ usage, the basic drawing tools have been stable for years and work. It's the higher-level stuff that people might want to re-write
 
9:16 AM
@PauloCereda J'ai besoin d'une réponse française
 
@DavidCarlisle oh wait
@DavidCarlisle you are mean
 
@PauloCereda je connais
 
@DavidCarlisle oh no
 
@PauloCereda Do you mean this one? VVVV
Méchant, also known as MECHANT or Mechant, is a Los Angeles-based alternative rock/power pop band fronted by lead singer Regina Zernay. Former bassist for rock bands Halfcocked and Jam Balaya, Zernay formed the band in late 2002/early 2003 to showcase her own material. Zernay is the primary songwriter and original bassist for the band. Original band members also include Jon Hayes (producer/lead guitarist), Mike Earnhart (drums), and Jim Jet (2nd guitar). The band recorded their first demo in 2003, featuring the songs Sweet and Superhero in Training. Sweet was included in the short film Outta...
 
@JosephWright if you search in the pgfplots code you can find quite a number of hits for pgf@sys. So it is using the sys-level, but most uses look as if they could be avoided by sensible interfaces, so probably l3draw doesn't need to offer public access to the driver stuff. But if you want to hide \driver, then we need a pdf-module so that there is a public access to things like \driver_pdf_version_minor: ;-)
 
9:29 AM
@egreg oopsie :)
 
 
3 hours later…
12:18 PM
In pgfkeys, what is the proper method for one key to set the value of other keys? Say I have keys A, B, C and D, these can be set individually, but most commonly they will have the same value, say, X, instead of A=X,B=X,..., I'd like set all to be similar to set all/.code]{...}, set all/.default=X,set all. I'm just unsure what goes into {...}.
So far I have \pgfsetkeys{A=#1, B=#1,...}, is there a better way?
 
ooh a puppy
 
In solidarity with everyone moved by Monday's events we’re donating to the restoration of Notre-Dame & giving you the chance to play @AssassinsCreed Unity on Uplay for free. Details below:
For the pro gamers :-)
 
@PhelypeOleinik uh-oh Uplay
 
@PauloCereda You don't like it (who does)?
 
@PhelypeOleinik :)
 
12:37 PM
@PauloCereda The last good game in the franchise which I played was Brotherhood (which didn't require Uplay). I liked their idea, though :)
 
@PhelypeOleinik ooh :) I think I had Black Flag because of my Xbox Gold subscription, but I decided to get rid of them. Uplay app was a mandatory install.
@PhelypeOleinik for Rayman on the Wii U, I completed 100% of the game and got several UPoints that are worth nothing. :)
 
@PauloCereda Yes, apparently now all their Ugames Urequire Uplay to Uplay so you gan get Uuseless Upoints.
 
@PhelypeOleinik Uooh
@PhelypeOleinik I have Mario vs. Rabbids from them. :)
By the way, this uooh sounded like that guy from Blossom.
Good old whatitsname
 
@PauloCereda Didn't know this one, it looks fun. Shame I don't have an Xbox /PC master race :)
 
@PhelypeOleinik oh it's for Switch. :)
 
12:44 PM
@PauloCereda Who?
 
@PhelypeOleinik Joe, I think...
Joey
But the Brazilian translation was better. :)
 
@PauloCereda Whoa, I didn't know this show. But now I can only hear “uooh” :-)
@PauloCereda Blasphemy!
 
@PhelypeOleinik SBT mornings, my friend. :)
 
@PauloCereda I went to school in the morning. My thing was TV Record at 6 pm
 
@PhelypeOleinik ooh os três patetas
 
12:52 PM
@PauloCereda Not from my time, this one. When I watched it was mostly cartoons. There was the Pateta, though :-)
 
@PhelypeOleinik ooh :)
 
1:33 PM
0
Q: Hyperlink not redirecting correctly

sameerk\documentclass[a4paper, twoside]{article} \pagenumbering{roman} \usepackage[english]{babel} \usepackage[pdftex]{graphicx} \usepackage{helvet} \usepackage{titletoc} \usepackage{titlesec} \usepackage{hyperref} \usepackage{scrpage2} \usepackage{ltxtable} \usepackage{filecontents} \usepackage{lscape}...

Please vote to reopen the following question, I want to answer:
 
@Kurt Voted.
 
@HaraldHanche-Olsen Thanks!
 
1:54 PM
@UlrikeFischer Well we are back with the fact that \draw_... shoiuldn't use \__driver..., but can use \driver_...
 
2:08 PM
@JosephWright yes tricky.
 
2:19 PM
GUYS THIS IS IMPORTANT
The Emu War, also known as the Great Emu War, was a nuisance wildlife management military operation undertaken in Australia over the latter part of 1932 to address public concern over the number of emus said to be running amok in the Campion district of Western Australia. The unsuccessful attempts to curb the population of emus, a large flightless bird indigenous to Australia, employed soldiers armed with Lewis guns—leading the media to adopt the name "Emu War" when referring to the incident. While a number of the birds were killed, the emu population persisted and continued to cause crop destruction...
I never learned it in school
 
@PauloCereda we have a lot of dangerous animals here. You should especially watch out for drop bears
 
@DavidPurton ooh
@DavidPurton Australia is amazing
 
@DavidPurton Thylarctos plummetus
 
2:34 PM
@egreg That's the one. Did you know they can detect Australian accents and particularly target tourists?
 
@DavidPurton I read about it. One has to change every vowel.
 
I work with international university students. With a little imagination, you can have a lot of fun with with these things :)
Plus most international students are already convinced before they even arrive that every second animal they meet here is going to kill them.
 
@DavidPurton Makes a lot of sense because presumably koalas are beings, not animals. ;-)
 
3:15 PM
@daleif Maybe forwarding the keys may make sense here, see section 86.4.7 Handlers for Forwarding of the pgfmanual.
 
3:47 PM
@HaraldHanche-Olsen Thanks for your edit!
 
4:12 PM
@PauloCereda Germany has got its Nandu War: svz.de/regionales/mecklenburg-vorpommern/…
 
@PauloCereda important BBC news for when picture mode isn't quite enough: bbc.co.uk/news/technology-48036912
 
@UlrikeFischer @PauloCereda And Scotland has the wild Haggis.
@PauloCereda There's also your thesis. :)
 
4:29 PM
@marmot see I'm getting good at tikz, two answers today one two
 
@DavidCarlisle I got a new error today: Synchronize ERROR: unknown node type 11.
 
@UlrikeFischer Synchronize? what was synchronising with what?
 
@DavidCarlisle try with luatex (and look at the terminal):
\documentclass{article}
\begin{document}
\mathsurroundskip=3pt
blub $a=b$

\end{document}
 
4:44 PM
@UlrikeFischer Oh I assumed you had thousands of lines of lua poking nodes in bad places:-)
@UlrikeFischer do I need a dev build of something?
 
@UlrikeFischer I've fixed that l3draw bug
 
@UlrikeFischer ooh
@AlanMunn ooh
 
@UlrikeFischer just did a tlmgr update and get
 
@AlanMunn oh no
 
$ lualatex bb597
This is LuaTeX, Version 1.10.0 (TeX Live 2019)
 restricted system commands enabled.
(./bb597.tex
LaTeX2e <2018-12-01>

luaotfload | main : initialization completed in 1.614 seconds
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo)) (./bb597.aux)
[1{/usr/local/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./bb597.aux))
 382 words of node memory still in use:
 
4:55 PM
@DavidCarlisle ooh
 
5:53 PM
@DavidCarlisle Now it is a 4.
 
6:26 PM
@DavidCarlisle, @barbarabeeton, @AlanMunn: lego.com/en-us/aboutus/news-room/2019/april/lego-braille-bricks
 
@PauloCereda yes I saw that on bbc as well (but I thought the MS paint article more noteworthy:-)
 
@DavidCarlisle :)
 
@PauloCereda Very cool. The Lego Foundation funds lots of interesting research.
 
@AlanMunn indeed!
 
7:30 PM
@DavidCarlisle do you have synctex enabled?
 
8:22 PM
Hi, I wonder, why I do not write \exp{ \frac{a}{b}} instead of \exp\left( \frac{a}{b} \right) is there a reason, why we do not have this variant of exp? Or have I just overlooked it?
 
8:36 PM
Any pgf experts about?
Where's @DavidCarlisle when I need him ;)
 
@JosephWright no, but what is the problem?
@JosephWright lost some z somewhere?
 
@UlrikeFischer Oh, not a problem per se, I was just wondering if anyone ever uses \pdfdefobject/\pgfuseobject outside of beamer (which is probably why Till wrote it, and I suspect is not that useful)
 
9:13 PM
@JosephWright no idea if it is not useful, but it doesn't look as if it has been used ;-)
 
@JosephWright you called?
 
@DavidCarlisle :)
 
@JosephWright @DavidCarlisle ^^^today in Mönchengladbach
 
@UlrikeFischer What's the sport?
 
@UlrikeFischer ah: lualatex --synctex=15 bb597 shows the error
 
9:23 PM
@JosephWright hockey, woman (fih pro league). I don't know the result - the weather was rather bad.
@JosephWright just found it: Germany won 2-0.
@DavidCarlisle why 15? I only know -1 or +1 ;-)
 
@UlrikeFischer I READ THE MANUAL 15 turns on all options and i didn't know which i needed.
 
@DavidCarlisle there is a manual?
 
@UlrikeFischer man synctex (or texdoc synctex shows same thing)
 
@DavidCarlisle I wonder what "support for form" means.
 
@UlrikeFischer man 5 synctex gives more details about that
          <Form> ::=

                 <byte offset record>

                 "<" <form tag> <end of record>

                 <vbox section>|<hbox section>

                 <byte offset record>

                 ">" <end of record>

           <form tag> ::= <integer>

     Forms are available with pdfTeX.  All the numbers are integers encoded
     using the decimal representation with "C" locale.  The <box content>
     describes what is inside a box.  It is either a vertical or horizontal
     box, with some records related to glue, kern or math nodes.
 
yo'
9:40 PM
@DavidCarlisle you read what?
 
@yo' sorry it was an accident, but at least it was a real man man page not some newfangled tex document
 
@DavidCarlisle doesn't really sound like the same. That was a question about dvilualatex and zero coordinates. My error seems to be triggered by the new mathsurroundskip which seems to add a node type synctex doesn't know.
 
yo'
@DavidCarlisle your sins are forgiven :-)
 
@DavidCarlisle showoutput shows ....\mathon, glued 3.0 instead of a simple \mathon
is it only me or are there currently no texlive updates?
 
10:00 PM
@UlrikeFischer That's right: it's the period between the DVD 'wrap' and official release at the end of the month
@UlrikeFischer Did you try the l3draw update?
 
@UlrikeFischer yes I went back in the archive to see what that was referring to
 
@JosephWright just installed it, the clip is now working. I need to try if I can also clip the graphic.
 
@UlrikeFischer Cool
 
@JosephWright ^^^it works
 
@UlrikeFischer Good stuff
 
10:11 PM
@UlrikeFischer you missed its neck
 
@JosephWright when it is online I can expand my answer with a non-tikz version ;-)
 
@UlrikeFischer I'll send it probably as soon as TL updates restart
@UlrikeFischer I should probably finish l3image so you don't need graphicx
 
@DavidCarlisle there is no \draw_cut_the_neck: function in l3draw.
 
@UlrikeFischer shame
 
@DavidCarlisle it's no my fault.
5
 

« first day (3097 days earlier)      last day (1829 days later) »