User Tools

Site Tools


svg_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
svg_files [2018/08/09 10:43]
arusso
svg_files [2019/10/20 23:29]
arusso
Line 1: Line 1:
 ===== SVG Files ===== ===== SVG Files =====
  
-Files are located in an RPC-managed space: https://​www.rfc-editor.org/​materials/​format/​svg/​+Sample files are located in this directory: https://​www.rfc-editor.org/​materials/​format/​svg/​
  
 Tools used to generate the SVG files: Tools used to generate the SVG files:
Line 13: Line 13:
 === from Nevil Brownlee, 18 July 2018 === === from Nevil Brownlee, 18 July 2018 ===
  
-The version of SVG that will be allowed in RFCs is described in RFC 7996, "SVG Drawings for RFCs: SVG 1.2 RFC", its formal syntax ​was updated in author: draft-7996-bis. +The version of SVG that will be allowed in RFCs is described in [[https://​www.rfc-editor.org/​info/​rfc7996|RFC 7996]], "SVG Drawings for RFCs: SVG 1.2 RFC".  Its formal syntax ​will be updated in 7996-bis (see [[https://​github.com/​rfc-format/​draft-iab-svg-rfc-bis|the GitHub repository]])
  
-As one of the tools for using SVG 1.2 RFC, we have produced ​*check_svg.py,a Python program that will read SVG files, check whether they conform to SVG 1.2 RFC, and delete from them anything that doesn'​t conform. When you've made an SVG diagram, you should run it through ​check_svg.py, and take a careful look at the resulting new SCG diagram to see that no features that you need have been deleted.+As one of the tools for using SVG 1.2 RFC, we have produced ​[[https://​pypi.org/​project/​svgcheck/​|svgcheck]], a Python program that will read SVG files, check whether they conform to SVG 1.2 RFC, and delete from them anything that doesn'​t conform. When you've made an SVG diagram, you should run it through ​svgcheck, and take a careful look at the resulting new SVG diagram to see that no features that you need have been deleted.
  
 Many people have asked for advice about how best to create SVG diagrams; in this note I summarise my experiences of doing that. To start with, Wikipedia has a good survey of both Open Source and Proprietary ​ Many people have asked for advice about how best to create SVG diagrams; in this note I summarise my experiences of doing that. To start with, Wikipedia has a good survey of both Open Source and Proprietary ​
Line 37: Line 37:
 Create your drawing using Draw, group it into a single object, then export it. (For me, that makes an SVG diagram that emacs and Inkscape display properly, but Firefox donesn'​t - however, check-svg.py'​s rewritten SVG diagram displays properly in Firefox, with Draw's arrowheads displayed properly.) Create your drawing using Draw, group it into a single object, then export it. (For me, that makes an SVG diagram that emacs and Inkscape display properly, but Firefox donesn'​t - however, check-svg.py'​s rewritten SVG diagram displays properly in Firefox, with Draw's arrowheads displayed properly.)
  
-=== dia ===+=== Dia ===
 Runs on Windows, OSX, GNU/Linux and Unix. Install it from http://​dia-installer.de Runs on Windows, OSX, GNU/Linux and Unix. Install it from http://​dia-installer.de
        
svg_files.txt ยท Last modified: 2019/10/20 23:29 by arusso