| … | |
… | |
| 22 | # USE=glep emerge docutils |
22 | # USE=glep emerge docutils |
| 23 | |
23 | |
| 24 | The Gentoo Linux docutils package includes the *glep.py* program |
24 | The Gentoo Linux docutils package includes the *glep.py* program |
| 25 | which transforms a GLEP in text form to the equivalent html version:: |
25 | which transforms a GLEP in text form to the equivalent html version:: |
| 26 | |
26 | |
| 27 | # glep.py glep-0001.txt glep-0001.html |
27 | # docutils-glep.py glep-0001.txt glep-0001.html |
| 28 | |
28 | |
| 29 | The above usage embeds the CSS stylesheet in the html file. For pages |
29 | The above usage embeds the CSS stylesheet in the html file. For pages |
| 30 | on glep.gentoo.org, it is better to use a link instead:: |
30 | on glep.gentoo.org, it is better to use a link instead:: |
| 31 | |
31 | |
| 32 | # glep.py --link-stylesheet --stylesheet-path=tools/glep.css \ |
32 | # docutils-glep.py --link-stylesheet --stylesheet-path=tools/glep.css \ |
| 33 | > glep-0001.txt glep-0001.html |
33 | > glep-0001.txt glep-0001.html |
| 34 | |
34 | |
| 35 | (Incidentally, *glep.py* contains special code to verify that |
35 | (Incidentally, *glep.py* contains special code to verify that |
| 36 | the GLEP header is reasonable. This README lacks that header, |
36 | the GLEP header is reasonable. This README lacks that header, |
| 37 | so to convert this file to html using docutils you need to |
37 | so to convert this file to html using docutils you need to |