Menu

Tree [ed6bc3] master / doc_src /
 History

HTTPS access


File Date Author Commit
 be 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 ca 2023-02-25 Marc Riera Irigoyen Marc Riera Irigoyen [61aacf] docs: Update for ca language
 cs 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 cy 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 de 2023-02-26 Ragnar-F Ragnar-F [5429c6] docs(l10n): Update manuals in DE
 el 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 en 2023-04-01 Jean-Christophe Helary Jean-Christophe Helary [972368] bump manual version to 6.0
 es 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 eu 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 fi 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 fr 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 gl 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 hr 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 hu 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 ia 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 it 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 ja 2023-02-21 Hiroshi Miura Hiroshi Miura [149215] docs(ja): update translations
 ko 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 mfe 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 nl 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 no 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 pt 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 pt_BR 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 ru 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 sc 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 sv 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 tr 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 uk 2023-01-05 Jean-Christophe Helary Jean-Christophe Helary [ed2232] adapt ant and gradle build to new file set
 zh_CN 2023-02-26 Hiroshi Miura Hiroshi Miura [f8c81f] Revert "docs(zh_CN): update manual translations...
 .gitignore 2022-12-25 Jean-Christophe Helary Jean-Christophe Helary [1d311e] index.xml is a generated file, it should be ign...
 OmegaT_new.css 2023-03-27 damien-rembert damien-rembert [e34c4c] minor fixes
 OmegaT_old.css 2023-01-20 Jean-Christophe Helary Jean-Christophe Helary [f34983] fix merge errors
 Readme.md 2022-12-17 Jean-Christophe Helary Jean-Christophe Helary [ed0764] add new start screen to all languages
 Readme_nl.txt 2015-11-20 Didier Briel Didier Briel [4b8a4f] Move to GPLv3
 build.xml 2023-01-17 Hiroshi Miura Hiroshi Miura [06a11f] docs: force override css when generate
 doc_src_paths.xml 2021-02-22 Stéphane Bonhomme Stéphane Bonhomme [ecdd3c] Add XHTML5 chunk generation and whc compilation...
 docbook-utf8.xsl 2011-05-04 Didier Briel Didier Briel [3756b6] Move all scripts to ant
 docgen 2022-09-17 Hiroshi Miura Hiroshi Miura [75cc2b] Specify uid:gid for docker run
 fop.xconf 2011-05-04 Didier Briel Didier Briel [3756b6] Move all scripts to ant
 index_template.html 2023-01-11 damien-rembert damien-rembert [22766d] remove instant start only and improve css
 lang_exceptions.properties 2019-04-16 Aaron Madlon-Kay Aaron Madlon-Kay [f80604] Add language name exceptions for changes in Jav...
 license.txt 2015-11-20 Didier Briel Didier Briel [2da8ed] Use correct GPLv3 license
 whc-header.xsl 2021-02-22 Stéphane Bonhomme Stéphane Bonhomme [ecdd3c] Add XHTML5 chunk generation and whc compilation...
 whc-index.xsl 2021-02-22 Stéphane Bonhomme Stéphane Bonhomme [ecdd3c] Add XHTML5 chunk generation and whc compilation...
 whc-toc.xsl 2023-01-02 Jean-Christophe Helary Jean-Christophe Helary [5ee1a9] remove references to $translation to create the...

Read Me

License

All the files in this directory and below are under the terms of the GNU General
Public License as published by the Free Software Foundation; either version 3 of
the License, or (at your option) any later version.

Installation

The easy way is to install
Docker and run the docgen
script provided in doc_src. Arguments to docgen are the same as the
arguments to ant described below in the Usage section.

Get Docker without needing to make an account:

See also:

The hard way

Dependencies

The creation of the documentation requires a number of tools:

Path to the DTD

For efficiency reason, the path to the DTD in the DocBook files (e.g.,
AboutOmegaT.xml) has been changed to a local path
(../../../docbook-xml-4.5/docbookx.dtd instead of an http://
reference). Depending on the actual configuration, it might be changed to a
standard reference (http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd) or
to another local reference.

Windows

dbk must be installed at the root of C:

C:\dbk\common
C:\dbk\docsrc
⋮

docbook-xml-4.5 must be installed at the same level as your OmegaT development
folder.

So, if you have

C:\dev\omegat-trunk
C:\dev\omegat-trunk\src
C:\dev\omegat-trunk\doc_src
⋮

you would have

C:\dev\docbook-xml-4.5\ent
C:\dev\docbook-xml-4.5\calstblx.dtd
⋮

libxml2-2.7.7 and apache-ant must be installed where a path can find them,
usually in Program Files.

C:\Program Files\libxml2-2.7.7.win32
C:\Program Files\apache-ant

Corresponding path:

path=C:\Program Files\libxml2-2.7.7.win32\bin;C:\Program Files\apache-ant\bin

fop-1.1 can be installed anywhere, usually in Program Files.

C:\Program Files\fop-1.1

The location of fop-1.1, dbk and Saxon must be set in doc_src_paths.xml,
in the corresponding properties:

<property name="fop.home" value="C:\Program Files\fop-1.1" />

Alternatively, it is possible to set the values of fop.home.lib and
fop.home.build separately:

<property name="fop.home.lib" value="C:\Program Files (x86)\fop-1.1\lib" />
<property name="fop.home.build" value="C:\Program Files (x86)\fop-1.1\build" />

<property name="dbk" value="c:\dbk" />
<property name="saxon" value="C:\Program Files\saxon6-5-5\saxon.jar" />

The location of dbk must also be set in docbook-utf8.xsl:

<xsl:import href="file:///c:\dbk\html\docbook.xsl"/>

Both doc_src_paths.xml and docbook-utf8.xsl must be copied at the same level
as your OmegaT development folder.

C:\dev\doc_src_paths.xml
C:\dev\docbook-utf8.xsl

The ones available in doc_src are only there for reference.

macOS

Dependencies

All the dependencies can be installed through
MacPorts except for saxon and whc.

sudo port install apache-ant docbook-xml-4.5 docbook-xsl-nons fop libxml2

Unzip the downloaded packages and put them in your prefered location. The
example below uses the /Applications folder.

Paths

If you use Macports, the doc_src_paths.xml settings are:

<project>
    <property name="fop.home" value="/opt/local/share/java/fop/1.1" />
    <property name="dbk" value="/opt/local/share/xsl/docbook-xsl-nons" />
    <property name="saxon" value="/Applications/saxon6-5-5/saxon.jar" />
    <property name="whc" value="/Application/whc-3_3_0/lib/whc.jar" />
</project>

and the docbook-utf8.xsl settings are:

<xsl:import href="file:///opt/local/share/xsl/docbook-xsl-nons/html/docbook.xsl"/>

DocBook 4.5 installation

Create a symbolic link from the installed DocBook 4.5 files to the location
where the build process will look for the DocBook DTD: the folder "above"
doc_src in the OmegaT source tree:

ln -s /opt/local/share/xml/docbook/4.5 /path/to/omegat/docbook-xml-4.5

Settings files

The modified doc_src_paths.xml and docbook-utf8.xsl must be copied to the
same location as docbook-xml-4.5.

/path/to/omegat/doc_src/en/
   └────/docbook-xml-4.5/
   └────/doc_src_paths.xml
   └────/docbook-utf8.xsl

Fonts

The following fonts must be installed:

Usage

All the scripts require the language folder as argument and must be run from the
doc_src directory.

Note: Replace ant with docgen if you are using the docgen script.

Building First Steps only

ant -Dlanguage=en first-steps

Building everything except Javahelp:

ant -Dlanguage=en

Building HTML

ant -Dlanguage=en html5

Building PDF

ant -Dlanguage=en pdf

Building Javahelp

ant -Dlanguage=en javahelp

Scripts

  • build.xml: Main script
  • doc_src_paths.xml: Set the paths for utilities
  • docbook-utf8.xsl: Allows to issue the First Steps in UTF-8