Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
013aeb25
Commit
013aeb25
authored
9 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
fo2pdf --> Oxygenxml
parent
917de9f4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Doc/Sda1/fo.xml
+18
-33
18 additions, 33 deletions
Doc/Sda1/fo.xml
ws/Docbook/Config/xxe6/spell/dict_en.txt
+1
-0
1 addition, 0 deletions
ws/Docbook/Config/xxe6/spell/dict_en.txt
with
19 additions
and
33 deletions
Doc/Sda1/fo.xml
+
18
−
33
View file @
013aeb25
...
...
@@ -108,28 +108,21 @@
xlink:href=
"http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo-section"
>
FO
</abbrev>
document
</title>
<titleabbrev>
Simple
<abbrev
xlink:href=
"http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo-section"
>
FO
</abbrev></titleabbrev>
<titleabbrev>
Simple
<xref
linkend=
"glo_FO"
/></titleabbrev>
<para>
A renderer for printed output from XML content also needs
instructions how to format the different elements. A common way to define
these formatting properties is by using
<emphasis>
Formatting
Objects
</emphasis>
(
<abbrev
xlink:href=
"http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo-section"
>
FO
</abbrev>
)
standard.
<abbrev
xlink:href=
"http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo-section"
>
FO
</abbrev>
documents may be compared to HTML. A HTML document has to be rendered by a
piece of software called a browser in order to be viewed as an image.
Likewise
<abbrev
xlink:href=
"http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo-section"
>
FO
</abbrev>
documents have to be rendered by a piece of software called a formatting
objects processor which typically yields PostScript or PDF output. As a
starting point we take a simple example:
</para>
Objects
</emphasis>
(
<xref
linkend=
"glo_FO"
/>
) standard.
<xref
linkend=
"glo_FO"
/>
documents may be compared to HTML. A HTML document has
to be rendered by a piece of software called a browser in order to be
viewed as an image. Likewise
<xref
linkend=
"glo_FO"
/>
documents have to be
rendered by a piece of software called a formatting objects processor
which typically yields PostScript or PDF output. As a starting point we
take a simple example:
</para>
<figure
xml:id=
"foHelloWorld"
>
<title>
The most simple
<abbrev
xlink:href=
"http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo-section"
>
FO
</abbrev>
document
</title>
<title>
The most simple
<xref
linkend=
"glo_FO"
/>
document
</title>
<programlisting
language=
"xml"
>
<
?xml version="1.0" encoding="utf-8"?
>
<
fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
>
...
...
@@ -148,21 +141,14 @@
<
/fo:flow
>
<
/fo:page-sequence
>
<
/fo:root
>
</programlisting>
</figure>
<para>
PDF generation is initiated by executing a
<abbrev
xlink:href=
"http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo-section"
>
FO
</abbrev>
processor. At the MI department the script
<code>
fo2pdf
</code>
invokes
<orgname>
RenderX
</orgname>
's
<productname
xlink:href=
"http://www.renderx.com"
>
xep
</productname>
processor:
</para>
<programlisting
language=
"none"
>
fo2pdf -fo hello.fo -pdf hello.pdf
</programlisting>
<para>
This creates a PDF file which may be printed or previewed by e.g.
<productname
xlink:href=
"http://www.adobe.com"
>
Adobe
</productname>
's
acrobat reader or evince under Linux. For a list of command line options
see
<productname
xlink:href=
"http://www.renderx.com/reference.html"
>
xep's
documentation
</productname>
.
</para>
<para>
The
<productname>
Oxygenxml
</productname>
<xref
linkend=
"glo_IDE"
/>
supports
<xref
linkend=
"glo_FO"
/>
to
<xref
linkend=
"glo_PDF"
/>
conversion. You may optionally pipe a
<xref
linkend=
"glo_XSL"
/>
transformation result to a
<xref
linkend=
"glo_FO"
/>
processor by
defining a single transformation scenario. Watch out for the
<quote>
Fo
Processor
</quote>
tab.
</para>
</figure>
</section>
<section
xml:id=
"layoutParam"
>
...
...
@@ -172,9 +158,8 @@
very impressive. In order to develop more elaborated examples we have to
understand the underlying layout model being defined in a
<link
xlink:href=
"http://www.w3.org/TR/xsl/#fo_simple-page-master"
>
fo:simple-page-master
</link>
element. First of all
<abbrev
xlink:href=
"http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo-section"
>
FO
</abbrev>
allows to subdivide a physical page into different regions:
</para>
element. First of all
<xref
linkend=
"glo_FO"
/>
allows for subdividing a
physical page into different regions:
</para>
<figure
xml:id=
"foRegionList"
>
<title>
Regions being defined in a page.
</title>
...
...
This diff is collapsed.
Click to expand it.
ws/Docbook/Config/xxe6/spell/dict_en.txt
+
1
−
0
View file @
013aeb25
...
...
@@ -17,6 +17,7 @@ no-brainer
passphrases
plugin
plugins
pregenerated
pythagorean
serializer
Unicode
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment