Revision: 47024
          http://brlcad.svn.sourceforge.net/brlcad/?rev=47024&view=rev
Author:   tbrowder2
Date:     2011-10-03 13:58:15 +0000 (Mon, 03 Oct 2011)
Log Message:
-----------
add figure template and explanation for better control of DB images

Modified Paths:
--------------
    brlcad/trunk/doc/docbook/README.DB_authors_notes

Modified: brlcad/trunk/doc/docbook/README.DB_authors_notes
===================================================================
--- brlcad/trunk/doc/docbook/README.DB_authors_notes    2011-10-02 23:55:30 UTC 
(rev 47023)
+++ brlcad/trunk/doc/docbook/README.DB_authors_notes    2011-10-03 13:58:15 UTC 
(rev 47024)
@@ -203,3 +203,40 @@
 Use scribus (http://www.scribus.net) to convert eps to svg.
 
 Use gimp (http://www.gimp.org) to scale or edit png images.
+
+
+A TEMPLATE FOR A FORMAL FIGURE AND INCLUDED IMAGES
+--------------------------------------------------
+
+To better control images for html and pdf, use different attributes
+according to role in the DB source.  Following is a template that
+gives the basic attribute to do that.  Note the filerefs are the same,
+but, in this case, the image widths are specified differently: the pdf
+(fo) image's desired width on the page is specifed while the html's is
+expressed as a percent of the actual image width.  Many times those
+two setting alone will tame unruly images
+
+  <!-- ************************************ -->
+  <figure>
+    <title>???</title>
+    <mediaobject>
+      <imageobject role='html'>
+        <imagedata
+           align="center"
+           width='6in' scalefit='1'
+           fileref="./images/vbox/"
+         />
+      </imageobject>
+      <imageobject role='fo'>
+        <imagedata
+           align="center"
+           width='100%' scalefit='1'
+           fileref="./images/vbox/"
+         />
+      </imageobject>
+      <textobject>
+        <phrase>a picture</phrase>
+      </textobject>
+    </mediaobject>
+  </figure>
+

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to