From: Mark Hansen Date: Thu, 22 Oct 2020 09:44:21 +0000 (+1100) Subject: attrs: Remove special-casing postscript template X-Git-Tag: 2.46.0~20^2^2~25^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db294b77eb3007909d2a777062fd7fd722c88edb;p=graphviz attrs: Remove special-casing postscript template Just spell out postscript in the source --- diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index d652c0c65..904bc5149 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -57,7 +57,7 @@ is limited to this factor of its potential motion. By being less than # Set by attribute, overwritten, unused #:Nodesep:G:double:1.0; # Set by attribute, overwritten, unused -:URL:ENGC:escString:; map,ps,svg +:URL:ENGC:escString:; map,postscript,svg Hyperlinks incorporated into device-dependent output. At present, used in ps2, cmap, i*map and svg formats. For all these formats, URLs can be attached to nodes, edges and @@ -481,9 +481,9 @@ In this case, if both the width or the height are set explicitly, the maximum of the two values is used. If neither is set explicitly, the minimum of the two default values is used. -:href:GCNE:escString:""; map,ps,svg +:href:GCNE:escString:""; map,postscript,svg Synonym for URL. -:id:GCNE:escString:""; map,ps,svg +:id:GCNE:escString:""; map,postscript,svg Allows the graph author to provide an id for graph objects which is to be included in the output. Normal "\N", "\E", "\G" substitutions are applied. If provided, it is the responsibility of the provider to keep diff --git a/doc/infosrc/templates/attrs.html.j2 b/doc/infosrc/templates/attrs.html.j2 index a0fe14692..9f3a34ef1 100644 --- a/doc/infosrc/templates/attrs.html.j2 +++ b/doc/infosrc/templates/attrs.html.j2 @@ -115,9 +115,7 @@ of the layout programs. not dot {%- else -%} {%- for flag in attr.flags | reverse -%} - {%- if flag == 'ps' -%} - postscript - {%- elif flag == 'bitmap' -%} + {%- if flag == 'bitmap' -%} bitmap output {%- else -%} {{ flag }}