Add XSL stylesheet to fix up SVG files

Started by Peter Eisentrautalmost 7 years ago3 messagesdocs
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Commit 29046c44f36099f4c979b1491fcf27db2f9184f9 manually edited the SVG
file generated by Ditaa, which was kind of what we wanted to avoid
having to do. Here is an automated way to take care of the same thing,
by using an XSLT stylesheet. This also takes care of another smaller
issue in the SVG generated by Graphviz.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachments:

0001-Add-XSL-stylesheet-to-fix-up-SVG-files.patchtext/plain; charset=UTF-8; name=0001-Add-XSL-stylesheet-to-fix-up-SVG-files.patch; x-mac-creator=0; x-mac-type=0Download+119-82
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Peter Eisentraut (#1)
Re: Add XSL stylesheet to fix up SVG files

On 2019-06-11 13:19, Peter Eisentraut wrote:

Commit 29046c44f36099f4c979b1491fcf27db2f9184f9 manually edited the SVG
file generated by Ditaa, which was kind of what we wanted to avoid
having to do. Here is an automated way to take care of the same thing,
by using an XSLT stylesheet. This also takes care of another smaller
issue in the SVG generated by Graphviz.

committed

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

#3Jonathan S. Katz
jkatz@postgresql.org
In reply to: Peter Eisentraut (#2)
Re: Add XSL stylesheet to fix up SVG files

On 6/20/19 4:32 AM, Peter Eisentraut wrote:

On 2019-06-11 13:19, Peter Eisentraut wrote:

Commit 29046c44f36099f4c979b1491fcf27db2f9184f9 manually edited the SVG
file generated by Ditaa, which was kind of what we wanted to avoid
having to do. Here is an automated way to take care of the same thing,
by using an XSLT stylesheet. This also takes care of another smaller
issue in the SVG generated by Graphviz.

committed

I have been away and have not been able to review/test this until now.
That said, I looked at the pages with SVGs on the devel docs and they
are still scaling correctly based on the viewport.

Thanks for automating the generation to handle this!

Jonathan