!NuxCISwYQJuyWwNsEI:matrix.org

PGF/TikZ

52 Members
https://github.com/pgf-tikz11 Servers

Load older messages


SenderMessageTime
14 Jun 2022
@hmenke:matrix.orghmenkeI will tag a new release once that is resolved.10:46:23
@hmenke:matrix.orghmenkehttps://chat.stackexchange.com/transcript/message/61358818#6135881810:46:57
@cereda:matrix.orgPaulo Ceredahmmm pie 🥧17:46:39
15 Jun 2022
@muzzi:matrix.orgmuzimuzhi
In reply to @hmenke:matrix.org
I will tag a new release once that is resolved.
I didn't see your message until now, and have pushed a fix (https://github.com/pgf-tikz/pgf-pie/commit/794245688c0f1b90aeb2666b1ee2895e95d91102) with \PassOptionsToPackage{...}{hyperref} yesterday. Should I revert it with the latest hypdoc v1.16, which won't load hyperref if it has already been loaded?
02:27:50
@muzzi:matrix.orgmuzimuzhi GitHub Action's scheduled workflow may be helpful for packages like pgf-pie that moves slow. For example, setting CI to run per week with -dev formats or so. 02:32:25
@hmenke:matrix.orghmenke
In reply to @muzzi:matrix.org
GitHub Action's scheduled workflow may be helpful for packages like pgf-pie that moves slow. For example, setting CI to run per week with -dev formats or so.
I've set up a scheduled workflow to run every week on Wednesday at 08:00 UTC. https://github.com/pgf-tikz/pgf-pie/commit/21f1ca98427684fc6454318edaccedb36d6e553f
09:43:48
@hmenke:matrix.orghmenkeThe downside is that scheduled workflows automatically get disabled if the repo hasn't seen activity for 90 days which will certainly happen for all those packages that are only in maintenance.09:45:05
@muzzi:matrix.orgmuzimuzhi
In reply to @hmenke:matrix.org
The downside is that scheduled workflows automatically get disabled if the repo hasn't seen activity for 90 days which will certainly happen for all those packages that are only in maintenance.

Even worse, it will be disabled in 60 days, not 90 days.

In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days.
https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration

10:37:04
@muzzi:matrix.orgmuzimuzhi I'm wondering if the LaTeX Team is willing to make a workflow that triggers workflows of third-party packages each time when latex-dev releases.
It seems event repository_dispatch or workflow_dispatch is suitable for this task.
10:43:58
@muzzi:matrix.orgmuzimuzhi * I'm wondering if the LaTeX Team is willing to make a workflow that triggers workflows of third-party packages each time when latex-dev releases.
It seems event repository_dispatch or workflow_dispatch is suitable for this task.
10:45:06
@muzzi:matrix.orgmuzimuzhi workflow_dispatch event allows manual triggering a workflow run, hence will be helpful for both pgf-pie and pgf. For example, rerunning a workflow is disabled after 30 days of init run, but with workflow_dispatch it can be triggered manually. 10:49:51
@muzzi:matrix.orgmuzimuzhi
In reply to @muzzi:matrix.org
I'm wondering if the LaTeX Team is willing to make a workflow that triggers workflows of third-party packages each time when latex-dev releases.
It seems event repository_dispatch or workflow_dispatch is suitable for this task.
To trigger a workflow_dispatch event in another repo, it seems the only thing needed is a token from owner of repo/organization with repo scope, which can then be stored in a secret.
11:57:30
@marcel:2krueger.deMarcel Krüger
In reply to @muzzi:matrix.org
I'm wondering if the LaTeX Team is willing to make a workflow that triggers workflows of third-party packages each time when latex-dev releases.
It seems event repository_dispatch or workflow_dispatch is suitable for this task.
I think the timing would prove a bit difficult. After latex-dev releases a non deterministic amount of time passes before the update gets picked up by TeX Live updates, so this would have to be done manually. That would make it much less reliable.
11:59:39
@marcel:2krueger.deMarcel Krüger
In reply to @muzzi:matrix.org

Even worse, it will be disabled in 60 days, not 90 days.

In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days.
https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration

What if the workflow creates a commit in a dummy branch? 🤔
12:02:39
@muzzi:matrix.orgmuzimuzhi
In reply to @marcel:2krueger.de
I think the timing would prove a bit difficult. After latex-dev releases a non deterministic amount of time passes before the update gets picked up by TeX Live updates, so this would have to be done manually. That would make it much less reliable.
Ah I forgot the release - ctan - texlive chain. Looks like an action to fetch latest latex-dev release is too heavy.
12:04:58
@marcel:2krueger.deMarcel KrügerYou mean to install it manually? That might be doable even though it might need some additional setup. I'll do some experiments.12:13:39
@muzzi:matrix.orgmuzimuzhi
In reply to @marcel:2krueger.de
You mean to install it manually? That might be doable even though it might need some additional setup. I'll do some experiments.
Yes. Hope eventually l3build can have this utility built-in. Lua functions in latex2e's build-config.lua which build format and ensure the local format is used may help.
12:28:17
@marcel:2krueger.deMarcel KrügerI think for this it's easier to just add the latex2e directory as extra texmf and then run fmtutil instead of integrating this into l3build. After all rebuilding the format for different modules would just be a waste of time and resources in this situation.12:51:14
@muzzi:matrix.orgmuzimuzhi I mean a new command like l3build update [--from-dist | --from-repo] <fmtname | pkgname> accompanied with some new l3build.lua variables. 13:06:14
17 Jun 2022
@hmenke:matrix.orghmenke
In reply to @marcel:2krueger.de
What if the workflow creates a commit in a dummy branch? 🤔
Commits have to be added on the branch that the workflow runs on.
17:35:17
22 Jun 2022
@better_sleeping:converser.eubetter_sleeping joined the room.21:12:35
@better_sleeping:converser.eubetter_sleeping left the room.21:12:46
1 Jul 2022
@hardyowo:tchncs.dehardyowo left the room.00:51:02
3 Jul 2022
@s:matrix.qrrbr.duckdns.orgQrrbrbirlbel changed their display name from S to s.21:28:03
19 Jul 2022
@s:matrix.qrrbr.duckdns.orgQrrbrbirlbel changed their display name from s to Qrrbrbirlbel.19:59:20
@s:matrix.qrrbr.duckdns.orgQrrbrbirlbel

Heya, I'm considering opening an issue at GitHub with this MWE:

\documentclass[tikz]{standalone}\usetikzlibrary{plotmarks}
\tikzset{p/.style={circle,draw},mark size=+1.5pt}
\newcommand*{\T}[1]{\tikz[p/.append style={path picture={#1}}]{
  \node[p] (@) at (10,10) {0000};
  \draw[gray] plot[mark=x,mark size=+1pt](@.text);}}
\begin{document}
\T{ \draw[blue] plot[mark=asterisk](path picture bounding box.center);
    \draw[red] plot[mark=o] (0,0);
    \tikzset{shift=(path picture bounding box.center)}% no effect
    \draw[orange] plot[mark=triangle] (0,0); }
\T{ \draw[blue] plot[mark=asterisk](path picture bounding box.center);
    \draw[red] plot[mark=o] (0,0);
    \pgftransformshift{\pgfpointanchor{path picture bounding box}{center}}
    \draw[orange] plot[mark=triangle] (0,0); }

\T{ \tikzset{rotate around=45:(path picture bounding box.center)}% no effect
    \draw (path picture bounding box.center) -- ++ (0:4mm); }
\T{ \pgftransformshift{\pgfpointanchor{path picture bounding box}{center}}
    \pgftransformrotate{45}
    \draw (path picture bounding box.center) -- ++ (0:4mm); }
\end{document}

The TikZ transformation with shift and rotate around do not affect the coordinates but apropriate PGF transformations do.

Is this to be expected? That (0, 0) is at .text is to be expected (that's how nodes work) but I'm surprised the TikZ transformation don't work.

Or is a path picture just that bare that it won't support things like that?
(However, if I set \tikz@transform to \relax right before the \tikzset they do apply because apparently if not, the transformation only get collected for later.)

20:14:53
20 Jul 2022
@s:matrix.qrrbr.duckdns.orgQrrbrbirlbelMaybe that is related to https://github.com/pgf-tikz/pgf/issues/96309:42:39
21 Jul 2022
@muzzi:matrix.orgmuzimuzhi

Qrrbrbirlbel: Try

\usepackage{xpatch}
\makeatletter
\xpatchcmd\tikz@finish
  {%
        \pgfinterruptpath%
          \tikz@path@picture%
        \endpgfinterruptpath%
  }{%
        \pgfinterruptpath%
          \tikz@transform
          \let\tikz@transform=\relax
          \tikz@path@picture%
        \endpgfinterruptpath%
  }
  {}{\PatchFailed}
\makeatother

Chances are that the #963 issue is a fake one, there's no problem in different "init" values for \tikz@transform". Letting it to \relax` means "now it's in outer mode hence every

04:33:29
@muzzi:matrix.orgmuzimuzhi *

Qrrbrbirlbel: Try

\usepackage{xpatch}
\makeatletter
\xpatchcmd\tikz@finish
  {%
        \pgfinterruptpath%
          \tikz@path@picture%
        \endpgfinterruptpath%
  }{%
        \pgfinterruptpath%
          \tikz@transform
          \let\tikz@transform=\relax
          \tikz@path@picture%
        \endpgfinterruptpath%
  }
  {}{\PatchFailed}
\makeatother

Chances are that the #963 issue is a fake one. There's no problem in different "init" values for `\tikz@transform".

  • Letting it to \relax means "now it's in outer mode hence coordinate transformations can be applied directly".
  • Letting it to \pgfutil@empty means "the collected coord-transformations are already applied, so it's time to clear \tikz@transform to make it ready for collecting new ones".
04:36:37
@muzzi:matrix.orgmuzimuzhi *

Qrrbrbirlbel: Try

\usepackage{xpatch}
\makeatletter
\xpatchcmd\tikz@finish
  {%
        \pgfinterruptpath%
          \tikz@path@picture%
        \endpgfinterruptpath%
  }{%
        \pgfinterruptpath%
          \tikz@transform
          \let\tikz@transform=\relax
          \tikz@path@picture%
        \endpgfinterruptpath%
  }
  {}{\PatchFailed}
\makeatother

Chances are that the #963 issue is a fake one. There's no problem in different "init" values for `\tikz@transform".

  • Letting it to \relax means "now it's in outer mode hence coordinate transformations can be applied directly".
  • Letting it to \pgfutil@empty means "the coord-transformations collected in inner mode are already applied, so it's time to clear \tikz@transform to make it ready for collecting new ones".
04:37:20

Show newer messages


Back to Room ListRoom Version: 6