gnucash-docs master: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Thu Oct 20 06:05:51 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash-docs/commit/a5ab6b40 (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/51374741 (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/cb0c0a41 (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/fb8c0e7f (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/66b92548 (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/8ce3546d (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/12378ae1 (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/9b200d81 (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/eb57ca39 (commit)
	from  https://github.com/Gnucash/gnucash-docs/commit/c4ae3072 (commit)



commit a5ab6b40e2cfac32b1bd0112acee50fc5e9e9b6d
Merge: c4ae3072 51374741
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Oct 20 11:59:29 2022 +0200

    Merge branch 'maint'
    
    There was a merge conflict for C/manual/ch_Finance-Quote.xml
    concerning commit 12378ae1597faf295b26492e122782d146628c3f
    This was manually resolved.

diff --cc C/manual/ch_Finance-Quote.xml
index 6e328854,00000000..7745162f
mode 100644,000000..100644
--- a/C/manual/ch_Finance-Quote.xml
+++ b/C/manual/ch_Finance-Quote.xml
@@@ -1,420 -1,0 +1,420 @@@
 +<?xml version="1.0" encoding="UTF-8"?>
 +<!DOCTYPE chapter SYSTEM "gnc-gui-C.dtd">
 +<!-- (Do not remove this comment block.)
 +Version: 1.0.0
 +Last modified: August 08th 2021
 +
 +Maintainers:
 +  xxx
 +Author:
 +  TANIGUCHI Yasuaki <yasuakit at gmail.com>
 +  Christian Wehling <christian.wehling at web.de>
 +Translators:
 +  (translators put your name and email here)
 +-->
 +<chapter id="finance-quote"
 +         xmlns:xi="http://www.w3.org/2001/XInclude">
 +  <title>Setting Up the Quote Retrieval</title>
 +
 +  <abstract>
 +    <para>If you have more than a couple of commodities, you will tire of having to update their quotes
 +      constantly. &app; has the ability to automatically download the most recent quote for your
 +      commodities using the Internet. This is accomplished through the &app-perl; module &app-fq;,
 +      which must be installed in order to activate this feature.
 +    </para>
 +  </abstract>
 +
 +  <itemizedlist>
 +    <title>Prerequisites for an Online Quote update with &app-fq; are</title>
 +
 +    <listitem>
 +      <para>the &app-perl; language interpreter and
 +      </para>
 +    </listitem>
 +
 +    <listitem>
 +      <para>the &app-perl;-module &app-fq; with any dependencies.
 +      </para>
 +    </listitem>
 +  </itemizedlist>
 +
 +  <note>
 +    <para>If you get stuck while performing the steps described here, you can reach many helpful users on the
 +      channels mentioned under <xref linkend="more_help" />.
 +    </para>
 +  </note>
 +
 +  <para>You can also leave out this step and manually update your stock quotes.
 +  </para>
 +
 +  <sect1 id="finance-quote-perl-install">
 +    <title>Installing &app-perl;</title>
 +
 +    <abstract>
 +      <para>The installation of &app-perl; is essentially dependent on the operating system used. The effort for
 +        installation is low and is described in this section.
 +      </para>
 +    </abstract>
 +
 +    <para>To check if &app-perl; is already installed on your system, call the command
 +      <userinput>perl -v</userinput> in the terminal.
 +<!-- Fixme: https://bugs.gnucash.org/show_bug.cgi?id=798618 -->
 +    <informalexample><?dbfo pgwide="1"?>
 +<screen language="console">$ perl -v
 +This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-linux-gnu-thread-multi
 +</screen>
 +    </informalexample>
 +      If you are shown the version number of the &app-perl; interpreter, skip the next details
 +      and continue instead with <xref linkend="finance-quote-install" />.
 +    </para>
 +
 +    <procedure>
 +      <title>On &lin;</title>
 +
 +      <step>
 +        <para>On most systems &app-perl; is probably already installed. If with the previous command does not show
 +          a version, then the easiest way is to use your system’s package manager for installation.
 +        </para>
 +      </step>
 +
 +      <step>
 +        <para>When using the &app; &flatpak; package, &app-perl; and &app-fq; are already functionally installed.
 +        </para>
 +      </step>
 +    </procedure>
 +
 +    <procedure>
 +      <title>On &mac;</title>
 +
 +      <step>
 +        <para>&app-perl; is normally already set up under &mac;.
 +        </para>
 +      </step>
 +    </procedure>
 +
 +    <procedure>
 +      <title>On &win;</title>
 +
 +      <step>
 +        <para>Under &win; run the program &mc.start.win-install-fq; to run. This will
 +          install <ulink url="&url-wp-en;Strawberry_Perl">Strawberry Perl</ulink>.
 +          <footnote>
 +            <para>&app; Version 2.2.6 and before require <ulink url="&url-wp-en;ActivePerl">ActivePerl</ulink>. in
 +              version 5.8.
 +            </para>
 +          </footnote>
 +
 +          <footnote>
 +            <para>&app; Version 2.4 and before require <ulink url="&url-wp-en;ActivePerl">ActivePerl</ulink> Version
 +              5.16.3 and later.
 +            </para>
 +          </footnote>
 +        </para>
 +      </step>
 +
 +      <step>
 +        <para>For execution you need <emphasis>Administrator privilegies</emphasis>, which are requested in the
 +          dialog. The installation can take more then 15 minutes.
 +        </para>
 +      </step>
 +
 +      <step>
 +        <para>If during the installation the error message <computeroutput>No such file or directory
 +          </computeroutput> or <computeroutput>permission denied</computeroutput> are displayed,
 +          then it may help to disable the antivirus software temporarily.
 +        </para>
 +      </step>
 +    </procedure>
 +
 +    <tip>
 +      <para>Afterwards it’s a good idea to include the folder where &app; is installed,
 +        under &win; e.g. <userinput><replaceable>C:\Program Files (x86)\gnucash\bin</replaceable></userinput>,
 +        to your <envar>PATH</envar> environment variable.
 +        This way it’s easier for you to use some <xref linkend="fq-command-line" /> when needed.
 +        Please refer to the documentation for your operating system for more information.
 +      </para>
 +    </tip>
 +  </sect1>
 +
 +  <sect1 id="finance-quote-install">
 +    <title>Installing &app-fq;</title>
 +
 +    <para>To determine if the &app-perl; module &app-fq; is already installed on your system, type
 +      <userinput>perldoc Finance::Quote</userinput> in a terminal window and check to see if there is
 +      any documentation
 +<!-- Fixme: https://bugs.gnucash.org/show_bug.cgi?id=798618 -->
 +    <informalexample><?dbfo pgwide="1"?>
 +<screen language="console">
 +$ perldoc Finance::Quote
 +NAME
 +    Finance::Quote - Get stock and mutual fund quotes from various exchanges
 +
 +SYNOPSIS
 +       [...]
 +</screen>
 +    </informalexample>
 +      available. If you are now shown documentation, then &app-fq; is already installed and you can
 +      configure periodical quotes update as described in <xref linkend="fq-auto-quote" />.
 +      If no documentation is displayed, you will have to continue with this chapter.
 +    </para>
 +
 +    <para>The process of installing &app-fq; depends on the system. For the different supported systems, you
 +      can follow the instructions below:
 +    </para>
 +
 +    <procedure>
 +      <title>On &lin;</title>
 +
 +      <step>
 +        <simpara>Close &app;.
 +        </simpara>
 +      </step>
 +
 +      <step>
 +        <simpara>Run the <userinput>gnucash-cli --quotes info</userinput> command to verify that the program is already in a directory
 +          that is entered in the <envar>PATH</envar> environment variable.
 +          <footnote>
 +            <simpara>If you’ve installed &app; packages provided by your distribution,
 +              <filename>gnucash-cli</filename> must be on your <envar>PATH</envar>. The currentness of your
 +              distribution can be checked under
 +              <ulink url="&url-repo;perl:finance-quote/versions"><citetitle>&app-fq;-
 +              versions</citetitle></ulink>.
 +            </simpara>
 +          </footnote>
 +        </simpara>
 +      </step>
 +
 +      <step>
 +        <simpara>Next, update &app-fq; with <userinput>sudo gnc-fq-update</userinput>.
 +        </simpara>
 +      </step>
 +
 +      <step>
 +        <simpara>Run <userinput>gnucash-cli --quotes info</userinput> to check &app-fq; works properly. This command returns the
 +          version number of &app-fq; module currently installed as well as a list of sources
 +          available via the &app-fq; module. It will also inform you if there is a problem with your
 +          installation or if it is missing, and may suggest a fix.
 +        </simpara>
 +      </step>
 +    </procedure>
 +
 +    <procedure>
 +      <title>On &mac;</title>
 +      <note><para>You must be logged in with a user id that can administer the mac to use this procedure.</para></note>
 +      <step>
 +        <simpara>Close &app;.
 +        </simpara>
 +      </step>
 +
 +      <step>
 +        <simpara>Install &app-xcode;
 +          <footnote>
 +            <para>You can install &app-xcode; from the App Store or install the
 +              much smaller Xcode command line tools by running <userinput>
 +              sudo xcode-select --install</userinput> from a Terminal.app prompt.
 +            </para>
 +          </footnote>
 +         if it is not installed. It contains devel tools, which are required
 +         by CPAN to build and test the needed &app-fq; modules.
 +        </simpara>
 +      </step>
 +
 +      <step>
 +        <simpara>Open a Finder window, select <guimenu>Applications</guimenu> from the sidebar, double-click <guimenu>Utilities</guimenu> in the file area, then double-click on <guimenu>Terminal</guimenu> to open <application>Terminal</application></simpara>
 +      </step>
 +      <step>
 +        <simpara>In the Terminal window enter <userinput>sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update</userinput>. That script asks lots of questions. Accept the default for each.
 +        </simpara>
 +      </step>
 +      <step>
 +        <simpara>Type <userinput>exit</userinput> or <keycombo action='simul'><keycap>Control</keycap><keycap>D</keycap></keycombo> to terminate the shell followed by <keycombo action='simul'><keycap>Command</keycap><keycap>Q</keycap></keycombo> to quit <application>Terminal</application>.
 +        </simpara>
 +      </step>
 +    </procedure>
 +
 +    <procedure>
 +      <title>On &win;</title>
 +
 +      <step>
 +        <simpara>Close &app;.
 +        </simpara>
 +      </step>
 +
 +      <step>
 +        <simpara>Run &mc.start.win-install-fq;. This is a small utility that installs &app-fq; for you.
 +        </simpara>
 +      </step>
 +    </procedure>
 +  </sect1>
 +
 +  <sect1 id="fq-command-line">
 +    <title>Using &app-cli; for Testing and Automation.</title>
 +
 +    <abstract>
 +      <para>&app; provides a commandline facility &app-cli; that one can use in a terminal session to check the version and supported source modules, to display the quotes or exchange rates for selected securities or currencies, or to update all of the prices in a book without launching the GUI.
 +      </para>
 +    </abstract>
 +    <sect2 id="fq-check-version">
 +      <title>Displaying the Finance::Quote Version and Supported Sources</title>
 +      <para><command>gnucash-cli --quotes info</command> produces the following output:</para>
 +      <!-- Fixme: https://bugs.gnucash.org/show_bug.cgi?id=798618 -->
 +      <informalexample><?dbfo pgwide="1"?>
 +      <screen language="console">
 +  $ gnucash-cli --quotes info
 +  Found Finance::Quote version 1.52.
 +  Finance::Quote sources:
 +  aex          alphavantage              amfiindia    asegr        asx
 +  aufunds      australia    bamosz       bet          bloomberg    bourso
 +  bse          bseindia     canada       canadamutual              comdirect
 +  cse          deka         dutch        dwsfunds     europe
 +  fetch_live_currencies     fidelity     fidelity_direct
 +  finanzpartner             fondsweb     fool         ftfunds      fundata
 +  fundlibrary  goldmoney    greece       hu           hufund       hungary
 +  hustock      iexcloud     india        indiamutual  known_currencies
 +  morningstarau             morningstarch             morningstarjp
 +  mstaruk      nasdaq       nseindia     nyse         nzx          onvista
 +  oslobors     romania      seb_funds    six          tesouro_direto
 +  tiaacref     tmx          tradeville   troweprice   troweprice_direct
 +  tsp          ukfunds      unionfunds   usa          usfedbonds   yahoo_json
 +  za
 +      </screen></informalexample>
 +      <para>If there's a problem with your installation it will tell you about it. For example in this case we're missing the Perl modules Finance::Quote and JSON::Parse:</para>
 +      <informalexample><?dbfo pgwide="1"?>
 +      <screen language="console">
 +  $ gnucash-cli --quotes info
 +  Failed to initialize Finance::Quote: missing_modules Finance::Quote JSON::Parse
 +      </screen></informalexample>
 +    </sect2>
 +
 +    <sect2 id="fq-print-quotes">
 +      <title>Displaying Quotes in a Terminal Window</title>
 +      <para>To display a quote for one or more stocks or the exchange rate for one or more currencies you can use <userinput>gnucash-cli --quotes dump</userinput> as follows. It offers two output forms for non-currency securities and one for currency exchange rates.
 +      <itemizedlist>
 +        <listitem><para>Currencies use the source <userinput>currency</userinput> and require at least two ISO-4217 currency codes; the exchange rates are denominated in the first code. For example:
 +      <informalexample><?dbfo pgwide="1"?>
 +      <screen language="console">
 +        $ gnucash-cli --quotes dump currency USD GBP EUR
 +        1 GBP = 1.11917349089527 USD
 +
 +        1 EUR = 0.9717 USD
 +      </screen></informalexample></para></listitem>
 +      <listitem><para>Stocks</para><itemizedlist>
 +      <listitem><para>A short form displaying only the fields that GnuCash uses along with comments indicating whether the fields are optional or required; you can use this to determine if GnuCash will be able to use the quote to update your book's price database.
 +      <informalexample><?dbfo pgwide="1"?>
 +      <screen language="console">
 +        $ gnucash-cli --quotes dump yahoo_json AAPL
 +        Finance::Quote fields GnuCash uses:
 +            symbol: AAPL            <=== required
 +              date: 10/14/2022      <=== recommended
 +          currency: USD             <=== required
 +              last: 138.38          <=\
 +               nav:                 <=== one of these
 +             price:                 <=/
 +      </screen></informalexample></para></listitem>
 +      <listitem><para>With the <userinput>-v</userinput> option a possibly longer output showing all of the fields &app-fq; returned. This can be useful to troubleshoot problems with a &app-fq; source module.
 +      <informalexample><?dbfo pgwide="1"?>
 +      <screen language="console">
 +        $ ALPHAVANTAGE_API_KEY=123456789 bin/gnucash-cli -V --quotes dump alphavantage INTC
 +        INTC:
 +                     method => alphavantage
 +                   p_change => -1.9304
 +                       high => 26.6300
 +                       date => 10/14/2022
 +         currency_set_by_fq => 1
 +                      close => 26.4200
 +                   currency => USD
 +                    isodate => 2022-10-14
 +                        low => 25.7600
 +                    success => 1
 +                        net => -0.5100
 +                       open => 26.4600
 +                     symbol => INTC
 +                     volume => 48118005
 +                       last => 25.9100
 +      </screen></informalexample>
 +      Notice that in this case we used alphavantage and provided the <userinput>ALPHAVANTAGE_API_KEY</userinput> on the command line. That's not necessary if the key is already stored in the shell environment or in GnuCash preferences.</para>
 +      </listitem></itemizedlist></listitem>
 +      </itemizedlist>
 +      </para></sect2>
 +    <sect2 id="fq-auto-quote">
 +      <title>Updating Prices Automatically with &app-cli;</title>
 +    <para>You have to register the &app-cli; with a scheduler in order to get Online
 +      Quotes automatically and periodically. The method depends on your OS.
 +    </para>
 +
 +    <example>
 +      <title>Automated quote retrieval every Friday at 4:00 p.m.</title>
 +
 +      <procedure>
 +        <title>On &lin; and &mac;</title>
 +
 +        <para>Register <command>gnucash-cli</command> with <application>cron</application>.
 +        </para>
 +
 +        <step>
 +          <simpara>Run <command>crontab -e</command>.
 +          </simpara>
 +        </step>
 +
 +        <step>
 +          <para>Add the following line to your crontab:
 +            <informalexample>
 +<screen>0 16 * * 5 gnucash-cli --quotes get &user-datafile; > /dev/null 2>&1</screen>
 +            </informalexample>
 +
-             <warning>
++            <important>
 +              <para>On &lin; if there is no graphic session that has already started the dbus, running on your computer at the
 +                time of the quote request, you must do the entry as follows instead:
 +                <informalexample>
 +<screen>0 16 * * 5 env `dbus-launch` sh -c 'trap "kill $DBUS_SESSION_BUS_PID" EXIT;
 +gnucash-cli --quotes get &user-datafile; > /dev/null 2>&1</screen>
 +                </informalexample>
 +                (Do not copy the line breaks into the crontab, they were inserted here only for the
 +                purpose of readability).
 +              </para>
-             </warning>
++            </important>
 +          </para>
 +        </step>
 +      </procedure>
 +
 +      <procedure>
 +        <title>On &win;</title>
 +
 +        <para>Register <command>gnucash-cli</command> with Task Scheduler.
 +        </para>
 +
 +        <step>
 +          <simpara>Select
 +            <menuchoice>
 +              <guimenu>Start</guimenu><guisubmenu>Windows Administrative
 +              Tools</guisubmenu><guimenuitem>Task Scheduler</guimenuitem>
 +            </menuchoice>
 +            .
 +          </simpara>
 +        </step>
 +
 +        <step>
 +          <simpara>Select <guimenuitem>Create Task</guimenuitem>.
 +          </simpara>
 +        </step>
 +
 +        <step>
 +          <simpara>Enter the appropirate items on <guilabel>Create Task</guilabel> Window.
 +          </simpara>
 +        </step>
 +      </procedure>
 +
 +      <para>Adjust the time to the close of the stock exchange and consider <emphasis>fund quotes</emphasis>,
 +        that the net asset value (NAV) is determined well after the markets closed. The types have
 +        their description in <xref linkend="tool-price" />.
 +<!-- FIXME: adjust the link to a proper ID -->
 +      </para>
 +    </example>
 +
 +    <para>Some users have made additions to the wiki and shared their experiences on the
 +      <ulink url="&url-wiki-OQ;#Updating_enabled_Quotes_from_outside_GnuCash">Online Quotes Page on
 +      GnuCash Wiki</ulink>.
 +    </para>
 +    </sect2>
 +  </sect1>
 +</chapter>
diff --cc cmake/AddXdgHelpTarget.cmake
index fcc4915b,f0c800f2..9f42d8af
--- a/cmake/AddXdgHelpTarget.cmake
+++ b/cmake/AddXdgHelpTarget.cmake
@@@ -8,10 -8,18 +8,19 @@@
  # - entities: list of all xml files this document is composed of
  # - figdir: name of the directory holding the images
  
 -function (add_xdghelp_target docname lang entities figures)
 +function (add_xdghelp_target targetbase lang entities figures)
  
 +    set(docname "gnucash-${targetbase}")
-     set(BUILD_DIR "${DATADIR_BUILD}/help/${lang}/${docname}")
+     set(BUILD_DIR_BASE "${DATADIR_BUILD}/help/${lang}")
+     set(BUILD_DIR "${BUILD_DIR_BASE}/${docname}")
+ 
+     # Define location where KDE's help system looks for <doc>
+     # when invoked with help:<doc>
+     set(kde_lang ${lang})
+     if (lang STREQUAL "C")
+         set(kde_lang "en")
+     endif()
+     set(BUILD_DIR_KDE_BASE "${DATADIR_BUILD}/doc/HTML")
  
      set(source_files "")
      foreach(xml_file ${entities} index.docbook)
@@@ -65,12 -77,21 +78,21 @@@
          DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger"
                   ${dest_files} ${dest_figures})
  
 -    add_dependencies(${docname}-xdghelp "${lang}-${docname}-xdghelp")
 +    add_dependencies(${lang}-xdghelp "${lang}-${targetbase}-xdghelp")
  
+     set(doc_install_dir_base "${CMAKE_INSTALL_DATADIR}/help/${lang}")
+     set(doc_install_dir "${doc_install_dir_base}/${docname}")
      install(FILES ${source_files}
-         DESTINATION "${CMAKE_INSTALL_DATADIR}/help/${lang}/${docname}"
+         DESTINATION "${doc_install_dir}"
          COMPONENT "xdghelp")
      install(FILES ${figures}
-         DESTINATION "${CMAKE_INSTALL_DATADIR}/help/${lang}/${docname}/figures"
+         DESTINATION "${doc_install_dir}/figures"
+         COMPONENT "xdghelp")
+ 
+     # Add links to make our documentation visible for KDE's help system
+     set(doc_install_dir_kde_base "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/doc/HTML")
+     install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")"
+         COMPONENT "xdghelp")
+     install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../${doc_install_dir_base}\" \"${doc_install_dir_kde_base}/${kde_lang}\")"
          COMPONENT "xdghelp")
  endfunction()

commit 513747413efc4732f5ae824ccc84316169b1523f
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Oct 20 11:25:19 2022 +0200

    Ensure our documentation is also found when gnucash is run in KDE
    
    Turns out KDE is not adhering to the xdg spec after all.
    It has support for the old ghelp mechanism, but when using
    the help: prefix, it falls back to an internal protocol.
    In that case the requested document is searched for in
    <prefix>/share/doc/HTML/<lang>.
    Extra caveat - the English documentation is searched for
    in a directory 'en' instead of 'C'.
    This is not a problem in yelp, only in khelpcenter. Unfortunately
    khelpcenter is the default application to process help: prefixes
    in a Kde plasma desktop, hence the workaround.

diff --git a/cmake/AddXdgHelpTarget.cmake b/cmake/AddXdgHelpTarget.cmake
index efbe20f2..f0c800f2 100644
--- a/cmake/AddXdgHelpTarget.cmake
+++ b/cmake/AddXdgHelpTarget.cmake
@@ -10,7 +10,16 @@
 
 function (add_xdghelp_target docname lang entities figures)
 
-    set(BUILD_DIR "${DATADIR_BUILD}/help/${lang}/${docname}")
+    set(BUILD_DIR_BASE "${DATADIR_BUILD}/help/${lang}")
+    set(BUILD_DIR "${BUILD_DIR_BASE}/${docname}")
+
+    # Define location where KDE's help system looks for <doc>
+    # when invoked with help:<doc>
+    set(kde_lang ${lang})
+    if (lang STREQUAL "C")
+        set(kde_lang "en")
+    endif()
+    set(BUILD_DIR_KDE_BASE "${DATADIR_BUILD}/doc/HTML")
 
     set(source_files "")
     foreach(xml_file ${entities} index.docbook)
@@ -33,6 +42,10 @@ function (add_xdghelp_target docname lang entities figures)
       OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger"
       COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR}"
       COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR}/figures"
+
+      # Add links to make our documentation visible for KDE's help system
+      COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR_KDE_BASE}"
+      COMMAND ${CMAKE_COMMAND} -E create_symlink "${BUILD_DIR_BASE}" "${BUILD_DIR_KDE_BASE}/${kde_lang}"
       COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger")
 
 
@@ -66,10 +79,19 @@ function (add_xdghelp_target docname lang entities figures)
 
     add_dependencies(${docname}-xdghelp "${lang}-${docname}-xdghelp")
 
+    set(doc_install_dir_base "${CMAKE_INSTALL_DATADIR}/help/${lang}")
+    set(doc_install_dir "${doc_install_dir_base}/${docname}")
     install(FILES ${source_files}
-        DESTINATION "${CMAKE_INSTALL_DATADIR}/help/${lang}/${docname}"
+        DESTINATION "${doc_install_dir}"
         COMPONENT "xdghelp")
     install(FILES ${figures}
-        DESTINATION "${CMAKE_INSTALL_DATADIR}/help/${lang}/${docname}/figures"
+        DESTINATION "${doc_install_dir}/figures"
+        COMPONENT "xdghelp")
+
+    # Add links to make our documentation visible for KDE's help system
+    set(doc_install_dir_kde_base "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/doc/HTML")
+    install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")"
+        COMPONENT "xdghelp")
+    install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../${doc_install_dir_base}\" \"${doc_install_dir_kde_base}/${kde_lang}\")"
         COMPONENT "xdghelp")
 endfunction()

commit cb0c0a41449c8130c333eb642e0ef06b8a57ab72
Author: Christian Wehling <christian.wehling at web.de>
Date:   Sun Oct 9 20:34:30 2022 +0200

    manual, ch_Finance-Quote: Replace "GnuCash" with the usual entity

diff --git a/manual/C/ch_Finance-Quote.xml b/manual/C/ch_Finance-Quote.xml
index ddf28047..5267a494 100644
--- a/manual/C/ch_Finance-Quote.xml
+++ b/manual/C/ch_Finance-Quote.xml
@@ -272,7 +272,7 @@ SYNOPSIS
       </step>
 
       <step>
-        <simpara>Since, as previously recommended, the GnuCash directory was entered in the <envar>PATH</envar>
+        <simpara>Since, as previously recommended, the &app; directory was entered in the <envar>PATH</envar>
           envinronment variable, prefix any gnc-fq-xxx &app-perl; script command with
           <quote>Perl</quote> and a space, e.g. <userinput>perl gnc-fq-check</userinput>.
           Otherwise you have to execute the command e.g. <userinput><replaceable>
@@ -465,7 +465,7 @@ BEGIN failed--compilation aborted at (eval 303) line 1.
       database is possible.
       <note>
         <para>The command will fail if it cannot get a lock on the data file, for example if the
-          data file is open in another GnuCash instance or if the last session for the file crashed.
+          data file is open in another &app; instance or if the last session for the file crashed.
         </para>
       </note>
     </para>

commit fb8c0e7f6fd83de36cd46a6712b45e286dc290b7
Author: Christian Wehling <christian.wehling at web.de>
Date:   Sun Oct 9 20:27:27 2022 +0200

    L10n:de: manual, ch_Finance-Quote: enter the latest improvements
    
    * How to check if GnuCash is running when updating quotes
    * Downgrade a few warnings as there is no danger

diff --git a/manual/de/ch_Finance-Quote.xml b/manual/de/ch_Finance-Quote.xml
index 7fe6a542..5cc262c0 100644
--- a/manual/de/ch_Finance-Quote.xml
+++ b/manual/de/ch_Finance-Quote.xml
@@ -474,11 +474,12 @@ BEGIN failed--compilation aborted at (eval 303) line 1.
       können Sie die aktuellen Kurse Ihrer Devisen und Wertpapiere abrufen und direkt in ihre
       &app;-Datendatei schreiben ohne die Benutzeroberfläche zu starten. Somit ist eine
       automatische, regelmäßige Aktualisierung der Kursdatenbank möglich.
-      <warning>
-        <para>Beachten Sie bitte, dass die Datendatei nicht gleichzeitig in einer anderen Instanz von &app;
-          geöffnet sein darf!
+      <note>
+        <para>Der Befehl schlägt fehl, wenn kein exclusiver Zugriff auf die Datendatei
+          möglich ist, z.B. weil die Datendatei in einer anderen &app; Instanz geöffnet
+          ist oder die letzte Sitzung für die Datei abgestürzt ist.
         </para>
-      </warning>
+      </note>
     </para>
 
     <para>Die angegebene Datei &user-datafile; ist abhängig von dem Namen und dem Speicherort Ihrer
@@ -519,7 +520,7 @@ BEGIN failed--compilation aborted at (eval 303) line 1.
 <screen>0 16 * * 5 gnucash-cli --quotes get &user-datafile; > /dev/null 2>&1</screen>
             </informalexample>
 
-            <warning>
+            <important>
               <para>Läuft auf Ihrem Rechner zu dem Zeitpunkt des Kursabrufs keine graphische Benutzeroberfläche, die
                 bereits den dbus gestartet hat, so müssen Sie den Eintrag stattdessen wie folgt
                 vornehmen:
@@ -530,7 +531,7 @@ gnucash-cli --quotes get &user-datafile; > /dev/null 2>&1</screen>
                 (Die Zeilenumbrüche nicht in die crontab übernehmen, die wurden hier nur zum
                 Zwecke der Lesbarkeit eingefügt.)
               </para>
-            </warning>
+            </important>
           </para>
         </step>
       </procedure>

commit 66b92548037bfc66fee6dc9adf7ae8dc557d6c4d
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Wed Oct 5 00:56:58 2022 +0200

    Replace all hardcoded width="510[px]" by "&img-w;" for for both
    components in all languages

diff --git a/guide/C/ch_basics.xml b/guide/C/ch_basics.xml
index 88bb6eb1..c38fe244 100644
--- a/guide/C/ch_basics.xml
+++ b/guide/C/ch_basics.xml
@@ -723,7 +723,7 @@ Translators:
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/basics_CheckAccount.png"
-                       srccredit="Bengt Thuree" width="510"/>
+                       srccredit="Bengt Thuree" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1176,7 +1176,7 @@ Translators:
                   <mediaobject>
                     <imageobject role="html">
                       <imagedata fileref="figures/basics_SaveXML.png"
-                         srccredit="Cristian Marchi" width="510px"/>
+                         srccredit="Cristian Marchi" width="&img-w;"/>
                     </imageobject>
 
                     <imageobject role="fo">
@@ -1233,7 +1233,7 @@ Translators:
                   <mediaobject>
                     <imageobject role="html">
                       <imagedata fileref="figures/basics_SaveSQL.png"
-                             srccredit="Marchi Cristian" width="510px"/>
+                             srccredit="Marchi Cristian" width="&img-w;"/>
                     </imageobject>
 
                     <imageobject role="fo">
@@ -1738,7 +1738,7 @@ Translators:
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup.png"
-                         srccredit="John Ralls" width="510"/>
+                         srccredit="John Ralls" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1773,7 +1773,7 @@ Translators:
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewBookOpts.png"
-                         srccredit="Frank H. Ellenberger" width="510"/>
+                         srccredit="Frank H. Ellenberger" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1807,7 +1807,7 @@ Translators:
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup_currency.png"
-                         srccredit="John Ralls" width="510"/>
+                         srccredit="John Ralls" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1842,7 +1842,7 @@ Translators:
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup_Accounts.png"
-                         srccredit="John Ralls" width="510"/>
+                         srccredit="John Ralls" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1872,7 +1872,7 @@ Translators:
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup_Setup.png"
-                         srccredit="John Ralls" width="510"/>
+                         srccredit="John Ralls" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1900,7 +1900,7 @@ Translators:
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup_Finish.png"
-                         srccredit="John Ralls" width="510"/>
+                         srccredit="John Ralls" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1933,7 +1933,7 @@ Translators:
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_EmptyAccounts.png"
-                           srccredit="Frank H. Ellenberger" width="510"/>
+                           srccredit="Frank H. Ellenberger" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
diff --git a/guide/C/ch_bus_features.xml b/guide/C/ch_bus_features.xml
index 45c3ad35..7643be8e 100644
--- a/guide/C/ch_bus_features.xml
+++ b/guide/C/ch_bus_features.xml
@@ -179,7 +179,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/bus_tax_main.png"
-                         srccredit="Chris Good" width="510px" />
+                         srccredit="Chris Good" width="&img-w;" />
             </imageobject>
 
             <imageobject role="fo">
@@ -1187,7 +1187,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/bus_ar_payment.png"
-                        srccredit="Patrick Schweiger" width="510px" scalefit="0" />
+                        srccredit="Patrick Schweiger" width="&img-w;" scalefit="0" />
             </imageobject>
 
             <imageobject role="fo">
@@ -1281,7 +1281,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/bus_ar_invoicechange2.png"
-                        srccredit="Cristian Marchi" width="510"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1680,7 +1680,7 @@
         <title>Process Vendor Payment</title><screenshot id="bus-ap-payment">
           <mediaobject>
             <imageobject role="html">
-              <imagedata fileref="figures/bus_ap_payment.png" srccredit="Patrick Schweiger" width="510"/>
+              <imagedata fileref="figures/bus_ap_payment.png" srccredit="Patrick Schweiger" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
diff --git a/guide/C/ch_currency.xml b/guide/C/ch_currency.xml
index 4e09d98a..a66e1aca 100644
--- a/guide/C/ch_currency.xml
+++ b/guide/C/ch_currency.xml
@@ -1105,7 +1105,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_acct_setup.png"
-                srccredit="David Cousens" width="510"/>
+                srccredit="David Cousens" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1136,7 +1136,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_Price_Database_initial.png"
-                srccredit="David Cousens" width="510"/>
+                srccredit="David Cousens" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1163,7 +1163,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_acct_setup_2.png"
-                srccredit="David Cousens" width="510"/>
+                srccredit="David Cousens" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1199,7 +1199,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_transfer_funds.png"
-                srccredit="David Cousens" width="510"/>
+                srccredit="David Cousens" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1235,7 +1235,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_transfer_trans1.png"
-                srccredit="David Cousens"  width="510"/>
+                srccredit="David Cousens"  width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1263,7 +1263,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_transfer_trans2.png"
-                srccredit="David Cousens"  width="510"/>
+                srccredit="David Cousens"  width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1290,7 +1290,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_accts_after_tfr.png"
-                srccredit="David Cousens" width="510"/>
+                srccredit="David Cousens" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1338,7 +1338,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_trf_back.png"
-                         srccredit="David Cousens"  width="510"/>
+                         srccredit="David Cousens"  width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1365,7 +1365,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_prices_after_trf_back.png"
-                srccredit="David Cousens" width="510"/>
+                srccredit="David Cousens" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1391,7 +1391,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_accts_after_trf_back.png"
-                srccredit="David Cousens" width="510"/>
+                srccredit="David Cousens" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1429,7 +1429,7 @@ Trading
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/currency_trading_balance_sheet.png"
-                srccredit="David Cousens" width="510"/>
+                srccredit="David Cousens" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
diff --git a/guide/C/ch_invest.xml b/guide/C/ch_invest.xml
index dd96300b..6d3d445b 100644
--- a/guide/C/ch_invest.xml
+++ b/guide/C/ch_invest.xml
@@ -331,7 +331,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_AccountsPredef.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -504,7 +504,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_int1.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -534,7 +534,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_int2.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -557,7 +557,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_int2-1.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -583,7 +583,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_int3.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -686,7 +686,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_newaccount.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -851,7 +851,7 @@ Income
                       <mediaobject>
                         <imageobject role="html">
                           <imagedata fileref="figures/invest_newsecurity.png"
-                                     srccredit="Cristian Marchi" width="510px"/>
+                                     srccredit="Cristian Marchi" width="&img-w;"/>
                         </imageobject>
 
                         <imageobject role="fo">
@@ -939,7 +939,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_setup_current.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1001,7 +1001,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_setup_portfolio1.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1104,7 +1104,7 @@ Income
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/invest_SetupPortfolio2.png"
-                          srccredit="Chris Good" width="510px"/>
+                          srccredit="Chris Good" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1140,7 +1140,7 @@ Income
           Purchase). On the first split line, optionally enter more details in <guilabel>Memo
           </guilabel>, then <userinput>50</userinput> in <guilabel>Shares</guilabel>, delete anything in
           <guilabel>Price</guilabel> (so it will be calculated by dividing <guilabel>Buy</guilabel>
-          by <guilabel>Shares</guilabel> when you <keycap>Tab</keycap> out of the split), 5100 in
+          by <guilabel>Shares</guilabel> when you <keycap>Tab</keycap> out of the split), &img-w;0 in
           <guilabel>Buy</guilabel> (50 * $100.00 + $100). Alternatively use &app; to calculate
           <guilabel>Buy</guilabel> by entering the formula <userinput>5000 + 100</userinput> or
           <userinput>(50 * 100) + 100</userinput> in <guilabel>Buy</guilabel> (
@@ -1160,7 +1160,7 @@ Income
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/invest_SetupPortfolio3.png"
-                          srccredit="Chris Good" width="510px"/>
+                          srccredit="Chris Good" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1325,7 +1325,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_peditor2.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1523,7 +1523,7 @@ Income
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_stockvalue.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -2098,7 +2098,7 @@ Income
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/invest_sellstock.png"
-                           srccredit="Chris Good" width="510px"/>
+                           srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -2129,7 +2129,7 @@ Income
               <mediaobject>
                 <imageobject role="html">
                   <imagedata fileref="figures/invest_sellstock2.png"
-                             srccredit="Chris Good" width="510px"/>
+                             srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -2406,7 +2406,7 @@ Income
               <mediaobject>
                 <imageobject role="html">
                   <imagedata fileref="figures/invest_sellstockManProfCombNet.png"
-                              srccredit="Chris Good" width="510px"/>
+                              srccredit="Chris Good" width="&img-w;"/>
                 </imageobject>
     
                 <imageobject role="fo">
@@ -2803,7 +2803,7 @@ Income
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/invest_sellstockManProfSep.png"
-                          srccredit="Chris Good" width="510px"/>
+                          srccredit="Chris Good" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -3163,7 +3163,7 @@ Income
               <mediaobject>
                 <imageobject role="html">
                   <imagedata fileref="figures/invest_sellstockManProfSepNet.png"
-                              srccredit="Chris Good" width="510px"/>
+                              srccredit="Chris Good" width="&img-w;"/>
                 </imageobject>
     
                 <imageobject role="fo">
@@ -3269,7 +3269,7 @@ Income
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -3634,7 +3634,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                     <imagedata fileref="figures/investLots0_RegB4Scrub.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -3673,7 +3673,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                     <imagedata fileref="figures/investLots1_BeforeCreateLot.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -3737,7 +3737,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                     <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -3776,7 +3776,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                     <imagedata fileref="figures/investLots2_RegAfterScrub1Lot.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -3875,7 +3875,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
               <mediaobject>
                 <imageobject role="html">
                   <imagedata fileref="figures/invest2Lots0RegB4Scrub.png"
-                  srccredit="Chris Good" width="510px"/>
+                  srccredit="Chris Good" width="&img-w;"/>
                 </imageobject>
   
                 <imageobject role="fo">
@@ -3908,7 +3908,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                     <imagedata fileref="figures/invest2Lots1B4Scrub.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -3937,7 +3937,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                     <imagedata fileref="figures/invest2Lots2LotsAftScrubAcct.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -3973,7 +3973,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                     <imagedata fileref="figures/invest2Lots3RegAftScrubAcct.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -4022,7 +4022,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/investLotsSplitReg.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4047,7 +4047,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/investLotsSplitLot0.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4072,7 +4072,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/investLotsSplitLot1.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4130,7 +4130,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                     <imagedata fileref="figures/investLots2_RegAfterScrub1Lot.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -4200,7 +4200,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_dividendcash.png"
-                       srccredit="Daniel Dodson" width="510px"/>
+                       srccredit="Daniel Dodson" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -4252,7 +4252,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_dividendreinvest1.png"
-                        srccredit="Cristian Marchi" width="510px"/>
+                        srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -4328,7 +4328,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
       <mediaobject>
         <imageobject role="html">
           <imagedata fileref="figures/invest_ret_of_cap.png"
-                      srccredit="Chris Good" width="510px"/>
+                      srccredit="Chris Good" width="&img-w;"/>
         </imageobject>
 
         <imageobject role="fo">
diff --git a/guide/C/ch_oview.xml b/guide/C/ch_oview.xml
index 4c6bb8cb..1b173958 100644
--- a/guide/C/ch_oview.xml
+++ b/guide/C/ch_oview.xml
@@ -39,7 +39,7 @@
       <mediaobject>
         <imageobject role="html">
           <imagedata fileref="figures/oview_intro.png"
-                     srccredit="Bengt Thuree" width="510"/>
+                     srccredit="Bengt Thuree" width="&img-w;"/>
         </imageobject>
 
         <imageobject role="fo">
diff --git a/guide/C/ch_txns.xml b/guide/C/ch_txns.xml
index 4641a2c3..466a935c 100644
--- a/guide/C/ch_txns.xml
+++ b/guide/C/ch_txns.xml
@@ -896,7 +896,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_reconcile_window2.png"
-                         srccredit="Cristian Marchi" width="510"/>
+                         srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1167,7 +1167,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-2.png"
-                       srccredit="Cristian Marchi" width="510"/>
+                       srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1195,7 +1195,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-3-overview.png"
-                       srccredit="Cristian Marchi" width="510"/>
+                       srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1283,7 +1283,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-3-frequency.png"
-                       srccredit="Cristian Marchi" width="510"/>
+                       srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1380,7 +1380,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-3-template.png"
-                       srccredit="Cristian Marchi" width="510"/>
+                       srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1412,7 +1412,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-4.png"
-                       srccredit="Cristian Marchi" width="510"/>
+                       srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1459,7 +1459,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor_slr.png"
-                       srccredit="Cristian Marchi" width="510"/>
+                       srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
diff --git a/guide/de/ch_basics.xml b/guide/de/ch_basics.xml
index e3fb576c..c5166905 100644
--- a/guide/de/ch_basics.xml
+++ b/guide/de/ch_basics.xml
@@ -911,7 +911,7 @@
                   <mediaobject>
                     <imageobject role="html">
                       <imagedata fileref="figures/basics_SaveXML.png"
-                         srccredit="Mechtilde Stehmann" width="510px"/>
+                         srccredit="Mechtilde Stehmann" width="&img-w;"/>
                     </imageobject>
 
                     <imageobject role="fo">
@@ -970,7 +970,7 @@
                   <mediaobject>
                     <imageobject role="html">
                       <imagedata fileref="figures/basics_SaveSQL.png"
-                             srccredit="Mechtilde Stehmann" width="510px"/>
+                             srccredit="Mechtilde Stehmann" width="&img-w;"/>
                     </imageobject>
 
                     <imageobject role="fo">
@@ -1587,7 +1587,7 @@ gcashdata.gnucash.7f0982.12093.LNK gcashdata.gnucash.LCK
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup.png"
-                         srccredit="Frank H. Ellenberger" width="510"/>
+                         srccredit="Frank H. Ellenberger" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1628,7 +1628,7 @@ gcashdata.gnucash.7f0982.12093.LNK gcashdata.gnucash.LCK
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewBookOpts.png"
-                         srccredit="Frank H. Ellenberger" width="510"/>
+                         srccredit="Frank H. Ellenberger" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1662,7 +1662,7 @@ gcashdata.gnucash.7f0982.12093.LNK gcashdata.gnucash.LCK
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup_currency.png"
-                         srccredit="Frank H. Ellenberger" width="510"/>
+                         srccredit="Frank H. Ellenberger" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1698,7 +1698,7 @@ gcashdata.gnucash.7f0982.12093.LNK gcashdata.gnucash.LCK
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup_Accounts.png"
-                         srccredit="Frank H. Ellenberger" width="510"/>
+                         srccredit="Frank H. Ellenberger" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1730,7 +1730,7 @@ gcashdata.gnucash.7f0982.12093.LNK gcashdata.gnucash.LCK
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup_Setup.png"
-                         srccredit="Frank H. Ellenberger" width="510"/>
+                         srccredit="Frank H. Ellenberger" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1758,7 +1758,7 @@ gcashdata.gnucash.7f0982.12093.LNK gcashdata.gnucash.LCK
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/basics_NewAccountHierarchySetup_Finish.png"
-                         srccredit="Frank H. Ellenberger" width="510"/>
+                         srccredit="Frank H. Ellenberger" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
diff --git a/guide/de/ch_bus_ar.xml b/guide/de/ch_bus_ar.xml
index 0e36823b..9ea82458 100644
--- a/guide/de/ch_bus_ar.xml
+++ b/guide/de/ch_bus_ar.xml
@@ -598,7 +598,7 @@ corrected to be less describing of the interface and more tutorial oriented
       <mediaobject>
         <imageobject role="html">
           <imagedata fileref="figures/bus_ar_invoicechange2.png"
-                     srccredit="Mechtilde Stehmann" width="510"/>
+                     srccredit="Mechtilde Stehmann" width="&img-w;"/>
         </imageobject>
 
         <imageobject role="fo">
diff --git a/guide/de/ch_bus_setup.xml b/guide/de/ch_bus_setup.xml
index 5f329458..f2b5fcb0 100644
--- a/guide/de/ch_bus_setup.xml
+++ b/guide/de/ch_bus_setup.xml
@@ -164,7 +164,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/bus_tax_main.png"
-                         srccredit="Mechtilde Stehmann" width="510px" />
+                         srccredit="Mechtilde Stehmann" width="&img-w;" />
           </imageobject>
 
           <imageobject role="fo">
@@ -256,7 +256,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/bus_co_reg.png"
-                         srccredit="Mechtilde Stehmann" width="510px" />
+                         srccredit="Mechtilde Stehmann" width="&img-w;" />
           </imageobject>
 
           <imageobject role="fo">
@@ -366,7 +366,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/bus_terms_main.png"
-                         srccredit="Mechtilde Stehmann" width="510px" />
+                         srccredit="Mechtilde Stehmann" width="&img-w;" />
           </imageobject>
 
           <imageobject role="fo">
diff --git a/guide/de/ch_invest.xml b/guide/de/ch_invest.xml
index f672b6af..103d7a55 100644
--- a/guide/de/ch_invest.xml
+++ b/guide/de/ch_invest.xml
@@ -349,7 +349,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_AccountsPredef.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -532,7 +532,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_int1.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -563,7 +563,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_int2.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -586,7 +586,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_int2-1.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -612,7 +612,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_int3.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -717,7 +717,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_newaccount.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -889,7 +889,7 @@ Einnahmen
                       <mediaobject>
                         <imageobject role="html">
                           <imagedata fileref="figures/invest_newsecurity.png"
-                                     srccredit="Mechtilde Stehmann" width="510px"/>
+                                     srccredit="Mechtilde Stehmann" width="&img-w;"/>
                         </imageobject>
 
                         <imageobject role="fo">
@@ -981,7 +981,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_setup_current.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1029,7 +1029,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_setup_portfolio1.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1085,7 +1085,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_SetupPortfolio2.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1253,7 +1253,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_peditor2.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1430,7 +1430,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_stockvalue.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1855,7 +1855,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_sellstock.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1879,7 +1879,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_sellstock2.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -2051,7 +2051,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_sellstockLoss.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -2075,7 +2075,7 @@ Einnahmen
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_sellstockLoss2.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -2181,7 +2181,7 @@ Einnahmen
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -2493,7 +2493,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                   <imagedata fileref="figures/investLots0_RegB4Scrub.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
                   <imageobject role="fo">
                     <imagedata fileref="figures/investLots0_RegB4Scrub.png"
@@ -2536,7 +2536,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                   <imagedata fileref="figures/investLots1_BeforeCreateLot.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
                   <imageobject role="fo">
                     <imagedata fileref="figures/investLots1_BeforeCreateLot.png"
@@ -2607,7 +2607,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                   <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
                   <imageobject role="fo">
                     <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png"
@@ -2732,7 +2732,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
             <mediaobject>
               <imageobject role="html">
               <imagedata fileref="figures/invest2Lots0RegB4Scrub.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
               <imageobject role="fo">
                 <imagedata fileref="figures/invest2Lots0RegB4Scrub.png"
@@ -2767,7 +2767,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                   <imagedata fileref="figures/invest2Lots1B4Scrub.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
                   <imageobject role="fo">
                     <imagedata fileref="figures/invest2Lots1B4Scrub.png"
@@ -2798,7 +2798,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                   <imagedata fileref="figures/invest2Lots2LotsAftScrubAcct.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
                   <imageobject role="fo">
                     <imagedata fileref="figures/invest2Lots2LotsAftScrubAcct.png"
@@ -2839,7 +2839,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                   <imagedata fileref="figures/invest2Lots3RegAftScrubAcct.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
                   <imageobject role="fo">
                     <imagedata fileref="figures/invest2Lots3RegAftScrubAcct.png"
@@ -2892,7 +2892,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
             <mediaobject>
               <imageobject role="html">
               <imagedata fileref="figures/investLotsSplitReg.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
               <imageobject role="fo">
                 <imagedata fileref="figures/investLotsSplitReg.png"
@@ -2918,7 +2918,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
             <mediaobject>
               <imageobject role="html">
               <imagedata fileref="figures/investLotsSplitLot0.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
               <imageobject role="fo">
                 <imagedata fileref="figures/investLotsSplitLot0.png"
@@ -2944,7 +2944,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
             <mediaobject>
               <imageobject role="html">
               <imagedata fileref="figures/investLotsSplitLot1.png"
-                srccredit="Chris Good" width="510px"/>
+                srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
               <imageobject role="fo">
                 <imagedata fileref="figures/investLotsSplitLot1.png"
@@ -3010,7 +3010,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
                 <mediaobject>
                   <imageobject role="html">
                   <imagedata fileref="figures/investLots4_AfterScrub1LotReg.png"
-                    srccredit="Chris Good" width="510px"/>
+                    srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
                   <imageobject role="fo">
                     <imagedata fileref="figures/investLots4_AfterScrub1LotReg.png"
@@ -3080,7 +3080,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_dividendcash.png"
-                       srccredit="Mechtilde Stehmann" width="510px"/>
+                       srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -3134,7 +3134,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/invest_dividendreinvest1.png"
-                        srccredit="Mechtilde Stehmann" width="510px"/>
+                        srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -3211,7 +3211,7 @@ url="https://www.gnucash.org/docs/v&series-stable;/C/gnucash-help/tool-lots.html
       <mediaobject>
         <imageobject role="html">
           <imagedata fileref="figures/invest_ret_of_cap.png"
-                      srccredit="Chris Good" width="510px"/>
+                      srccredit="Chris Good" width="&img-w;"/>
         </imageobject>
 
         <imageobject role="fo">
diff --git a/guide/de/ch_txns.xml b/guide/de/ch_txns.xml
index 2faf063f..a6f00557 100644
--- a/guide/de/ch_txns.xml
+++ b/guide/de/ch_txns.xml
@@ -903,7 +903,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_reconcile_window2.png"
-                         srccredit="Mechtilde Stehmann" width="510"/>
+                         srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1170,7 +1170,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-2.png"
-                       srccredit="Mechtilde Stehmann" width="510"/>
+                       srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1198,7 +1198,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-3-overview.png"
-                       srccredit="Mechtilde Stehmann" width="510"/>
+                       srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1294,7 +1294,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-3-frequency.png"
-                       srccredit="Mechtilde Stehmann" width="510"/>
+                       srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1399,7 +1399,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-3-template.png"
-                       srccredit="Mechtilde Stehmann" width="510"/>
+                       srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1433,7 +1433,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-4.png"
-                       srccredit="Mechtilde Stehmann" width="510"/>
+                       srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1480,7 +1480,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor_slr.png"
-                       srccredit="Mechtilde Stehmann" width="510"/>
+                       srccredit="Mechtilde Stehmann" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
diff --git a/guide/it/index.docbook b/guide/it/index.docbook
index a4a7ce71..132f7720 100644
--- a/guide/it/index.docbook
+++ b/guide/it/index.docbook
@@ -648,7 +648,7 @@
         <screenshot id="oview-intro">
           <mediaobject>
             <imageobject role="html">
-              <imagedata fileref="figures/oview_intro.png" srccredit="Bengt Thuree" width="510"/>
+              <imagedata fileref="figures/oview_intro.png" srccredit="Bengt Thuree" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1595,7 +1595,7 @@
           <screenshot id="basics-CheckAccount">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/basics_CheckAccount.png" srccredit="Bengt Thuree" width="510"/>
+                <imagedata fileref="figures/basics_CheckAccount.png" srccredit="Bengt Thuree" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -1923,7 +1923,7 @@
                       <acronym>sqlite3</acronym></title><screenshot id="basics-SaveXML">
                       <mediaobject>
                         <imageobject role="html">
-                          <imagedata fileref="figures/basics_SaveXML.png" srccredit="Cristian Marchi" width="510px"/>
+                          <imagedata fileref="figures/basics_SaveXML.png" srccredit="Cristian Marchi" width="&img-w;"/>
                         </imageobject>
 
                         <imageobject role="fo">
@@ -1981,7 +1981,7 @@
                       <acronym>postgres</acronym>.</title><screenshot id="basics-SaveSQL">
                       <mediaobject>
                         <imageobject role="html">
-                          <imagedata fileref="figures/basics_SaveSQL.png" srccredit="Marchi Cristian" width="510px"/>
+                          <imagedata fileref="figures/basics_SaveSQL.png" srccredit="Marchi Cristian" width="&img-w;"/>
                         </imageobject>
 
                         <imageobject role="fo">
@@ -2523,7 +2523,7 @@
             <screenshot id="basics-NewAccountHierarchySetup">
               <mediaobject>
                 <imageobject role="html">
-                  <imagedata fileref="figures/basics_NewAccountHierarchySetup.png" srccredit="Cristian Marchi" width="510"/>
+                  <imagedata fileref="figures/basics_NewAccountHierarchySetup.png" srccredit="Cristian Marchi" width="&img-w;"/>
                 </imageobject>
 
                 <imageobject role="fo">
@@ -2562,7 +2562,7 @@
             <screenshot id="basics-NewAccountHierarchySetup-currency">
               <mediaobject>
                 <imageobject role="html">
-                  <imagedata fileref="figures/basics_NewAccountHierarchySetup_currency.png" srccredit="Cristian Marchi" width="510"/>
+                  <imagedata fileref="figures/basics_NewAccountHierarchySetup_currency.png" srccredit="Cristian Marchi" width="&img-w;"/>
                 </imageobject>
 
                 <imageobject role="fo">
@@ -2597,7 +2597,7 @@
             <screenshot id="basics-NewBookOptions">
               <mediaobject>
                 <imageobject role="html">
-                  <imagedata fileref="figures/basics_NewBookOpts.png" srccredit="Chris Good" width="510"/>
+                  <imagedata fileref="figures/basics_NewBookOpts.png" srccredit="Chris Good" width="&img-w;"/>
                 </imageobject>
 
                 <imageobject role="fo">
@@ -2632,7 +2632,7 @@
             <screenshot id="basics-NewAccountHierarchySetup-Accounts">
               <mediaobject>
                 <imageobject role="html">
-                  <imagedata fileref="figures/basics_NewAccountHierarchySetup_Accounts.png" srccredit="Cristian Marchi" width="510"/>
+                  <imagedata fileref="figures/basics_NewAccountHierarchySetup_Accounts.png" srccredit="Cristian Marchi" width="&img-w;"/>
                 </imageobject>
 
                 <imageobject role="fo">
@@ -2664,7 +2664,7 @@
             <screenshot id="basics-NewAccountHierarchySetup-Setup.png">
               <mediaobject>
                 <imageobject role="html">
-                  <imagedata fileref="figures/basics_NewAccountHierarchySetup_Setup.png" srccredit="Cristian Marchi" width="510"/>
+                  <imagedata fileref="figures/basics_NewAccountHierarchySetup_Setup.png" srccredit="Cristian Marchi" width="&img-w;"/>
                 </imageobject>
 
                 <imageobject role="fo">
@@ -2693,7 +2693,7 @@
             <screenshot id="basics-NewAccountHierarchySetup-Finish">
               <mediaobject>
                 <imageobject role="html">
-                  <imagedata fileref="figures/basics_NewAccountHierarchySetup_Finish.png" srccredit="Cristian Marchi" width="510"/>
+                  <imagedata fileref="figures/basics_NewAccountHierarchySetup_Finish.png" srccredit="Cristian Marchi" width="&img-w;"/>
                 </imageobject>
 
                 <imageobject role="fo">
@@ -2729,7 +2729,7 @@
             <screenshot id="basics-EmptyAccounts">
               <mediaobject>
                 <imageobject role="html">
-                  <imagedata fileref="figures/basics_EmptyAccounts.png" srccredit="Cristian Marchi" width="510"/>
+                  <imagedata fileref="figures/basics_EmptyAccounts.png" srccredit="Cristian Marchi" width="&img-w;"/>
                 </imageobject>
 
                 <imageobject role="fo">
@@ -4343,7 +4343,7 @@ Translators:
           <screenshot id="txns-reconcile-window-2">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/txns_reconcile_window2.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/txns_reconcile_window2.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4622,7 +4622,7 @@ Translators:
           <screenshot id="txns-sxn-editor-2">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/txns_sxn_editor-2.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/txns_sxn_editor-2.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4648,7 +4648,7 @@ Translators:
           <screenshot id="txns-sxn-editor-3-overview">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/txns_sxn_editor-3-overview.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/txns_sxn_editor-3-overview.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4737,7 +4737,7 @@ Translators:
           <screenshot id="txns-sxn-editor-3-frequency">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/txns_sxn_editor-3-frequency.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/txns_sxn_editor-3-frequency.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4835,7 +4835,7 @@ Translators:
           <screenshot id="txns-sxn-editor-3-template">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/txns_sxn_editor-3-template.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/txns_sxn_editor-3-template.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4867,7 +4867,7 @@ Translators:
           <screenshot id="txns-sxn-editor-4">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/txns_sxn_editor-4.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/txns_sxn_editor-4.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -4914,7 +4914,7 @@ Translators:
           <screenshot id="txns-sxn-editor-slr">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/txns_sxn_editor_slr.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/txns_sxn_editor_slr.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -8345,7 +8345,7 @@ Capitale:Bilanci di apertura:EUR
           <screenshot id="invest_accountspredef">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_AccountsPredef.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_AccountsPredef.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -8530,7 +8530,7 @@ Entrate
           <screenshot id="invest-int">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_int1.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_int1.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -8560,7 +8560,7 @@ Entrate
           <screenshot id="invest-int2">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_int2.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_int2.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -8581,7 +8581,7 @@ Entrate
           <screenshot id="invest-int2-1">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_int2-1.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_int2-1.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -8605,7 +8605,7 @@ Entrate
           <screenshot id="invest-int3">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_int3.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_int3.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -8712,7 +8712,7 @@ Entrate
           <screenshot id="invest-newaccount">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_newaccount.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_newaccount.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -8880,7 +8880,7 @@ Entrate
                         <screenshot id="invest-newsecurity">
                           <mediaobject>
                             <imageobject role="html">
-                              <imagedata fileref="figures/invest_newsecurity.png" srccredit="Cristian Marchi" width="510px"/>
+                              <imagedata fileref="figures/invest_newsecurity.png" srccredit="Cristian Marchi" width="&img-w;"/>
                             </imageobject>
 
                             <imageobject role="fo">
@@ -8971,7 +8971,7 @@ Entrate
           <screenshot id="invest-setup-current">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_setup_current.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_setup_current.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -9018,7 +9018,7 @@ Entrate
           <screenshot id="invest-setup-portfolio1">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_setup_portfolio1.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_setup_portfolio1.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -9073,7 +9073,7 @@ Entrate
           <screenshot id="invest-setup-portfolio2">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_SetupPortfolio2.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_SetupPortfolio2.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -9236,7 +9236,7 @@ Entrate
           <screenshot id="invest-peditor2">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_peditor2.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_peditor2.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -9417,7 +9417,7 @@ Entrate
           <screenshot id="invest-stockvalue">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_stockvalue.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_stockvalue.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -9839,7 +9839,7 @@ Entrate
           <screenshot id="invest-sellstock">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_sellstock.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_sellstock.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -9861,7 +9861,7 @@ Entrate
           <screenshot id="invest-sellstock2">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_sellstock2.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_sellstock2.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -10031,7 +10031,7 @@ Entrate
           <screenshot id="invest-sellstockLoss">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_sellstockLoss.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_sellstockLoss.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -10053,7 +10053,7 @@ Entrate
           <screenshot id="invest-sellstockLoss2">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_sellstockLoss2.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_sellstockLoss2.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -10151,7 +10151,7 @@ Entrate
               <title>Selling Shares - Capital Gains - Lots in Account window</title><screenshot id="tool-lotsInAcct">
                 <mediaobject>
                   <imageobject role="html">
-                    <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png" srccredit="Chris Good" width="510px"/>
+                    <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png" srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -10522,7 +10522,7 @@ Entrate
                   <title>Selling Shares - Capital Gains - Security register before scrubbing a single lot</title><screenshot id="invest-lots0reg">
                     <mediaobject>
                       <imageobject role="html">
-                        <imagedata fileref="figures/investLots0_RegB4Scrub.png" srccredit="Chris Good" width="510px"/>
+                        <imagedata fileref="figures/investLots0_RegB4Scrub.png" srccredit="Chris Good" width="&img-w;"/>
                       </imageobject>
 
                       <imageobject role="fo">
@@ -10562,7 +10562,7 @@ Entrate
                   <title>Selling Shares - Capital Gains - Lots before scrubbing a single lot</title><screenshot id="invest-lots1B4CreateLot">
                     <mediaobject>
                       <imageobject role="html">
-                        <imagedata fileref="figures/investLots1_BeforeCreateLot.png" srccredit="Chris Good" width="510px"/>
+                        <imagedata fileref="figures/investLots1_BeforeCreateLot.png" srccredit="Chris Good" width="&img-w;"/>
                       </imageobject>
 
                       <imageobject role="fo">
@@ -10632,7 +10632,7 @@ Entrate
                   <title>Selling Shares - Capital Gains - Lots before scrubbing a single lot, after manual linking</title><screenshot id="invest-lots2B4Scrub1Lot">
                     <mediaobject>
                       <imageobject role="html">
-                        <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png" srccredit="Chris Good" width="510px"/>
+                        <imagedata fileref="figures/investLots2_BeforeScrub1Lot.png" srccredit="Chris Good" width="&img-w;"/>
                       </imageobject>
 
                       <imageobject role="fo">
@@ -10756,7 +10756,7 @@ Entrate
               <title>Selling Shares - Capital Gains - Register before Scrub Account</title><screenshot id="invest2-lots0reg">
                 <mediaobject>
                   <imageobject role="html">
-                    <imagedata fileref="figures/invest2Lots0RegB4Scrub.png" srccredit="Chris Good" width="510px"/>
+                    <imagedata fileref="figures/invest2Lots0RegB4Scrub.png" srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -10789,7 +10789,7 @@ Entrate
                   <title>Selling Shares - Capital Gains - Lots before Scrub Account</title><screenshot id="invest2-lots1B4ScrubAcct">
                     <mediaobject>
                       <imageobject role="html">
-                        <imagedata fileref="figures/invest2Lots1B4Scrub.png" srccredit="Chris Good" width="510px"/>
+                        <imagedata fileref="figures/invest2Lots1B4Scrub.png" srccredit="Chris Good" width="&img-w;"/>
                       </imageobject>
 
                       <imageobject role="fo">
@@ -10818,7 +10818,7 @@ Entrate
                   <title>Selling Shares - Capital Gains - Lots after Scrub Account</title><screenshot id="invest2-lots2AftScrubAcct">
                     <mediaobject>
                       <imageobject role="html">
-                        <imagedata fileref="figures/invest2Lots2LotsAftScrubAcct.png" srccredit="Chris Good" width="510px"/>
+                        <imagedata fileref="figures/invest2Lots2LotsAftScrubAcct.png" srccredit="Chris Good" width="&img-w;"/>
                       </imageobject>
 
                       <imageobject role="fo">
@@ -10855,7 +10855,7 @@ Entrate
                   <title>Selling Shares - Capital Gains - Register after Scrub Account</title><screenshot id="invest2-lots3AftScrubAcct">
                     <mediaobject>
                       <imageobject role="html">
-                        <imagedata fileref="figures/invest2Lots3RegAftScrubAcct.png" srccredit="Chris Good" width="510px"/>
+                        <imagedata fileref="figures/invest2Lots3RegAftScrubAcct.png" srccredit="Chris Good" width="&img-w;"/>
                       </imageobject>
 
                       <imageobject role="fo">
@@ -10903,7 +10903,7 @@ Entrate
               <title>Selling Shares - Capital Gains - Register after Scrub Account</title><screenshot id="investLotsSplitReg">
                 <mediaobject>
                   <imageobject role="html">
-                    <imagedata fileref="figures/investLotsSplitReg.png" srccredit="Chris Good" width="510px"/>
+                    <imagedata fileref="figures/investLotsSplitReg.png" srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -10926,7 +10926,7 @@ Entrate
               <title>Selling Shares - Capital Gains - Lot 0 after Scrub Account</title><screenshot id="investLotsSplitLot0">
                 <mediaobject>
                   <imageobject role="html">
-                    <imagedata fileref="figures/investLotsSplitLot0.png" srccredit="Chris Good" width="510px"/>
+                    <imagedata fileref="figures/investLotsSplitLot0.png" srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -10949,7 +10949,7 @@ Entrate
               <title>Selling Shares - Capital Gains - Lot 1 after Scrub Account</title><screenshot id="investLotsSplitLot1">
                 <mediaobject>
                   <imageobject role="html">
-                    <imagedata fileref="figures/investLotsSplitLot1.png" srccredit="Chris Good" width="510px"/>
+                    <imagedata fileref="figures/investLotsSplitLot1.png" srccredit="Chris Good" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -11010,7 +11010,7 @@ Entrate
                   <title>Selling Shares - Capital Gains - Register after scrubbing a single lot</title><screenshot id="invest-lots4AftScrub1LotReg">
                     <mediaobject>
                       <imageobject role="html">
-                        <imagedata fileref="figures/investLots4_AfterScrub1LotReg.png" srccredit="Chris Good" width="510px"/>
+                        <imagedata fileref="figures/investLots4_AfterScrub1LotReg.png" srccredit="Chris Good" width="&img-w;"/>
                       </imageobject>
 
                       <imageobject role="fo">
@@ -11075,7 +11075,7 @@ Entrate
           <screenshot id="invest-dividendcash1">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_dividendcash.png" srccredit="Daniel Dodson" width="510px"/>
+                <imagedata fileref="figures/invest_dividendcash.png" srccredit="Daniel Dodson" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -11127,7 +11127,7 @@ Entrate
           <screenshot id="invest-dividendreinvest1">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/invest_dividendreinvest1.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/invest_dividendreinvest1.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -11201,7 +11201,7 @@ Entrate
         <screenshot id="invest-ret-of-cap">
           <mediaobject>
             <imageobject role="html">
-              <imagedata fileref="figures/invest_ret_of_cap.png" srccredit="Chris Good" width="510px"/>
+              <imagedata fileref="figures/invest_ret_of_cap.png" srccredit="Chris Good" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -14365,7 +14365,7 @@ Basic A/R and A/P Account Hierarchy:
               <mediaobject>
                 <imageobject role="html">
                   <imagedata fileref="figures/bus_tax_main.png"
-                         srccredit="Chris Good" width="510px" />
+                         srccredit="Chris Good" width="&img-w;" />
                 </imageobject>
 
                 <imageobject role="fo">
@@ -15487,7 +15487,7 @@ Basic A/R and A/P Account Hierarchy:
           <screenshot id="bus-ar-invoicechange2">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/bus_ar_invoicechange2.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/bus_ar_invoicechange2.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
diff --git a/guide/ja/ch_basics.xml b/guide/ja/ch_basics.xml
index fc1ebfbb..ca86c254 100644
--- a/guide/ja/ch_basics.xml
+++ b/guide/ja/ch_basics.xml
@@ -338,7 +338,7 @@ srccredit="Cristian Marchi"/>
           <imageobject role="html">
             <imagedata
 fileref="figures/basics_CheckAccount.png" srccredit="Bengt
-Thuree" width="510"/>
+Thuree" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -587,7 +587,7 @@ linkend="basics-open-data">開いて</link>修正するために、ファイル
                   <mediaobject>
                     <imageobject role="html">
                       <imagedata fileref="figures/basics_SaveXML.png"
-srccredit="Cristian Marchi" width="510px"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
                     </imageobject>
 
                     <imageobject role="fo">
@@ -639,7 +639,7 @@ Marchi"/>
                   <mediaobject>
                     <imageobject role="html">
                       <imagedata fileref="figures/basics_SaveSQL.png"
-srccredit="Marchi Cristian" width="510px"/>
+srccredit="Marchi Cristian" width="&img-w;"/>
                     </imageobject>
 
                     <imageobject role="fo">
@@ -897,7 +897,7 @@ Marchi"/>
             <imageobject role="html">
               <imagedata
 fileref="figures/basics_NewAccountHierarchySetup.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -936,7 +936,7 @@ srccredit="Cristian Marchi"/>
             <imageobject role="html">
               <imagedata
 fileref="figures/basics_NewAccountHierarchySetup_currency.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -974,7 +974,7 @@ srccredit="Cristian Marchi"/>
             <imageobject role="html">
               <imagedata
 fileref="figures/basics_NewAccountHierarchySetup_Accounts.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1006,7 +1006,7 @@ srccredit="Cristian Marchi"/>
             <imageobject role="html">
               <imagedata
 fileref="figures/basics_NewAccountHierarchySetup_Setup.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1037,7 +1037,7 @@ srccredit="Cristian Marchi"/>
             <imageobject role="html">
               <imagedata
 fileref="figures/basics_NewAccountHierarchySetup_Finish.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1068,7 +1068,7 @@ srccredit="Cristian Marchi"/>
             <imageobject role="html">
               <imagedata
 fileref="figures/basics_EmptyAccounts.png" srccredit="Cristian
-Marchi" width="510"/>
+Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
diff --git a/guide/ja/ch_bus_ar.xml b/guide/ja/ch_bus_ar.xml
index 0aed0433..c24a5517 100644
--- a/guide/ja/ch_bus_ar.xml
+++ b/guide/ja/ch_bus_ar.xml
@@ -1141,7 +1141,7 @@ srccredit="Cristian Marchi" />
         <imageobject role="html">
           <imagedata
 fileref="figures/bus_ar_invoicechange2.png" srccredit="Cristian
-Marchi" width="510"/>
+Marchi" width="&img-w;"/>
         </imageobject>
 
         <imageobject role="fo">
diff --git a/guide/ja/ch_oview.xml b/guide/ja/ch_oview.xml
index 2655ae2e..78554420 100644
--- a/guide/ja/ch_oview.xml
+++ b/guide/ja/ch_oview.xml
@@ -41,7 +41,7 @@
       <mediaobject>
         <imageobject role="html">
           <imagedata fileref="figures/oview_intro.png"
-srccredit="Bengt Thuree" width="510"/>
+srccredit="Bengt Thuree" width="&img-w;"/>
         </imageobject>
 
         <imageobject role="fo">
diff --git a/guide/ja/ch_txns.xml b/guide/ja/ch_txns.xml
index 1735a116..20dd9a78 100644
--- a/guide/ja/ch_txns.xml
+++ b/guide/ja/ch_txns.xml
@@ -677,7 +677,7 @@ srccredit="Cristian Marchi"/>
           <imageobject role="html">
             <imagedata
 fileref="figures/txns_reconcile_window2.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -907,7 +907,7 @@ srccredit="Bengt Thuree" />
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-2.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -936,7 +936,7 @@ srccredit="Cristian Marchi"/>
           <imageobject role="html">
             <imagedata
 fileref="figures/txns_sxn_editor-3-overview.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject
@@ -1021,7 +1021,7 @@ srccredit="Cristian Marchi" />
           <imageobject role="html">
             <imagedata
 fileref="figures/txns_sxn_editor-3-frequency.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject
@@ -1106,7 +1106,7 @@ srccredit="Cristian Marchi" />
           <imageobject role="html">
             <imagedata
 fileref="figures/txns_sxn_editor-3-template.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject
@@ -1137,7 +1137,7 @@ srccredit="Cristian Marchi" />
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/txns_sxn_editor-4.png"
-srccredit="Cristian Marchi" width="510"/>
+srccredit="Cristian Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -1180,7 +1180,7 @@ srccredit="Cristian Marchi" />
           <imageobject role="html">
             <imagedata
 fileref="figures/txns_sxn_editor_slr.png" srccredit="Cristian
-Marchi" width="510"/>
+Marchi" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
diff --git a/manual/it/index.docbook b/manual/it/index.docbook
index 82701e18..81f392d0 100644
--- a/manual/it/index.docbook
+++ b/manual/it/index.docbook
@@ -1555,7 +1555,7 @@
         <figure id="Main_WindowCallouts">
           <title>La finestra principale di &app;</title><mediaobject>
             <imageobject role="html">
-              <imagedata fileref="figures/Main-window-callouts.png" srccredit="Cristian Marchi" width="510"/>
+              <imagedata fileref="figures/Main-window-callouts.png" srccredit="Cristian Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1683,7 +1683,7 @@
         <title>Una visualizzazione della <emphasis>struttura ad albero dei conti</emphasis>.</title><screenshot id="AccTree_Screen">
           <mediaobject>
             <imageobject role="html">
-              <imagedata fileref="figures/AccountTree_Screen.png" srccredit="Cristian Marchi" width="510"/>
+              <imagedata fileref="figures/AccountTree_Screen.png" srccredit="Cristian Marchi" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -4404,7 +4404,7 @@
           <title>La visualizzazione del <emphasis>registro del conto</emphasis>.</title><screenshot id="AccountReg_Screen">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/AccountReg_Screen.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/AccountReg_Screen.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -6290,7 +6290,7 @@
           <title>La <emphasis>finestra del resoconto</emphasis></title><screenshot id="Report_Screen">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Report_Screen.png" srccredit="Cristian Marchi" width="510"/>
+                <imagedata fileref="figures/Report_Screen.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -19911,7 +19911,7 @@ ________________________________________________________________________________
           <title>Lots in Account window for Security Capital Gains</title><screenshot id="tool-lotsInAcctStk">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Tool_LotsStk.png" srccredit="Chris Good" width="510px"/>
+                <imagedata fileref="figures/Tool_LotsStk.png" srccredit="Chris Good" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -20352,7 +20352,7 @@ ________________________________________________________________________________
             <title>Lots in Account window for business features</title><screenshot id="tool-lotsInAcctBus">
               <mediaobject>
                 <imageobject role="html">
-                  <imagedata fileref="figures/Tool_LotsBus.png" srccredit="Chris Good" width="510px"/>
+                  <imagedata fileref="figures/Tool_LotsBus.png" srccredit="Chris Good" width="&img-w;"/>
                 </imageobject>
 
                 <imageobject role="fo">
@@ -20824,7 +20824,7 @@ ________________________________________________________________________________
               <title><emphasis>Transaction Report, Report Options</emphasis></title><screenshot id="TxRptOpt_Screen">
                 <mediaobject>
                   <imageobject role="html">
-                    <imagedata fileref="figures/TxRptOpt_Screen.png" srccredit="Geert Janssens" width="510px"/>
+                    <imagedata fileref="figures/TxRptOpt_Screen.png" srccredit="Geert Janssens" width="&img-w;"/>
                   </imageobject>
 
                   <imageobject role="fo">
@@ -23487,7 +23487,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Accounting Period</guilabel> tab</title><screenshot id="Prefer_Accounting-Period">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_AccntPeriod.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_AccntPeriod.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -23571,7 +23571,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Accounts</guilabel> tab</title><screenshot id="Prefer_Accounts">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_Accnts.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_Accnts.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -23679,7 +23679,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Business</guilabel> tab</title><screenshot id="Prefer_Business">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_Business.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_Business.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -23802,7 +23802,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Date/Time</guilabel> tab</title><screenshot id="Prefer_DateTime">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_DateTime.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_DateTime.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -23893,7 +23893,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>General</guilabel> tab</title><screenshot id="Prefer_General">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_General.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_General.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -24077,7 +24077,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Online Banking</guilabel> tab</title><screenshot id="Prefer_OnlineBanking">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_OnlineBanking.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_OnlineBanking.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -24240,7 +24240,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Printing</guilabel> tab</title><screenshot id="Prefer_Printing">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_Printing.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_Printing.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -24287,7 +24287,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Register</guilabel> tab</title><screenshot id="Prefer_Register">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_Register.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_Register.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -24406,7 +24406,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Register Defaults</guilabel> tab</title><screenshot id="Prefer_RegisterDefaults">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_RegisterDefaults.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_RegisterDefaults.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -24497,7 +24497,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Reports</guilabel> tab</title><screenshot id="Prefer_Reports">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_Reports.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_Reports.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -24556,7 +24556,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Scheduled Transactions</guilabel> tab</title><screenshot id="Prefer_ScheduledTransactions">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_Sched.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_Sched.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -24626,7 +24626,7 @@ make doc
           <title>The <guimenuitem>Preferences</guimenuitem> window, <guilabel>Windows</guilabel> tab</title><screenshot id="Prefer_Windows">
             <mediaobject>
               <imageobject role="html">
-                <imagedata fileref="figures/Pref_Windows.png" srccredit="Cristian Marchi" width="510px"/>
+                <imagedata fileref="figures/Pref_Windows.png" srccredit="Cristian Marchi" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
@@ -31034,7 +31034,7 @@ make doc
 
                 <row>
                   <entry>
-                    <para><emphasis>^ W-2 \ </emphasis>N510
+                    <para><emphasis>^ W-2 \ </emphasis>N&img-w;
                     </para>
 
                     <para>Medicare tax withheld, spouse
diff --git a/manual/pt/ch_Customize.xml b/manual/pt/ch_Customize.xml
index 7c3882dd..ecc321b1 100644
--- a/manual/pt/ch_Customize.xml
+++ b/manual/pt/ch_Customize.xml
@@ -101,7 +101,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_Accnts.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -212,7 +212,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_DateTime.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -305,7 +305,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_Register.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -428,7 +428,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_General.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -617,7 +617,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_Printing.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -666,7 +666,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_Windows.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -754,7 +754,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_Business.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -883,7 +883,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_OnlineBanking.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1049,7 +1049,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_AccntPeriod.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1135,7 +1135,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_RegisterDefaults.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1231,7 +1231,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_Reports.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -1294,7 +1294,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Pref_Sched.png"
-                         srccredit="Pedro Albuquerque" width="510px"/>
+                         srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
diff --git a/manual/pt/ch_GUIMenus.xml b/manual/pt/ch_GUIMenus.xml
index fbefad75..5aa960f8 100644
--- a/manual/pt/ch_GUIMenus.xml
+++ b/manual/pt/ch_GUIMenus.xml
@@ -45,7 +45,7 @@
         <title>A janela principal do &app;</title><mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/Main-window-callouts.png"
-                       srccredit="Pedro Albuquerque" width="510"/>
+                       srccredit="Pedro Albuquerque" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -180,7 +180,7 @@
         <mediaobject>
           <imageobject role="html">
             <imagedata fileref="figures/AccountTree_Screen.png"
-                       srccredit="Pedro Albuquerque" width="510"/>
+                       srccredit="Pedro Albuquerque" width="&img-w;"/>
           </imageobject>
 
           <imageobject role="fo">
@@ -2899,7 +2899,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/AccountReg_Screen.png"
-                       srccredit="Pedro Albuquerque" width="510"/>
+                       srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
@@ -4758,7 +4758,7 @@
           <mediaobject>
             <imageobject role="html">
               <imagedata fileref="figures/Report_Screen.png"
-                       srccredit="Pedro Albuquerque" width="510"/>
+                       srccredit="Pedro Albuquerque" width="&img-w;"/>
             </imageobject>
 
             <imageobject role="fo">
diff --git a/manual/pt/ch_Reports.xml b/manual/pt/ch_Reports.xml
index a103f8dd..e82c78a5 100644
--- a/manual/pt/ch_Reports.xml
+++ b/manual/pt/ch_Reports.xml
@@ -108,7 +108,7 @@
             <mediaobject>
               <imageobject role="html">
                 <imagedata fileref="figures/TxRptOpt_Screen.png"
-                     srccredit="Pedro Albuquerque" width="510px"/>
+                     srccredit="Pedro Albuquerque" width="&img-w;"/>
               </imageobject>
 
               <imageobject role="fo">
diff --git a/manual/pt/txf-categories.xml b/manual/pt/txf-categories.xml
index 8e5ba156..ce724d8a 100644
--- a/manual/pt/txf-categories.xml
+++ b/manual/pt/txf-categories.xml
@@ -4864,7 +4864,7 @@
 
         <row>
           <entry>
-            <para><emphasis>^ W-2 \ </emphasis>N510
+            <para><emphasis>^ W-2 \ </emphasis>N&img-w;
             </para>
 
             <para>Medicare tax withheld, spouse

commit 8ce3546dbcba2529059cfda11bb2a64bea3a2061
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Oct 1 08:56:48 2022 +0200

    Fix a typo in 'Bug798624'

diff --git a/manual/C/ch_Finance-Quote.xml b/manual/C/ch_Finance-Quote.xml
index 1b455244..ddf28047 100644
--- a/manual/C/ch_Finance-Quote.xml
+++ b/manual/C/ch_Finance-Quote.xml
@@ -464,7 +464,7 @@ BEGIN failed--compilation aborted at (eval 303) line 1.
       &app;-data file without starting the GUI. Thus an automatic, regular updating of the price
       database is possible.
       <note>
-        <para>The command will fail if it cannot get a lock on the data file, for examplle if the
+        <para>The command will fail if it cannot get a lock on the data file, for example if the
           data file is open in another GnuCash instance or if the last session for the file crashed.
         </para>
       </note>

commit 12378ae1597faf295b26492e122782d146628c3f
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Oct 1 06:34:33 2022 +0200

    Downgrade a few warnings as there is no danger

diff --git a/manual/C/ch_Finance-Quote.xml b/manual/C/ch_Finance-Quote.xml
index 1e250e30..1b455244 100644
--- a/manual/C/ch_Finance-Quote.xml
+++ b/manual/C/ch_Finance-Quote.xml
@@ -463,11 +463,11 @@ BEGIN failed--compilation aborted at (eval 303) line 1.
       can be used to fetch the current quotes of your stocks and write them directly into your
       &app;-data file without starting the GUI. Thus an automatic, regular updating of the price
       database is possible.
-      <warning>
+      <note>
         <para>The command will fail if it cannot get a lock on the data file, for examplle if the
           data file is open in another GnuCash instance or if the last session for the file crashed.
         </para>
-      </warning>
+      </note>
     </para>
 
     <para>The file specified &user-datafile; will depend on the name and location of your data file. This can
@@ -505,7 +505,7 @@ BEGIN failed--compilation aborted at (eval 303) line 1.
 <screen>0 16 * * 5 gnucash-cli --quotes get &user-datafile; > /dev/null 2>&1</screen>
             </informalexample>
 
-            <warning>
+            <important>
               <para>If there is no graphic session that has already started the dbus, running on your computer at the
                 time of the quote request, you must do the entry as follows instead:
                 <informalexample>
@@ -515,7 +515,7 @@ gnucash-cli --quotes get &user-datafile; > /dev/null 2>&1</screen>
                 (Do not copy the line breaks into the crontab, they were inserted here only for the
                 purpose of readability).
               </para>
-            </warning>
+            </important>
           </para>
         </step>
       </procedure>

commit 9b200d81d0ede8558fe5c1432102589d12e2fc80
Merge: d8c5d3a3 eb57ca39
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 30 15:46:14 2022 -0700

    Merge Tomáš Hnyk's 'Bug798624' into maint.


commit eb57ca39ac21ea3c1c47d9caf436982729629b18
Author: Tomáš Hnyk <tomashnyk at gmail.com>
Date:   Fri Sep 30 10:52:32 2022 +0200

    Bug 798624 - Document how to check if GnuCash is running when updating quotes

diff --git a/manual/C/ch_Finance-Quote.xml b/manual/C/ch_Finance-Quote.xml
index 969c5402..1e250e30 100644
--- a/manual/C/ch_Finance-Quote.xml
+++ b/manual/C/ch_Finance-Quote.xml
@@ -464,7 +464,8 @@ BEGIN failed--compilation aborted at (eval 303) line 1.
       &app;-data file without starting the GUI. Thus an automatic, regular updating of the price
       database is possible.
       <warning>
-        <para>Please note that the data file should not be open in another instance of &app; at the same time!
+        <para>The command will fail if it cannot get a lock on the data file, for examplle if the
+          data file is open in another GnuCash instance or if the last session for the file crashed.
         </para>
       </warning>
     </para>



Summary of changes:
 C/guide/ch_basics.xml          |  20 ++++----
 C/guide/ch_bus_features.xml    |   8 ++--
 C/guide/ch_currency.xml        |  22 ++++-----
 C/guide/ch_invest.xml          |  70 ++++++++++++++--------------
 C/guide/ch_oview.xml           |   2 +-
 C/guide/ch_txns.xml            |  14 +++---
 C/manual/ch_Finance-Quote.xml  |   4 +-
 cmake/AddXdgHelpTarget.cmake   |  28 +++++++++--
 de/guide/ch_basics.xml         |  16 +++----
 de/guide/ch_bus_ar.xml         |   2 +-
 de/guide/ch_bus_setup.xml      |   6 +--
 de/guide/ch_invest.xml         |  62 ++++++++++++-------------
 de/guide/ch_txns.xml           |  14 +++---
 de/manual/ch_Finance-Quote.xml |  13 +++---
 it/guide/index.docbook         | 102 ++++++++++++++++++++---------------------
 it/manual/index.docbook        |  40 ++++++++--------
 ja/guide/ch_basics.xml         |  18 ++++----
 ja/guide/ch_bus_ar.xml         |   2 +-
 ja/guide/ch_oview.xml          |   2 +-
 ja/guide/ch_txns.xml           |  14 +++---
 pt/manual/ch_Customize.xml     |  24 +++++-----
 pt/manual/ch_GUIMenus.xml      |   8 ++--
 pt/manual/ch_Reports.xml       |   2 +-
 pt/manual/txf-categories.xml   |   2 +-
 24 files changed, 259 insertions(+), 236 deletions(-)



More information about the gnucash-changes mailing list