Commit 7d88b800 authored by claes's avatar claes

*** empty log message ***

parent 5c39762a
......@@ -12,12 +12,72 @@
<tr><td><classname>Date________</classname></td>
<td><classname>Module_____</classname></td>
<td><classname>Change</classname></td></tr>
<tr><td>05-SEP-2006</td><td>src/rt_qmon</td>
<td>Wait a while for correct scheduler to be set before starting threads. /rk</td></tr>
<tr><td>05-SEP-2006</td><td>src/plc</td>
<td>Wait for all threads to set its priority before changing real and effective user id. /rk</td></tr>
<tr><td>30-JAN-2007</td><td>src/init</td>
<td>Process rt_webmonelog (web eventlog server) added to startup. /cs</td></tr>
<tr><td>30-JAN-2007</td><td>xtt/web</td>
<td>_opwin removed from homepage name. index.html set as defaultname. /cs</td></tr>
<tr><td>30-JAN-2007</td><td>xtt/web</td>
<td>Possibility to configure which objectgraph jar-files that should be loaded (BaseComponent or ABB). /cs</td></tr>
<tr><td>30-JAN-2007</td><td>bcomp/bcomp</td>
<td>New components for On/Off burner control, CompOnOffBurner and CompOnOffZone. /cs</td></tr>
<tr><td>30-JAN-2007</td><td>java/web</td>
<td>Button for Eventlog in operators menu added. /cs</td></tr>
<tr><td>30-JAN-2007</td><td>src/wbl</td>
<td>Attribute LoadArchives added to WebHandler with new type WebLoadArchiveMask. /cs</td></tr>
<tr><td>30-JAN-2007</td><td>java/jop</td>
<td>Default background color in GeTextField changed from Inherit to lightgrey. /cs</td></tr>
<tr><td>29-JAN-2007</td><td>java/web</td>
<td>Bugfix in dynamic HostObject in web interface. /cs</td></tr>
<tr><td>25-JAN-2007</td><td>xtt/ev</td>
<td>Problem with double appearence of alarm when communication is bad fixed. /cs</td></tr>
<tr><td>24-JAN-2007</td><td>src/io</td>
<td>Check at io startup if multiple signals are connected to the same channel. /cs</td></tr>
<tr><td>24-JAN-2007</td><td>wb/wtt</td>
<td>Application build method for Application and PlcProcess objects. /cs</td></tr>
<tr><td>24-JAN-2007</td><td>wb/wb</td>
<td>Click time increated for MB2 (create object) in wtt. /cs</td></tr>
<tr><td>24-JAN-2007</td><td>src/wbl</td>
<td>Attribute BuildCmd moved/added to Application and PlcProcess. /cs</td></tr>
<tr><td>24-JAN-2007</td><td>wb/plc</td>
<td>'Create Object' added to the Plc Editor popupmenu. /cs</td></tr>
<tr><td>23-JAN-2007</td><td>wb/wb</td>
<td>Connect methods for GetATv, StoAtv, CStoATv, GetDTv etc added. /cs</td></tr>
<tr><td>23-JAN-2007</td><td>xtt/xtt</td>
<td>Bugfix in remtrans table. If multicast object found, object was not displayed. /cs</td></tr>
<tr><td>23-JAN-2007</td><td>wb/wb</td>
<td>Bugfix in trace attribute for GetIpToA. /cs</td></tr>
<tr><td>17-JAN-2007</td><td>xtt/ge</td>
<td>Property EscapeStore for dynamic type ValueInput added. /cs</td></tr>
<tr><td>16-JAN-2007</td><td>src/trace</td>
<td>Mouse Scroll events added. /cs</td></tr>
<tr><td>16-JAN-2007</td><td>xtt/xtt</td>
<td>Toolbar with icons for the methods of the selected object added. /cs</td></tr>
<tr><td>16-JAN-2007</td><td>wb/plc</td>
<td>Mouse Scroll events added. /cs</td></tr>
<tr><td>15-JAN-2007</td><td>xtt/curve</td>
<td>Scroll and zoom with arrow keys and mouse wheel. Scroll buttons in tools. /cs</td></tr>
<tr><td>12-JAN-2007</td><td>xtt/ge</td>
<td>Fileview for import of pwg and image files. /cs</td></tr>
<tr><td>12-JAN-2007</td><td>xtt/xtt</td>
<td>Gtk version of xtt. /cs</td></tr>
<tr><td>12-JAN-2007</td><td>xtt/xtt</td>
<td>Nodename displayed i Xtt title. /cs</td></tr>
<tr><td>12-JAN-2007</td><td>xtt/xtt</td>
<td>Font size in alarmtexts in operator window can be changed. /cs</td></tr>
<tr><td>12-JAN-2007</td><td>wb/wb</td>
<td>Gtk version of wb. /cs</td></tr>
<tr><td>12-JAN-2007</td><td>xtt/xtt</td>
<td>New syntax for function key definition file (gtk version). /cs</td></tr>
<tr><td>12-JAN-2007</td><td>src/trace</td>
<td>Gtk version of rt_trace. Navigator window inserted in main window. /cs</td></tr>
<tr><td>10-OCT-2006</td><td>wb/pkg</td>
<td>Support for bootnodes added, i.e. copying of package to other nodes than the actual process or operator station. /cs</td></tr>
<tr><td>05-SEP-2006</td><td>src/rt_tmon</td>
<td>Established new callback function for glibc malloc memory checks. /rk</td></tr>
<tr><td>05-SEP-2006</td><td>src/plc</td>
<td>Wait for all threads to set its priority before changing real and effective user id. /rk</td></tr>
<tr><td>05-SEP-2006</td><td>src/rt_qmon</td>
<td>Wait a while for correct scheduler to be set before starting threads. /rk</td></tr>
<tr><td>30-AUG-2006</td><td>src/conv</td>
<td>Attribute changed from enum to mask or v.v. was not converted. /cs</td></tr>
<tr><td>22-AUG-2006</td><td>wb/wb</td>
......@@ -30,10 +90,10 @@
<td>Byte order dependency added for PRM data in profibus configurator. /cs</td></tr>
<tr><td>20-JUL-2006</td><td>src/init</td>
<td>Try with smaller posix message queue if system does not support big queues. /rk</td></tr>
<tr><td>13-JUL-2006</td><td>src/rt</td>
<td>Bugfix in classcache for large classes. /rk</td></tr>
<tr><td>13-JUL-2006</td><td>src/init</td>
<td>Volume versioncheck for volref removed if volume is not yet loaded. /rk</td></tr>
<tr><td>13-JUL-2006</td><td>src/rt</td>
<td>Bugfix in classcache for large classes. /rk</td></tr>
<tr><td>12-JUL-2006</td><td>abb/-</td>
<td>ABB_ACS800_Slave: IORack bit was missing. /cs</td></tr>
<tr><td>11-JUL-2006</td><td>wb/utl</td>
......@@ -42,10 +102,10 @@
<td>Bugfix in GetSp: short string could cause compile problems. /cs</td></tr>
<tr><td>30-JUN-2006</td><td>src/wbl</td>
<td>Listdescriptor for channellist adapted to V4.x. /cs</td></tr>
<tr><td>29-JUN-2006</td><td>xtt/ge</td>
<td>Format for Time and DeltaTime in table added. /cs</td></tr>
<tr><td>29-JUN-2006</td><td>wb/plc</td>
<td>Bugfix: CStoIp, StoIp, StoAToIp and CStoAToIp with In-input not connected, did not fetch the supplied value. /cs</td></tr>
<tr><td>29-JUN-2006</td><td>xtt/ge</td>
<td>Format for Time and DeltaTime in table added. /cs</td></tr>
<tr><td>28-JUN-2006</td><td>xtt/ge</td>
<td>New Value, ValueInput and Button subgraphs with Right and Center adjustment. /cs</td></tr>
<tr><td>28-JUN-2006</td><td>xtt/glow</td>
......@@ -58,46 +118,46 @@
<td>Object attributes channels and signals displayed in Device table. /cs</td></tr>
<tr><td>07-JUN-2006</td><td>wb/wb</td>
<td>Bugfix in wb_name, segment(0) returned invalid name for root objects. /cs</td></tr>
<tr><td>30-MAY-2006</td><td>wb/wtt</td>
<td>Bugfix: change text without selecting any text object caused segfault. /cs</td></tr>
<tr><td>30-MAY-2006</td><td>wb/wb</td>
<td>UpdateClasses also converts the input and output masks in function objects. /cs</td></tr>
<tr><td>30-MAY-2006</td><td>bcomp/bcomp</td>
<td>Local mode added to CompModeDM and BaseMValve. /cs</td></tr>
<tr><td>30-MAY-2006</td><td>wb/wtt</td>
<td>Bugfix: change text without selecting any text object caused segfault. /cs</td></tr>
<tr><td>24-MAY-2006</td><td>wb/wtt</td>
<td>Bugfix in classeditor. Change of classname caused unidentified class of the template object of the class. /cs</td></tr>
<tr><td>24-MAY-2006</td><td>xtt/ge</td>
<td>Property for selected cell color in GrowTable. /cs</td></tr>
<tr><td>24-MAY-2006</td><td>wb/wb</td>
<td>StructName in ObjBodyDef inserted in PostCreate method. /cs</td></tr>
<tr><td>24-MAY-2006</td><td>xtt/ge</td>
<td>Property for selected cell color in GrowTable. /cs</td></tr>
<tr><td>24-MAY-2006</td><td>wb/wtt</td>
<td>Bugfix in classeditor. Change of classname caused unidentified class of the template object of the class. /cs</td></tr>
<tr><td>23-MAY-2006</td><td>src/pwrb</td>
<td>New class GetDatap added, to fetch datainputs in template plc. /cs</td></tr>
<tr><td>22-MAY-2006</td><td>bcomp/bcomp</td>
<td>New classes CompPID and CompModePID: PID controller divided in main object and function object. /cs</td></tr>
<tr><td>22-MAY-2006</td><td>wb/wtt</td>
<td>Update Class added in menu, and new commands: 'update classes' and 'check classes'. /cs</td></tr>
<tr><td>22-MAY-2006</td><td>xtt/ge</td>
<td>Bugfix for $user attributes. Scan function for dynamics wasn't called. /cs</td></tr>
<tr><td>22-MAY-2006</td><td>wb/wtt</td>
<td>Update Class added in menu, and new commands: 'update classes' and 'check classes'. /cs</td></tr>
<tr><td>19-MAY-2006</td><td>wb/wb</td>
<td>Update of instance objects when a class is modified (without reload). /lw</td></tr>
<tr><td>16-MAY-2006</td><td>xtt/glow</td>
<td>Owner added to GrowWindow and GrowFolder. /cs</td></tr>
<tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>Bit type added in Invisible to check visibility on bits in a bitmap. /cs</td></tr>
<tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>Object instances can be used in graphs in Window and Folder objects. /cs</td></tr>
<tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>Possibility to use local database in DigLowColor, ToggleDig, Slider insensitiv, and Invisible. /cs</td></tr>
<tr><td>16-MAY-2006</td><td>src/wbl</td>
<td>Attribute ManMode added to Mode class, to avoid code in object graph. /cs</td></tr>
<tr><td>16-MAY-2006</td><td>xtt/glow</td>
<td>Owner added to GrowWindow and GrowFolder. /cs</td></tr>
<tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>Possibility to use local database in DigLowColor, ToggleDig, Slider insensitiv, and Invisible. /cs</td></tr>
<tr><td>12-MAY-2006</td><td>src/rt</td>
<td>Conversion between different versions av classes handles conversion from Objid to AttrRef and from AttrRef to Objid. /cs</td></tr>
<tr><td>11-MAY-2006</td><td>wb/wtt</td>
<td>Build Node window is not displayed if there is only one configured node for the current volume. Submenu on Build removed. /cs</td></tr>
<tr><td>11-MAY-2006</td><td>src/wbl</td>
<td>Possibility to freeze dbs versions, i.e. minor changes can be made without version mismatch. /cs</td></tr>
<tr><td>11-MAY-2006</td><td>xtt/ge</td>
<td>Bugfix in Ge Open window, null filename could cause empty list. /cs</td></tr>
<tr><td>11-MAY-2006</td><td>src/wbl</td>
<td>Possibility to freeze dbs versions, i.e. minor changes can be made without version mismatch. /cs</td></tr>
<tr><td>09-MAY-2006</td><td>bcomp/bcomp</td>
<td>Attribute DisableAlarm added to CompLimit to make it possible to use the limit supervision in BaseSensor without alarm. /cs</td></tr>
<tr><td>09-MAY-2006</td><td>profibus/-</td>
......@@ -116,16 +176,16 @@
<td>Bugfix in dataarithm compilation, space at end of line could cause error. /cs</td></tr>
<tr><td>26-APR-2006</td><td>wb/plc</td>
<td>Bugfix in GetData compilation, error when referenced parameter was a type (not a class) not handled. /cs</td></tr>
<tr><td>31-MAR-2006</td><td>xtt/glow</td>
<td>Bugfix in annotation input. Insert of new characters might cause segmentation fault. /cs</td></tr>
<tr><td>31-MAR-2006</td><td>wb/wtt</td>
<td>Build methods added. 'Compile', 'create loadfile' and 'create bootfile' replaced by 'build object', 'build volume' and 'build node'. 'build object', 'build volume' and 'build node' also available as wtt commands. /cs</td></tr>
<tr><td>31-MAR-2006</td><td>src/pwrs</td>
<td>Modified attribute added to RootVolume, SubVolume and SharedVolume. /cs</td></tr>
<tr><td>31-MAR-2006</td><td>wb/wtt</td>
<td>Copy with keep references added to wtt menu. /cs</td></tr>
<tr><td>31-MAR-2006</td><td>xtt/glow</td>
<td>Bugfix in annotation input. Insert of new characters might cause segmentation fault. /cs</td></tr>
<tr><td>31-MAR-2006</td><td>wb/wtt</td>
<td>Configuration wizard started when entering an empty directoryvolume. /cs</td></tr>
<tr><td>31-MAR-2006</td><td>wb/wtt</td>
<td>Copy with keep references added to wtt menu. /cs</td></tr>
<td>Build methods added. 'Compile', 'create loadfile' and 'create bootfile' replaced by 'build object', 'build volume' and 'build node'. 'build object', 'build volume' and 'build node' also available as wtt commands. /cs</td></tr>
<tr><td>17-MAR-2006</td><td>src/qcom</td>
<td>Replaces old unsent subscriptions with new fresh ones. /rk</td></tr>
<tr><td>17-MAR-2006</td><td>src/rt_tmon</td>
......@@ -134,32 +194,32 @@
<td>Changed interface to qcom_Put. Added attributes msg_id and prio in qcom_sPut structure. /rk</td></tr>
<tr><td>07-MAR-2006</td><td>xtt/gedyn</td>
<td>Subscription for Table (select array) and AnalogColor was not always unreferenced. /cs</td></tr>
<tr><td>27-FEB-2006</td><td>wb/wnav</td>
<td>Check before creating a toplevel object if class is a valid in the current window. /cs</td></tr>
<tr><td>27-FEB-2006</td><td>xtt/xtt</td>
<td>Command for collect remove and collect remove/clear in menu. /cs</td></tr>
<tr><td>27-FEB-2006</td><td>wb/wnav</td>
<td>Check before creating a toplevel object if class is a valid in the current window. /cs</td></tr>
<tr><td>27-FEB-2006</td><td>siemens/-</td>
<td>Changelog created. /cs</td></tr>
<tr><td>23-FEB-2006</td><td>wb/wnav</td>
<td>New wizard for configuration of directory volume. /cs</td></tr>
<tr><td>22-FEB-2006</td><td>src/convert</td>
<td>Bookmark inserted for every attribute in class xtthelp. /cs</td></tr>
<tr><td>22-FEB-2006</td><td>src/xtthelp</td>
<td>Bugfix, bookmark in xtthelp was case sensitive. /cs</td></tr>
<tr><td>21-FEB-2006</td><td>wb/ldh</td>
<td>Bugfix. Unhandled exception in DeleteObject and DeleteTree if not in edit mode. /cs</td></tr>
<tr><td>22-FEB-2006</td><td>src/convert</td>
<td>Bookmark inserted for every attribute in class xtthelp. /cs</td></tr>
<tr><td>21-FEB-2006</td><td>wb/wnav</td>
<td>Popupmenu for object with DevBody only could not be opened. /cs</td></tr>
<tr><td>20-FEB-2006</td><td>src/script</td>
<td>'#' alternative to '!' for comment in script. /cs</td></tr>
<tr><td>20-FEB-2006</td><td>wb/wnav</td>
<td>New commands: open graph, delete graph, set subwindow and release subwindow. /cs</td></tr>
<tr><td>21-FEB-2006</td><td>wb/ldh</td>
<td>Bugfix. Unhandled exception in DeleteObject and DeleteTree if not in edit mode. /cs</td></tr>
<tr><td>20-FEB-2006</td><td>xtt/ge</td>
<td>Connect to script extern variables in Value, Invisible, SetDig, ToggleDig, DigShift and OptionMenu. /cs</td></tr>
<tr><td>20-FEB-2006</td><td>src/script</td>
<td>'delete' statement added to remove external variables. /cs</td></tr>
<tr><td>20-FEB-2006</td><td>wb/script</td>
<td>New script functions SetAttribute, OpenGraph, CloseGraph, SetSubwindow and CheckSystemGroup. /cs</td></tr>
<tr><td>20-FEB-2006</td><td>wb/wnav</td>
<td>New commands: open graph, delete graph, set subwindow and release subwindow. /cs</td></tr>
<tr><td>20-FEB-2006</td><td>src/script</td>
<td>'#' alternative to '!' for comment in script. /cs</td></tr>
<tr><td>20-FEB-2006</td><td>src/script</td>
<td>'delete' statement added to remove external variables. /cs</td></tr>
<tr><td>19-FEB-2006</td><td>xtt/gedyn</td>
<td>Bugfix in GeValue: string was sometimes updated every scan. /cs</td></tr>
<tr><td>19-FEB-2006</td><td>wb/wnav</td>
......
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Proview Changelog</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2483114"></a>Proview Changelog</h2></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#id2484475">1. Changelog entries</a></span></dt></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2484475"></a>1.Changelog entries</h2></div></div></div><table xml:id="changelog_" border="1" id="changelog_"><tbody><tr><td><span class="classname">Date________</span></td>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Proview Changelog</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2452201"></a>Proview Changelog</h2></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#id2452262">1. Changelog entries</a></span></dt></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2452262"></a>1.Changelog entries</h2></div></div></div><table xml:id="changelog_" border="1" id="id2450150"><tbody><tr><td><span class="classname">Date________</span></td>
<td><span class="classname">Module_____</span></td>
<td><span class="classname">Change</span></td></tr><tr><td>05-SEP-2006</td><td>src/rt_qmon</td>
<td>Wait a while for correct scheduler to be set before starting threads. /rk</td></tr><tr><td>05-SEP-2006</td><td>src/plc</td>
<td>Wait for all threads to set its priority before changing real and effective user id. /rk</td></tr><tr><td>05-SEP-2006</td><td>src/rt_tmon</td>
<td>Established new callback function for glibc malloc memory checks. /rk</td></tr><tr><td>30-AUG-2006</td><td>src/conv</td>
<td><span class="classname">Change</span></td></tr><tr><td>30-JAN-2007</td><td>src/init</td>
<td>Process rt_webmonelog (web eventlog server) added to startup. /cs</td></tr><tr><td>30-JAN-2007</td><td>xtt/web</td>
<td>_opwin removed from homepage name. index.html set as defaultname. /cs</td></tr><tr><td>30-JAN-2007</td><td>xtt/web</td>
<td>Possibility to configure which objectgraph jar-files that should be loaded (BaseComponent or ABB). /cs</td></tr><tr><td>30-JAN-2007</td><td>bcomp/bcomp</td>
<td>New components for On/Off burner control, CompOnOffBurner and CompOnOffZone. /cs</td></tr><tr><td>30-JAN-2007</td><td>java/web</td>
<td>Button for Eventlog in operators menu added. /cs</td></tr><tr><td>30-JAN-2007</td><td>src/wbl</td>
<td>Attribute LoadArchives added to WebHandler with new type WebLoadArchiveMask. /cs</td></tr><tr><td>30-JAN-2007</td><td>java/jop</td>
<td>Default background color in GeTextField changed from Inherit to lightgrey. /cs</td></tr><tr><td>29-JAN-2007</td><td>java/web</td>
<td>Bugfix in dynamic HostObject in web interface. /cs</td></tr><tr><td>25-JAN-2007</td><td>xtt/ev</td>
<td>Problem with double appearence of alarm when communication is bad fixed. /cs</td></tr><tr><td>24-JAN-2007</td><td>src/io</td>
<td>Check at io startup if multiple signals are connected to the same channel. /cs</td></tr><tr><td>24-JAN-2007</td><td>wb/wtt</td>
<td>Application build method for Application and PlcProcess objects. /cs</td></tr><tr><td>24-JAN-2007</td><td>wb/wb</td>
<td>Click time increated for MB2 (create object) in wtt. /cs</td></tr><tr><td>24-JAN-2007</td><td>src/wbl</td>
<td>Attribute BuildCmd moved/added to Application and PlcProcess. /cs</td></tr><tr><td>24-JAN-2007</td><td>wb/plc</td>
<td>'Create Object' added to the Plc Editor popupmenu. /cs</td></tr><tr><td>23-JAN-2007</td><td>wb/wb</td>
<td>Connect methods for GetATv, StoAtv, CStoATv, GetDTv etc added. /cs</td></tr><tr><td>23-JAN-2007</td><td>xtt/xtt</td>
<td>Bugfix in remtrans table. If multicast object found, object was not displayed. /cs</td></tr><tr><td>23-JAN-2007</td><td>wb/wb</td>
<td>Bugfix in trace attribute for GetIpToA. /cs</td></tr><tr><td>17-JAN-2007</td><td>xtt/ge</td>
<td>Property EscapeStore for dynamic type ValueInput added. /cs</td></tr><tr><td>16-JAN-2007</td><td>src/trace</td>
<td>Mouse Scroll events added. /cs</td></tr><tr><td>16-JAN-2007</td><td>xtt/xtt</td>
<td>Toolbar with icons for the methods of the selected object added. /cs</td></tr><tr><td>16-JAN-2007</td><td>wb/plc</td>
<td>Mouse Scroll events added. /cs</td></tr><tr><td>15-JAN-2007</td><td>xtt/curve</td>
<td>Scroll and zoom with arrow keys and mouse wheel. Scroll buttons in tools. /cs</td></tr><tr><td>12-JAN-2007</td><td>xtt/ge</td>
<td>Fileview for import of pwg and image files. /cs</td></tr><tr><td>12-JAN-2007</td><td>xtt/xtt</td>
<td>Gtk version of xtt. /cs</td></tr><tr><td>12-JAN-2007</td><td>xtt/xtt</td>
<td>Nodename displayed i Xtt title. /cs</td></tr><tr><td>12-JAN-2007</td><td>xtt/xtt</td>
<td>Font size in alarmtexts in operator window can be changed. /cs</td></tr><tr><td>12-JAN-2007</td><td>wb/wb</td>
<td>Gtk version of wb. /cs</td></tr><tr><td>12-JAN-2007</td><td>xtt/xtt</td>
<td>New syntax for function key definition file (gtk version). /cs</td></tr><tr><td>12-JAN-2007</td><td>src/trace</td>
<td>Gtk version of rt_trace. Navigator window inserted in main window. /cs</td></tr><tr><td>10-OCT-2006</td><td>wb/pkg</td>
<td>Support for bootnodes added, i.e. copying of package to other nodes than the actual process or operator station. /cs</td></tr><tr><td>05-SEP-2006</td><td>src/rt_tmon</td>
<td>Established new callback function for glibc malloc memory checks. /rk</td></tr><tr><td>05-SEP-2006</td><td>src/plc</td>
<td>Wait for all threads to set its priority before changing real and effective user id. /rk</td></tr><tr><td>05-SEP-2006</td><td>src/rt_qmon</td>
<td>Wait a while for correct scheduler to be set before starting threads. /rk</td></tr><tr><td>30-AUG-2006</td><td>src/conv</td>
<td>Attribute changed from enum to mask or v.v. was not converted. /cs</td></tr><tr><td>22-AUG-2006</td><td>wb/wb</td>
<td>Performance improved when opening a node, and displaying the packages in the distributor. /cs</td></tr><tr><td>27-JUL-2006</td><td>wb/plc</td>
<td>Execute order was not displayed on aarithm objects and other objects with graphmethod 2. /cs</td></tr><tr><td>27-JUL-2006</td><td>bcomp/bcomp</td>
<td>Defaultvalue for BasePressureSensor.Trend.DataName corrected. /cs</td></tr><tr><td>25-JUL-2006</td><td>profibus/-</td>
<td>Byte order dependency added for PRM data in profibus configurator. /cs</td></tr><tr><td>20-JUL-2006</td><td>src/init</td>
<td>Try with smaller posix message queue if system does not support big queues. /rk</td></tr><tr><td>13-JUL-2006</td><td>src/rt</td>
<td>Bugfix in classcache for large classes. /rk</td></tr><tr><td>13-JUL-2006</td><td>src/init</td>
<td>Volume versioncheck for volref removed if volume is not yet loaded. /rk</td></tr><tr><td>12-JUL-2006</td><td>abb/-</td>
<td>Try with smaller posix message queue if system does not support big queues. /rk</td></tr><tr><td>13-JUL-2006</td><td>src/init</td>
<td>Volume versioncheck for volref removed if volume is not yet loaded. /rk</td></tr><tr><td>13-JUL-2006</td><td>src/rt</td>
<td>Bugfix in classcache for large classes. /rk</td></tr><tr><td>12-JUL-2006</td><td>abb/-</td>
<td>ABB_ACS800_Slave: IORack bit was missing. /cs</td></tr><tr><td>11-JUL-2006</td><td>wb/utl</td>
<td>Bugfix in rtt crossreference list. Individual attributes were listed in RttObjectList. /cs</td></tr><tr><td>03-JUL-2006</td><td>wb/plc</td>
<td>Bugfix in GetSp: short string could cause compile problems. /cs</td></tr><tr><td>30-JUN-2006</td><td>src/wbl</td>
<td>Listdescriptor for channellist adapted to V4.x. /cs</td></tr><tr><td>29-JUN-2006</td><td>xtt/ge</td>
<td>Format for Time and DeltaTime in table added. /cs</td></tr><tr><td>29-JUN-2006</td><td>wb/plc</td>
<td>Bugfix: CStoIp, StoIp, StoAToIp and CStoAToIp with In-input not connected, did not fetch the supplied value. /cs</td></tr><tr><td>28-JUN-2006</td><td>xtt/ge</td>
<td>Listdescriptor for channellist adapted to V4.x. /cs</td></tr><tr><td>29-JUN-2006</td><td>wb/plc</td>
<td>Bugfix: CStoIp, StoIp, StoAToIp and CStoAToIp with In-input not connected, did not fetch the supplied value. /cs</td></tr><tr><td>29-JUN-2006</td><td>xtt/ge</td>
<td>Format for Time and DeltaTime in table added. /cs</td></tr><tr><td>28-JUN-2006</td><td>xtt/ge</td>
<td>New Value, ValueInput and Button subgraphs with Right and Center adjustment. /cs</td></tr><tr><td>28-JUN-2006</td><td>xtt/glow</td>
<td>Adjustment property (Left/Right/Center) added to annotations and table object. /cs</td></tr><tr><td>27-JUN-2006</td><td>bcomp/bcomp</td>
<td>Hysteresis in object graph for BaseSensor and subclasses displayed wrong value. /cs</td></tr><tr><td>15-JUN-2006</td><td>wb/plc</td>
<td>Search string didn't search in AttrRef attributes. /cs</td></tr><tr><td>15-JUN-2006</td><td>xtt/xtt</td>
<td>Object attributes channels and signals displayed in Device table. /cs</td></tr><tr><td>07-JUN-2006</td><td>wb/wb</td>
<td>Bugfix in wb_name, segment(0) returned invalid name for root objects. /cs</td></tr><tr><td>30-MAY-2006</td><td>wb/wb</td>
<td>Bugfix in wb_name, segment(0) returned invalid name for root objects. /cs</td></tr><tr><td>30-MAY-2006</td><td>wb/wtt</td>
<td>Bugfix: change text without selecting any text object caused segfault. /cs</td></tr><tr><td>30-MAY-2006</td><td>wb/wb</td>
<td>UpdateClasses also converts the input and output masks in function objects. /cs</td></tr><tr><td>30-MAY-2006</td><td>bcomp/bcomp</td>
<td>Local mode added to CompModeDM and BaseMValve. /cs</td></tr><tr><td>30-MAY-2006</td><td>wb/wtt</td>
<td>Bugfix: change text without selecting any text object caused segfault. /cs</td></tr><tr><td>24-MAY-2006</td><td>wb/wtt</td>
<td>Bugfix in classeditor. Change of classname caused unidentified class of the template object of the class. /cs</td></tr><tr><td>24-MAY-2006</td><td>xtt/ge</td>
<td>Property for selected cell color in GrowTable. /cs</td></tr><tr><td>24-MAY-2006</td><td>wb/wb</td>
<td>StructName in ObjBodyDef inserted in PostCreate method. /cs</td></tr><tr><td>23-MAY-2006</td><td>src/pwrb</td>
<td>Local mode added to CompModeDM and BaseMValve. /cs</td></tr><tr><td>24-MAY-2006</td><td>wb/wb</td>
<td>StructName in ObjBodyDef inserted in PostCreate method. /cs</td></tr><tr><td>24-MAY-2006</td><td>xtt/ge</td>
<td>Property for selected cell color in GrowTable. /cs</td></tr><tr><td>24-MAY-2006</td><td>wb/wtt</td>
<td>Bugfix in classeditor. Change of classname caused unidentified class of the template object of the class. /cs</td></tr><tr><td>23-MAY-2006</td><td>src/pwrb</td>
<td>New class GetDatap added, to fetch datainputs in template plc. /cs</td></tr><tr><td>22-MAY-2006</td><td>bcomp/bcomp</td>
<td>New classes CompPID and CompModePID: PID controller divided in main object and function object. /cs</td></tr><tr><td>22-MAY-2006</td><td>wb/wtt</td>
<td>Update Class added in menu, and new commands: 'update classes' and 'check classes'. /cs</td></tr><tr><td>22-MAY-2006</td><td>xtt/ge</td>
<td>Bugfix for $user attributes. Scan function for dynamics wasn't called. /cs</td></tr><tr><td>19-MAY-2006</td><td>wb/wb</td>
<td>Update of instance objects when a class is modified (without reload). /lw</td></tr><tr><td>16-MAY-2006</td><td>xtt/glow</td>
<td>Owner added to GrowWindow and GrowFolder. /cs</td></tr><tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>New classes CompPID and CompModePID: PID controller divided in main object and function object. /cs</td></tr><tr><td>22-MAY-2006</td><td>xtt/ge</td>
<td>Bugfix for $user attributes. Scan function for dynamics wasn't called. /cs</td></tr><tr><td>22-MAY-2006</td><td>wb/wtt</td>
<td>Update Class added in menu, and new commands: 'update classes' and 'check classes'. /cs</td></tr><tr><td>19-MAY-2006</td><td>wb/wb</td>
<td>Update of instance objects when a class is modified (without reload). /lw</td></tr><tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>Bit type added in Invisible to check visibility on bits in a bitmap. /cs</td></tr><tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>Object instances can be used in graphs in Window and Folder objects. /cs</td></tr><tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>Possibility to use local database in DigLowColor, ToggleDig, Slider insensitiv, and Invisible. /cs</td></tr><tr><td>16-MAY-2006</td><td>src/wbl</td>
<td>Attribute ManMode added to Mode class, to avoid code in object graph. /cs</td></tr><tr><td>12-MAY-2006</td><td>src/rt</td>
<td>Object instances can be used in graphs in Window and Folder objects. /cs</td></tr><tr><td>16-MAY-2006</td><td>src/wbl</td>
<td>Attribute ManMode added to Mode class, to avoid code in object graph. /cs</td></tr><tr><td>16-MAY-2006</td><td>xtt/glow</td>
<td>Owner added to GrowWindow and GrowFolder. /cs</td></tr><tr><td>16-MAY-2006</td><td>xtt/ge</td>
<td>Possibility to use local database in DigLowColor, ToggleDig, Slider insensitiv, and Invisible. /cs</td></tr><tr><td>12-MAY-2006</td><td>src/rt</td>
<td>Conversion between different versions av classes handles conversion from Objid to AttrRef and from AttrRef to Objid. /cs</td></tr><tr><td>11-MAY-2006</td><td>wb/wtt</td>
<td>Build Node window is not displayed if there is only one configured node for the current volume. Submenu on Build removed. /cs</td></tr><tr><td>11-MAY-2006</td><td>src/wbl</td>
<td>Possibility to freeze dbs versions, i.e. minor changes can be made without version mismatch. /cs</td></tr><tr><td>11-MAY-2006</td><td>xtt/ge</td>
<td>Bugfix in Ge Open window, null filename could cause empty list. /cs</td></tr><tr><td>09-MAY-2006</td><td>bcomp/bcomp</td>
<td>Build Node window is not displayed if there is only one configured node for the current volume. Submenu on Build removed. /cs</td></tr><tr><td>11-MAY-2006</td><td>xtt/ge</td>
<td>Bugfix in Ge Open window, null filename could cause empty list. /cs</td></tr><tr><td>11-MAY-2006</td><td>src/wbl</td>
<td>Possibility to freeze dbs versions, i.e. minor changes can be made without version mismatch. /cs</td></tr><tr><td>09-MAY-2006</td><td>bcomp/bcomp</td>
<td>Attribute DisableAlarm added to CompLimit to make it possible to use the limit supervision in BaseSensor without alarm. /cs</td></tr><tr><td>09-MAY-2006</td><td>profibus/-</td>
<td>Added some commentation. Fixed bug in pb_ai and pb_di. 3-byte input where not properly aligned when byte swapping. /cj</td></tr><tr><td>08-MAY-2006</td><td>wb/wtt</td>
<td>References in superclass was not displayed in the navigator when option Object Reference or Attribute Reference was selected. /cs</td></tr><tr><td>05-MAY-2006</td><td>wb/wtt</td>
......@@ -52,28 +82,28 @@
<td>Bugfix in time_Dcomp, 0 was not returned for equal times. /cs</td></tr><tr><td>02-MAY-2006</td><td>src/pwrb</td>
<td>New signals for absolute and delta time, and plc objects for time arithmetics added. /cs</td></tr><tr><td>26-APR-2006</td><td>wb/plc</td>
<td>Bugfix in dataarithm compilation, space at end of line could cause error. /cs</td></tr><tr><td>26-APR-2006</td><td>wb/plc</td>
<td>Bugfix in GetData compilation, error when referenced parameter was a type (not a class) not handled. /cs</td></tr><tr><td>31-MAR-2006</td><td>xtt/glow</td>
<td>Bugfix in annotation input. Insert of new characters might cause segmentation fault. /cs</td></tr><tr><td>31-MAR-2006</td><td>wb/wtt</td>
<td>Build methods added. 'Compile', 'create loadfile' and 'create bootfile' replaced by 'build object', 'build volume' and 'build node'. 'build object', 'build volume' and 'build node' also available as wtt commands. /cs</td></tr><tr><td>31-MAR-2006</td><td>src/pwrs</td>
<td>Bugfix in GetData compilation, error when referenced parameter was a type (not a class) not handled. /cs</td></tr><tr><td>31-MAR-2006</td><td>src/pwrs</td>
<td>Modified attribute added to RootVolume, SubVolume and SharedVolume. /cs</td></tr><tr><td>31-MAR-2006</td><td>wb/wtt</td>
<td>Copy with keep references added to wtt menu. /cs</td></tr><tr><td>31-MAR-2006</td><td>xtt/glow</td>
<td>Bugfix in annotation input. Insert of new characters might cause segmentation fault. /cs</td></tr><tr><td>31-MAR-2006</td><td>wb/wtt</td>
<td>Configuration wizard started when entering an empty directoryvolume. /cs</td></tr><tr><td>31-MAR-2006</td><td>wb/wtt</td>
<td>Copy with keep references added to wtt menu. /cs</td></tr><tr><td>17-MAR-2006</td><td>src/qcom</td>
<td>Build methods added. 'Compile', 'create loadfile' and 'create bootfile' replaced by 'build object', 'build volume' and 'build node'. 'build object', 'build volume' and 'build node' also available as wtt commands. /cs</td></tr><tr><td>17-MAR-2006</td><td>src/qcom</td>
<td>Replaces old unsent subscriptions with new fresh ones. /rk</td></tr><tr><td>17-MAR-2006</td><td>src/rt_tmon</td>
<td>Cleaning (zero-ing) of timed out subscription data. /rk</td></tr><tr><td>17-MAR-2006</td><td>src/qcom</td>
<td>Changed interface to qcom_Put. Added attributes msg_id and prio in qcom_sPut structure. /rk</td></tr><tr><td>07-MAR-2006</td><td>xtt/gedyn</td>
<td>Subscription for Table (select array) and AnalogColor was not always unreferenced. /cs</td></tr><tr><td>27-FEB-2006</td><td>wb/wnav</td>
<td>Check before creating a toplevel object if class is a valid in the current window. /cs</td></tr><tr><td>27-FEB-2006</td><td>xtt/xtt</td>
<td>Command for collect remove and collect remove/clear in menu. /cs</td></tr><tr><td>27-FEB-2006</td><td>siemens/-</td>
<td>Subscription for Table (select array) and AnalogColor was not always unreferenced. /cs</td></tr><tr><td>27-FEB-2006</td><td>xtt/xtt</td>
<td>Command for collect remove and collect remove/clear in menu. /cs</td></tr><tr><td>27-FEB-2006</td><td>wb/wnav</td>
<td>Check before creating a toplevel object if class is a valid in the current window. /cs</td></tr><tr><td>27-FEB-2006</td><td>siemens/-</td>
<td>Changelog created. /cs</td></tr><tr><td>23-FEB-2006</td><td>wb/wnav</td>
<td>New wizard for configuration of directory volume. /cs</td></tr><tr><td>22-FEB-2006</td><td>src/convert</td>
<td>Bookmark inserted for every attribute in class xtthelp. /cs</td></tr><tr><td>22-FEB-2006</td><td>src/xtthelp</td>
<td>Bugfix, bookmark in xtthelp was case sensitive. /cs</td></tr><tr><td>21-FEB-2006</td><td>wb/ldh</td>
<td>Bugfix. Unhandled exception in DeleteObject and DeleteTree if not in edit mode. /cs</td></tr><tr><td>21-FEB-2006</td><td>wb/wnav</td>
<td>Popupmenu for object with DevBody only could not be opened. /cs</td></tr><tr><td>20-FEB-2006</td><td>src/script</td>
<td>'#' alternative to '!' for comment in script. /cs</td></tr><tr><td>20-FEB-2006</td><td>wb/wnav</td>
<td>New commands: open graph, delete graph, set subwindow and release subwindow. /cs</td></tr><tr><td>20-FEB-2006</td><td>xtt/ge</td>
<td>Connect to script extern variables in Value, Invisible, SetDig, ToggleDig, DigShift and OptionMenu. /cs</td></tr><tr><td>20-FEB-2006</td><td>src/script</td>
<td>'delete' statement added to remove external variables. /cs</td></tr><tr><td>20-FEB-2006</td><td>wb/script</td>
<td>New script functions SetAttribute, OpenGraph, CloseGraph, SetSubwindow and CheckSystemGroup. /cs</td></tr><tr><td>19-FEB-2006</td><td>xtt/gedyn</td>
<td>New wizard for configuration of directory volume. /cs</td></tr><tr><td>22-FEB-2006</td><td>src/xtthelp</td>
<td>Bugfix, bookmark in xtthelp was case sensitive. /cs</td></tr><tr><td>22-FEB-2006</td><td>src/convert</td>
<td>Bookmark inserted for every attribute in class xtthelp. /cs</td></tr><tr><td>21-FEB-2006</td><td>wb/wnav</td>
<td>Popupmenu for object with DevBody only could not be opened. /cs</td></tr><tr><td>21-FEB-2006</td><td>wb/ldh</td>
<td>Bugfix. Unhandled exception in DeleteObject and DeleteTree if not in edit mode. /cs</td></tr><tr><td>20-FEB-2006</td><td>xtt/ge</td>
<td>Connect to script extern variables in Value, Invisible, SetDig, ToggleDig, DigShift and OptionMenu. /cs</td></tr><tr><td>20-FEB-2006</td><td>wb/script</td>
<td>New script functions SetAttribute, OpenGraph, CloseGraph, SetSubwindow and CheckSystemGroup. /cs</td></tr><tr><td>20-FEB-2006</td><td>wb/wnav</td>
<td>New commands: open graph, delete graph, set subwindow and release subwindow. /cs</td></tr><tr><td>20-FEB-2006</td><td>src/script</td>
<td>'#' alternative to '!' for comment in script. /cs</td></tr><tr><td>20-FEB-2006</td><td>src/script</td>
<td>'delete' statement added to remove external variables. /cs</td></tr><tr><td>19-FEB-2006</td><td>xtt/gedyn</td>
<td>Bugfix in GeValue: string was sometimes updated every scan. /cs</td></tr><tr><td>19-FEB-2006</td><td>wb/wnav</td>
<td>WGe, new class to open Ge graphs in development environment. /cs</td></tr></tbody></table></div></div></body></html>
......@@ -15,7 +15,7 @@
xmlns:xi="http://www.w3.org/2001/XInclude">
<info>
<title>Release Notes V4.2.0</title>
<title>Release Notes V4.3.0</title>
<subtitle></subtitle>
<authorgroup>
......@@ -37,8 +37,8 @@
</revision>
</revhistory>
<edition xml:lang="en">v0.1</edition>
<copyright><year>2006</year><holder>SSAB Oxelösund AB</holder></copyright>
<date>2006-04-01</date>
<copyright><year>2007</year><holder>SSAB Oxelösund AB</holder></copyright>
<date>2007-01-21</date>
<legalnotice>
<para xml:lang="en">Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
......@@ -55,507 +55,77 @@
</mediaobject>
</info>
<chapter xml:id="upgradev42_chaintro">
<chapter xml:id="upgradev43_chaintro">
<title>Introduction</title>
<section xml:id="upgradev42_intro">
<title>Upgrading to Proview 4.2.0</title>
<para>This document describes new functions i Proview V4.2.0, and how to upgrade a project
from V4.1.3 to V4.2.0.</para>
<section xml:id="upgradev43_intro">
<title>Upgrading to Proview 4.3.0</title>
<para>This document describes new functions i Proview V4.3.0, and how to upgrade a project
from V4.2.0 to V4.3.0.</para>
</section>
</chapter>
<chapter xml:id="upgradev42_chanewfunc">
<chapter xml:id="upgradev43_chanewfunc">
<title>New functions</title>
<section xml:id="upgradev42_profibus">
<title>Profibus configurator</title>
<para>The configuration of profibus is changed in V4.2.0, both the configuration procedure and
the objects used for the configuration.</para>
<para>You start by creating a master object in the node hierarchy, for Softing profiboard the class
<classname>Pb_Profiboard</classname> is used. Under this the slaves of the profibus circuit are
configured with
<classname>Pb_DP_Slave</classname> objects, or object that is a subclass of
<classname>Pb_DP_Slave</classname>. If you use the
<classname>Pb_DP_Slave</classname> object you put the name of a gsd-file, byteordering and possible
floatrepresentation into the object. For some slaves, there are specific subclasses, for example
<classname>Siemens_ET200S_IM151</classname>, <classname>Siemens_ET200M_IM153</classname>
and <classname>ABB_ACS_Pb_Slave</classname>. In this case, the gsd-file is already specified in
the object, and the file also comes with the proview release. </para>
<para>Next step is to open the profibus configuartor for each slave, by activating
<menuchoice><guimenu>Configure Slave</guimenu></menuchoice> in the popup menu for the slave.
The Profibus configurator reads the gsd-file and displayes data and configuration alternatives for
the slave. Under the map <tag>SlaveGsdData</tag> information about the slave is displayed, and under
the map <tag>UserPrmData</tag> configuration data for the slave is displayed.</para>
<para>
<imagedata fileref="upgrade42_pbconf.gif" width="5in" depth="6in"/>
</para>
<para>The slave can keep a specific number of modues, and for each possible module
there is a module entry in the configurator. By opening a module entry you can specify
type, configuration data, objectname and object class for the module.
<section xml:id="upgradev42_pb_type">
<title>Type</title>
<para>Under Type all possible types are displayed for the actual slave. Select the
desired type by clicking in the checkbox for the type.</para>
</section>
<section xml:id="upgradev42_pb_confdata">
<title>Configuration data</title>
<para>Under UserPrmData the configuration alternatives of the selected module
are displayed.You can specifiy data and choose between different alternatives to
configure the module. See the datasheet for the module for more information about
the alternatives.
</para>
</section>
<section xml:id="upgradev42_pb_objname">
<title>Objekt name</title>
<para>When configurinn, the Profibus configuration creates a module object under the
slave object. In ObjectName you specify a name of the module object. The name should be
unic for the slave.
</para></section>
<section xml:id="upgradev42_pb_mclass">
<title>Modul class</title>
<para>Under ModuleClass the possible classes of the module object, that is created under
the slave object, are displayed. The class you choose is dependent on the layout of
the dataarea tranfered on the profibus circuit. There are a number of specific classes,
e.g.<classname>Siemens_ET200S_Ai2, Siemens_ET200SDi2, ABB_ACS_PPO4.</classname>
These contains a specified dataarea described by intern channel objects. If there is no
matching module class, you choose <classname>Pb_Module</classname> and specify
the layout of the datarea later, by creating channel objects under the module object.
</para>
</section>
Whan all the modules are configured, you click on apply, and the different module
objects are created. Now the PrmUserData configuration of the slave and the modules
is stored in the attribute PrmUserData in the slave object, together with some other data.</para>
<para>You also have to assign a Process and PlcThread for the the configuration objects, and
configure channel object under Pb_Module object if necessary.
</para>
</section>
<section xml:id="upgradev42_buildmeth">
<title>Build methods</title>
<para>Compiling PlcPgm, creation of loadfiles and bootfiles are now preformed by the
Build function. The build function consists of build methods for node, volumes and objects.
</para>
<section xml:id="upgradev42_build_obj">
<title>Build methods for objects</title>
<section xml:id="upgradev42_build_plc">
<title>PlgPgm</title>
<para>The build method for a PlcPgm checks if the plc-kode is modified since the last
compilation. If it is changed, the program with all subwindows are compiled.
</para></section>
<section xml:id="upgradev42_build_xtt">
<title>XttGraph</title>
<para>The build method for a XttGraph copies the .pwg file from $pwrp_pop to $pwrp_exe
if the file on $pwrp_pop is more recent than the file on $pwrp_exe. If the graph is
a java applet or java application, it is exported as java and compiled.
</para></section>
<section xml:id="upgradev42_build_web">
<title>WebHandler</title>
<para>The build method for a WebHandler object creates a home sita for a node (calls
Generate Web).
</para></section>
</section>
<section xml:id="upgradev42_build_vol">
<title>Build methods for volumes</title>
<section xml:id="upgradev42_build_rootvol">
<title>Rootvolume</title>
<para>The build medhod of the rootvolume calls the build method of all PlcPgm,
XttGraph and WebHandler objects in the volume. If the volume is modified since the
last loadfile creation, new loadfiles are created. Also new crossreference files are
created if this is specified in Options.
</para></section>
<section xml:id="upgradev42_build_classvol">
<title>Classvolume</title>
<para>If the class volume is modified since the last creation of loadfiles for
the volume, new loadfiles and structfiles are created for the volume.
<section xml:id="upgradev43_gtk">
<title>Graphical user interface</title>
<para>The graphical user interface is change to GTK (The GIMP Toolkit), on which the Gnome desctop
is built. The interface is totaly rewritten and now have a more modern look and layout. The previous
interface, Motif, is still available in the source code, but not included in the released packages. </para>
<section xml:id="upgradev43_configurator">
<title>Configurator</title>
<para>The Configurator now has a toolbar with buttons for save, enter editmode, zoom etc.
</para></section>
</section>
<section xml:id="upgradev42_build_node">
<title>Build methods for nodes</title>
<para>The build method of a node calls the build method of the opened volume, and
thereafter creates a new bootfile for the node.
<note>Only the volumes that are opened is built. If the node contatins several volumes
the other volumes must be built separatley, before the node is built.
</note>
</para>
</section>
</section>
<section xml:id="upgradev42_remrack">
<title>PSS9000 Remote rack</title>
<para>A Proview system can now fetch data from a PSS9000 rack via ethernet. The
rack is configured by a Ssab_RemoteRack object in the node hierarchy. Under the
rack the cards are configured in the ordinary way.
</para>
</section>
<section xml:id="upgradev42_ld_node">
<title>ld_node_xxx.dat</title>
<para>ld_node file contains the nodes a node connects to via QCOM at proview startup.
The files is generated from data in NodeConfig and FriendNodeConfig objects in the
project volume.</para>
<para>Until now, the ls_node file has been common for all nodes of a project in the
same QCOM bus. Now each node has a separate ld_nod file. This makes it possible to
control individually which external nodes a node connects to. </para>
<para>As before, this is configured by FriendNodeConfig objects in the project volume.
These have been configured as siblings to the NodeConfig objects in a QCOM bus, and
results in all local nodes connecting to this external node.Now a FriendNodeConfig
object can also reside as a child to a NodeConfig object, implying that only this node
connects to the external node. </para>
</section>
<section xml:id="upgradev42_sub">
<title>Buffering of subscriptions removed</title>
<para>The buffering of subscriptions, which could lead to catch up fenomena at bad
communicaion, is now removed.
</para>
</section>
<section xml:id="upgradev42_wiz">
<title>Project configuration Wizard</title>
<para>The configuration of the project volume is now simplified by using a wizard
that is automaticaly started when an empty project volumes is opened. The wizard
feches the configured volumes of the project from the global volumelist, and creates
volume and node configuration objects for these.
</para>
<section xml:id="upgradev43_inst">
<title>Installation</title>
<para>
<imagedata fileref="upgrade42_pvconfig.gif" width="5in" depth="6in" />
The dependency of Motif and Imlib is removed in the released packages, which strongly simpifies the
installation procedure.
</para>
</section>
<section xml:id="upgradev42_cupdate">
<title>Update of classes</title>
<para>If a class in a classvolyme was modified, you previously had to dump the database
to a textfile and the reload this, to update the instances of the modified class.
Now there is a function that updates instances without dump and reload.</para>
<para>Every database stores loadfiles for classvolymes locally in the database directory.
It is these local files, and not the global dbs-files in $pwr_load or $pwrp_load that is used
when the workbench is opened. This makes you independent of changes in the global dbs-files.
When the workbench is started, the versions of local and global dbs-files are compared, and
if a new version in a global dbs-file is found, you get a warning message about this. The
command 'check classes' displayes which classes are modified, and if there are any instances
of the classes in the database. You should then activate Functions->Update Classes in the
menu to update the instances and the local dbs-files.</para>
<para>For function object classes there are some restrictions. In some cases the connections
to the function object has to be reconnected. If an input or output is removed, the input or
output pin should not be visible in any instance, otherwise the connections should be redrawn.
Also if an input or output is moved, the connections should be redrawn.
</para>
<section xml:id="upgradev43_lockdb">
<title>Database locked dialog</title>
<section xml:id="upgradev42_otime">
<title>Objects for time handling</title>
<para>A number of new objects to handle times is added in V4.2.0. There are objects
to store, add, subtract times etc.
<section xml:id="upgradev42_otime_sig">
<title>Signals</title>
<para>The signal objects ATv (AboluteTimeValue) and DTv (DeltaTimeValue) store time
values in the shape of an absolute time (of type pwr_tTime) or a delta time (of type
pwr_tDeltaTime, i.e. a time intervall). </para>
<para>The objects are found under the signal map in the palette. IO-copying of the objects
is not performed.</para>
</section>
<section xml:id="upgradev42_otime_plc">
<title>Plc objects</title>
<para>Addition and subtraction of times is perfomed in the plc program by the objects
<classname>AtAdd, DtAdd, AtSub, DtSub</classname> and <classname>AtDtSub</classname>. </para>
<para>To fetch an ATv or DTv the objects <classname>GetATv</classname> and
<classname>GetDTv</classname> is used. To fetch an attribute of type pwr_tTime or pwr_tDeltaTime
in an object, the objects <classname>GetATp</classname> and <classname>GetDTp</classname></para>
<para>To store a time value in an <classname>ATv</classname> or
<classname>DTv</classname>, <classname>StoATv</classname> and
<classname>StoDTv</classname>, or <classname>CStoATv</classname> and
<classname>CStoDTv</classname> for conditional storeage. To store a time value in
an attrbiute of type pwr_tTime or pwr_tDeltaTime, the objects
<classname>StoATp</classname> and <classname>StoDTp</classname>, or
<classname>CStoATp</classname> and <classname>CStoDTp</classname> for conditional storage.</para>
<para>To convert a deltatime to float DtToA is used, and vice vers AToDt.</para>
<para>All objects are found under the map Signals->Time in the palette of the plc editor.</para>
</section>
<para>If the database is locked, a dialog window is viewed where the user can choose whether to
exit, enter the loadfile, or remove the lock and enter the database.
</para>
</section>
<section xml:id="upgradev42_updatecls">
<title>Update Classes</title>
<para>Previously, if you made a change in a class, you had to reload the database, i.e. dump
the database to a textfile, and then load the textfile into the database again. Now
there is a funcion that converts the objects in a database to the now class description
without a reload. When the workbench is started, any new version of a dbs-file for a
classvolume is detected. If a new version i found, an error message is displayed in
the message window. You can then either continue with the old class description, or
update the objects to the new. The update is performed from
<menuchoice><guimenu>Function->Update Classes</guimenu></menuchoice> in the menu.
The objects that are influenced by the new class description can first be displayed
by the command
<prompt>wtt> </prompt><userinput><command>check classes</command></userinput>
that lists the modified classes and the number of instances found for each class.
</para>
<para>Before executing a class update, be sure to have a backup of the database.
</para>
</section>
<section xml:id="upgradev42_ge">
<title>Ge</title>
<section xml:id="upgradev42_gefolder">
<title>Object graph in Window and Folder</title>
<para>It is now possible to display an object graph in a window or folder object.
The instance object of the object graph is inserted in the properties Window.Object and
Folderx.Object.
<section xml:id="upgradev43_pbdriver">
<title>Profibus driver for Softing Profiboard</title>
<para>...
</para>
</section>
<section xml:id="upgradev42_getable">
<title>Select color in Table</title>
<para>A property to modify the color of selected cells in tables is added to the Table object.
Set the desired color in Table.SelectColor.
<section xml:id="upgradev43_ge">
<title>Property EscapeStore for dynamic type ValueInput</title>
<para>Dynamic type ValueInput has a new property, EscapeStore. Normally the input value is stored
when 'Return' is pressed. However, when EscapeStore is set, the value is stored when the input field
looses input focus, or when 'Return' is pressed.
</para>
</section>
<section xml:id="upgradev42_invbit">
<title>Bit type in Invisible</title>
<para>Access is often stored as bits in a bitmask, and it is now possible to influence the
sensitivity and visibility for an object from a bit in a bitmask. The type for the attribute
is written ##Bit#32[7] which means a 32-bit bitmask, bit number 7 (the first bit is bit 0).
</para>
</section>
</section>
<section xml:id="upgradev42_types">
<title>Modified types</title>
<section xml:id="upgradev42_types_repenum">
<title>pwrb:DataRepEnum</title>
<para>The values Int32 and UInt24 is added.</para>
</section>
</section>
<section xml:id="upgradev43_changeclasses">
<title>Changed classes</title>
<section xml:id="upgradev42_changed_classes">
<title>Modified classes</title>
<section xml:id="upgradev42_ch_pb">
<title>Profibus:Pb_Module</title>
<para>The attribute ModuleName is added.</para>
</section>
<section xml:id="upgradev42_ch_complimit">
<title>BaseComponent:CompLimit</title>
<para>The attribute DisableAlarm is added, which makes it possible to use the
limitvalue supervision in a BaseSensor without alarm.</para>
</section>
<section xml:id="upgradev42_ch_compmodedm">
<title>BaseComponent:CompModeDM, CompModeDMFo</title>
<para>Funktionality for local mode added.</para>
</section>
<section xml:id="upgradev42_ch_basemvalve">
<title>BaseComponent:BaseMValveFo</title>
<para>Funktionality for local mode added.</para>
</section>
<section xml:id="upgradev42_ch_volumes">
<title>RootVolume, SubVolume, SharedVolume</title>
<para>The attribute Modified is added, where the time of the latest save is stored.</para>
</section>
</section>
<section xml:id="upgradev42_new_classes">
<title>New classes</title>
<section xml:id="upgradev42_new_comppid"><title>CompPID, CompPID_Fo</title>
<para>The Pid controller divided into a main object and a function object. The controller
can be a component of another object.</para>
</section>
<section xml:id="upgradev42_new_compmode"><title>CompModePID, CompModePID_Fo</title>
<para>The mode object to the PID controller.</para>
</section>
<section xml:id="upgradev42_new_getdatap"><title>GetDatap</title>
<para>Plc object to fetch the reference to a data object, e.g. a data output in a DataArithm.
Can also be used to attach data inputs in function objects with template plc code.
</para>
<section xml:id="upgradev43_cstonumsp"><title>CStoNumSp</title>
<para>The Object attribute type is changed from pwr_tObjid to pwr_tAttrRef, and the
Parameter attributes is removed.</para>
</section>
<section xml:id="upgradev42_new_atv"><title>pwrb:ATv</title>
<para>Absolute Time Value, storage of an absolut time, pwr_tTime.</para>
</section>
<section xml:id="upgradev42_new_dtv"><title>pwrb:DTv</title>
<para>Delta Time Value, storage of a delta time, pwr_tDeltaTime.</para>
</section>
<section xml:id="upgradev42_new_atadd"><title>pwrb:AtAdd</title>
<para>Addition of an absolute time and a delta time.</para>
</section>
<section xml:id="upgradev42_new_dtadd"><title>pwrb:DtAdd</title>
<para>Addition of two deltatimes.</para>
</section>
<section xml:id="upgradev42_new_atsub"><title>pwrb:AtSub</title>
<para>Subtract an absolute time from an absolute time.</para>
</section>
<section xml:id="upgradev42_new_dtsub"><title>pwrb:DtSub</title>
<para>Subtract a delta time from a delta time.</para>
</section>
<section xml:id="upgradev42_new_atdtsub"><title>pwrb:AtDtSub</title>
<para>Subtract a delta time from an absolute time.</para>
</section>
<section xml:id="upgradev42_new_ateq"><title>pwrb:AtEqual, pwrb:AtGreaterThan, pwrb:AtLessThan</title>
<para>Comparition two abolute times.</para>
</section>
<section xml:id="upgradev42_new_dteq"><title>pwrb:DtEqual, pwrb:DtGreaterThan, pwrb:DtLessThan</title>
<para>Comparition of two delta times.</para>
</section>
<section xml:id="upgradev42_new_currenttime"><title>pwrb:CurrentTime</title>
<para>Fetches the system time.</para>
</section>
<section xml:id="upgradev42_new_dttoa"><title>pwrb:DtToA, pwrb:AToDt</title>
<para>Konverterar från detatid till flyttal och vice versa.</para>
</section>
<section xml:id="upgradev42_new_getatv"><title>pwrb:GetATv</title>
<para>Fetches the value of an ATv.</para>
</section>
<section xml:id="upgradev42_new_getdtv"><title>pwrb:GetDTv</title>
<para>Fetches the value of a DTv.</para>
</section>
<section xml:id="upgradev42_new_stoatv"><title>pwrb:StoATv</title>
<para>Stores a value into an ATv.</para>
</section>
<section xml:id="upgradev42_new_cstoatv"><title>pwrb:CStoATv</title>
<para>Conditional storage of a value into an ATv.</para>
</section>
<section xml:id="upgradev42_new_stodtv"><title>pwrb:StoDTv</title>
<para>Stores a value into a DTv.</para>
</section>
<section xml:id="upgradev42_new_cstodtv"><title>pwrb:CStoDTv</title>
<para>Conditional storage of a value into a DTv.</para>
</section>
<section xml:id="upgradev42_new_stoatp"><title>pwrb:StoATp</title>
<para>Store a value into an absolute time attribute.</para>
</section>
<section xml:id="upgradev42_new_cstoatp"><title>pwrb:CStoATp</title>
<para>Conditional storage of a value into an absolute time attribute.</para>
</section>
<section xml:id="upgradev42_new_stodtp"><title>pwrb:StoDTp</title>
<para>Store a value into a delta time attribute.</para>
</section>
<section xml:id="upgradev42_new_cstodtp"><title>pwrb:CStoDTv</title>
<para>Conditional storage of a value into a delta time attribute.</para>
</section>
<section xml:id="upgradev42_new_remoterack"><title>ssabox:Ssab_RemoteRack</title>
<para>Configuration of a PSS9000 remote rack.</para>
</section>
<section xml:id="upgradev42_new_acc"><title>ABB_ACC800, ABB_ACC800Fo, ABB_ACC800Sim</title>
<para>Control of a motor aggregate using the crane macro in ASC800.</para>
</section>
<section xml:id="upgradev42_new_accppo5"><title>ABB_ACC_PPO5</title>
<para>Profibus module to ABB_ACC800.</para>
</section>
<section xml:id="upgradev42_new_acsslave"><title>ABB_ACS_Pb_Slave</title>
<para>Profibus slave to ABB_ACS800.</para>
</section>
<section xml:id="upgradev42_new_abbpbbase"><title>ABB_Sensor_Pb_PA, ABB_Sensor_Pb_PA_Fo</title>
<para>Baseclass for ABB Profibus PA sensor.</para>
</section>
<section xml:id="upgradev42_new_abbpb"><title>ABB_TempSensor_TF12, ABB_DiffPressure_265G, ABB_FlowSensor_FXE4000</title>
<para>Some ABB Profibus PA sensors.</para>
</section>
<section xml:id="upgradev42_new_et200"><title>Siemens_ET200S_IM151, Siemens_ET200M_IM153</title>
<para>Profibus slave objects for ET200S IM151 and ET200M IM153</para>
</section>
<section xml:id="upgradev42_new_et200mdi"><title>Siemens_ET200M_Di32, Siemens_ET200M_Di16, Siemens_ET200S_Di8</title>
<para>Profibus module objects for ET200M digital input modules</para>
</section>
<section xml:id="upgradev42_new_et200mdo"><title>Siemens_ET200M_Do32, Siemens_ET200M_Do16, Siemens_ET200S_Do8</title>
<para>Profibus module objects for ET200M digital outout modules.</para>
</section>
<section xml:id="upgradev42_new_et200mai"><title>Siemens_ET200M_Ai8, Siemens_ET200M_Ai4, Siemens_ET200S_Ai2</title>
<para>Profibus module objects for ET200M analoga input modules.</para>
</section>
<section xml:id="upgradev42_new_et200mao"><title>Siemens_ET200M_Ao8, Siemens_ET200M_Ao4, Siemens_ET200S_Ao2</title>
<para>Profibus module objects for ET200M analog output modules.</para>
</section>
<section xml:id="upgradev42_new_et200sdi"><title>Siemens_ET200S_Di4, Siemens_ET200S_Di2</title>
<para>Profibus module objects for ET200S digital input modules.</para>
</section>
<section xml:id="upgradev42_new_et200sdo"><title>Siemens_ET200S_Do4, Siemens_ET200S_Do2</title>
<para>Profibus module objects for ET200S digital output modules.</para>
</section>
<section xml:id="upgradev42_new_et200sai"><title>Siemens_ET200S_Ai2</title>
<para>Profibus module objects for ET200S analog input modules.</para>
</section>
<section xml:id="upgradev42_new_et200sao"><title>Siemens_ET200S_Ao2</title>
<para>Profibus module objects for ET200S analog output modules.</para>
</section>
</section>
</section>
</chapter>
<chapter xml:id="upgradev42_chascript"><title>Upgrade procedure</title>
<section xml:id="upgradev42_upgr"><title>Procedure for upgradeing</title>
<para>The upgrading has to be done from V4.1.3. If the project as a lower version, the
<chapter xml:id="upgradev43_chascript"><title>Upgrade procedure</title>
<section xml:id="upgradev43_upgr"><title>Procedure for upgradeing</title>
<para>The upgrading has to be done from V4.2.0. If the project as a lower version, the
upgrade has to be performed stepwise following the scheme
<classname>V2.1 -> V2.7b -> V3.0 -> V3.3 -> V3.4b -> V4.0.0 -> V4.1.3 -> V4.2.0</classname></para>
<para><note>Upgradeing a Debian project from V4.1.3 requires that a new debian release is
installed.
Dump the project with the reload.sh script before installing the new debian release,
and while the project is still pointing at V4.1.3. Execute only the dumpdb pass.
Install the new debian release, and when executing the upgrade.sh script, skip the dumpdb
pass. </note></para>
<classname>V2.1 -> V2.7b -> V3.0 -> V3.3 -> V3.4b -> V4.0.0 -> V4.1.3 -> V4.2.0 -> V4.3.0</classname></para>
<para>The upgrading is made in two steps:
<itemizedlist>
......@@ -564,20 +134,20 @@
</itemizedlist>
</para>
<section xml:id="upgradev42_copyproj"><title>Make a copy of the project</title>
<section xml:id="upgradev43_copyproj"><title>Make a copy of the project</title>
<para>Do <tag>sdf</tag> to the project and start the administrator.</para>
<prompt>> </prompt><userinput><command>pwra</command></userinput>
<para>Now the Projectlist is opened. Enter edit mode, login as administrator if you lack access.
Find the current project, and select <tag>Copy Project</tag> from the popup menu of the
ProjectReg object. Open the copy and assign a suitable projectname and path. Change the
vertion to V4.2.0. Save and close the administrator.
vertion to V4.3.0. Save and close the administrator.
</para>
<para>Do sdf to the project.</para>
</section>
<section xml:id="upgradev42_up_"><title>upgrade.sh</title>
<section xml:id="upgradev43_up_"><title>upgrade.sh</title>
<para>upgrade.sh is a script that is divided into a number of passes. After each pass you
you have to answere whether to continue with the next pass or not.</para>
......@@ -585,38 +155,38 @@
<prompt>> </prompt><userinput><filename>upgrade.sh</filename></userinput>
<para>and go through all the passes.</para>
<section xml:id="upgradev42_up_dumpdb"><title>dumpdb</title>
<section xml:id="upgradev43_up_dumpdb"><title>dumpdb</title>
<para>Creates a dump file for each volume in the project. The name of the dumpfile is
<filename>$pwrp_db/'volumename'.wb_dmp</filename>
</para>
</section>
<section xml:id="upgradev42_up_classvolumes"><title>classvolumes</title>
<section xml:id="upgradev43_up_classvolumes"><title>classvolumes</title>
<para>Create loadfiles and structfiles for the class volumes.</para>
</section>
<section xml:id="upgradev42_up_renamedb"><title>renamedb</title>
<section xml:id="upgradev43_up_renamedb"><title>renamedb</title>
<para>Store the old databases under the name <filename>$pwrp_db/'volumename'.db.1</filename>.</para>
</section>
<section xml:id="upgradev42_up_dirvolume"><title>dirvolume</title>
<section xml:id="upgradev43_up_dirvolume"><title>dirvolume</title>
<para>Create a directory database and load the dumpfile for the project volume into the database.</para>
</section>
<section xml:id="upgradev42_up_loaddb"><title>loaddb</title>
<section xml:id="upgradev43_up_loaddb"><title>loaddb</title>
<para>Create databases and load the dumpfiles into them.</para>
</section>
<section xml:id="upgradev42_up_compile"><title>compile</title>
<section xml:id="upgradev43_up_compile"><title>compile</title>
<para>Compile all the plc programs.</para>
</section>
<section xml:id="upgradev42_up_createload"><title>createload</title>
<section xml:id="upgradev43_up_createload"><title>createload</title>
<para>Create loadfiles for the root volumes.</para>
</section>
<section xml:id="upgradev42_up_createboot"><title>createboot</title>
<section xml:id="upgradev43_up_createboot"><title>createboot</title>
<para>Create bootfiles for all nodes in the project.</para>
</section>
......@@ -624,7 +194,7 @@
<para>Delete files from the upgrading procedure:</para>
<para><filename>$pwrp_db/*.wb_dmp.*</filename></para>
<para><filename>$pwrp_db/*.db.1</filename> (V4.1 databases, directories which content also is removed)</para>
<para><filename>$pwrp_db/*.db.1</filename> (V4.2 databases, directories which content also is removed)</para>
</section>
......
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Release Notes V4.2.0</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="id3375566"></a>Release Notes V4.2.0</h1></div><div><h2 class="subtitle"></h2></div><div><div class="authorgroup">
<div class="author"><h3 class="author"><span class="firstname">Claes</span> <span class="surname">Sjfors</span></h3><div class="affiliation">
<span class="orgname">SSAB Oxelsund AB<br></span>
</div><code class="email">&lt;<a href="mailto:postmaster@proview.se">postmaster@proview.se</a>&gt;</code></div>
</div></div><div><p class="copyright">Copyright 2006 SSAB Oxelsund AB</p></div><div><div class="legalnotice"><a name="id3375966"></a>
<p>Permission is granted to copy, distribute and/or modify this document
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>???TITLE???</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><font color="red">&lt;book&gt;
<font color="red">&lt;info&gt;
<font color="red">&lt;title&gt;Release Notes V4.3.0&lt;/title&gt;</font>
<font color="red">&lt;subtitle&gt;&lt;/subtitle&gt;</font>
<font color="red">&lt;authorgroup&gt;
<font color="red">&lt;author&gt;
<font color="red">&lt;personname&gt;<font color="red">&lt;firstname&gt;Claes&lt;/firstname&gt;</font>
<font color="red">&lt;surname&gt;Sjöfors&lt;/surname&gt;</font>&lt;/personname&gt;</font>
<font color="red">&lt;affiliation&gt;
<font color="red">&lt;orgname&gt;SSAB Oxelösund AB&lt;/orgname&gt;</font>
&lt;/affiliation&gt;</font>
<font color="red">&lt;email&gt;postmaster@proview.se&lt;/email&gt;</font>
&lt;/author&gt;</font>
&lt;/authorgroup&gt;</font>
<font color="red">&lt;revhistory&gt;
<font color="red">&lt;revision&gt;
<font color="red">&lt;revnumber&gt;0.1&lt;/revnumber&gt;</font>
<font color="red">&lt;date&gt;2006-04-01&lt;/date&gt;</font>
<font color="red">&lt;authorinitials&gt;cs&lt;/authorinitials&gt;</font>
<font color="red">&lt;revremark&gt;v0.1&lt;/revremark&gt;</font>
&lt;/revision&gt;</font>
&lt;/revhistory&gt;</font>
<font color="red">&lt;edition&gt;v0.1&lt;/edition&gt;</font>
<font color="red">&lt;copyright&gt;<font color="red">&lt;year&gt;2007&lt;/year&gt;</font><font color="red">&lt;holder&gt;SSAB Oxelösund AB&lt;/holder&gt;</font>&lt;/copyright&gt;</font>
<font color="red">&lt;date&gt;2007-01-21&lt;/date&gt;</font>
<font color="red">&lt;legalnotice&gt;
<font color="red">&lt;para&gt;Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.</p>
</div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="3"><b>Revision History</b></th></tr>
<tr><td align="left">Revision 0.1</td><td align="left">2006-04-01</td><td align="left">cs</td></tr><tr><td align="left" colspan="3">v0.1</td></tr>
</table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="#upgradev42_chaintro">1. Introduction</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_intro">1.1. Upgrading to Proview 4.2.0</a></span></dt></dl></dd><dt><span class="chapter"><a href="#upgradev42_chanewfunc">2. New functions</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_profibus">2.1. Profibus configurator</a></span></dt><dt><span class="section"><a href="#upgradev42_buildmeth">2.2. Build methods</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Build methods for objects</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Build methods for volumes</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Build methods for nodes</a></span></dt></dl></dd><dt><span class="section"><a href="#upgradev42_remrack">2.3. PSS9000 Remote rack</a></span></dt><dt><span class="section"><a href="#upgradev42_ld_node">2.4. ld_node_xxx.dat</a></span></dt><dt><span class="section"><a href="#upgradev42_sub">2.5. Buffering of subscriptions removed</a></span></dt><dt><span class="section"><a href="#upgradev42_wiz">2.6. Project configuration Wizard</a></span></dt><dt><span class="section"><a href="#upgradev42_cupdate">2.7. Update of classes</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objects for time handling</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Update Classes</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. Modified types</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. Modified classes</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. New classes</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#upgradev42_chascript">3. Upgrade procedure</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_upgr">3.1. Procedure for upgradeing</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Make a copy of the project</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></dd></dl></dd></dl></div>
<div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chaintro"></a>Chapter1.Introduction</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#upgradev42_intro">1.1. Upgrading to Proview 4.2.0</a></span></dt></dl></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_intro"></a>1.1.Upgrading to Proview 4.2.0</h2></div></div></div>
<p>This document describes new functions i Proview V4.2.0, and how to upgrade a project
from V4.1.3 to V4.2.0.</p>
</div>
</div>
<div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chanewfunc"></a>Chapter2.New functions</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#upgradev42_profibus">2.1. Profibus configurator</a></span></dt><dt><span class="section"><a href="#upgradev42_buildmeth">2.2. Build methods</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Build methods for objects</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Build methods for volumes</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Build methods for nodes</a></span></dt></dl></dd><dt><span class="section"><a href="#upgradev42_remrack">2.3. PSS9000 Remote rack</a></span></dt><dt><span class="section"><a href="#upgradev42_ld_node">2.4. ld_node_xxx.dat</a></span></dt><dt><span class="section"><a href="#upgradev42_sub">2.5. Buffering of subscriptions removed</a></span></dt><dt><span class="section"><a href="#upgradev42_wiz">2.6. Project configuration Wizard</a></span></dt><dt><span class="section"><a href="#upgradev42_cupdate">2.7. Update of classes</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objects for time handling</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Update Classes</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. Modified types</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. Modified classes</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. New classes</a></span></dt></dl></dd></dl></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_profibus"></a>2.1.Profibus configurator</h2></div></div></div>
<p>The configuration of profibus is changed in V4.2.0, both the configuration procedure and
the objects used for the configuration.</p>
<p>You start by creating a master object in the node hierarchy, for Softing profiboard the class
<span class="classname">Pb_Profiboard</span> is used. Under this the slaves of the profibus circuit are
configured with
<span class="classname">Pb_DP_Slave</span> objects, or object that is a subclass of
<span class="classname">Pb_DP_Slave</span>. If you use the
<span class="classname">Pb_DP_Slave</span> object you put the name of a gsd-file, byteordering and possible
floatrepresentation into the object. For some slaves, there are specific subclasses, for example
<span class="classname">Siemens_ET200S_IM151</span>, <span class="classname">Siemens_ET200M_IM153</span>
and <span class="classname">ABB_ACS_Pb_Slave</span>. In this case, the gsd-file is already specified in
the object, and the file also comes with the proview release. </p>
<p>Next step is to open the profibus configuartor for each slave, by activating
<span class="guimenu">Configure Slave</span> in the popup menu for the slave.
The Profibus configurator reads the gsd-file and displayes data and configuration alternatives for
the slave. Under the map <code class="sgmltag-element">SlaveGsdData</code> information about the slave is displayed, and under
the map <code class="sgmltag-element">UserPrmData</code> configuration data for the slave is displayed.</p>
<p>
</p><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0" width="450"><tr style="height: 540px"><td><img src="../upgrade42_pbconf.gif" width="450"></td></tr></table><p>
</p>
<p>The slave can keep a specific number of modues, and for each possible module
there is a module entry in the configurator. By opening a module entry you can specify
type, configuration data, objectname and object class for the module.
</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_type"></a>Type</h4></div></div></div>
<p>Under Type all possible types are displayed for the actual slave. Select the
desired type by clicking in the checkbox for the type.</p>
</div><p>
</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_confdata"></a>Configuration data</h4></div></div></div>
<p>Under UserPrmData the configuration alternatives of the selected module
are displayed.You can specifiy data and choose between different alternatives to
configure the module. See the datasheet for the module for more information about
the alternatives.
</p>
</div><p>
</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_objname"></a>Objekt name</h4></div></div></div>
<p>When configurinn, the Profibus configuration creates a module object under the
slave object. In ObjectName you specify a name of the module object. The name should be
unic for the slave.
</p></div><p>
</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_mclass"></a>Modul class</h4></div></div></div>
<p>Under ModuleClass the possible classes of the module object, that is created under
the slave object, are displayed. The class you choose is dependent on the layout of
the dataarea tranfered on the profibus circuit. There are a number of specific classes,
e.g.<span class="classname">Siemens_ET200S_Ai2, Siemens_ET200SDi2, ABB_ACS_PPO4.</span>
These contains a specified dataarea described by intern channel objects. If there is no
matching module class, you choose <span class="classname">Pb_Module</span> and specify
the layout of the datarea later, by creating channel objects under the module object.
</p>
</div><p>
Whan all the modules are configured, you click on apply, and the different module
objects are created. Now the PrmUserData configuration of the slave and the modules
is stored in the attribute PrmUserData in the slave object, together with some other data.</p>
<p>You also have to assign a Process and PlcThread for the the configuration objects, and
configure channel object under Pb_Module object if necessary.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_buildmeth"></a>2.2.Build methods</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Build methods for objects</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Build methods for volumes</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Build methods for nodes</a></span></dt></dl></div>
<p>Compiling PlcPgm, creation of loadfiles and bootfiles are now preformed by the
Build function. The build function consists of build methods for node, volumes and objects.
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_obj"></a>2.2.1.Build methods for objects</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_plc"></a>PlgPgm</h4></div></div></div>
<p>The build method for a PlcPgm checks if the plc-kode is modified since the last
compilation. If it is changed, the program with all subwindows are compiled.
</p></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_xtt"></a>XttGraph</h4></div></div></div>
<p>The build method for a XttGraph copies the .pwg file from $pwrp_pop to $pwrp_exe
if the file on $pwrp_pop is more recent than the file on $pwrp_exe. If the graph is
a java applet or java application, it is exported as java and compiled.
</p></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_web"></a>WebHandler</h4></div></div></div>
<p>The build method for a WebHandler object creates a home sita for a node (calls
Generate Web).
</p></div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_vol"></a>2.2.2.Build methods for volumes</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_rootvol"></a>Rootvolume</h4></div></div></div>
<p>The build medhod of the rootvolume calls the build method of all PlcPgm,
XttGraph and WebHandler objects in the volume. If the volume is modified since the
last loadfile creation, new loadfiles are created. Also new crossreference files are
created if this is specified in Options.
</p></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_classvol"></a>Classvolume</h4></div></div></div>
<p>If the class volume is modified since the last creation of loadfiles for
the volume, new loadfiles and structfiles are created for the volume.
</p></div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_node"></a>2.2.3.Build methods for nodes</h3></div></div></div>
<p>The build method of a node calls the build method of the opened volume, and
thereafter creates a new bootfile for the node.
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Note]" src="../note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">Only the volumes that are opened is built. If the node contatins several volumes
the other volumes must be built separatley, before the node is built.
</td></tr></table></div><p>
</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_remrack"></a>2.3.PSS9000 Remote rack</h2></div></div></div>
<p>A Proview system can now fetch data from a PSS9000 rack via ethernet. The
rack is configured by a Ssab_RemoteRack object in the node hierarchy. Under the
rack the cards are configured in the ordinary way.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_ld_node"></a>2.4.ld_node_xxx.dat</h2></div></div></div>
<p>ld_node file contains the nodes a node connects to via QCOM at proview startup.
The files is generated from data in NodeConfig and FriendNodeConfig objects in the
project volume.</p>
<p>Until now, the ls_node file has been common for all nodes of a project in the
same QCOM bus. Now each node has a separate ld_nod file. This makes it possible to
control individually which external nodes a node connects to. </p>
<p>As before, this is configured by FriendNodeConfig objects in the project volume.
These have been configured as siblings to the NodeConfig objects in a QCOM bus, and
results in all local nodes connecting to this external node.Now a FriendNodeConfig
object can also reside as a child to a NodeConfig object, implying that only this node
connects to the external node. </p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_sub"></a>2.5.Buffering of subscriptions removed</h2></div></div></div>
<p>The buffering of subscriptions, which could lead to catch up fenomena at bad
communicaion, is now removed.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_wiz"></a>2.6.Project configuration Wizard</h2></div></div></div>
<p>The configuration of the project volume is now simplified by using a wizard
that is automaticaly started when an empty project volumes is opened. The wizard
feches the configured volumes of the project from the global volumelist, and creates
volume and node configuration objects for these.
</p>
<p>
</p><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0" width="450"><tr style="height: 540px"><td><img src="../upgrade42_pvconfig.gif" width="450"></td></tr></table><p>
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_cupdate"></a>2.7.Update of classes</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objects for time handling</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Update Classes</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. Modified types</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. Modified classes</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. New classes</a></span></dt></dl></div>
<p>If a class in a classvolyme was modified, you previously had to dump the database
to a textfile and the reload this, to update the instances of the modified class.
Now there is a function that updates instances without dump and reload.</p>
<p>Every database stores loadfiles for classvolymes locally in the database directory.
It is these local files, and not the global dbs-files in $pwr_load or $pwrp_load that is used
when the workbench is opened. This makes you independent of changes in the global dbs-files.
When the workbench is started, the versions of local and global dbs-files are compared, and
if a new version in a global dbs-file is found, you get a warning message about this. The
command 'check classes' displayes which classes are modified, and if there are any instances
of the classes in the database. You should then activate Functions-&gt;Update Classes in the
menu to update the instances and the local dbs-files.</p>
<p>For function object classes there are some restrictions. In some cases the connections
to the function object has to be reconnected. If an input or output is removed, the input or
output pin should not be visible in any instance, otherwise the connections should be redrawn.
Also if an input or output is moved, the connections should be redrawn.
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_otime"></a>2.7.1.Objects for time handling</h3></div></div></div>
<p>A number of new objects to handle times is added in V4.2.0. There are objects
to store, add, subtract times etc.
</p><div class="section" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="upgradev42_otime_sig"></a>Signals</h5></div></div></div>
<p>The signal objects ATv (AboluteTimeValue) and DTv (DeltaTimeValue) store time
values in the shape of an absolute time (of type pwr_tTime) or a delta time (of type
pwr_tDeltaTime, i.e. a time intervall). </p>
<p>The objects are found under the signal map in the palette. IO-copying of the objects
is not performed.</p>
</div><p>
</p><div class="section" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="upgradev42_otime_plc"></a>Plc objects</h5></div></div></div>
<p>Addition and subtraction of times is perfomed in the plc program by the objects
<span class="classname">AtAdd, DtAdd, AtSub, DtSub</span> and <span class="classname">AtDtSub</span>. </p>
<p>To fetch an ATv or DTv the objects <span class="classname">GetATv</span> and
<span class="classname">GetDTv</span> is used. To fetch an attribute of type pwr_tTime or pwr_tDeltaTime
in an object, the objects <span class="classname">GetATp</span> and <span class="classname">GetDTp</span></p>
<p>To store a time value in an <span class="classname">ATv</span> or
<span class="classname">DTv</span>, <span class="classname">StoATv</span> and
<span class="classname">StoDTv</span>, or <span class="classname">CStoATv</span> and
<span class="classname">CStoDTv</span> for conditional storeage. To store a time value in
an attrbiute of type pwr_tTime or pwr_tDeltaTime, the objects
<span class="classname">StoATp</span> and <span class="classname">StoDTp</span>, or
<span class="classname">CStoATp</span> and <span class="classname">CStoDTp</span> for conditional storage.</p>
<p>To convert a deltatime to float DtToA is used, and vice vers AToDt.</p>
<p>All objects are found under the map Signals-&gt;Time in the palette of the plc editor.</p>
</div><p>
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_updatecls"></a>2.7.2.Update Classes</h3></div></div></div>
<p>Previously, if you made a change in a class, you had to reload the database, i.e. dump
the database to a textfile, and then load the textfile into the database again. Now
there is a funcion that converts the objects in a database to the now class description
without a reload. When the workbench is started, any new version of a dbs-file for a
classvolume is detected. If a new version i found, an error message is displayed in
the message window. You can then either continue with the old class description, or
update the objects to the new. The update is performed from
<span class="guimenu">Function-&gt;Update Classes</span> in the menu.
The objects that are influenced by the new class description can first be displayed
by the command
<code class="prompt">wtt&gt; </code><strong class="userinput"><code><span><strong class="command">check classes</strong></span></code></strong>
that lists the modified classes and the number of instances found for each class.
</p>
<p>Before executing a class update, be sure to have a backup of the database.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_ge"></a>2.7.3.Ge</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_gefolder"></a>Object graph in Window and Folder</h4></div></div></div>
<p>It is now possible to display an object graph in a window or folder object.
The instance object of the object graph is inserted in the properties Window.Object and
Folderx.Object.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_getable"></a>Select color in Table</h4></div></div></div>
<p>A property to modify the color of selected cells in tables is added to the Table object.
Set the desired color in Table.SelectColor.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_invbit"></a>Bit type in Invisible</h4></div></div></div>
<p>Access is often stored as bits in a bitmask, and it is now possible to influence the
sensitivity and visibility for an object from a bit in a bitmask. The type for the attribute
is written ##Bit#32[7] which means a 32-bit bitmask, bit number 7 (the first bit is bit 0).
</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_types"></a>2.7.4.Modified types</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_types_repenum"></a>pwrb:DataRepEnum</h4></div></div></div>
<p>The values Int32 and UInt24 is added.</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_changed_classes"></a>2.7.5.Modified classes</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_pb"></a>Profibus:Pb_Module</h4></div></div></div>
<p>The attribute ModuleName is added.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_complimit"></a>BaseComponent:CompLimit</h4></div></div></div>
<p>The attribute DisableAlarm is added, which makes it possible to use the
limitvalue supervision in a BaseSensor without alarm.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_compmodedm"></a>BaseComponent:CompModeDM, CompModeDMFo</h4></div></div></div>
<p>Funktionality for local mode added.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_basemvalve"></a>BaseComponent:BaseMValveFo</h4></div></div></div>
<p>Funktionality for local mode added.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_volumes"></a>RootVolume, SubVolume, SharedVolume</h4></div></div></div>
<p>The attribute Modified is added, where the time of the latest save is stored.</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_new_classes"></a>2.7.6.New classes</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_comppid"></a>CompPID, CompPID_Fo</h4></div></div></div>
<p>The Pid controller divided into a main object and a function object. The controller
can be a component of another object.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_compmode"></a>CompModePID, CompModePID_Fo</h4></div></div></div>
<p>The mode object to the PID controller.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getdatap"></a>GetDatap</h4></div></div></div>
<p>Plc object to fetch the reference to a data object, e.g. a data output in a DataArithm.
Can also be used to attach data inputs in function objects with template plc code.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atv"></a>pwrb:ATv</h4></div></div></div>
<p>Absolute Time Value, storage of an absolut time, pwr_tTime.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtv"></a>pwrb:DTv</h4></div></div></div>
<p>Delta Time Value, storage of a delta time, pwr_tDeltaTime.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atadd"></a>pwrb:AtAdd</h4></div></div></div>
<p>Addition of an absolute time and a delta time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtadd"></a>pwrb:DtAdd</h4></div></div></div>
<p>Addition of two deltatimes.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atsub"></a>pwrb:AtSub</h4></div></div></div>
<p>Subtract an absolute time from an absolute time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtsub"></a>pwrb:DtSub</h4></div></div></div>
<p>Subtract a delta time from a delta time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atdtsub"></a>pwrb:AtDtSub</h4></div></div></div>
<p>Subtract a delta time from an absolute time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_ateq"></a>pwrb:AtEqual, pwrb:AtGreaterThan, pwrb:AtLessThan</h4></div></div></div>
<p>Comparition two abolute times.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dteq"></a>pwrb:DtEqual, pwrb:DtGreaterThan, pwrb:DtLessThan</h4></div></div></div>
<p>Comparition of two delta times.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_currenttime"></a>pwrb:CurrentTime</h4></div></div></div>
<p>Fetches the system time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dttoa"></a>pwrb:DtToA, pwrb:AToDt</h4></div></div></div>
<p>Konverterar frn detatid till flyttal och vice versa.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getatv"></a>pwrb:GetATv</h4></div></div></div>
<p>Fetches the value of an ATv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getdtv"></a>pwrb:GetDTv</h4></div></div></div>
<p>Fetches the value of a DTv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stoatv"></a>pwrb:StoATv</h4></div></div></div>
<p>Stores a value into an ATv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstoatv"></a>pwrb:CStoATv</h4></div></div></div>
<p>Conditional storage of a value into an ATv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stodtv"></a>pwrb:StoDTv</h4></div></div></div>
<p>Stores a value into a DTv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstodtv"></a>pwrb:CStoDTv</h4></div></div></div>
<p>Conditional storage of a value into a DTv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stoatp"></a>pwrb:StoATp</h4></div></div></div>
<p>Store a value into an absolute time attribute.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstoatp"></a>pwrb:CStoATp</h4></div></div></div>
<p>Conditional storage of a value into an absolute time attribute.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stodtp"></a>pwrb:StoDTp</h4></div></div></div>
<p>Store a value into a delta time attribute.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstodtp"></a>pwrb:CStoDTv</h4></div></div></div>
<p>Conditional storage of a value into a delta time attribute.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_remoterack"></a>ssabox:Ssab_RemoteRack</h4></div></div></div>
<p>Configuration of a PSS9000 remote rack.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_acc"></a>ABB_ACC800, ABB_ACC800Fo, ABB_ACC800Sim</h4></div></div></div>
<p>Control of a motor aggregate using the crane macro in ASC800.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_accppo5"></a>ABB_ACC_PPO5</h4></div></div></div>
<p>Profibus module to ABB_ACC800.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_acsslave"></a>ABB_ACS_Pb_Slave</h4></div></div></div>
<p>Profibus slave to ABB_ACS800.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_abbpbbase"></a>ABB_Sensor_Pb_PA, ABB_Sensor_Pb_PA_Fo</h4></div></div></div>
<p>Baseclass for ABB Profibus PA sensor.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_abbpb"></a>ABB_TempSensor_TF12, ABB_DiffPressure_265G, ABB_FlowSensor_FXE4000</h4></div></div></div>
<p>Some ABB Profibus PA sensors.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200"></a>Siemens_ET200S_IM151, Siemens_ET200M_IM153</h4></div></div></div>
<p>Profibus slave objects for ET200S IM151 and ET200M IM153</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mdi"></a>Siemens_ET200M_Di32, Siemens_ET200M_Di16, Siemens_ET200S_Di8</h4></div></div></div>
<p>Profibus module objects for ET200M digital input modules</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mdo"></a>Siemens_ET200M_Do32, Siemens_ET200M_Do16, Siemens_ET200S_Do8</h4></div></div></div>
<p>Profibus module objects for ET200M digital outout modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mai"></a>Siemens_ET200M_Ai8, Siemens_ET200M_Ai4, Siemens_ET200S_Ai2</h4></div></div></div>
<p>Profibus module objects for ET200M analoga input modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mao"></a>Siemens_ET200M_Ao8, Siemens_ET200M_Ao4, Siemens_ET200S_Ao2</h4></div></div></div>
<p>Profibus module objects for ET200M analog output modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sdi"></a>Siemens_ET200S_Di4, Siemens_ET200S_Di2</h4></div></div></div>
<p>Profibus module objects for ET200S digital input modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sdo"></a>Siemens_ET200S_Do4, Siemens_ET200S_Do2</h4></div></div></div>
<p>Profibus module objects for ET200S digital output modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sai"></a>Siemens_ET200S_Ai2</h4></div></div></div>
<p>Profibus module objects for ET200S analog input modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sao"></a>Siemens_ET200S_Ao2</h4></div></div></div>
<p>Profibus module objects for ET200S analog output modules.</p>
</div>
</div>
</div>
</div>
<div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chascript"></a>Chapter3.Upgrade procedure</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#upgradev42_upgr">3.1. Procedure for upgradeing</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Make a copy of the project</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></dd></dl></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_upgr"></a>3.1.Procedure for upgradeing</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Make a copy of the project</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></div>
<p>The upgrading has to be done from V4.1.3. If the project as a lower version, the
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.&lt;/para&gt;</font>
&lt;/legalnotice&gt;</font>
<font color="red">&lt;mediaobject&gt;
<font color="red">&lt;imageobject&gt;
<font color="red">&lt;imagedata&gt;&lt;/imagedata&gt;</font>
&lt;/imageobject&gt;</font>
<font color="red">&lt;imageobject&gt;
<font color="red">&lt;imagedata&gt;&lt;/imagedata&gt;</font>
&lt;/imageobject&gt;</font>
&lt;/mediaobject&gt;</font>
&lt;/info&gt;</font>
<font color="red">&lt;chapter&gt;
<font color="red">&lt;title&gt;Introduction&lt;/title&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Upgrading to Proview 4.3.0&lt;/title&gt;</font>
<font color="red">&lt;para&gt;This document describes new functions i Proview V4.3.0, and how to upgrade a project
from V4.2.0 to V4.3.0.&lt;/para&gt;</font>
&lt;/section&gt;</font>
&lt;/chapter&gt;</font>
<font color="red">&lt;chapter&gt;
<font color="red">&lt;title&gt;New functions&lt;/title&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Graphical user interface&lt;/title&gt;</font>
<font color="red">&lt;para&gt;The graphical user interface is change to GTK (The GIMP Toolkit), on which the Gnome desctop
is built. The interface is totaly rewritten and now have a more modern look and layout. The previous
interface, Motif, is still available in the source code, but not included in the released packages. &lt;/para&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Configurator&lt;/title&gt;</font>
<font color="red">&lt;para&gt;The Configurator now has a toolbar with buttons for save, enter editmode, zoom etc.
&lt;/para&gt;</font>&lt;/section&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Installation&lt;/title&gt;</font>
<font color="red">&lt;para&gt;
The dependency of Motif and Imlib is removed in the released packages, which strongly simpifies the
installation procedure.
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Database locked dialog&lt;/title&gt;</font>
<font color="red">&lt;para&gt;If the database is locked, a dialog window is viewed where the user can choose whether to
exit, enter the loadfile, or remove the lock and enter the database.
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Profibus driver for Softing Profiboard&lt;/title&gt;</font>
<font color="red">&lt;para&gt;...
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Property EscapeStore for dynamic type ValueInput&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Dynamic type ValueInput has a new property, EscapeStore. Normally the input value is stored
when 'Return' is pressed. However, when EscapeStore is set, the value is stored when the input field
looses input focus, or when 'Return' is pressed.
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Changed classes&lt;/title&gt;</font>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;CStoNumSp&lt;/title&gt;</font>
<font color="red">&lt;para&gt;The Object attribute type is changed from pwr_tObjid to pwr_tAttrRef, and the
Parameter attributes is removed.&lt;/para&gt;</font>
&lt;/section&gt;</font>
&lt;/section&gt;</font>
&lt;/chapter&gt;</font>
<font color="red">&lt;chapter&gt;<font color="red">&lt;title&gt;Upgrade procedure&lt;/title&gt;</font>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;Procedure for upgradeing&lt;/title&gt;</font>
<font color="red">&lt;para&gt;The upgrading has to be done from V4.2.0. If the project as a lower version, the
upgrade has to be performed stepwise following the scheme
<span class="classname">V2.1 -&gt; V2.7b -&gt; V3.0 -&gt; V3.3 -&gt; V3.4b -&gt; V4.0.0 -&gt; V4.1.3 -&gt; V4.2.0</span></p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Note]" src="../note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">Upgradeing a Debian project from V4.1.3 requires that a new debian release is
installed.
Dump the project with the reload.sh script before installing the new debian release,
and while the project is still pointing at V4.1.3. Execute only the dumpdb pass.
Install the new debian release, and when executing the upgrade.sh script, skip the dumpdb
pass. </td></tr></table></div>
<font color="red">&lt;classname&gt;V2.1 -&gt; V2.7b -&gt; V3.0 -&gt; V3.3 -&gt; V3.4b -&gt; V4.0.0 -&gt; V4.1.3 -&gt; V4.2.0 -&gt; V4.3.0&lt;/classname&gt;</font>&lt;/para&gt;</font>
<p>The upgrading is made in two steps:
</p><div class="itemizedlist"><ul type="disc"><li><p>Make a copy of the project</p></li><li><p>Execute upgrade.sh</p></li></ul></div><p>
</p>
<font color="red">&lt;para&gt;The upgrading is made in two steps:
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Make a copy of the project&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Execute upgrade.sh&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
&lt;/para&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_copyproj"></a>3.1.1.Make a copy of the project</h3></div></div></div>
<p>Do <code class="sgmltag-element">sdf</code> to the project and start the administrator.</p>
<code class="prompt">&gt; </code><strong class="userinput"><code><span><strong class="command">pwra</strong></span></code></strong>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;Make a copy of the project&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Do <font color="red">&lt;tag&gt;sdf&lt;/tag&gt;</font> to the project and start the administrator.&lt;/para&gt;</font>
<font color="red">&lt;prompt&gt;&gt; &lt;/prompt&gt;</font><font color="red">&lt;userinput&gt;<font color="red">&lt;command&gt;pwra&lt;/command&gt;</font>&lt;/userinput&gt;</font>
<p>Now the Projectlist is opened. Enter edit mode, login as administrator if you lack access.
Find the current project, and select <code class="sgmltag-element">Copy Project</code> from the popup menu of the
<font color="red">&lt;para&gt;Now the Projectlist is opened. Enter edit mode, login as administrator if you lack access.
Find the current project, and select <font color="red">&lt;tag&gt;Copy Project&lt;/tag&gt;</font> from the popup menu of the
ProjectReg object. Open the copy and assign a suitable projectname and path. Change the
vertion to V4.2.0. Save and close the administrator.
</p>
<p>Do sdf to the project.</p>
vertion to V4.3.0. Save and close the administrator.
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Do sdf to the project.&lt;/para&gt;</font>
</div>
&lt;/section&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_up_"></a>3.1.2.upgrade.sh</h3></div></div></div>
<p>upgrade.sh is a script that is divided into a number of passes. After each pass you
you have to answere whether to continue with the next pass or not.</p>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;upgrade.sh&lt;/title&gt;</font>
<font color="red">&lt;para&gt;upgrade.sh is a script that is divided into a number of passes. After each pass you
you have to answere whether to continue with the next pass or not.&lt;/para&gt;</font>
<p>Start the script with </p>
<code class="prompt">&gt; </code><strong class="userinput"><code><code class="filename">upgrade.sh</code></code></strong>
<p>and go through all the passes.</p>
<font color="red">&lt;para&gt;Start the script with &lt;/para&gt;</font>
<font color="red">&lt;prompt&gt;&gt; &lt;/prompt&gt;</font><font color="red">&lt;userinput&gt;<font color="red">&lt;filename&gt;upgrade.sh&lt;/filename&gt;</font>&lt;/userinput&gt;</font>
<font color="red">&lt;para&gt;and go through all the passes.&lt;/para&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_dumpdb"></a>dumpdb</h4></div></div></div>
<p>Creates a dump file for each volume in the project. The name of the dumpfile is
<code class="filename">$pwrp_db/'volumename'.wb_dmp</code>
</p>
</div>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;dumpdb&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Creates a dump file for each volume in the project. The name of the dumpfile is
<font color="red">&lt;filename&gt;$pwrp_db/'volumename'.wb_dmp&lt;/filename&gt;</font>
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_classvolumes"></a>classvolumes</h4></div></div></div>
<p>Create loadfiles and structfiles for the class volumes.</p>
</div>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;classvolumes&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Create loadfiles and structfiles for the class volumes.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_renamedb"></a>renamedb</h4></div></div></div>
<p>Store the old databases under the name <code class="filename">$pwrp_db/'volumename'.db.1</code>.</p>
</div>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;renamedb&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Store the old databases under the name <font color="red">&lt;filename&gt;$pwrp_db/'volumename'.db.1&lt;/filename&gt;</font>.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_dirvolume"></a>dirvolume</h4></div></div></div>
<p>Create a directory database and load the dumpfile for the project volume into the database.</p>
</div>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;dirvolume&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Create a directory database and load the dumpfile for the project volume into the database.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_loaddb"></a>loaddb</h4></div></div></div>
<p>Create databases and load the dumpfiles into them.</p>
</div>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;loaddb&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Create databases and load the dumpfiles into them.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_compile"></a>compile</h4></div></div></div>
<p>Compile all the plc programs.</p>
</div>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;compile&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Compile all the plc programs.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_createload"></a>createload</h4></div></div></div>
<p>Create loadfiles for the root volumes.</p>
</div>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;createload&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Create loadfiles for the root volumes.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_createboot"></a>createboot</h4></div></div></div>
<p>Create bootfiles for all nodes in the project.</p>
</div>
<font color="red">&lt;section&gt;<font color="red">&lt;title&gt;createboot&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Create bootfiles for all nodes in the project.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<p>If the project contains any application programs, these has to be built manually.</p>
<font color="red">&lt;para&gt;If the project contains any application programs, these has to be built manually.&lt;/para&gt;</font>
<p>Delete files from the upgrading procedure:</p>
<p><code class="filename">$pwrp_db/*.wb_dmp.*</code></p>
<p><code class="filename">$pwrp_db/*.db.1</code> (V4.1 databases, directories which content also is removed)</p>
<font color="red">&lt;para&gt;Delete files from the upgrading procedure:&lt;/para&gt;</font>
<font color="red">&lt;para&gt;<font color="red">&lt;filename&gt;$pwrp_db/*.wb_dmp.*&lt;/filename&gt;</font>&lt;/para&gt;</font>
<font color="red">&lt;para&gt;<font color="red">&lt;filename&gt;$pwrp_db/*.db.1&lt;/filename&gt;</font> (V4.2 databases, directories which content also is removed)&lt;/para&gt;</font>
</div>
&lt;/section&gt;</font>
</div>
</div>
</div></body></html>
&lt;/section&gt;</font>
&lt;/chapter&gt;</font>
&lt;/book&gt;</font></body></html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Att skriva dokumentation i DocBook fr Proview</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="sv"><div class="titlepage"><div><div><h1 class="title"><a name="id3374960"></a>Att skriva dokumentation i DocBook fr <span class="application">Proview</span></h1></div><div><h2 class="subtitle">Kort introduktion</h2></div><div><div class="authorgroup">
<div class="author"><h3 class="author"><span class="firstname">Jonas</span> <span class="surname">Haulin</span></h3><div class="affiliation">
<span class="orgname">SSAB Oxelsund<br></span>
</div><code class="email">&lt;<a href="mailto:info@proview.se">info@proview.se</a>&gt;</code></div>
</div></div><div><p class="copyright">Copyright 2006 SSAB Oxelsund AB</p></div><div><div class="legalnotice"><a name="id3375349"></a>
<p>Permission is granted to copy, distribute and/or modify this document
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>???TITLE???</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><font color="red">&lt;book&gt;
<font color="red">&lt;info&gt;
<font color="red">&lt;title&gt;Att skriva dokumentation i DocBook fr <font color="red">&lt;application&gt;Proview&lt;/application&gt;</font>&lt;/title&gt;</font>
<font color="red">&lt;subtitle&gt;Kort introduktion&lt;/subtitle&gt;</font>
<font color="red">&lt;authorgroup&gt;
<font color="red">&lt;author&gt;
<font color="red">&lt;personname&gt;<font color="red">&lt;firstname&gt;Jonas&lt;/firstname&gt;</font>
<font color="red">&lt;surname&gt;Haulin&lt;/surname&gt;</font>&lt;/personname&gt;</font>
<font color="red">&lt;affiliation&gt;
<font color="red">&lt;orgname&gt;SSAB Oxelsund&lt;/orgname&gt;</font>
&lt;/affiliation&gt;</font>
<font color="red">&lt;email&gt;info@proview.se&lt;/email&gt;</font>
&lt;/author&gt;</font>
&lt;/authorgroup&gt;</font>
<font color="red">&lt;revhistory&gt;
<font color="red">&lt;revision&gt;
<font color="red">&lt;revnumber&gt;0.1&lt;/revnumber&gt;</font>
<font color="red">&lt;date&gt;2006-04-01&lt;/date&gt;</font>
<font color="red">&lt;authorinitials&gt;jh&lt;/authorinitials&gt;</font>
<font color="red">&lt;revremark&gt;v0.1 fr Proview v4.2 skapad&lt;/revremark&gt;</font>
&lt;/revision&gt;</font>
&lt;/revhistory&gt;</font>
<font color="red">&lt;edition&gt;v0.1 fr Proview v4.2&lt;/edition&gt;</font>
<font color="red">&lt;copyright&gt;<font color="red">&lt;year&gt;2006&lt;/year&gt;</font><font color="red">&lt;holder&gt;SSAB Oxelsund AB&lt;/holder&gt;</font>&lt;/copyright&gt;</font>
<font color="red">&lt;date&gt;2006-04-01&lt;/date&gt;</font>
<font color="red">&lt;legalnotice&gt;
<font color="red">&lt;para&gt;Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.</p>
</div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="3"><b>Revisionshistorik</b></th></tr>
<tr><td align="left">Revision 0.1</td><td align="left">2006-04-01</td><td align="left">jh</td></tr><tr><td align="left" colspan="3">v0.1 fr Proview v4.2 skapad</td></tr>
</table></div></div></div><hr></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="chapter"><a href="#dbpwr_intro">1. Introduktion</a></span></dt><dd><dl><dt><span class="section"><a href="#id3375425">1.1. Om DocBook</a></span></dt><dt><span class="section"><a href="#id3375263">1.2. Hello world</a></span></dt></dl></dd><dt><span class="chapter"><a href="#dbpwr_editering">2. Editeringsverktyg</a></span></dt><dd><dl><dt><span class="section"><a href="#dpbwr_emacsnxml">2.1. Emacs + nXML</a></span></dt><dt><span class="section"><a href="#dbpwr_alternativ">2.2. Andra alternativ</a></span></dt></dl></dd><dt><span class="chapter"><a href="#dbpwr_exempel">3. Ett exempeldokument</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_prolog">3.1. Dokumentprolog</a></span></dt><dt><span class="section"><a href="#dbpwr_uppm">3.2. Uppmrkning</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_dsuppm">3.2.1. Dokumentstruktur</a></span></dt><dt><span class="section"><a href="#dbpwr_liuppm">3.2.2. Listor etc.</a></span></dt><dt><span class="section"><a href="#dbpwr_komuppm">3.2.3. Kommandon, filnamn...</a></span></dt><dt><span class="section"><a href="#dbpwr_pwruppm">3.2.4. Proview-uppmrkning</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#dbpwr_utdata">4. Generering av utdata</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_byggut">4.1. Bygga DocBook-dokumentation</a></span></dt><dt><span class="section"><a href="#dbpwr_komponenter">4.2. Byggkomponenter</a></span></dt><dt><span class="section"><a href="#dbpwr_instlager">4.3. Instllningslager</a></span></dt><dt><span class="section"><a href="#dbpwr_anpassningut">4.4. Anpassning av utfiler</a></span></dt></dl></dd><dt><span class="chapter"><a href="#dbpwr_omdocbook">5. Mer om DocBook</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_bakgrund">5.1. Bakgrund</a></span></dt><dt><span class="section"><a href="#dbpwr_verktyg">5.2. Vilka verktyg behvs?</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_vkedja">5.2.1. DocBook:s verktygskedja</a></span></dt><dt><span class="section"><a href="#dbpwr_editorer">5.2.2. Editorer fr DocBook</a></span></dt></dl></dd><dt><span class="section"><a href="#dbpwr_referenser">5.3. Referenser</a></span></dt></dl></dd></dl></div>
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.&lt;/para&gt;</font>
&lt;/legalnotice&gt;</font>
<font color="red">&lt;mediaobject&gt;
<font color="red">&lt;imageobject&gt;
<font color="red">&lt;imagedata&gt;&lt;/imagedata&gt;</font>
&lt;/imageobject&gt;</font>
<font color="red">&lt;imageobject&gt;
<font color="red">&lt;imagedata&gt;&lt;/imagedata&gt;</font>
&lt;/imageobject&gt;</font>
&lt;/mediaobject&gt;</font>
&lt;/info&gt;</font>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_intro"></a>Kapitel 1. Introduktion</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#id3375425">1.1. Om DocBook</a></span></dt><dt><span class="section"><a href="#id3375263">1.2. Hello world</a></span></dt></dl></div>
<font color="red">&lt;chapter&gt;
<p>Det hr dokumentet r en snabbversikt av dokumentationsstandarden Docbook,
och hur den kan anvndas fr dokumentation i <a href="http://www.proview.se" target="_top">Proview</a>.
<font color="red">&lt;title&gt;Introduktion&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Det hr dokumentet r en snabbversikt av dokumentationsstandarden Docbook,
och hur den kan anvndas fr dokumentation i <font color="red">&lt;link&gt;Proview&lt;/link&gt;</font>.
Texten i dokumentet r fr nrvarande minimalt uppmrkt/taggad.
Fr ett mer uppmrkt dokument, se <a href="../en_us/pwrgsg_index.html" target="_top">Proview Getting Started Guide</a>.
</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3375425"></a>1.1. Om DocBook</h2></div></div></div>
<p>DocBook r en XML-dialekt fr teknisk dokumentation.
Fr ett mer uppmrkt dokument, se <font color="red">&lt;link&gt;Proview Getting Started Guide&lt;/link&gt;</font>.
&lt;/para&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Om DocBook&lt;/title&gt;</font>
<font color="red">&lt;para&gt;DocBook r en XML-dialekt fr teknisk dokumentation.
Den anvnds i mnga stora mjukvaruprojekt, bde kommersiella och open source.
Frn ett klldokument skrivet i DocBook/XML kan utdata i en mngd format genereras,
exempelvis html, pdf, ps, man-sidor.
Med xml-taggarna anges dokumentets struktur och innehll, dremot inte dess formatering
- detta beror istllet av vilken utdata som skapas.
</p>
<p>Mer om DocBook i <a href="#dbpwr_omdocbook" title="Kapitel 5. Mer om DocBook">Kapitel5, <i>Mer om DocBook</i></a></p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3375263"></a>1.2. Hello world</h2></div></div></div>
<p>Ett minimalt DocBook-dokument kan se ut shr:
</p><pre class="programlisting">
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Mer om DocBook i <font color="red">&lt;xref&gt;&lt;/xref&gt;</font>&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Hello world&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Ett minimalt DocBook-dokument kan se ut shr:
<font color="red">&lt;programlisting&gt;
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;article xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="sv"&gt;
&lt;title&gt;Ett minimalt DocBook-dokument&lt;/title&gt;
&lt;para&gt;kan se ut shr.&lt;/para&gt;
&lt;/article&gt;
</pre><p>
</p>
<p>
Spara filen ovan som exempelvis <code class="filename">minimalt.xml</code>.
&lt;/programlisting&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
Spara filen ovan som exempelvis <font color="red">&lt;filename&gt;minimalt.xml&lt;/filename&gt;</font>.
Fljande kommando skapar en html-fil.
</p><pre class="screen">
<code class="prompt">bash$</code> <span><strong class="command">xsltproc</strong></span> <code class="option">-o</code> <code class="filename">minimalt.html</code> <code class="filename">/usr/local/share/xml/docbook/stylesheet/snapshot/html/docbook.xsl</code> <code class="filename">minimalt.xml</code>
</pre><p>
</p>
<p>Fr att skapa en pdf behvs tv kommandon.
</p><pre class="screen">
<code class="prompt">bash$</code> <span><strong class="command">xsltproc</strong></span> <code class="option">-o</code> <code class="filename">minimalt.fo</code> <code class="filename">/usr/local/share/xml/docbook/stylesheet/snapshot/fo/docbook.xsl</code> <code class="filename">minimalt.xml</code>
<code class="prompt">bash$</code> <span><strong class="command">fop</strong></span> <code class="filename">minimalt.fo</code> <code class="option">-pdf</code> <code class="filename">minimalt.pdf</code>
</pre><p>
</p>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_editering"></a>Kapitel 2. Editeringsverktyg</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#dpbwr_emacsnxml">2.1. Emacs + nXML</a></span></dt><dt><span class="section"><a href="#dbpwr_alternativ">2.2. Andra alternativ</a></span></dt></dl></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dpbwr_emacsnxml"></a>2.1. Emacs + nXML</h2></div></div></div>
<p>
<font color="red">&lt;screen&gt;
<font color="red">&lt;prompt&gt;bash$&lt;/prompt&gt;</font> <font color="red">&lt;command&gt;xsltproc&lt;/command&gt;</font> <font color="red">&lt;option&gt;-o&lt;/option&gt;</font> <font color="red">&lt;filename&gt;minimalt.html&lt;/filename&gt;</font> <font color="red">&lt;filename&gt;/usr/local/share/xml/docbook/stylesheet/snapshot/html/docbook.xsl&lt;/filename&gt;</font> <font color="red">&lt;filename&gt;minimalt.xml&lt;/filename&gt;</font>
&lt;/screen&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Fr att skapa en pdf behvs tv kommandon.
<font color="red">&lt;screen&gt;
<font color="red">&lt;prompt&gt;bash$&lt;/prompt&gt;</font> <font color="red">&lt;command&gt;xsltproc&lt;/command&gt;</font> <font color="red">&lt;option&gt;-o&lt;/option&gt;</font> <font color="red">&lt;filename&gt;minimalt.fo&lt;/filename&gt;</font> <font color="red">&lt;filename&gt;/usr/local/share/xml/docbook/stylesheet/snapshot/fo/docbook.xsl&lt;/filename&gt;</font> <font color="red">&lt;filename&gt;minimalt.xml&lt;/filename&gt;</font>
<font color="red">&lt;prompt&gt;bash$&lt;/prompt&gt;</font> <font color="red">&lt;command&gt;fop&lt;/command&gt;</font> <font color="red">&lt;filename&gt;minimalt.fo&lt;/filename&gt;</font> <font color="red">&lt;option&gt;-pdf&lt;/option&gt;</font> <font color="red">&lt;filename&gt;minimalt.pdf&lt;/filename&gt;</font>
&lt;/screen&gt;</font>
&lt;/para&gt;</font>
&lt;/section&gt;</font>
&lt;/chapter&gt;</font>
<font color="red">&lt;chapter&gt;
<font color="red">&lt;title&gt;Editeringsverktyg&lt;/title&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Emacs + nXML&lt;/title&gt;</font>
<font color="red">&lt;para&gt;
I princip kan vilken texteditor som helst anvndas fr att skriva xml.
En syntaxmedveten editor underlttar dock avsevrt.
<span class="application">Emacs 21.3</span> och uppt med nXML-lge fungerar mycket bra (finns p pwr42).
<font color="red">&lt;application&gt;Emacs 21.3&lt;/application&gt;</font> och uppt med nXML-lge fungerar mycket bra (finns p pwr42).
De viktigaste funktionerna r:
</p><div class="itemizedlist"><ul type="disc"><li><p>Autokomplettering av taggar (<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">RET</strong></span>):
man skriver de frsta bokstverna och autokompletterar sedan.</p></li><li><p>Insttning av sluttag 1
(<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">c</strong></span> <span><strong class="keycap">C</strong></span>-<span><strong class="keycap">i</strong></span>):
stter sluttaggen direkt efter ppningstaggen, och placerar markren mitt emellan.</p></li><li><p>Insttning av sluttag 2
(<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">c</strong></span> <span><strong class="keycap">C</strong></span>-<span><strong class="keycap">b</strong></span>):
stter sluttagen p ny rad nedanfr, och placerar markren p blank rad mitt emellan.</p></li><li><p>Insttning av sluttag 3 (<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">f</strong></span>):
Avslutar nrmaste ppna tag uppt i trdet.</p></li><li><p>Autovalidering: Syntaxen kollas mot schemat kontinuerligt. Info om fel. Syntaxfrgning och indentering.</p></li></ul></div><p>
</p>
<p>
Fr att ladda nXML-lget, och fr att <span class="application"> Emacs</span> ska bete sig acceptabelt i vrigt (scroll-hjul, fonter etc),
behver man gra en del instllningar i ngon eller ngra av filerna <code class="filename">.emacs</code>,
<code class="filename">.gnu-emacs</code> och <code class="filename">.gnu-emacs-custom</code> i sin hemkatalog.
Exempel p hur detta kan gras finns i <code class="filename">/home/jonas_h</code>.
nXML fungerar inte med <span class="application">XEmacs</span>.
</p>
<p>
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Autokomplettering av taggar (<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;RET&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>):
man skriver de frsta bokstverna och autokompletterar sedan.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Insttning av sluttag 1
(<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;c&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font> <font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;i&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>):
stter sluttaggen direkt efter ppningstaggen, och placerar markren mitt emellan.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Insttning av sluttag 2
(<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;c&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font> <font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;b&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>):
stter sluttagen p ny rad nedanfr, och placerar markren p blank rad mitt emellan.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Insttning av sluttag 3 (<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;f&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>):
Avslutar nrmaste ppna tag uppt i trdet.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Autovalidering: Syntaxen kollas mot schemat kontinuerligt. Info om fel. Syntaxfrgning och indentering.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
Fr att ladda nXML-lget, och fr att <font color="red">&lt;application&gt; Emacs&lt;/application&gt;</font> ska bete sig acceptabelt i vrigt (scroll-hjul, fonter etc),
behver man gra en del instllningar i ngon eller ngra av filerna <font color="red">&lt;filename&gt;.emacs&lt;/filename&gt;</font>,
<font color="red">&lt;filename&gt;.gnu-emacs&lt;/filename&gt;</font> och <font color="red">&lt;filename&gt;.gnu-emacs-custom&lt;/filename&gt;</font> i sin hemkatalog.
Exempel p hur detta kan gras finns i <font color="red">&lt;filename&gt;/home/jonas_h&lt;/filename&gt;</font>.
nXML fungerar inte med <font color="red">&lt;application&gt;XEmacs&lt;/application&gt;</font>.
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
Kllkod och dokumentation fr nXML finns p pwr42 i
<code class="filename">/usr/local/share/emacs/21.4/site-lisp/nxml-mode-20041004/</code>.
I underkatalogen <code class="filename">schema/</code> finns den senaste versionen av docbook-schemat
(filerna <code class="filename">docbook.rnc</code> och <code class="filename">docbookxi.rnc</code>) inlagt.
<font color="red">&lt;filename&gt;/usr/local/share/emacs/21.4/site-lisp/nxml-mode-20041004/&lt;/filename&gt;</font>.
I underkatalogen <font color="red">&lt;filename&gt;schema/&lt;/filename&gt;</font> finns den senaste versionen av docbook-schemat
(filerna <font color="red">&lt;filename&gt;docbook.rnc&lt;/filename&gt;</font> och <font color="red">&lt;filename&gt;docbookxi.rnc&lt;/filename&gt;</font>) inlagt.
nXML anvnder schemat fr validering och autkomplettering, s det r bra om man har rtt schema kopplat till sitt dokument.
</p>
<p>
En DocBook-meny till Emacs finns i <code class="filename">/usr/local/share/emacs/21.4/site-lisp/docbook-menu-0.92/</code>.
ven den laddas in med instllningar i filerna <code class="filename">.emacs</code> m fl.
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
En DocBook-meny till Emacs finns i <font color="red">&lt;filename&gt;/usr/local/share/emacs/21.4/site-lisp/docbook-menu-0.92/&lt;/filename&gt;</font>.
ven den laddas in med instllningar i filerna <font color="red">&lt;filename&gt;.emacs&lt;/filename&gt;</font> m fl.
Menyn innehller inga kommandon, men lnkar till dokumentation, samt alla element/taggar grupperade alfabetiskt och logiskt.
Den beskriver DocBook version 4, men skillnaderna mot version 5 r inte jttestora.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_alternativ"></a>2.2. Andra alternativ</h2></div></div></div>
<p>Ett flertal xml-editorer finns, bde fria och kommersiella, ngra med WYSIWYG-funktionalitet.
En annan mjlighet som skulle kunna underskas r att editera via ett wiki/web-grnssnitt.</p>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_exempel"></a>Kapitel 3. Ett exempeldokument</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#dbpwr_prolog">3.1. Dokumentprolog</a></span></dt><dt><span class="section"><a href="#dbpwr_uppm">3.2. Uppmrkning</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_dsuppm">3.2.1. Dokumentstruktur</a></span></dt><dt><span class="section"><a href="#dbpwr_liuppm">3.2.2. Listor etc.</a></span></dt><dt><span class="section"><a href="#dbpwr_komuppm">3.2.3. Kommandon, filnamn...</a></span></dt><dt><span class="section"><a href="#dbpwr_pwruppm">3.2.4. Proview-uppmrkning</a></span></dt></dl></dd></dl></div>
<p>Hr beskrivs hur man kan bygga upp ett strre dokument, av typen bok eller artikel.
Exempel p lmpliga taggar och uppmrkning fr <span class="application">Proview</span> ges.</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_prolog"></a>3.1. Dokumentprolog</h2></div></div></div>
<p>Prologen, eller dokumenthuvudet till en docbookfil kan se ut p fljande stt:
</p><pre class="programlisting">
&lt;?xml version="1.0" encoding="UTF-8"?&gt; <a name="co.prolog.xml"></a><img src="../1.png" alt="1" border="0">
&lt;!DOCTYPE article [ <a name="co.prolog.article"></a><img src="../2.png" alt="2" border="0">
&lt;!ENTITY % isopub PUBLIC <a name="co.prolog.isopub"></a><img src="../3.png" alt="3" border="0">
Den beskriver DocBook version 4, men skillnaderna mot version 5 r inte jttestora.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Andra alternativ&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Ett flertal xml-editorer finns, bde fria och kommersiella, ngra med WYSIWYG-funktionalitet.
En annan mjlighet som skulle kunna underskas r att editera via ett wiki/web-grnssnitt.&lt;/para&gt;</font>
&lt;/section&gt;</font>
&lt;/chapter&gt;</font>
<font color="red">&lt;chapter&gt;
<font color="red">&lt;title&gt;Ett exempeldokument&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Hr beskrivs hur man kan bygga upp ett strre dokument, av typen bok eller artikel.
Exempel p lmpliga taggar och uppmrkning fr <font color="red">&lt;application&gt;Proview&lt;/application&gt;</font> ges.&lt;/para&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Dokumentprolog&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Prologen, eller dokumenthuvudet till en docbookfil kan se ut p fljande stt:
<font color="red">&lt;programlisting&gt;
&lt;?xml version="1.0" encoding="UTF-8"?&gt; <font color="red">&lt;co&gt;&lt;/co&gt;</font>
&lt;!DOCTYPE article [ <font color="red">&lt;co&gt;&lt;/co&gt;</font>
&lt;!ENTITY % isopub PUBLIC <font color="red">&lt;co&gt;&lt;/co&gt;</font>
"ISO 8879:1986//ENTITIES Publishing//EN//XML"
"/usr/share/xml/entities/xml-iso-entities-8879.1986/isopub.ent"&gt;
&lt;!-- "http://www.w3.org/2003/entities/iso8879/isopub.ent"&gt; --&gt;
%isopub;
&lt;!ENTITY % pwrent SYSTEM "../src/pwrent.ent"&gt; <a name="co.prolog.pwrent"></a><img src="../4.png" alt="4" border="0">
&lt;!ENTITY % pwrent SYSTEM "../src/pwrent.ent"&gt; <font color="red">&lt;co&gt;&lt;/co&gt;</font>
%pwrent;
]&gt;
&lt;article version="5.0" xml:lang="en" xmlns="http://docbook.org/ns/docbook" <a name="co.prolog.docbook"></a><img src="../5.png" alt="5" border="0">
&lt;article version="5.0" xml:lang="en" xmlns="http://docbook.org/ns/docbook" <font color="red">&lt;co&gt;&lt;/co&gt;</font>
xmlns:mathml="http://www.w3.org/1998/Math/MathML"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
......@@ -138,41 +172,47 @@ Spara filen ovan som exempelvis <code class="filename">minimalt.xml</code>.
&lt;/affiliation&gt;
&lt;/author&gt;
&lt;/info&gt;
</pre><p>
</p><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.xml"><img src="../1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>Det hr r ett XML-dokument.</p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.article"><img src="../2.png" alt="2" border="0"></a> </td><td valign="top" align="left"><p>Detta r en artikel. Kan ven vara &#8220;<span class="quote">book</span>&#8221;</p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.isopub"><img src="../3.png" alt="3" border="0"></a> </td><td valign="top" align="left"><p>Hmta standard-entity-koder fr srskilda tecken.
Lokal fil gr snabbast. URL:en bortkommenterad.</p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.pwrent"><img src="../4.png" alt="4" border="0"></a> </td><td valign="top" align="left"><p>Egendefinierade entiteter, se <a href="#dbpwr_pwruppm" title="3.2.4. Proview-uppmrkning">Avsnitt3.2.4, &#8220;Proview-uppmrkning&#8221;</a></p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.docbook"><img src="../5.png" alt="5" border="0"></a> </td><td valign="top" align="left"><p>Detta r en artikel, DocBook (5.0) namespace. Fler namespace fljer.
Det hr r rotelementet fr dokumentet, som kommer att avslutas med <code class="sgmltag-element">&lt;/article&gt;</code>.</p></td></tr></table></div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_uppm"></a>3.2. Uppmrkning</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#dbpwr_dsuppm">3.2.1. Dokumentstruktur</a></span></dt><dt><span class="section"><a href="#dbpwr_liuppm">3.2.2. Listor etc.</a></span></dt><dt><span class="section"><a href="#dbpwr_komuppm">3.2.3. Kommandon, filnamn...</a></span></dt><dt><span class="section"><a href="#dbpwr_pwruppm">3.2.4. Proview-uppmrkning</a></span></dt></dl></div>
<p>Hr ges exempel p uppmrkning av ett dokument.
&lt;/programlisting&gt;</font>
<font color="red">&lt;calloutlist&gt;
<font color="red">&lt;callout&gt;<font color="red">&lt;para&gt;Det hr r ett XML-dokument.&lt;/para&gt;</font>&lt;/callout&gt;</font>
<font color="red">&lt;callout&gt;<font color="red">&lt;para&gt;Detta r en artikel. Kan ven vara <font color="red">&lt;quote&gt;book&lt;/quote&gt;</font>&lt;/para&gt;</font>&lt;/callout&gt;</font>
<font color="red">&lt;callout&gt;<font color="red">&lt;para&gt;Hmta standard-entity-koder fr srskilda tecken.
Lokal fil gr snabbast. URL:en bortkommenterad.&lt;/para&gt;</font>&lt;/callout&gt;</font>
<font color="red">&lt;callout&gt;<font color="red">&lt;para&gt;Egendefinierade entiteter, se <font color="red">&lt;xref&gt;&lt;/xref&gt;</font>&lt;/para&gt;</font>&lt;/callout&gt;</font>
<font color="red">&lt;callout&gt;<font color="red">&lt;para&gt;Detta r en artikel, DocBook (5.0) namespace. Fler namespace fljer.
Det hr r rotelementet fr dokumentet, som kommer att avslutas med <font color="red">&lt;tag&gt;&lt;/article&gt;&lt;/tag&gt;</font>.&lt;/para&gt;</font>&lt;/callout&gt;</font>
&lt;/calloutlist&gt;</font>
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Uppmrkning&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Hr ges exempel p uppmrkning av ett dokument.
Fr en fullstndig referens, se
<a href="http://www.docbook.org/tdg5/en/html/docbook.html" target="_top">DocBook 5.0: The Definitive Guide</a>.
Fler lnkar finns i <a href="#dbpwr_referenser" title="5.3. Referenser">Avsnitt5.3, &#8220;Referenser&#8221;</a>.</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_dsuppm"></a>3.2.1. Dokumentstruktur</h3></div></div></div>
<p>Fr att dela in en article anvnds avsnitt/sections.
<font color="red">&lt;link&gt;DocBook 5.0: The Definitive Guide&lt;/link&gt;</font>.
Fler lnkar finns i <font color="red">&lt;xref&gt;&lt;/xref&gt;</font>.&lt;/para&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Dokumentstruktur&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Fr att dela in en article anvnds avsnitt/sections.
Texten delas in i stycken. Det kan se ut s hr:
</p><pre class="programlisting">
<font color="red">&lt;programlisting&gt;
&lt;section&gt;&lt;title&gt;frsta avsnittet&lt;/title&gt;
&lt;para&gt;Ett stycke text&lt;/para&gt;
&lt;section&gt;&lt;title&gt;frsta underavsnittet&lt;/title&gt;
&lt;para&gt;Ett stycke text&lt;/para&gt;
&lt;/section&gt;
&lt;/section&gt;
</pre><p>
<code class="sgmltag-element">&lt;section&gt;</code> kan allts innehlla sig sjlv, och underavsnitt skapas rekursivt.
Ett alternativ r att anvnda <code class="sgmltag-element">&lt;sect1&gt;</code>, <code class="sgmltag-element">&lt;sect2&gt;</code> etc (upp till 5)
&lt;/programlisting&gt;</font>
<font color="red">&lt;tag&gt;&lt;section&gt;&lt;/tag&gt;</font> kan allts innehlla sig sjlv, och underavsnitt skapas rekursivt.
Ett alternativ r att anvnda <font color="red">&lt;tag&gt;&lt;sect1&gt;&lt;/tag&gt;</font>, <font color="red">&lt;tag&gt;&lt;sect2&gt;&lt;/tag&gt;</font> etc (upp till 5)
fr att explicit ange avsnittsstrukturen.
</p>
<p>Ett dokument av typen <code class="sgmltag-element">&lt;book&gt;</code> kan ha en kapitelniv, <code class="sgmltag-element">&lt;chapter&gt;</code>, ver avsnitten,
och drver en delniv, <code class="sgmltag-element">&lt;part&gt;</code>.
Ofta vill man dela upp en &#8220;<span class="quote">book</span>&#8221; s att varje kapitel utgr en egen fil.
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Ett dokument av typen <font color="red">&lt;tag&gt;&lt;book&gt;&lt;/tag&gt;</font> kan ha en kapitelniv, <font color="red">&lt;tag&gt;&lt;chapter&gt;&lt;/tag&gt;</font>, ver avsnitten,
och drver en delniv, <font color="red">&lt;tag&gt;&lt;part&gt;&lt;/tag&gt;</font>.
Ofta vill man dela upp en <font color="red">&lt;quote&gt;book&lt;/quote&gt;</font> s att varje kapitel utgr en egen fil.
Detta r srskilt anvndbart fr strre dokument, som d blir mer hanterliga,
kan editeras av flera personer samtidigt, och kan sammanfogas modulrt.
Man infogar delarna i boken med hjlp av xinclude:</p>
<pre class="programlisting">
Man infogar delarna i boken med hjlp av xinclude:&lt;/para&gt;</font>
<font color="red">&lt;programlisting&gt;
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE book [
&lt;!ENTITY % isopub PUBLIC
......@@ -187,60 +227,73 @@ Spara filen ovan som exempelvis <code class="filename">minimalt.xml</code>.
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"&gt; <a name="co.xi.ns"></a><img src="../1.png" alt="1" border="0">
xmlns:xi="http://www.w3.org/2001/XInclude"&gt; <font color="red">&lt;co&gt;&lt;/co&gt;</font>
&lt;info&gt;
...
&lt;/info&gt;
&lt;xi:include href="dbpwr_intro.xml"/&gt; <a name="co.xi.include"></a><img src="../2.png" alt="2" border="0">
&lt;xi:include href="dbpwr_intro.xml"/&gt; <font color="red">&lt;co&gt;&lt;/co&gt;</font>
&lt;xi:include href="dbpwr_skapadok.xml"/&gt;
&lt;xi:include href="dbpwr_utdata.xml"/&gt;
&lt;xi:include href="dbpwr_omdocbook.xml"/&gt;
&lt;/book&gt;
</pre>
<div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#co.xi.ns"><img src="../1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>Namespace fr XInclude mste lggas till.</p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.xi.include"><img src="../2.png" alt="2" border="0"></a> </td><td valign="top" align="left"><p>Hr inkluderas bokens kapitel.
Dessa skrivs som enskilda och fullstndiga DocBook-dokument, men av dokumenttypen &#8220;<span class="quote">chapter</span>&#8221;
istllet fr &#8220;<span class="quote">book</span>&#8221; eller &#8220;<span class="quote">article</span>&#8221;.</p></td></tr></table></div>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Notera]" src="../note.png"></td><th align="left">Notera</th></tr><tr><td align="left" valign="top">
<p>Om man vill autovalidera ett dokument med xincludes i nXML mste man koppla schemat
<code class="filename">docbookxi.rnc</code>, till dokumentet.
&lt;/programlisting&gt;</font>
<font color="red">&lt;calloutlist&gt;
<font color="red">&lt;callout&gt;<font color="red">&lt;para&gt;Namespace fr XInclude mste lggas till.&lt;/para&gt;</font>&lt;/callout&gt;</font>
<font color="red">&lt;callout&gt;<font color="red">&lt;para&gt;Hr inkluderas bokens kapitel.
Dessa skrivs som enskilda och fullstndiga DocBook-dokument, men av dokumenttypen <font color="red">&lt;quote&gt;chapter&lt;/quote&gt;</font>
istllet fr <font color="red">&lt;quote&gt;book&lt;/quote&gt;</font> eller <font color="red">&lt;quote&gt;article&lt;/quote&gt;</font>.&lt;/para&gt;</font>&lt;/callout&gt;</font>
&lt;/calloutlist&gt;</font>
<font color="red">&lt;note&gt;
<font color="red">&lt;para&gt;Om man vill autovalidera ett dokument med xincludes i nXML mste man koppla schemat
<font color="red">&lt;filename&gt;docbookxi.rnc&lt;/filename&gt;</font>, till dokumentet.
Detta grs i
<span class="guimenu">XML</span> &#8594; <span class="guisubmenu">Set Schema</span> &#8594; <span class="guimenuitem">File...</span>.
Default r annars <code class="filename">docbook.rnc</code>.</p>
</td></tr></table></div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_liuppm"></a>3.2.2. Listor etc.</h3></div></div></div>
<p>
</p><pre class="programlisting">
<font color="red">&lt;menuchoice&gt;
<font color="red">&lt;guimenu&gt;XML&lt;/guimenu&gt;</font><font color="red">&lt;guisubmenu&gt;Set Schema&lt;/guisubmenu&gt;</font><font color="red">&lt;guimenuitem&gt;File...&lt;/guimenuitem&gt;</font>
&lt;/menuchoice&gt;</font>.
Default r annars <font color="red">&lt;filename&gt;docbook.rnc&lt;/filename&gt;</font>.&lt;/para&gt;</font>
&lt;/note&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Listor etc.&lt;/title&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;programlisting&gt;
itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;xml-grammatik fr dokumentation, ssk teknisk, ssk hrd- och mjukvara&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;Strukturerad uppmrkning baserat p innehll, ej formatering (som ex.vis html).
Mjligt att skapa mer skbara databaser.&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;
</pre>
<p>ger</p>
<p>
</p><div class="itemizedlist"><ul type="disc"><li><p>xml-grammatik fr dokumentation, ssk teknisk, ssk hrd- och mjukvara</p></li><li><p>Strukturerad uppmrkning baserat p innehll, ej formatering (som ex.vis html).
Mjligt att skapa mer skbara databaser.</p></li></ul></div><p>
<code class="sgmltag-element">&lt;orderedlist&gt;</code> skapar en numrerad lista istllet fr en punktlista.
</p>
<p>
</p><pre class="programlisting">
&lt;/programlisting&gt;</font>&lt;/para&gt;</font>
<font color="red">&lt;para&gt;ger&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;xml-grammatik fr dokumentation, ssk teknisk, ssk hrd- och mjukvara&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Strukturerad uppmrkning baserat p innehll, ej formatering (som ex.vis html).
Mjligt att skapa mer skbara databaser.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
<font color="red">&lt;tag&gt;&lt;orderedlist&gt;&lt;/tag&gt;</font> skapar en numrerad lista istllet fr en punktlista.
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;programlisting&gt;
&lt;variablelist&gt;
&lt;varlistentry&gt;&lt;term&gt;&lt;filename&gt;pwr_xsl/common-customizations.xsl&lt;/filename&gt;&lt;/term&gt;
&lt;listitem&gt;&lt;para&gt;Gemensamma parameterinstllningar och template-definitioner.&lt;/para&gt;&lt;/listitem&gt;&lt;/varlistentry&gt;
&lt;varlistentry&gt;&lt;term&gt;&lt;filename&gt;pwr_xsl/html-common.xsl&lt;/filename&gt;&lt;/term&gt;
&lt;listitem&gt;&lt;para&gt;Html-specifika parameterinstllningar och template-definitioner.&lt;/para&gt;&lt;/listitem&gt;&lt;/varlistentry&gt;
&lt;/variablelist&gt;
</pre>
<p>ger</p>
<p>
</p><div class="variablelist"><dl><dt><span class="term"><code class="filename">pwr_xsl/common-customizations.xsl</code></span></dt><dd><p>Gemensamma parameterinstllningar och template-definitioner.</p></dd><dt><span class="term"><code class="filename">pwr_xsl/html-common.xsl</code></span></dt><dd><p>Html-specifika parameterinstllningar och template-definitioner.</p></dd></dl></div><p>
</p>
<p>
</p><pre class="programlisting">
&lt;/programlisting&gt;</font>&lt;/para&gt;</font>
<font color="red">&lt;para&gt;ger&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;variablelist&gt;
<font color="red">&lt;varlistentry&gt;<font color="red">&lt;term&gt;<font color="red">&lt;filename&gt;pwr_xsl/common-customizations.xsl&lt;/filename&gt;</font>&lt;/term&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Gemensamma parameterinstllningar och template-definitioner.&lt;/para&gt;</font>&lt;/listitem&gt;</font>&lt;/varlistentry&gt;</font>
<font color="red">&lt;varlistentry&gt;<font color="red">&lt;term&gt;<font color="red">&lt;filename&gt;pwr_xsl/html-common.xsl&lt;/filename&gt;</font>&lt;/term&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Html-specifika parameterinstllningar och template-definitioner.&lt;/para&gt;</font>&lt;/listitem&gt;</font>&lt;/varlistentry&gt;</font>
&lt;/variablelist&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;programlisting&gt;
&lt;programlisting&gt;
### Document filename without suffix (.xml):
###FILE = pwr_gsg
......@@ -249,193 +302,253 @@ Spara filen ovan som exempelvis <code class="filename">minimalt.xml</code>.
&lt;calloutlist&gt;
&lt;callout arearefs="co.makefil.file2"&gt;&lt;para&gt;Hr anges filnamnet utan ndelse fr infil (.xml) och utfil (.html, .fo, .pdf)&lt;/para&gt;&lt;/callout&gt;
&lt;/calloutlist&gt;
</pre>
<p>ger</p>
<p>
</p><pre class="programlisting">
&lt;/programlisting&gt;</font>&lt;/para&gt;</font>
<font color="red">&lt;para&gt;ger&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;programlisting&gt;
### Document filename without suffix (.xml):
###FILE = pwr_gsg
FILE = dbpwr <a name="co.makefil.file2"></a><img src="../1.png" alt="1" border="0">
</pre><p>
</p><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#co.makefil.file2"><img src="../1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>Hr anges filnamnet utan ndelse fr infil (.xml) och utfil (.html, .fo, .pdf)</p></td></tr></table></div><p>
</p>
<p>
</p><pre class="programlisting">
FILE = dbpwr <font color="red">&lt;co&gt;&lt;/co&gt;</font>
&lt;/programlisting&gt;</font>
<font color="red">&lt;calloutlist&gt;
<font color="red">&lt;callout&gt;<font color="red">&lt;para&gt;Hr anges filnamnet utan ndelse fr infil (.xml) och utfil (.html, .fo, .pdf)&lt;/para&gt;</font>&lt;/callout&gt;</font>
&lt;/calloutlist&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;programlisting&gt;
&lt;qandaset&gt;
&lt;qandaentry&gt;&lt;question&gt;&lt;para&gt;Hur gr man en FAQ-avdelning?&lt;/para&gt;&lt;/question&gt;
&lt;answer&gt;&lt;para&gt;Med en &lt;tag&gt;&amp;lt;qandaset&amp;gt;&lt;/tag&gt;&lt;/para&gt;&lt;/answer&gt; &lt;/qandaentry&gt;
&lt;/qandaset&gt;
</pre>
<p>ger</p>
<p>
</p><div class="qandaset"><dl><dt>3.2.2.1. <a href="#id3376477">Hur gr man en FAQ-avdelning?</a></dt></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="id3376477"></a><a name="id3376479"></a><b>3.2.2.1.</b></td><td align="left" valign="top"><p>Hur gr man en FAQ-avdelning?</p></td></tr>
<tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>Med en <code class="sgmltag-element">&lt;qandaset&gt;</code></p></td></tr> </tbody></table></div><p>
</p>
</div>
&lt;/programlisting&gt;</font>&lt;/para&gt;</font>
<font color="red">&lt;para&gt;ger&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;qandaset&gt;
<font color="red">&lt;qandaentry&gt;<font color="red">&lt;question&gt;<font color="red">&lt;para&gt;Hur gr man en FAQ-avdelning?&lt;/para&gt;</font>&lt;/question&gt;</font>
<font color="red">&lt;answer&gt;<font color="red">&lt;para&gt;Med en <font color="red">&lt;tag&gt;&lt;qandaset&gt;&lt;/tag&gt;</font>&lt;/para&gt;</font>&lt;/answer&gt;</font> &lt;/qandaentry&gt;</font>
&lt;/qandaset&gt;</font>
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_komuppm"></a>3.2.3. Kommandon, filnamn...</h3></div></div></div>
<p>Detta r lnat frn KDE, och r kanske litet vertaggat..:
</p><pre class="programlisting">
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Kommandon, filnamn...&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Detta r lnat frn KDE, och r kanske litet vertaggat..:
<font color="red">&lt;programlisting&gt;
&lt;screen&gt;
&lt;prompt&gt;bash$&lt;/prompt&gt; &lt;userinput&gt;&lt;command&gt;mkdir&lt;/command&gt; &lt;parameter&gt;&lt;filename&gt;/dev/mqueue&lt;/filename&gt;&lt;/parameter&gt;&lt;/userinput&gt;
&lt;prompt&gt;bash$&lt;/prompt&gt; &lt;userinput&gt;&lt;command&gt;mount&lt;/command&gt; &lt;option&gt;-t&lt;/option&gt; &lt;parameter&gt;&lt;systemitem role="filesystem"&gt;mqueue&lt;/systemitem&gt;&lt;/parameter&gt; &lt;option&gt;none&lt;/option&gt; &lt;parameter&gt;&lt;filename&gt;/dev/mqueue&lt;/filename&gt;&lt;/parameter&gt;&lt;/userinput&gt;&lt;/screen&gt;
</pre>
<p>ger</p>
<p>
</p><pre class="screen">
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">mkdir</strong></span> <em class="parameter"><code><code class="filename">/dev/mqueue</code></code></em></code></strong>
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">mount</strong></span> <code class="option">-t</code> <em class="parameter"><code><code class="systemitem">mqueue</code></code></em> <code class="option">none</code> <em class="parameter"><code><code class="filename">/dev/mqueue</code></code></em></code></strong></pre><p>
</p>
<p>
&lt;/programlisting&gt;</font>&lt;/para&gt;</font>
<font color="red">&lt;para&gt;ger&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;screen&gt;
<font color="red">&lt;prompt&gt;bash$&lt;/prompt&gt;</font> <font color="red">&lt;userinput&gt;<font color="red">&lt;command&gt;mkdir&lt;/command&gt;</font> <font color="red">&lt;parameter&gt;<font color="red">&lt;filename&gt;/dev/mqueue&lt;/filename&gt;</font>&lt;/parameter&gt;</font>&lt;/userinput&gt;</font>
<font color="red">&lt;prompt&gt;bash$&lt;/prompt&gt;</font> <font color="red">&lt;userinput&gt;<font color="red">&lt;command&gt;mount&lt;/command&gt;</font> <font color="red">&lt;option&gt;-t&lt;/option&gt;</font> <font color="red">&lt;parameter&gt;<font color="red">&lt;systemitem&gt;mqueue&lt;/systemitem&gt;</font>&lt;/parameter&gt;</font> <font color="red">&lt;option&gt;none&lt;/option&gt;</font> <font color="red">&lt;parameter&gt;<font color="red">&lt;filename&gt;/dev/mqueue&lt;/filename&gt;</font>&lt;/parameter&gt;</font>&lt;/userinput&gt;</font>&lt;/screen&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
Annan uppmrkning som kan vara vrda att anvnda r:
</p><pre class="programlisting">
<font color="red">&lt;programlisting&gt;
&lt;menuchoice&gt;
&lt;shortcut&gt;&lt;keycombo&gt;&lt;keycap&gt;Ctrl&lt;/keycap&gt;&lt;keycap&gt;Q&lt;/keycap&gt;&lt;/keycombo&gt;&lt;/shortcut&gt;
&lt;guimenu&gt;Edit&lt;/guimenu&gt;
&lt;guimenuitem&gt;Change value&lt;/guimenuitem&gt;
&lt;/menuchoice&gt;
</pre>
<p>ger</p>
<p>
<span class="guimenu">Edit</span> &#8594; <span class="guimenuitem">Change value</span> (<span><strong class="shortcut"><span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">Q</strong></span></strong></span>)
</p>
<p>
</p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Tip"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Tips]" src="../tip.png"></td><th align="left">Tips</th></tr><tr><td align="left" valign="top">
<p>Noteringar, tips, viktigt, uppmaning till frsiktighet och varningar skapas med taggarna
<code class="sgmltag-element">&lt;note&gt;</code>, <code class="sgmltag-element">&lt;tip&gt;</code>, <code class="sgmltag-element">&lt;important&gt;</code>, <code class="sgmltag-element">&lt;caution&gt;</code> och <code class="sgmltag-element">&lt;warning&gt;</code>.</p>
</td></tr></table></div><p>
</p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Important"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Viktigt]" src="../important.png"></td><th align="left">Viktigt</th></tr><tr><td align="left" valign="top">
<p>Texten i ex.vis en viktigt mste skrivas inom en <code class="sgmltag-element">&lt;para&gt;</code></p>
</td></tr></table></div><p>
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Notera]" src="../note.png"></td><th align="left">Notera</th></tr><tr><td align="left" valign="top">
<p>Andra taggar som anvnts r <code class="systemitem">pwrp</code>
(<code class="sgmltag-element">&lt;systemitem role="user"&gt;pwrp&lt;/systemitem&gt;</code>) och <code class="envar">PWR_BUS_ID</code>
(<code class="sgmltag-element">&lt;envar&gt;PWR_BUS_ID&lt;/envar&gt;</code>).</p>
</td></tr></table></div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_pwruppm"></a>3.2.4. Proview-uppmrkning</h3></div></div></div>
<p>
</p><div class="itemizedlist"><ul type="disc"><li><p>Klasser: Taggen <code class="sgmltag-element">&lt;classname&gt;</code> har anvnts. Exempel <span class="classname">ProjectReg</span>.
Den r kanske framfr allt avsedd fr objektorienterade programmeringssprk, iofs.</p></li><li><p>Attribut: Taggen <code class="sgmltag-element">&lt;property&gt;</code> har anvnts. Exempel <span class="property">ObjectName</span>.</p></li><li><p>Miljer/applikationer: Entiteter har anvnts fr <span class="pwrenv">ProjectList</span>, <span class="pwrenv">VolumeList</span>, <span class="pwrenv">Directory</span>, <span class="pwrenv">Volume</span>, <span class="pwrenv">Xtt</span>.
De verstts till <code class="sgmltag-element">&lt;application role='pwrenv'&gt;VolumeList&lt;/application&gt;</code> etc.
Entiteterna r definierade i filen <code class="filename">pwrent.ent</code>.</p></li></ul></div><p>
</p>
</div>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_utdata"></a>Kapitel 4. Generering av utdata</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#dbpwr_byggut">4.1. Bygga DocBook-dokumentation</a></span></dt><dt><span class="section"><a href="#dbpwr_komponenter">4.2. Byggkomponenter</a></span></dt><dt><span class="section"><a href="#dbpwr_instlager">4.3. Instllningslager</a></span></dt><dt><span class="section"><a href="#dbpwr_anpassningut">4.4. Anpassning av utfiler</a></span></dt></dl></div>
&lt;/programlisting&gt;</font>&lt;/para&gt;</font>
<font color="red">&lt;para&gt;ger&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;menuchoice&gt;
<font color="red">&lt;shortcut&gt;<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;Ctrl&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;Q&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>&lt;/shortcut&gt;</font>
<font color="red">&lt;guimenu&gt;Edit&lt;/guimenu&gt;</font>
<font color="red">&lt;guimenuitem&gt;Change value&lt;/guimenuitem&gt;</font>
&lt;/menuchoice&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;tip&gt;
<font color="red">&lt;para&gt;Noteringar, tips, viktigt, uppmaning till frsiktighet och varningar skapas med taggarna
<font color="red">&lt;tag&gt;&lt;note&gt;&lt;/tag&gt;</font>, <font color="red">&lt;tag&gt;&lt;tip&gt;&lt;/tag&gt;</font>, <font color="red">&lt;tag&gt;&lt;important&gt;&lt;/tag&gt;</font>, <font color="red">&lt;tag&gt;&lt;caution&gt;&lt;/tag&gt;</font> och <font color="red">&lt;tag&gt;&lt;warning&gt;&lt;/tag&gt;</font>.&lt;/para&gt;</font>
&lt;/tip&gt;</font>
<font color="red">&lt;important&gt;
<font color="red">&lt;para&gt;Texten i ex.vis en viktigt mste skrivas inom en <font color="red">&lt;tag&gt;&lt;para&gt;&lt;/tag&gt;</font>&lt;/para&gt;</font>
&lt;/important&gt;</font>
<font color="red">&lt;note&gt;
<font color="red">&lt;para&gt;Andra taggar som anvnts r <font color="red">&lt;systemitem&gt;pwrp&lt;/systemitem&gt;</font>
(<font color="red">&lt;tag&gt;&lt;systemitem role="user"&gt;pwrp&lt;/systemitem&gt;&lt;/tag&gt;</font>) och <font color="red">&lt;envar&gt;PWR_BUS_ID&lt;/envar&gt;</font>
(<font color="red">&lt;tag&gt;&lt;envar&gt;PWR_BUS_ID&lt;/envar&gt;&lt;/tag&gt;</font>).&lt;/para&gt;</font>
&lt;/note&gt;</font>
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Proview-uppmrkning&lt;/title&gt;</font>
<font color="red">&lt;para&gt;
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Klasser: Taggen <font color="red">&lt;tag&gt;&lt;classname&gt;&lt;/tag&gt;</font> har anvnts. Exempel <font color="red">&lt;classname&gt;ProjectReg&lt;/classname&gt;</font>.
Den r kanske framfr allt avsedd fr objektorienterade programmeringssprk, iofs.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Attribut: Taggen <font color="red">&lt;tag&gt;&lt;property&gt;&lt;/tag&gt;</font> har anvnts. Exempel <font color="red">&lt;property&gt;ObjectName&lt;/property&gt;</font>.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Miljer/applikationer: Entiteter har anvnts fr <span class="pwrenv">ProjectList</span>, <span class="pwrenv">VolumeList</span>, <span class="pwrenv">Directory</span>, <span class="pwrenv">Volume</span>, <span class="pwrenv">Xtt</span>.
De verstts till <font color="red">&lt;tag&gt;&lt;application role='pwrenv'&gt;VolumeList&lt;/application&gt;&lt;/tag&gt;</font> etc.
Entiteterna r definierade i filen <font color="red">&lt;filename&gt;pwrent.ent&lt;/filename&gt;</font>.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
&lt;/para&gt;</font>
&lt;/section&gt;</font>
&lt;/section&gt;</font>
&lt;/chapter&gt;</font>
<font color="red">&lt;chapter&gt;
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_byggut"></a>4.1. Bygga DocBook-dokumentation</h2></div></div></div>
<p>
<font color="red">&lt;title&gt;Generering av utdata&lt;/title&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Bygga DocBook-dokumentation&lt;/title&gt;</font>
<font color="red">&lt;para&gt;
Generering av dokument frn docbook-filer r integrerad i byggrutinen fr Proview.
Dessa byggs med kommandot
</p><pre class="screen">
<code class="prompt">bash$</code> <span><strong class="command">pwre</strong></span> <em class="parameter"><code>build doc man docbook</code></em>
</pre><p>
<font color="red">&lt;screen&gt;
<font color="red">&lt;prompt&gt;bash$&lt;/prompt&gt;</font> <font color="red">&lt;command&gt;pwre&lt;/command&gt;</font> <font color="red">&lt;parameter&gt;build doc man docbook&lt;/parameter&gt;</font>
&lt;/screen&gt;</font>
vilket ger utdata i form av html och pdf.
Html-dokumentet skapas i tv versioner: i en respektive flera filer.
I ett sista steg kopieras css- och mediafiler till mlkatalogen.
</p>
<p>Nya xml-dokument kan lggas till genom att placera xml-filerna i
<code class="filename">$pwre_sroot/doc/man/en_us/</code>,
eller <code class="filename">$pwre_sroot/doc/man/sv_se/</code>.
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Nya xml-dokument kan lggas till genom att placera xml-filerna i
<font color="red">&lt;filename&gt;$pwre_sroot/doc/man/en_us/&lt;/filename&gt;</font>,
eller <font color="red">&lt;filename&gt;$pwre_sroot/doc/man/sv_se/&lt;/filename&gt;</font>.
De grafik- eller mediafiler som dokumenten anvnder lggs i
<code class="filename">$pwre_sroot/doc/man/src/</code>.
<font color="red">&lt;filename&gt;$pwre_sroot/doc/man/src/&lt;/filename&gt;</font>.
Fr att utdatafiler ska genereras mste man lgga till filnamnet (endast namnet p huvudfilen, om flera) i variablerna
<code class="varname">sv_se_xmlsources</code> och / eller <code class="varname">en_us_xmlsources</code> i makefilen.
<font color="red">&lt;varname&gt;sv_se_xmlsources&lt;/varname&gt;</font> och / eller <font color="red">&lt;varname&gt;en_us_xmlsources&lt;/varname&gt;</font> i makefilen.
Huvudkllfilerna mste anges, eftersom det finns xml-filer i katalogen som inte r fristende kllfiler (ex.vis kapitelfiler).
Mediafiler kopieras automatiskt dit de behvs, och behver inte anges ngonstans.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_komponenter"></a>4.2. Byggkomponenter</h2></div></div></div>
<p>Fr att generera dokumentationen behvs fljande:
</p><div class="itemizedlist"><ul type="disc"><li><p>Xsltproc. Standardkomponent i de flesta linuxdistributioner.</p></li><li><p>DocBook-xsl-stylesheets. Gr att hmta med apt-get, eller frn sourceforge.
Mediafiler kopieras automatiskt dit de behvs, och behver inte anges ngonstans.&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Byggkomponenter&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Fr att generera dokumentationen behvs fljande:
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Xsltproc. Standardkomponent i de flesta linuxdistributioner.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;DocBook-xsl-stylesheets. Gr att hmta med apt-get, eller frn sourceforge.
Den senaste versionen finns p pwr42 i
<code class="filename">/usr/local/share/xml/docbook/stylesheet/docbook-xsl-1.70.1/</code>.
Nr man uppdaterar till en ny release av dessa mste man kra installationsscriptet <code class="filename">install.sh</code>
<font color="red">&lt;filename&gt;/usr/local/share/xml/docbook/stylesheet/docbook-xsl-1.70.1/&lt;/filename&gt;</font>.
Nr man uppdaterar till en ny release av dessa mste man kra installationsscriptet <font color="red">&lt;filename&gt;install.sh&lt;/filename&gt;</font>
i distributionen.
Detta uppdaterar anvndarens <code class="envar">XML_CATALOG_FILES</code> att lnka till den nya distributionen.</p></li><li><p>Fop. Version 0.92b av Apaches fo-processor r installerad p pwr42 i
<code class="filename">/usr/local/fop-0.92beta/</code>.
En symlnk finns i <code class="filename">/usr/local/bin</code>.</p></li></ul></div><p>
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Notera]" src="../note.png"></td><th align="left">Notera</th></tr><tr><td align="left" valign="top"><p>Ingen kontroll grs i nulget fr att dessa komponenter finns p systemet.
Detta br antagligen lggas till i makefilen om mjligt.</p></td></tr></table></div><p>
</p>
</div>
Detta uppdaterar anvndarens <font color="red">&lt;envar&gt;XML_CATALOG_FILES&lt;/envar&gt;</font> att lnka till den nya distributionen.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Fop. Version 0.92b av Apaches fo-processor r installerad p pwr42 i
<font color="red">&lt;filename&gt;/usr/local/fop-0.92beta/&lt;/filename&gt;</font>.
En symlnk finns i <font color="red">&lt;filename&gt;/usr/local/bin&lt;/filename&gt;</font>.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
<font color="red">&lt;note&gt;<font color="red">&lt;para&gt;Ingen kontroll grs i nulget fr att dessa komponenter finns p systemet.
Detta br antagligen lggas till i makefilen om mjligt.&lt;/para&gt;</font>&lt;/note&gt;</font>
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_instlager"></a>4.3. Instllningslager</h2></div></div></div>
<p>Ett stort antal parametrar gr att stlla in fr xsl-mallarna.
I de fall man inte vill ha defaultvrdena (stts i <code class="filename">param.xsl</code>) kan man ange parametervrden i xsltproc-anropet,
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Instllningslager&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Ett stort antal parametrar gr att stlla in fr xsl-mallarna.
I de fall man inte vill ha defaultvrdena (stts i <font color="red">&lt;filename&gt;param.xsl&lt;/filename&gt;</font>) kan man ange parametervrden i xsltproc-anropet,
eller i instllningslager (customization layers).
Dr kan ocks modifierade versioner av olika templates i mallarna definieras.
Dokumentation ver vilka parameterinstllningar som kan gras finns p
<a href="http://docbook.xml-doc.org/snapshots/xsl/doc/" target="_top">DocBook XSL Stylesheet Reference Documentation</a>.
Fljande instllningslager ligger under <code class="filename">$pwre_sroot/doc/man/src/</code>.
</p><div class="variablelist"><dl><dt><span class="term"><code class="filename">pwrxsl-common.xsl</code></span></dt><dd><p>Gemensamma parameterinstllningar och template-definitioner.</p></dd><dt><span class="term"><code class="filename">pwrxsl-html-common.xsl</code></span></dt><dd><p>Html-specifika parameterinstllningar och template-definitioner.</p></dd><dt><span class="term"><code class="filename">pwrxsl-html.xsl</code></span></dt><dd>
<div class="orderedlist"><ol type="1"><li><p>Importerar <code class="filename">/docbook-xsl-n.nn.n/html/docbook.xsl</code>
som r grundmallen fr html-processning - en utfil.</p></li><li><p>Hmtar frn <code class="filename">pwrxsl-common.xsl</code></p></li><li><p>Hmtar frn <code class="filename">pwrxsl-html-common.xsl</code></p></li><li><p>Stter parametrar och templates specifika fr html - en utfil.</p></li></ol></div></dd><dt><span class="term"><code class="filename">pwrxsl-chunk.xsl</code></span></dt><dd>
<div class="orderedlist"><ol type="1"><li><p>Importerar <code class="filename">/docbook-xsl-n.nn.n/html/chunk.xsl</code>
som r grundmallen fr html-processning - flera utfiler.</p></li><li><p>Hmtar frn <code class="filename">pwrxsl-common.xsl</code></p></li><li><p>Hmtar frn <code class="filename">pwrxsl-html-common.xsl</code></p></li><li><p>Stter parametrar och templates specifika fr html - flera utfiler.</p></li></ol></div></dd><dt><span class="term"><code class="filename">pwrxsl-fo.xsl</code></span></dt><dd>
<div class="orderedlist"><ol type="1"><li><p>Importerar <code class="filename">/docbook-xsl-n.nn.n/fo/docbook.xsl</code> som r grundmallen fr fo-processning.</p></li><li><p>Hmtar frn <code class="filename">pwrxsl-common.xsl</code></p></li><li><p>Stter parametrar och templates specifika fr fo.</p></li></ol></div></dd></dl></div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_anpassningut"></a>4.4. Anpassning av utfiler</h2></div></div></div>
<div class="itemizedlist"><ul type="disc"><li><p>FO/PDF: Justering av utseende, fonter, textstorlek etc. grs helt i instllningslagret,
<font color="red">&lt;link&gt;DocBook XSL Stylesheet Reference Documentation&lt;/link&gt;</font>.
Fljande instllningslager ligger under <font color="red">&lt;filename&gt;$pwre_sroot/doc/man/src/&lt;/filename&gt;</font>.
<font color="red">&lt;variablelist&gt;
<font color="red">&lt;varlistentry&gt;<font color="red">&lt;term&gt;<font color="red">&lt;filename&gt;pwrxsl-common.xsl&lt;/filename&gt;</font>&lt;/term&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Gemensamma parameterinstllningar och template-definitioner.&lt;/para&gt;</font>&lt;/listitem&gt;</font>&lt;/varlistentry&gt;</font>
<font color="red">&lt;varlistentry&gt;<font color="red">&lt;term&gt;<font color="red">&lt;filename&gt;pwrxsl-html-common.xsl&lt;/filename&gt;</font>&lt;/term&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Html-specifika parameterinstllningar och template-definitioner.&lt;/para&gt;</font>&lt;/listitem&gt;</font>&lt;/varlistentry&gt;</font>
<font color="red">&lt;varlistentry&gt;<font color="red">&lt;term&gt;<font color="red">&lt;filename&gt;pwrxsl-html.xsl&lt;/filename&gt;</font>&lt;/term&gt;</font>
<font color="red">&lt;listitem&gt;
<font color="red">&lt;orderedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Importerar <font color="red">&lt;filename&gt;/docbook-xsl-n.nn.n/html/docbook.xsl&lt;/filename&gt;</font>
som r grundmallen fr html-processning - en utfil.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Hmtar frn <font color="red">&lt;filename&gt;pwrxsl-common.xsl&lt;/filename&gt;</font>&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Hmtar frn <font color="red">&lt;filename&gt;pwrxsl-html-common.xsl&lt;/filename&gt;</font>&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Stter parametrar och templates specifika fr html - en utfil.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/orderedlist&gt;</font>&lt;/listitem&gt;</font>&lt;/varlistentry&gt;</font>
<font color="red">&lt;varlistentry&gt;<font color="red">&lt;term&gt;<font color="red">&lt;filename&gt;pwrxsl-chunk.xsl&lt;/filename&gt;</font>&lt;/term&gt;</font>
<font color="red">&lt;listitem&gt;
<font color="red">&lt;orderedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Importerar <font color="red">&lt;filename&gt;/docbook-xsl-n.nn.n/html/chunk.xsl&lt;/filename&gt;</font>
som r grundmallen fr html-processning - flera utfiler.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Hmtar frn <font color="red">&lt;filename&gt;pwrxsl-common.xsl&lt;/filename&gt;</font>&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Hmtar frn <font color="red">&lt;filename&gt;pwrxsl-html-common.xsl&lt;/filename&gt;</font>&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Stter parametrar och templates specifika fr html - flera utfiler.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/orderedlist&gt;</font>&lt;/listitem&gt;</font>&lt;/varlistentry&gt;</font>
<font color="red">&lt;varlistentry&gt;<font color="red">&lt;term&gt;<font color="red">&lt;filename&gt;pwrxsl-fo.xsl&lt;/filename&gt;</font>&lt;/term&gt;</font>
<font color="red">&lt;listitem&gt;
<font color="red">&lt;orderedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Importerar <font color="red">&lt;filename&gt;/docbook-xsl-n.nn.n/fo/docbook.xsl&lt;/filename&gt;</font> som r grundmallen fr fo-processning.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Hmtar frn <font color="red">&lt;filename&gt;pwrxsl-common.xsl&lt;/filename&gt;</font>&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Stter parametrar och templates specifika fr fo.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/orderedlist&gt;</font>&lt;/listitem&gt;</font>&lt;/varlistentry&gt;</font>
&lt;/variablelist&gt;</font>
&lt;/para&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Anpassning av utfiler&lt;/title&gt;</font>
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;FO/PDF: Justering av utseende, fonter, textstorlek etc. grs helt i instllningslagret,
och behandlas av xslt-processorn.
FO-processorn tar inga sdana argument eller parametrar.</p></li><li><p>HTML: Slutgiltig formatering bestms av css.
FO-processorn tar inga sdana argument eller parametrar.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;HTML: Slutgiltig formatering bestms av css.
Man kopplar de element/taggar man anvnt till formateringsinstruktioner i css:en.
Ger nskad grafisk profil t dokumentet.
Fr att det ska fungera krvs dock att uppmrkningen r konsekvent.</p></li></ul></div>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_omdocbook"></a>Kapitel 5. Mer om DocBook</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#dbpwr_bakgrund">5.1. Bakgrund</a></span></dt><dt><span class="section"><a href="#dbpwr_verktyg">5.2. Vilka verktyg behvs?</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_vkedja">5.2.1. DocBook:s verktygskedja</a></span></dt><dt><span class="section"><a href="#dbpwr_editorer">5.2.2. Editorer fr DocBook</a></span></dt></dl></dd><dt><span class="section"><a href="#dbpwr_referenser">5.3. Referenser</a></span></dt></dl></div>
<p>
Fr att det ska fungera krvs dock att uppmrkningen r konsekvent.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
&lt;/section&gt;</font>
&lt;/chapter&gt;</font>
<font color="red">&lt;chapter&gt;
<font color="red">&lt;title&gt;Mer om DocBook&lt;/title&gt;</font>
<font color="red">&lt;para&gt;
Detta kapitel r framfr allt av orienterande karaktr.
</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_bakgrund"></a>5.1. Bakgrund</h2></div></div></div>
<p>Docbook utvecklades ursprungligen av HaL och O'Reilly med brjan 1991.
1998 blev det en del av SGML Open Consortium, vilket senare blev <acronym class="acronym">OASIS</acronym> (Organization for the Advancement of Structured Information Standards). </p>
<p>
&lt;/para&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Bakgrund&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Docbook utvecklades ursprungligen av HaL och O'Reilly med brjan 1991.
1998 blev det en del av SGML Open Consortium, vilket senare blev <font color="red">&lt;acronym&gt;OASIS&lt;/acronym&gt;</font> (Organization for the Advancement of Structured Information Standards). &lt;/para&gt;</font>
<font color="red">&lt;para&gt;
Ngra punkter..
</p>
<div class="itemizedlist"><ul type="disc"><li><p>xml-grammatik fr dokumentation, ssk teknisk, ssk hrd- och mjukvara</p></li><li><p>Strukturerad uppmrkning baserat p innehll, ej formatering (som ex.vis html).
Mjligt att skapa mer skbara databaser.</p></li><li><p>Kan generera utdata i mnga olika format frn en klla: html, pdf, manpages, rtf, txt, htmlhelp,
&lt;/para&gt;</font>
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;xml-grammatik fr dokumentation, ssk teknisk, ssk hrd- och mjukvara&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Strukturerad uppmrkning baserat p innehll, ej formatering (som ex.vis html).
Mjligt att skapa mer skbara databaser.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Kan generera utdata i mnga olika format frn en klla: html, pdf, manpages, rtf, txt, htmlhelp,
Utdata fr olika plattformar frn samma klla (t ex SuSE / RedHat / Windows) - profiling.
Utdata p olika sprk frn samma klla (med fallback).</p></li><li><p>Enkelt att integrera i byggrutinen fr ett projekt. Make-filer, versionshantering.</p></li><li><p>OASIS-standard. Anvnds av bl a: Sun, Microsoft, HP, Novell, Red Hat, och open source projekt som
Linux kernel, KDE, Gnome, debian, Ubuntu, Fedora, Free-BSD, LDP, m fl.</p></li><li><p>Mjligt att skapa stora korsrefererande dokumentationssystem frn fristende komponenter.</p></li><li><p>Aktiv open source-utveckling av hela verktygskedjan.</p></li></ul></div>
<p>Frdelar: Alla ovan.</p>
<p>Nackdelar: mnga taggar, ej entydigt vilka man ska anvnda, inlrningskurva, sammansatt verktygskedja,
XML (om man inte gillar XML...).</p>
</div>
Utdata p olika sprk frn samma klla (med fallback).&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Enkelt att integrera i byggrutinen fr ett projekt. Make-filer, versionshantering.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;OASIS-standard. Anvnds av bl a: Sun, Microsoft, HP, Novell, Red Hat, och open source projekt som
Linux kernel, KDE, Gnome, debian, Ubuntu, Fedora, Free-BSD, LDP, m fl.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Mjligt att skapa stora korsrefererande dokumentationssystem frn fristende komponenter.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Aktiv open source-utveckling av hela verktygskedjan.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
<font color="red">&lt;para&gt;Frdelar: Alla ovan.&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Nackdelar: mnga taggar, ej entydigt vilka man ska anvnda, inlrningskurva, sammansatt verktygskedja,
XML (om man inte gillar XML...).&lt;/para&gt;</font>
&lt;/section&gt;</font>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_verktyg"></a>5.2. Vilka verktyg behvs?</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#dbpwr_vkedja">5.2.1. DocBook:s verktygskedja</a></span></dt><dt><span class="section"><a href="#dbpwr_editorer">5.2.2. Editorer fr DocBook</a></span></dt></dl></div>
<p>Detta avsnitt beskriver verktygskedjan fr Docbook, och hur man editerar och processar docbook-dokument.</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_vkedja"></a>5.2.1. DocBook:s verktygskedja</h3></div></div></div>
<div class="itemizedlist"><ul type="disc"><li><p>Vokabulren specificeras i ett <acronym class="acronym">RELAX NG</acronym>
<sup>[<a name="id3377278" href="#ftn.id3377278">1</a>]</sup>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Vilka verktyg behvs?&lt;/title&gt;</font>
<font color="red">&lt;para&gt;Detta avsnitt beskriver verktygskedjan fr Docbook, och hur man editerar och processar docbook-dokument.&lt;/para&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;DocBook:s verktygskedja&lt;/title&gt;</font>
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Vokabulren specificeras i ett <font color="red">&lt;acronym&gt;RELAX NG&lt;/acronym&gt;</font>
<font color="red">&lt;footnote&gt;<font color="red">&lt;para&gt;REgular LAnguage for XML Next Generation, r en xml-vokabulr fr att specificera xml-vokabulrer.
Det gr att skriva <font color="red">&lt;acronym&gt;RELAX NG&lt;/acronym&gt;</font>-schemat i kompakt notation, men d r schemat inte sjlv ett xml-dokument.
<font color="red">&lt;acronym&gt;RELAX NG&lt;/acronym&gt;</font> anvnds som schemasprk fr DocBook, OpenDocument (OpenOffice.org:s dokumentformat), m fl.
Ett alternativ till <font color="red">&lt;acronym&gt;RELAX NG&lt;/acronym&gt;</font> r W3C XML Schema.
&lt;/para&gt;</font>&lt;/footnote&gt;</font>
schema fr o m Docbook v 5.0, tidigare anvndes en DTD (Document Type Definition).
Den har bantats ned och stramats upp fr o m 5.0, mjligen ej helt fryst nnu.
Fr detta dokument anvnds v 5.05b.
Schemat behvs egentligen bara fr validering och fr editorer, och om man ska skriva egna stylesheets.</p></li><li><p>Stylesheets definierar hur docbookvokabulr transformeras till andra taggar fr olika utformat.
Schemat behvs egentligen bara fr validering och fr editorer, och om man ska skriva egna stylesheets.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Stylesheets definierar hur docbookvokabulr transformeras till andra taggar fr olika utformat.
Mallarna r skrivna i xsl (extensible stylesheet language) som ocks r en xml-vokabulr.
Tidigare anvndes dssl.
Senaste slppta versionen r docbook-xsl-1.69.1 (fr detta dokument anvnds en snapshot-version frn sourceforge).
Huvudstylesheets fr html, chunk, fo (formatted output), manpages etc. anropas.
Dessa anvnder sig av ett flertal gemensamma stylesheets.</p></li><li><p>En xslt-processor anvnds fr att generera utdata (.html, .fo, etc).
Dessa anvnder sig av ett flertal gemensamma stylesheets.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;En xslt-processor anvnds fr att generera utdata (.html, .fo, etc).
Man anropar den med indata och stylesheet som argument, enklast via en make-fil.
xsltproc r standard i mnga linuxdistributioner, ingr i libxslt.
Andra processorer finns, ex.vis saxon, xalan.
Fr detta dokument anvnds en snapshot-version av libxslt frn xmlsoft.org.</p></li><li><p>Fr att skapa utdata fr papper (pdf, ps, rtf, txt)
Fr detta dokument anvnds en snapshot-version av libxslt frn xmlsoft.org.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Fr att skapa utdata fr papper (pdf, ps, rtf, txt)
fr man processa den skapade .fo-filen ett steg till, med en xsl-fo-processor.
xsl-fo r en xml-vokabulr fr att beskriva formaterad text.
Den innehller information om hur texten ska se ut p pappret med fonter, textstorlek, pappersformat, styckeindelningar etc.
......@@ -445,57 +558,71 @@ Spara filen ovan som exempelvis <code class="filename">minimalt.xml</code>.
Mnga av dem fungerar bra fr de flesta tillmpningar,
men ingen implementerar xsl-fo-standarden fullstndigt.
Detta uppges bero p tre saker:
</p><div class="orderedlist"><ol type="1"><li><p>Xsl-fo-standarden r ganska ny och omfattande.</p></li><li><p>Den har visat sig svrimplementerad i sin helhet.</p></li><li><p>Typsttning r svrt, generellt.</p></li></ol></div>
<p>Den mest anvnda open source-processorn r Apache's javabaserade FOP.
<font color="red">&lt;orderedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Xsl-fo-standarden r ganska ny och omfattande.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Den har visat sig svrimplementerad i sin helhet.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Typsttning r svrt, generellt.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/orderedlist&gt;</font>&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Den mest anvnda open source-processorn r Apache's javabaserade FOP.
Senaste stabila releasen var 0.20.5.
En helt omarbetad version 0.90 alfa gjordes tillgnglig nyligen.
Fr pdf-versionen av detta dokument anvnds 0.92 beta.
En 1.0-version uppges kunna slppas snart.</p>
<p>Andra open source fop:ar: PassiveTeX och xmlroff.
Kommersiella: E3, XEP, XPP, XSL Formatter m fl. </p>
</li></ul></div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_editorer"></a>5.2.2. Editorer fr DocBook</h3></div></div></div>
<p>I princip kan vilken texteditor som helst anvndas.
En 1.0-version uppges kunna slppas snart.&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Andra open source fop:ar: PassiveTeX och xmlroff.
Kommersiella: E3, XEP, XPP, XSL Formatter m fl. &lt;/para&gt;</font>
&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Editorer fr DocBook&lt;/title&gt;</font>
<font color="red">&lt;para&gt;I princip kan vilken texteditor som helst anvndas.
Eftersom taggarna ofta r lnga (inga frkortningar) blir det dock ltt omstndligt utan xml-medveten editor.
Tv alternativ:
</p><div class="itemizedlist"><ul type="disc"><li><p>Wysiwyg-editorer: Gmmer xml-taggarna. Exempel: oXygen (kommersiellt), XXE (halvt kommersiellt)</p></li><li><p>Emacs-lgen, etc.: psgml-mode, nXML-mode</p></li></ul></div><p>
</p>
<p>Fr detta dokument har Emacs med nXML-lge anvnts (Emacs version 21.x krvs).
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Wysiwyg-editorer: Gmmer xml-taggarna. Exempel: oXygen (kommersiellt), XXE (halvt kommersiellt)&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Emacs-lgen, etc.: psgml-mode, nXML-mode&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Fr detta dokument har Emacs med nXML-lge anvnts (Emacs version 21.x krvs).
nXML r skrivet av xml-gurun James Clark (groff, expat, xml-standarden, relax ng mm).
Man kopplar nXML till sitt schema (docbook.rng i detta fall),
och sedan fr man bl a:
</p><div class="itemizedlist"><ul type="disc"><li><p>auto-komplettering av taggar (<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">RET</strong></span>):
man skriver de frsta bokstverna och autokompletterar sedan.</p></li><li><p>Insttning av sluttag 1
(<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">c</strong></span> <span><strong class="keycap">C</strong></span>-<span><strong class="keycap">i</strong></span>):
stter sluttaggen direkt efter ppningstaggen, och placerar markren mitt emellan.</p></li><li><p>Insttning av sluttag 2
(<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">c</strong></span> <span><strong class="keycap">C</strong></span>-<span><strong class="keycap">b</strong></span>):
stter sluttagen p ny rad nedanfr, och placerar markren p blank rad mitt emellan.</p></li><li><p>Insttning av sluttag 3 (<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">f</strong></span>):
Avslutar nrmaste ppna tag uppt i trdet.</p></li><li><p>Autovalidering: Syntaxen kollas mot schemat kontinuerligt. Info om fel. Syntaxfrgning och indentering.</p></li></ul></div><p>
</p>
<p>Till Emacs finns ocks en DocBook-meny att ladda ned.
Den innehller inga kommandon, men lnkar till dokumentation, samt alla element/taggar grupperade alfabetiskt och logiskt. Anvndbart.</p>
</div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_referenser"></a>5.3. Referenser</h2></div></div></div>
<div class="itemizedlist"><ul type="disc"><li>
<p><a href="http://www.docbook.org/tdg5/en/html/docbook.html" target="_top">DocBook 5.0: The Definitive Guide</a>.
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;auto-komplettering av taggar (<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;RET&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>):
man skriver de frsta bokstverna och autokompletterar sedan.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Insttning av sluttag 1
(<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;c&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font> <font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;i&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>):
stter sluttaggen direkt efter ppningstaggen, och placerar markren mitt emellan.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Insttning av sluttag 2
(<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;c&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font> <font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;b&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>):
stter sluttagen p ny rad nedanfr, och placerar markren p blank rad mitt emellan.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Insttning av sluttag 3 (<font color="red">&lt;keycombo&gt;<font color="red">&lt;keycap&gt;C&lt;/keycap&gt;</font><font color="red">&lt;keycap&gt;f&lt;/keycap&gt;</font>&lt;/keycombo&gt;</font>):
Avslutar nrmaste ppna tag uppt i trdet.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;<font color="red">&lt;para&gt;Autovalidering: Syntaxen kollas mot schemat kontinuerligt. Info om fel. Syntaxfrgning och indentering.&lt;/para&gt;</font>&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
&lt;/para&gt;</font>
<font color="red">&lt;para&gt;Till Emacs finns ocks en DocBook-meny att ladda ned.
Den innehller inga kommandon, men lnkar till dokumentation, samt alla element/taggar grupperade alfabetiskt och logiskt. Anvndbart.&lt;/para&gt;</font>
&lt;/section&gt;</font>
&lt;/section&gt;</font>
<font color="red">&lt;section&gt;
<font color="red">&lt;title&gt;Referenser&lt;/title&gt;</font>
<font color="red">&lt;itemizedlist&gt;
<font color="red">&lt;listitem&gt;
<font color="red">&lt;para&gt;<font color="red">&lt;link&gt;DocBook 5.0: The Definitive Guide&lt;/link&gt;</font>.
Komplett referens ver alla element.
Innehller ven en <a href="http://www.docbook.org/tdg5/en/html/quickref.html" target="_top">Quick Reference</a>.</p>
</li><li>
<p><a href="http://www.sagehill.net/docbookxsl/index.html" target="_top">DocBook XSL: The Complete Guide</a>.
Anvnda och stta upp ett DocBook-system.</p>
</li><li>
<p><a href="http://docbook.xml-doc.org/snapshots/xsl/doc/" target="_top">DocBook XSL Stylesheet Reference Documentation</a>.
Referensdokumentation ver instllningsparametrar fr html och fo.</p>
</li></ul></div>
</div>
<div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id3377278" href="#id3377278">1</a>] </sup>REgular LAnguage for XML Next Generation, r en xml-vokabulr fr att specificera xml-vokabulrer.
Det gr att skriva <acronym class="acronym">RELAX NG</acronym>-schemat i kompakt notation, men d r schemat inte sjlv ett xml-dokument.
<acronym class="acronym">RELAX NG</acronym> anvnds som schemasprk fr DocBook, OpenDocument (OpenOffice.org:s dokumentformat), m fl.
Ett alternativ till <acronym class="acronym">RELAX NG</acronym> r W3C XML Schema.
</p></div></div></div>
Innehller ven en <font color="red">&lt;link&gt;Quick Reference&lt;/link&gt;</font>.&lt;/para&gt;</font>
&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;
<font color="red">&lt;para&gt;<font color="red">&lt;link&gt;DocBook XSL: The Complete Guide&lt;/link&gt;</font>.
Anvnda och stta upp ett DocBook-system.&lt;/para&gt;</font>
&lt;/listitem&gt;</font>
<font color="red">&lt;listitem&gt;
<font color="red">&lt;para&gt;<font color="red">&lt;link&gt;DocBook XSL Stylesheet Reference Documentation&lt;/link&gt;</font>.
Referensdokumentation ver instllningsparametrar fr html och fo.&lt;/para&gt;</font>
&lt;/listitem&gt;</font>
&lt;/itemizedlist&gt;</font>
&lt;/section&gt;</font>
&lt;/chapter&gt;</font>
</div></body></html>
&lt;/book&gt;</font></body></html>
......@@ -19,7 +19,7 @@
<div>
<img id="uggla" src="../logblue3.gif">
<img id="logga" src="../proviewblue3.gif">
<p id="pwrversion">v4.2</p>
<p id="pwrversion">v4.3</p>
<a id="pwrlang" href="../sv_se/index.html" target="_top">&nbsp; Swedish &nbsp;</a>
<a id="pwrdochigh" href="doc_f.html" target="main">&nbsp;&nbsp;&nbsp;Documentation&nbsp;&nbsp;&nbsp;&nbsp;</a>
<a id="pwrabout" href="pwr_about_f.html" target="_top">&nbsp; About Proview &nbsp;</a>
......
......@@ -38,9 +38,7 @@
</table>
<h2 id="mainmenu">Upgrading</h2>
<table id="mainmenu" border="1" cellspacing="0" width="100%">
<tr><td id="mainmenu"><a id="mainmenu" href="upgrade42_single.html" target="right">Upgrading from v4.1</a>
<a id="mainmenulink" href="upgrade42_single.html" target="right"><br>(html),</a>
<a id="mainmenulink" href="upgrade42.pdf" target="right">(pdf)</a></td></tr>
<tr><td id="mainmenu"><a id="mainmenu" href="upgrade43.pdf" target="right">Upgrading from v4.2</a></td></tr>
</table>
<br>
<h2 id="mainmenu">Changelog</h2>
......
......@@ -19,7 +19,7 @@
<div>
<img id="uggla" src="../logblue3.gif">
<p id="pwrhead">Object Reference Manual</p>
<p id="pwrversion">v4.2</p>
<p id="pwrversion">v4.3</p>
<a id="pwrlang" href="../sv_se/index.html" target="_top">&nbsp; Svenska &nbsp;</a>
<a id="pwrdochigh" href="index.html" target="_top">&nbsp;&nbsp;&nbsp;Documentation&nbsp;&nbsp;&nbsp;&nbsp;</a>
<a id="pwrabout" href="pwr_about_f.html" target="_top">&nbsp; About Proview &nbsp;</a>
......
......@@ -45,9 +45,7 @@
</table>
<h2 id="mainmenu">Uppgradering</h2>
<table id="mainmenu" border="1" cellspacing="0" width="100%">
<tr><td id="mainmenu"><a id="mainmenu" href="upgrade42_single.html" target="right">Uppgradering frn v4.1</a>
<a id="mainmenulink" href="upgrade42_single.html" target="right"><br>(html),</a>
<a id="mainmenulink" href="upgrade42.pdf" target="right">(pdf)</a></td></tr>
<tr><td id="mainmenu"><a id="mainmenu" href="upgrade43.pdf" target="right">Uppgradering frn v4.2</a></td></tr>
</table>
<br>
<h2 id="mainmenu">ndringslogg</h2>
......
......@@ -19,7 +19,7 @@
<div>
<img id="uggla" src="../logblue3.gif">
<img id="logga" src="../proviewblue3.gif">
<p id="pwrversion">v4.2</p>
<p id="pwrversion">v4.3</p>
<a id="pwrlang" href="../en_us/index.html" target="_top">&nbsp; English &nbsp;</a>
<a id="pwrdoc" href="index.html" target="_top">&nbsp;&nbsp;&nbsp;Dokumentation&nbsp;&nbsp;&nbsp;&nbsp;</a>
<a id="pwrabouthigh" href="pwr_about_f.html" target="_top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Om Proview &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment