Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132962 - [en] Update document: /proj/en/gdp/doc/doc-tipsntricks.xml
Summary: [en] Update document: /proj/en/gdp/doc/doc-tipsntricks.xml
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 16:43 UTC by alexandre
Modified: 2006-05-11 02:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diff -U6 file (doc-tipsntricks.diff,934 bytes, patch)
2006-05-10 16:43 UTC, alexandre
Details | Diff
diff -U6 file (doc-tipsntricks.diff,1.15 KB, patch)
2006-05-10 17:29 UTC, alexandre
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alexandre 2006-05-10 16:43:17 UTC
In this tips&tricks document, there is a suggested command line to test local documents :
"xsltproc --novalid test/guide.xsl alsa-guide.xml > test/alsa-guide.html".
The problem is, if you use entities defined in the guide.dtd it will generate an error because the DTD is not loaded with the "--novalid" option. Thus, this little change proposal.
Comment 1 alexandre 2006-05-10 16:43:51 UTC
Created attachment 86578 [details, diff]
diff -U6 file
Comment 2 alexandre 2006-05-10 17:25:48 UTC
Comment on attachment 86578 [details, diff]
diff -U6 file

--- proj/en/gdp/doc/doc-tipsntricks.xml	2006-05-11 02:18:35.000000000 +0200
+++ doc-tipsntricks.xml	2006-05-11 02:22:11.000000000 +0200
@@ -17,14 +17,14 @@
 Some tips & tricks that make the life for a Gentoo Documentation Developer
 easier (or more miserable :)
 </abstract>
 
 <license/>
 
-<version>0.21</version>
-<date>2006-03-28</date>
+<version>0.22</version>
+<date>2006-05-11</date>
 
 <chapter>
 <title>Setting up your local environment</title>
 <section>
 <title>Local environment for contributors</title>
 <body>
@@ -204,13 +204,13 @@
 If <c>xmllint</c> returns without showing anything,  then the file is
 error-free (or at least concerning XML-tags). Next you need to convert it to
 HTML. <c>xsltproc</c> is the tool needed for that:
 </p>
 
 <pre caption="Converting to HTML">
-$ <i>xsltproc --novalid test/guide.xsl alsa-guide.xml &gt; test/alsa-guide.html</i>
+$ <i>xsltproc test/guide.xsl alsa-guide.xml &gt; test/alsa-guide.html</i>
 </pre>
 
 <p>
 If no errors are displayed, you should be able to point your browser to
 <uri>file:///home/user/work/gentoo/doc/test/alsa-guide.html</uri> to view the
 resulting document. If not, fix your guide until it works.
Comment 3 alexandre 2006-05-10 17:27:47 UTC
Comment on attachment 86578 [details, diff]
diff -U6 file
Comment 4 alexandre 2006-05-10 17:29:00 UTC
Created attachment 86581 [details, diff]
diff -U6 file
Comment 5 Xavier Neys (RETIRED) gentoo-dev 2006-05-11 02:23:19 UTC
Fixed. Thanks.