r19880 - gnucash-docs/trunk/guide/C - Use different accounting equation image for html or pdf rendering

Geert Janssens gjanssens at code.gnucash.org
Wed Nov 24 10:46:16 EST 2010


Author: gjanssens
Date: 2010-11-24 10:46:16 -0500 (Wed, 24 Nov 2010)
New Revision: 19880
Trac: http://svn.gnucash.org/trac/changeset/19880

Added:
   gnucash-docs/trunk/guide/C/figures/basics_AccountRelationships.svg
Modified:
   gnucash-docs/trunk/guide/C/ch_basics.xml
   gnucash-docs/trunk/guide/C/figures/basics_AccountRelationships.png
Log:
Use different accounting equation image for html or pdf rendering
This is meant as an example of how the pdf images can be improved.
This may not work well for screenshots though.

Modified: gnucash-docs/trunk/guide/C/ch_basics.xml
===================================================================
--- gnucash-docs/trunk/guide/C/ch_basics.xml	2010-11-24 12:27:46 UTC (rev 19879)
+++ gnucash-docs/trunk/guide/C/ch_basics.xml	2010-11-24 15:46:16 UTC (rev 19880)
@@ -98,10 +98,15 @@
         <title>The basic accounts relationships</title>
         <screenshot id="basics-AccountRelationships">
           <mediaobject>
-            <imageobject>
+            <imageobject role="html">
               <imagedata fileref="figures/basics_AccountRelationships.png"
-                         format="PNG" srccredit="Jon Lapham" ></imagedata>
+                         format="PNG" srccredit="Geert Janssens" ></imagedata>
             </imageobject>
+            <imageobject role="fo">
+              <imagedata fileref="figures/basics_AccountRelationships.svg"
+                         format="SVG" srccredit="Geert Janssens"
+                         contentwidth="4in"></imagedata>
+            </imageobject>
 
             <textobject>
               <phrase>The basic accounts relationships</phrase>

Modified: gnucash-docs/trunk/guide/C/figures/basics_AccountRelationships.png
===================================================================
(Binary files differ)

Added: gnucash-docs/trunk/guide/C/figures/basics_AccountRelationships.svg
===================================================================
--- gnucash-docs/trunk/guide/C/figures/basics_AccountRelationships.svg	                        (rev 0)
+++ gnucash-docs/trunk/guide/C/figures/basics_AccountRelationships.svg	2010-11-24 15:46:16 UTC (rev 19880)
@@ -0,0 +1,281 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="510"
+   height="150"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.0 r9654"
+   sodipodi:docname="basics_AccountRelationships.svg"
+   inkscape:export-filename="/home/janssege/Development/gnucash/docs-git/guide/C/figures/basics_AccountRelationships.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <defs
+     id="defs4">
+    <marker
+       inkscape:stockid="Arrow1Lend"
+       orient="auto"
+       refY="0.0"
+       refX="0.0"
+       id="Arrow1Lend"
+       style="overflow:visible;">
+      <path
+         id="path4261"
+         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
+         transform="scale(0.8) rotate(180) translate(12.5,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow2Lend"
+       orient="auto"
+       refY="0.0"
+       refX="0.0"
+       id="Arrow2Lend"
+       style="overflow:visible;">
+      <path
+         id="path4046"
+         style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
+         d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
+         transform="scale(1.1) rotate(180) translate(1,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Mend"
+       orient="auto"
+       refY="0.0"
+       refX="0.0"
+       id="Arrow1Mend"
+       style="overflow:visible;">
+      <path
+         id="path4034"
+         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
+         transform="scale(0.4) rotate(180) translate(10,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Lstart"
+       orient="auto"
+       refY="0.0"
+       refX="0.0"
+       id="Arrow1Lstart"
+       style="overflow:visible">
+      <path
+         id="path4025"
+         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
+         transform="scale(0.8) translate(12.5,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Mend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Mend-4"
+       style="overflow:visible">
+      <path
+         inkscape:connector-curvature="0"
+         id="path4034-7"
+         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
+         transform="matrix(-0.4,0,0,-0.4,-4,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Mend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Mend-2"
+       style="overflow:visible">
+      <path
+         inkscape:connector-curvature="0"
+         id="path4034-1"
+         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
+         transform="matrix(-0.4,0,0,-0.4,-4,0)" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.98994949"
+     inkscape:cx="188.57143"
+     inkscape:cy="105.35725"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1187"
+     inkscape:window-height="1130"
+     inkscape:window-x="725"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-902.36218)">
+    <path
+       style="fill:#87ff87;fill-opacity:1;fill-rule:nonzero;stroke:#00bc00;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 71.84375,940.79072 0,14.09375 c -0.04189,-7.3e-4 -0.08293,0 -0.125,0 l -61.53125,0 c -3.878,0 -7,3.122 -7,7 l 0,28.8125 c 0,3.878 3.122,7 7,7 l 61.53125,0 c 0.04207,0 0.08311,7.3e-4 0.125,0 l 0,14.09373 40.5625,-35.49998 -40.5625,-35.5 z"
+       id="rect5340"
+       inkscape:connector-curvature="0" />
+    <text
+       xml:space="preserve"
+       style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+       x="10.916859"
+       y="982.15399"
+       id="text2997"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan2999"
+         x="10.916859"
+         y="982.15399">Income</tspan></text>
+    <path
+       inkscape:connector-curvature="0"
+       style="fill:#ff7d69;fill-opacity:1;fill-rule:nonzero;stroke:#bc1600;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 467.07999,940.79072 0,14.0937 c -0.042,-7e-4 -0.083,0 -0.125,0 l -61.5313,0 c -3.878,0 -7,3.122 -7,7 l 0,28.81253 c 0,3.878 3.122,7 7,7 l 61.5313,0 c 0.042,0 0.083,8e-4 0.125,0 l 0,14.09375 40.5625,-35.49998 -40.5625,-35.5 z"
+       id="rect5340-9" />
+    <text
+       xml:space="preserve"
+       style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+       x="400.88116"
+       y="982.15399"
+       id="text3001"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3003"
+         x="400.88116"
+         y="982.15399">Expenses</tspan></text>
+    <rect
+       style="opacity:1;fill:#cfcfcf;fill-opacity:1;fill-rule:nonzero;stroke:#8a8a8a;stroke-width:2.05670190000000019;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       id="rect2985"
+       width="274.95154"
+       height="132.14285"
+       x="116.93922"
+       y="910.2193"
+       rx="7.4025412"
+       ry="7" />
+    <g
+       id="g3033"
+       transform="translate(-202.5839,-54.406259)">
+      <text
+         sodipodi:linespacing="125%"
+         id="text2989"
+         y="993.79077"
+         x="412.5282"
+         style="font-size:22px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+         xml:space="preserve"><tspan
+           y="993.79077"
+           x="412.5282"
+           id="tspan2991"
+           sodipodi:role="line">Equity</tspan></text>
+      <text
+         sodipodi:linespacing="125%"
+         id="text2993"
+         y="1010.5051"
+         x="384.42859"
+         style="font-size:14px;font-style:oblique;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Oblique"
+         xml:space="preserve"><tspan
+           y="1010.5051"
+           x="384.42859"
+           id="tspan2995"
+           sodipodi:role="line">( Assets - Liabilities )</tspan></text>
+    </g>
+    <g
+       id="g5033"
+       transform="translate(-5.0135841,-5.4504263)">
+      <rect
+         ry="7"
+         rx="7"
+         y="975.50507"
+         x="135.14285"
+         height="58.857143"
+         width="117.42857"
+         id="rect2987"
+         style="fill:#87ff87;fill-opacity:1;fill-rule:nonzero;stroke:#00bc00;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+      <g
+         transform="translate(-8.5234451,11.044167)"
+         id="g3021">
+        <text
+           xml:space="preserve"
+           style="font-size:14px;font-style:oblique;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Oblique"
+           x="153.72238"
+           y="1010.5051"
+           id="text3005"
+           sodipodi:linespacing="125%"><tspan
+             sodipodi:role="line"
+             id="tspan3007"
+             x="153.72238"
+             y="1010.5051">Positive Value</tspan></text>
+        <text
+           xml:space="preserve"
+           style="font-size:22px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+           x="167.02267"
+           y="993.17554"
+           id="text3013"
+           sodipodi:linespacing="125%"><tspan
+             sodipodi:role="line"
+             id="tspan3015"
+             x="167.02267"
+             y="993.17554">Assets</tspan></text>
+      </g>
+    </g>
+    <rect
+       style="fill:#ff7d69;fill-opacity:1;fill-rule:nonzero;stroke:#bc1600;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       id="rect2987-3"
+       width="117.42857"
+       height="58.857143"
+       x="261.27213"
+       y="970.05463"
+       rx="7"
+       ry="7" />
+    <g
+       id="g3027"
+       transform="translate(-4.7662468,5.5937407)">
+      <text
+         sodipodi:linespacing="125%"
+         id="text3009"
+         y="1010.5051"
+         x="271.91086"
+         style="font-size:14px;font-style:oblique;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Oblique"
+         xml:space="preserve"><tspan
+           y="1010.5051"
+           x="271.91086"
+           id="tspan3011"
+           sodipodi:role="line">Negative Value</tspan></text>
+      <text
+         sodipodi:linespacing="125%"
+         id="text3017"
+         y="993.79077"
+         x="272.28781"
+         style="font-size:22px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+         xml:space="preserve"><tspan
+           y="993.79077"
+           x="272.28781"
+           id="tspan3019"
+           sodipodi:role="line">Liabilities</tspan></text>
+    </g>
+  </g>
+</svg>



More information about the gnucash-changes mailing list