2 Jan 2022 |
| freetux changed their profile picture. | 16:34:02 |
3 Jan 2022 |
samcarter | Is the syntax
\begin{pgfpicture}{...}{...}{...}{...}
\end{pgfpicture}
documented somewhere? Beamer uses this a lot, but I've always trouble remembering the order of the arguments.
| 09:28:54 |
marei | I will have a look later, but I simply remind myself because it's the box {lower left x}{lower left y}{upper right x}{upper right y} x before y and bottom before top maye that helps already | 09:43:25 |
qrr | In reply to @samcarter:matrix.org
Is the syntax
\begin{pgfpicture}{...}{...}{...}{...}
\end{pgfpicture}
documented somewhere? Beamer uses this a lot, but I've always trouble remembering the order of the arguments.
Looks like it's an older syntax: \pgf@oldpicture . Instead \pgfusepatg{use as bounding box} and/or \pgfreserboundingbox is supposed to be used, I guess. | 10:09:58 |
qrr | * Looks like it's an older syntax: `\pgf@oldpicture`. Instead `\pgfusepath{use as bounding box}` and/or `\pgfreserboundingbox` is supposed to be used, I guess. | 10:11:01 |
samcarter | In reply to @marei:im.f3l.de I will have a look later, but I simply remind myself because it's the box {lower left x}{lower left y}{upper right x}{upper right y} x before y and bottom before top maye that helps already Thanks! Maybe reading it here helps to remember it :) | 12:39:28 |
samcarter | In reply to @qrr:matrix.org Looks like it's an older syntax: \pgf@oldpicture . Instead \pgfusepath{use as bounding box} and/or \pgfreserboundingbox is supposed to be used, I guess. Ah, old syntax. This explains why it does not seem to be in the user guide. Thanks for digging that up. | 12:40:20 |
4 Jan 2022 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgfplots] wehro opened issue #418: Values of trig format [open] - https://github.com/pgf-tikz/pgfplots/issues/418 | 16:12:31 |
9 Jan 2022 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgf] QJLc opened issue #1122: Form-only patterns have no specified color [open] - https://github.com/pgf-tikz/pgf/issues/1122 | 21:47:38 |
10 Jan 2022 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgf] muzimuzhi edited issue #1122: Form-only patterns have no specified color [open] - https://github.com/pgf-tikz/pgf/issues/1122 | 02:09:01 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgf] muzimuzhi opened issue #1123: `declare function`: Spaces not allowed in function's arg list [open] - https://github.com/pgf-tikz/pgf/issues/1123 | 06:00:51 |
11 Jan 2022 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgf] hmenke closed issue #1087: Graph drawing doesn't work with `name prefix` [closed] - https://github.com/pgf-tikz/pgf/issues/1087 | 10:01:44 |
13 Jan 2022 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgfplots] quark67 opened issue #423: Major bug in pgfplots: in certains circonstances, on y-axis, the distance from 0 to 1 is smaller than the distance from 1 to 2 [open] - https://github.com/pgf-tikz/pgfplots/issues/423 | 14:19:06 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgfplots] hmenke closed issue #423: Major bug in pgfplots: in certains circonstances, on y-axis, the distance from 0 to 1 is smaller than the distance from 1 to 2 [closed] - https://github.com/pgf-tikz/pgfplots/issues/423 | 15:01:42 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgfplots] hmenke edited issue #423: In certains circumstances, on the y-axis, the distance from 0 to 1 is smaller than the distance from 1 to 2 [closed] - https://github.com/pgf-tikz/pgfplots/issues/423 | 17:35:53 |
hmenke | One important TODO item on https://github.com/pgf-tikz/pgf/pull/1116 is extracting the graphdrawing examples. | 18:45:33 |
hmenke | Any takers? | 18:49:01 |
hmenke | When this is done I can merge it after a little bit of cleanup and we can make a new release. | 18:49:33 |
hmenke | There are quite a number of bugfixes in the queue that should be pushed out sooner than later. | 18:50:03 |
hmenke | \documentclass{article}
\begin{document}
\directlua{
local tex = tex or {}
function tex.print(...)
print(...)
end
}
\def\includeluadocumentationof#1{
\directlua{require 'pgf.manual.DocumentParser'}
\directlua{pgf.manual.DocumentParser.include '#1'}
}
\includeluadocumentationof{pgf.gd.control.Distances}
\includeluadocumentationof{pgf.gd.control.Anchoring}
\includeluadocumentationof{pgf.gd.control.Orientation}
\includeluadocumentationof{pgf.gd.control.FineTune}
\includeluadocumentationof{pgf.gd.control.Components}
\includeluadocumentationof{pgf.gd.control.ComponentOrder}
\includeluadocumentationof{pgf.gd.control.ComponentDirection}
\includeluadocumentationof{pgf.gd.control.ComponentAlign}
\includeluadocumentationof{pgf.gd.control.ComponentDistance}
\includeluadocumentationof{pgf.gd.control.NodeAnchors}
\includeluadocumentationof{pgf.gd.model.Hyperedge}
\includeluadocumentationof{pgf.gd.control.library}
\includeluadocumentationof{pgf.gd.trees.library}
\includeluadocumentationof{pgf.gd.trees.ReingoldTilford1981}
\includeluadocumentationof{pgf.gd.trees.ChildSpec}
\includeluadocumentationof{pgf.gd.trees.SpanningTreeComputation}
\includeluadocumentationof{pgf.gd.layered.library}
\includeluadocumentationof{pgf.gd.layered.Sugiyama}
\includeluadocumentationof{pgf.gd.layered.cycle_removal}
\includeluadocumentationof{pgf.gd.layered.node_ranking}
\includeluadocumentationof{pgf.gd.layered.crossing_minimization}
\includeluadocumentationof{pgf.gd.layered.node_positioning}
\includeluadocumentationof{pgf.gd.layered.edge_routing}
\includeluadocumentationof{pgf.gd.force.library}
\includeluadocumentationof{pgf.gd.force.ControlDeclare}
\includeluadocumentationof{pgf.gd.force.ControlStart}
\includeluadocumentationof{pgf.gd.force.ControlIteration}
\includeluadocumentationof{pgf.gd.force.ControlSprings}
\includeluadocumentationof{pgf.gd.force.ControlElectric}
\includeluadocumentationof{pgf.gd.force.ControlCoarsening}
\includeluadocumentationof{pgf.gd.force.SpringLayouts}
\includeluadocumentationof{pgf.gd.force.SpringHu2006}
\includeluadocumentationof{pgf.gd.force.SpringElectricalLayouts}
\includeluadocumentationof{pgf.gd.force.SpringElectricalHu2006}
\includeluadocumentationof{pgf.gd.force.SpringElectricalWalshaw2000}
\includeluadocumentationof{pgf.gd.circular.library}
\includeluadocumentationof{pgf.gd.circular.Tantau2012}
\includeluadocumentationof{pgf.gd.phylogenetics.library}
\includeluadocumentationof{pgf.gd.phylogenetics.PhylogeneticTree}
\includeluadocumentationof{pgf.gd.phylogenetics.AuthorDefinedPhylogeny}
\includeluadocumentationof{pgf.gd.phylogenetics.SokalMichener1958}
\includeluadocumentationof{pgf.gd.phylogenetics.BalancedMinimumEvolution}
\includeluadocumentationof{pgf.gd.phylogenetics.BalancedNearestNeighbourInterchange}
\includeluadocumentationof{pgf.gd.phylogenetics.Maeusle2012}
\includeluadocumentationof{pgf.gd.routing.library}
\includeluadocumentationof{pgf.gd.routing.NecklaceRouting}
\includeluadocumentationof{pgf.gd.doc}
\includeluadocumentationof{pgf.gd.interface.Scope}
\includeluadocumentationof{pgf.gd.model.Digraph}
\includeluadocumentationof{pgf.gd.model.Vertex}
\includeluadocumentationof{pgf.gd.model.Arc}
\includeluadocumentationof{pgf.gd.model.Edge}
\includeluadocumentationof{pgf.gd.model.Collection}
\includeluadocumentationof{pgf.gd.model.Coordinate}
\includeluadocumentationof{pgf.gd.model.Path}
\includeluadocumentationof{pgf.gd.lib.Transform}
\includeluadocumentationof{pgf.gd.lib.Storage}
\includeluadocumentationof{pgf.gd.lib.Event}
\includeluadocumentationof{pgf.gd.control.LayoutPipeline}
\includeluadocumentationof{pgf.gd.routing.Hints}
\includeluadocumentationof{pgf.gd.interface.InterfaceToAlgorithms}
\includeluadocumentationof{pgf.gd.examples.library}
\includeluadocumentationof{pgf.gd.examples.SimpleDemo}
\includeluadocumentationof{pgf.gd.examples.SimpleEdgeDemo}
\includeluadocumentationof{pgf.gd.examples.SimpleHuffman}
\includeluadocumentationof{pgf}
\includeluadocumentationof{pgf.gd.lib}
\includeluadocumentationof{pgf.gd.lib.LookupTable}
\includeluadocumentationof{pgf.gd.lib.PriorityQueue}
\includeluadocumentationof{pgf.gd.interface.InterfaceToDisplay}
\includeluadocumentationof{pgf.gd.bindings.Binding}
\includeluadocumentationof{pgf.gd.interface.InterfaceCore}
\includeluadocumentationof{pgf.gd.bindings.BindingToPGF}
%\includeluadocumentationof{pgf.gd.doc}
%\includeluadocumentationof{pgf.gd.interface.Scope}
%\includeluadocumentationof{pgf.gd.model.Digraph}
%\includeluadocumentationof{pgf.gd.model.Vertex}
%\includeluadocumentationof{pgf.gd.model.Arc}
%\includeluadocumentationof{pgf.gd.model.Edge}
%\includeluadocumentationof{pgf.gd.model.Collection}
%\includeluadocumentationof{pgf.gd.model.Coordinate}
%\includeluadocumentationof{pgf.gd.model.Path}
%\includeluadocumentationof{pgf.gd.lib.Transform}
%\includeluadocumentationof{pgf.gd.lib.Storage}
%\includeluadocumentationof{pgf.gd.lib.Event}
%\includeluadocumentationof{pgf.gd.control.LayoutPipeline}
%\includeluadocumentationof{pgf.gd.routing.Hints}
%\includeluadocumentationof{pgf.gd.interface.InterfaceToAlgorithms}
%\includeluadocumentationof{pgf.gd.examples.library}
%\includeluadocumentationof{pgf.gd.examples.SimpleDemo}
%\includeluadocumentationof{pgf.gd.examples.SimpleEdgeDemo}
%\includeluadocumentationof{pgf.gd.examples.SimpleHuffman}
%\includeluadocumentationof{pgf}
%\includeluadocumentationof{pgf.gd.lib}
%\includeluadocumentationof{pgf.gd.lib.LookupTable}
%\includeluadocumentationof{pgf.gd.lib.PriorityQueue}
%\includeluadocumentationof{pgf.gd.bindings.Binding}
%\includeluadocumentationof{pgf.gd.interface.InterfaceCore}
%\includeluadocumentationof{pgf.gd.bindings.BindingToPGF}
%\includeluadocumentationof{pgf.gd.circular.library}
%\includeluadocumentationof{pgf.gd.circular.Tantau2012}
%\includeluadocumentationof{pgf.gd.interface.InterfaceToDisplay}
%\includeluadocumentationof{pgf.gd.routing.library}
%\includeluadocumentationof{pgf.gd.routing.NecklaceRouting}
%\includeluadocumentationof{pgf.gd.force.library}
%\includeluadocumentationof{pgf.gd.force.ControlDeclare}
%\includeluadocumentationof{pgf.gd.force.ControlStart}
%\includeluadocumentationof{pgf.gd.force.ControlIteration}
%\includeluadocumentationof{pgf.gd.force.ControlSprings}
%\includeluadocumentationof{pgf.gd.force.ControlElectric}
%\includeluadocumentationof{pgf.gd.force.ControlCoarsening}
%\includeluadocumentationof{pgf.gd.force.SpringLayouts}
%\includeluadocumentationof{pgf.gd.force.SpringHu2006}
%\includeluadocumentationof{pgf.gd.force.SpringElectricalLayouts}
%\includeluadocumentationof{pgf.gd.force.SpringElectricalHu2006}
%\includeluadocumentationof{pgf.gd.force.SpringElectricalWalshaw2000}
%\includeluadocumentationof{pgf.gd.layered.library}
%\includeluadocumentationof{pgf.gd.layered.Sugiyama}
%\includeluadocumentationof{pgf.gd.layered.cycle_removal}
%\includeluadocumentationof{pgf.gd.layered.node_ranking}
%\includeluadocumentationof{pgf.gd.layered.crossing_minimization}
%\includeluadocumentationof{pgf.gd.layered.node_positioning}
%\includeluadocumentationof{pgf.gd.layered.edge_routing}
%\includeluadocumentationof{pgf.gd.ogdf.library}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.SugiyamaLayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.module.RankingModule}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.CoffmanGrahamRanking}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.LongestPathRanking}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.OptimalRanking}
%\includeluadocumentationof{pgf.gd.doc.ogdf.module.TwoLayerCrossMin}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.BarycenterHeuristic}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.GreedyInsertHeuristic}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.MedianHeuristic}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.SiftingHeuristic}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.SplitHeuristic}
%\includeluadocumentationof{pgf.gd.doc.ogdf.module.AcyclicSubgraphModule}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.DfsAcyclicSubgraph}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.GreedyCycleRemoval}
%\includeluadocumentationof{pgf.gd.doc.ogdf.module.HierarchyLayoutModule}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.FastHierarchyLayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.layered.FastSimpleHierarchyLayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.SpringEmbedderFR}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.SpringEmbedderFRExact}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.SpringEmbedderKK}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.FMMMLayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.MultilevelLayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.GEMLayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.FastMultipoleEmbedder}
%\includeluadocumentationof{pgf.gd.doc.ogdf.module.InitialPlacer}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.BarycenterPlacer}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.CirclePlacer}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.MedianPlacer}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.RandomPlacer}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.SolarPlacer}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.ZeroPlacer}
%\includeluadocumentationof{pgf.gd.doc.ogdf.module.MultilevelBuilder}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.EdgeCoverMerger}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.IndependentSetMerger}
%\includeluadocumentationof{pgf.gd.doc.ogdf.energybased.multilevelmixer.LocalBiconnectedMerger}
%\includeluadocumentationof{pgf.gd.doc.ogdf.planarity}
%\includeluadocumentationof{pgf.gd.doc.ogdf.planarity.PlanarizationLayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.misclayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.misclayout.BalloonLayout}
%\includeluadocumentationof{pgf.gd.doc.ogdf.misclayout.CircularLayout}
%\includeluadocumentationof{pgf.gd.phylogenetics.library}
%\includeluadocumentationof{pgf.gd.phylogenetics.PhylogeneticTree}
%\includeluadocumentationof{pgf.gd.phylogenetics.AuthorDefinedPhylogeny}
%\includeluadocumentationof{pgf.gd.phylogenetics.SokalMichener1958}
%\includeluadocumentationof{pgf.gd.phylogenetics.BalancedMinimumEvolution}
%\includeluadocumentationof{pgf.gd.phylogenetics.BalancedNearestNeighbourInterchange}
%\includeluadocumentationof{pgf.gd.phylogenetics.Maeusle2012}
%\includeluadocumentationof{pgf.gd.trees.library}
%\includeluadocumentationof{pgf.gd.trees.ReingoldTilford1981}
%\includeluadocumentationof{pgf.gd.trees.ChildSpec}
%\includeluadocumentationof{pgf.gd.trees.SpanningTreeComputation}
%\includeluadocumentationof{pgf.gd.control.Distances}
%\includeluadocumentationof{pgf.gd.control.Anchoring}
%\includeluadocumentationof{pgf.gd.control.Orientation}
%\includeluadocumentationof{pgf.gd.control.FineTune}
%\includeluadocumentationof{pgf.gd.control.Components}
%\includeluadocumentationof{pgf.gd.control.ComponentOrder}
%\includeluadocumentationof{pgf.gd.control.ComponentDirection}
%\includeluadocumentationof{pgf.gd.control.ComponentAlign}
%\includeluadocumentationof{pgf.gd.control.ComponentDistance}
%\includeluadocumentationof{pgf.gd.control.NodeAnchors}
%\includeluadocumentationof{pgf.gd.model.Hyperedge}
%\includeluadocumentationof{pgf.gd.control.library}
\end{document}
| 19:06:36 |
Github | https://github.com/pgf-tikz/pgf/issues/1 : [v0.96] node example doesn't work | 19:06:38 |
hmenke | I was hoping this would print the rendered text to stdout, but it just errors with
...f-dist/tex/generic/pgf/lua/pgf/manual/DocumentParser.lua:374: unknown key 'node distan
ce'
stack traceback:
[C]: in function 'assert'
...f-dist/tex/generic/pgf/lua/pgf/manual/DocumentParser.lua:374: in field 'ren
derer'
...f-dist/tex/generic/pgf/lua/pgf/manual/DocumentParser.lua:603: in upvalue 'r
ender_infos'
...f-dist/tex/generic/pgf/lua/pgf/manual/DocumentParser.lua:74: in function 'p
gf.manual.DocumentParser.include'
[\directlua]:1: in main chunk.
\includeluadocumentationof ...Parser.include '#1'}
l.16 ...luadocumentationof{pgf.gd.control.Distances}
?
| 19:07:39 |
Github | https://github.com/pgf-tikz/pgf/issues/1 : [v0.96] node example doesn't work | 19:07:40 |
14 Jan 2022 |
muzimuzhi | In reply to @hmenke:matrix.org
I was hoping this would print the rendered text to stdout, but it just errors with
...f-dist/tex/generic/pgf/lua/pgf/manual/DocumentParser.lua:374: unknown key 'node distan
ce'
stack traceback:
[C]: in function 'assert'
...f-dist/tex/generic/pgf/lua/pgf/manual/DocumentParser.lua:374: in field 'ren
derer'
...f-dist/tex/generic/pgf/lua/pgf/manual/DocumentParser.lua:603: in upvalue 'r
ender_infos'
...f-dist/tex/generic/pgf/lua/pgf/manual/DocumentParser.lua:74: in function 'p
gf.manual.DocumentParser.include'
[\directlua]:1: in main chunk.
\includeluadocumentationof ...Parser.include '#1'}
l.16 ...luadocumentationof{pgf.gd.control.Distances}
?
Learnt from pgfmanual-en-gd-usage-tikz.tex , adding
\usepackage{tikz}
\usetikzlibrary{graphs, graphdrawing}
works. I'll try digging but there's no promise.
| 04:23:41 |
Github | https://github.com/pgf-tikz/pgf/issues/1 : [v0.96] node example doesn't work | 04:23:42 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgf] muzimuzhi opened issue #1126: Some pgf libraries use `\foreach` without loading `pgffor` [open] - https://github.com/pgf-tikz/pgf/issues/1126 | 05:23:31 |
muzimuzhi | In reply to @muzzi:matrix.org
Learnt from pgfmanual-en-gd-usage-tikz.tex , adding
\usepackage{tikz}
\usetikzlibrary{graphs, graphdrawing}
works. I'll try digging but there's no promise.
Reduced to
\usepackage{pgffor}
\makeatletter
\input pgflibrarygraphdrawing.code.tex
\makeatother
| 05:37:18 |
muzimuzhi | And, corresponding gd libraries are needed when processing related lua files.
It seems the key is to load those lua files that declare the options that should be recognized to gd. For example, the node distance is declared in pgf.gd.control.Distances .
| 06:10:20 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgf] ORippler opened issue #1127: `hyperref` with `bookmarks=true` and `tikzexternalize` clashes in edge cases [open] - https://github.com/pgf-tikz/pgf/issues/1127 | 10:28:27 |
Github [@hmenke:matrix.org] | [pgf-tikz/pgf] ORippler edited issue #1127: `hyperref` with `bookmarks=true` and `tikzexternalize` clashes in edge cases [open] - https://github.com/pgf-tikz/pgf/issues/1127 | 10:49:04 |