DominikPeters / tikz.dev-issues

Feedback, suggestions, and bug reports for tikz.dev
1 stars 0 forks source link

pgfplots sections numbered differently from the PDF manual #27

Closed muzimuzhi closed 7 months ago

muzimuzhi commented 7 months ago

Describe the bug

Sections in https://tikz.dev/pgfplots are numbered differently from those in the pdf manual.

The pdf manual uses chapter, section, and subsection levels, and sections are numbered within chapters (sec. 1.1, 1.2; sec. 2.1, 2.2).

The HTML version uses part, chapter, and section levels, and chapters are not numbered within parts, which means the first chapter under Part II doesn't start from Chapter 1.

It seems the HTML version for pgfplots manual shares the same numbering scheme as the tikz PDF manual, but unfortunately pgfplots PDF manual uses a different scheme.

Screenshots

DominikPeters commented 7 months ago

Fixed, thanks. Might take a few days until I recompile. https://github.com/DominikPeters/pgfplots-html-manual/commit/a40bac6d4835d7b2c8a7fc6aa0497ccb0c2805a5

DominikPeters commented 7 months ago

I wonder if it is worth preserving the old section numbering as additional anchor links, but it's a bit of a headache and there are fewer incoming links to the pgfplots manual compared to tikz..

DominikPeters commented 7 months ago

Here is a list of all current links from stackexchange to the pgfplots manual that google has indexed, which could be edited if necessary:

https://tex.stackexchange.com/questions/687905/change-contour-filled-smooth-interpolation-scheme-and-problem-with-multiple-c https://tex.stackexchange.com/questions/691117/disable-smoothing-interpolation-pgf-surface-plot https://tex.stackexchange.com/questions/708934/tikz-plot-of-an-implicit-function-using-contour-gnuplot https://tex.stackexchange.com/questions/8238/plot-a-matrix-of-real-values-with-tikz-pgf-like-imshow-in-matlab https://tex.stackexchange.com/questions/691859/stop-coordinate-labels-overlapping-on-tikzpicture-graph https://tex.stackexchange.com/questions/693489/a-three-dimensional-graph-of-a-function-with-bounded-range https://tex.stackexchange.com/questions/697745/pgfplots-how-to-use-a-different-marker-style-for-each-point-within-one-graph-i https://tex.stackexchange.com/questions/702189/histogram-with-two-colors-and-pie-chart-combined-how-to-do-it https://tex.stackexchange.com/questions/692249/pgfplots-will-addplot-table-include-and-ignore-header-automatically https://tex.stackexchange.com/questions/702860/pgfplots-how-to-clip-the-decorated-path-to-the-viewport-limits-and-make-text-a https://tex.stackexchange.com/questions/703792/graphing-multiple-functions-in-the-same-graph https://tex.stackexchange.com/questions/704871/parabolas-with-axis-parallel-to-the-x-axis-on-pgfplots https://tex.stackexchange.com/questions/699250/how-can-i-prevent-the-graph-from-getting-cut-off https://tex.stackexchange.com/questions/708198/add-arrowhead-to-plot-what-is-missing https://tex.stackexchange.com/questions/697629/scaling-intervals-on-the-x-axis-differently-pgfplots https://tex.stackexchange.com/questions/695775/what-are-these-ugly-red-and-blue-thick-lines-when-i-addplot-in-tikz-beamer https://tex.stackexchange.com/questions/696303/rotate-the-symbol-will-cause-it-in-legend-not-space-rightly-in-pgfplots-in-lat https://tex.stackexchange.com/questions/707664/place-a-label-to-the-left-of-a-tikz-pgf-plot

DominikPeters commented 7 months ago

Just uploaded a newly compiled version that should fix all issues that you pointed out today. Many thanks for spotting these! I added additional anchor links with the old section numbers, so most old links should still work.

muzimuzhi commented 7 months ago

Just uploaded a newly compiled version that should fix all issues that you pointed out today.

Is the new version deployed?

Because https://tikz.dev/pgfplots still says "HTML version last updated: 2024-01-30" and section "The Team" (https://tikz.dev/pgfplots/preliminaries-team) is still numbered 4, not 2.3.

DominikPeters commented 7 months ago

Have you refreshed?

muzimuzhi commented 7 months ago

Have you refreshed?

Ahh thanks! Sometimes web browser is too good at caching.