diff options
author | Darrell Anderson <darrella@hushmail.com> | 2014-01-21 22:06:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-01-21 22:06:48 -0600 |
commit | 0b8ca6637be94f7814cafa7d01ad4699672ff336 (patch) | |
tree | d2b55b28893be8b047b4e60514f4a7f0713e0d70 /tde-i18n-en_GB/docs/tdeedu/kstars/dumpmode.docbook | |
parent | a1670b07bc16b0decb3e85ee17ae64109cb182c1 (diff) | |
download | tde-i18n-0b8ca6637be94f7814cafa7d01ad4699672ff336.tar.gz tde-i18n-0b8ca6637be94f7814cafa7d01ad4699672ff336.zip |
Beautify docbook files
Diffstat (limited to 'tde-i18n-en_GB/docs/tdeedu/kstars/dumpmode.docbook')
-rw-r--r-- | tde-i18n-en_GB/docs/tdeedu/kstars/dumpmode.docbook | 78 |
1 files changed, 7 insertions, 71 deletions
diff --git a/tde-i18n-en_GB/docs/tdeedu/kstars/dumpmode.docbook b/tde-i18n-en_GB/docs/tdeedu/kstars/dumpmode.docbook index 515e54a5bc7..158839ae986 100644 --- a/tde-i18n-en_GB/docs/tdeedu/kstars/dumpmode.docbook +++ b/tde-i18n-en_GB/docs/tdeedu/kstars/dumpmode.docbook @@ -1,76 +1,12 @@ <chapter id="dumpmode"> -<title ->Command-Line mode for Image Generation</title> -<indexterm -><primary ->Image-dump Mode</primary -></indexterm> +<title>Command-Line mode for Image Generation</title> +<indexterm><primary>Image-dump Mode</primary></indexterm> -<para ->You can use &kstars; to generate an image of the sky without actually launching the <acronym ->GUI</acronym -> portion of the program. To use this feature, start &kstars; from a command prompt using arguments to specify the filename for the image, as well as the desired image dimensions: <cmdsynopsis -><command ->kstars</command -> <arg choice="plain" ->--dump</arg -> <arg ->--filename <replaceable ->kstars.png</replaceable -></arg -> <arg ->--height <replaceable ->640</replaceable -></arg -> <arg ->--width <replaceable ->480</replaceable -></arg -> <arg ->--script <replaceable ->myscript.kstars</replaceable -></arg -> </cmdsynopsis> +<para>You can use &kstars; to generate an image of the sky without actually launching the <acronym>GUI</acronym> portion of the program. To use this feature, start &kstars; from a command prompt using arguments to specify the filename for the image, as well as the desired image dimensions: <cmdsynopsis><command>kstars</command> <arg choice="plain">--dump</arg> <arg>--filename <replaceable>kstars.png</replaceable></arg> <arg>--height <replaceable>640</replaceable></arg> <arg>--width <replaceable>480</replaceable></arg> <arg>--script <replaceable>myscript.kstars</replaceable></arg> </cmdsynopsis> </para> -<para ->If no filename is specified, it generates a file named <filename ->kstars.png</filename ->. It will attempt to generate an image that matches the extension of your filename. The following extensions are recognised: <quote ->png</quote ->, <quote ->jpg</quote ->, <quote ->jpeg</quote ->, <quote ->gif</quote ->, <quote ->pnm</quote ->, and <quote ->bmp</quote ->. If the filename extension is not recognised, it defaults to the <acronym ->PNG</acronym -> image type. </para> -<para ->Likewise, if the image width and height are not specified, they default to 640 and 480, respectively. </para> -<para ->By default, &kstars; will read in the options values stored in your <filename ->$TDEHOME/share/config/kstarsrc</filename -> file to determine where the image will be centred, and how it is rendered. This means you need to run &kstars; in normal GUI mode, and exit the program when it is set up with the desired options for the generated images. This is not very flexible, so we also provide the ability to execute a &kstars; <acronym ->DCOP</acronym -> script to set the scene before generating the image. The filename you specify as the script argument should be a valid &kstars; <acronym ->DCOP</acronym -> script, such as one created with the <link linkend="tool-scriptbuilder" ->Script Builder Tool</link ->. The script can be used to set where the image is pointing, set the geographic location, set the time and date, change the Zoom level and adjust other view options. Some of the <acronym ->DCOP</acronym -> functions make no sense in non-GUI mode (such as <function ->waitForKey()</function ->); if these functions are encountered while parsing the script, they are simply ignored. </para> -<para ->As an alternative to having to execute a &kstars; <acronym ->DCOP</acronym -> script, we will provide an argument to specify an alternate <filename ->kstarsrc</filename -> config file, in a future version of &kstars;. </para> +<para>If no filename is specified, it generates a file named <filename>kstars.png</filename>. It will attempt to generate an image that matches the extension of your filename. The following extensions are recognised: <quote>png</quote>, <quote>jpg</quote>, <quote>jpeg</quote>, <quote>gif</quote>, <quote>pnm</quote>, and <quote>bmp</quote>. If the filename extension is not recognised, it defaults to the <acronym>PNG</acronym> image type. </para> +<para>Likewise, if the image width and height are not specified, they default to 640 and 480, respectively. </para> +<para>By default, &kstars; will read in the options values stored in your <filename>$TDEHOME/share/config/kstarsrc</filename> file to determine where the image will be centred, and how it is rendered. This means you need to run &kstars; in normal GUI mode, and exit the program when it is set up with the desired options for the generated images. This is not very flexible, so we also provide the ability to execute a &kstars; <acronym>DCOP</acronym> script to set the scene before generating the image. The filename you specify as the script argument should be a valid &kstars; <acronym>DCOP</acronym> script, such as one created with the <link linkend="tool-scriptbuilder">Script Builder Tool</link>. The script can be used to set where the image is pointing, set the geographic location, set the time and date, change the Zoom level and adjust other view options. Some of the <acronym>DCOP</acronym> functions make no sense in non-GUI mode (such as <function>waitForKey()</function>); if these functions are encountered while parsing the script, they are simply ignored. </para> +<para>As an alternative to having to execute a &kstars; <acronym>DCOP</acronym> script, we will provide an argument to specify an alternate <filename>kstarsrc</filename> config file, in a future version of &kstars;. </para> </chapter> |