From db294b77eb3007909d2a777062fd7fd722c88edb Mon Sep 17 00:00:00 2001 From: Mark Hansen Date: Thu, 22 Oct 2020 20:44:21 +1100 Subject: [PATCH] attrs: Remove special-casing postscript template Just spell out postscript in the source --- doc/infosrc/attrs | 6 +++--- doc/infosrc/templates/attrs.html.j2 | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) 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 }} -- 2.40.0