On Fri, 2003-05-30 at 04:53, Daniela Würthinger wrote:
Hi thank you for yours information,
recently another fop-user told me, that it is possible to print Crop Marks
(?Trim Marks?) with FOP?
how can I do that?
daniela
Hi,

Use the attached XSL-FO file as an example.

Hope this helps,
Rodolfo



<?xml version="1.0" encoding="utf-8"?>
<!-- ============================ -->
<!--  Generated with doctrans2fo  -->
<!-- ============================ -->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:fox="http://xml.apache.org/fop/extensions";  language="en">
<fo:layout-master-set>

<fo:simple-page-master master-name="1column-Even" 
                page-height="297.0mm"
                page-width="210.0mm"
                margin-left="5.0mm"
                margin-right="5.0mm"
                margin-top="5.0mm"
                margin-bottom="5.0mm">
<fo:region-body margin-top="30.0mm"
                margin-bottom="30.0mm"
                margin-left="20.0mm"
                margin-right="20.0mm"/>
<fo:region-before extent="30.0mm" region-name="1column-even-header" />
<fo:region-after extent = "30.0mm" region-name="1column-even-footer" />
<fo:region-start extent="5.0mm"/>
<fo:region-end extent="5.0mm"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="1column-Odd" 
                page-height="297.0mm"
                page-width="210.0mm"
                margin-left="5.0mm"
                margin-right="5.0mm"
                margin-top="5.0mm"
                margin-bottom="5.0mm">
<fo:region-body margin-top="30.0mm"
                margin-bottom="30.0mm"
                margin-left="20.0mm"
                margin-right="20.0mm"/>
<fo:region-before extent="30.0mm" region-name="1column-odd-header" />
<fo:region-after extent = "30.0mm" region-name="1column-odd-footer" />
<fo:region-start extent="5.0mm"/>
<fo:region-end extent="5.0mm"/>
</fo:simple-page-master>

<fo:page-sequence-master master-name="1column-alternate">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference odd-or-even="odd" 
master-reference="1column-Odd"/>
<fo:conditional-page-master-reference odd-or-even="even" 
master-reference="1column-Even"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>


</fo:layout-master-set>

<fo:page-sequence master-reference="1column-alternate" language="en" >
<!-- ============================ -->
<!--  left margin                 -->
<!-- ============================ -->
<fo:static-content flow-name="xsl-region-start">
<fo:block text-align="center" color="#ffffff" background-color="#ffffff" 
border-right-width="0.1mm"  border-right-style="solid" 
border-bottom-width="0.3mm"  border-bottom-style="solid"  
line-height="4.7mm">**</fo:block>
<fo:block text-align="center" color="#ffffff" background-color="#ffffff" 
line-height="4.7mm">**</fo:block>
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)"/>
<fo:table-body>
<fo:table-row height="20mm">
<fo:table-cell background-color="#ffffff">
<fo:block text-align="center" color="#ffffff" >**</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block text-align="center" color="#ffffff" line-height="227.0mm" 
>**</fo:block>
<fo:block text-align="center" line-height="20mm" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
<fo:block text-align="center" color="#ffffff" background-color="#ffffff" 
border-right-width="0.1mm"  border-right-style="solid" border-top-width="0.1mm" 
 border-top-style="solid"  line-height="4.9mm">**</fo:block>
</fo:static-content>
<!-- ============================ -->
<!--  Right Margin                -->
<!-- ============================ -->
<fo:static-content flow-name="xsl-region-end" >
<fo:block text-align="center" color="#ffffff" background-color="#ffffff"  
border-left-width="0.1mm"  border-left-style="solid" 
border-bottom-width="0.3mm"  border-bottom-style="solid"  
line-height="4.7mm">**</fo:block>
<fo:block text-align="center" color="#ffffff" background-color="#ffffff" 
line-height="5.0mm">**</fo:block>
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)"/>
<fo:table-body>
<fo:table-row height="20mm">
<fo:table-cell background-color="#ffffff">
<fo:block text-align="center" color="#ffffff" >**</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block text-align="center" color="#ffffff" line-height="227.0mm" 
>**</fo:block>
<fo:block text-align="center" line-height="20mm" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
<fo:block text-align="center" color="#ffffff" background-color="#ffffff" 
border-left-width="0.1mm"  border-left-style="solid" border-top-width="0.1mm"  
border-top-style="solid"  line-height="5.0mm">**</fo:block>
</fo:static-content>
<!-- ============================ -->
<!--  Page Header                 -->
<!-- ============================ -->
<fo:static-content flow-name="1column-even-header" >
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff">**</fo:block>
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)"/>
<fo:table-body>
<fo:table-row height="20mm">
<fo:table-cell border-bottom-width="0.1mm" border-bottom-style="none" 
display-align="center"  background-color="#ffffff">
<fo:block font-size="10pt" line-height="20mm" color="#ffffff" 
background-color="#ffffff">**</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<fo:static-content flow-name="1column-odd-header" >
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff">**</fo:block>
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)"/>
<fo:table-body>
<fo:table-row height="20mm">
<fo:table-cell border-bottom-width="0.1mm" border-bottom-style="none" 
display-align="center"  background-color="#ffffff">
<fo:block text-align="end" font-size="10pt" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<!-- ============================ -->
<!--  Page Footer                 -->
<!-- ============================ -->
<fo:static-content flow-name="1column-even-footer">
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border-top-width="0.1mm" border-top-style="none" 
display-align="center"  background-color="#ffffff">
<fo:block text-align="start" start-indent="15mm" end-indent="15mm" 
color="#000000" font-family="Helvetica" font-size="10pt"  line-height="20mm" 
></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff">**</fo:block>
</fo:static-content>
<fo:static-content flow-name="1column-odd-footer">
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border-top-width="0.1mm" border-top-style="none" 
display-align="center"  background-color="#ffffff">
<fo:block text-align="end" start-indent="15mm" end-indent="15mm" 
color="#000000" font-family="Helvetica" font-size="10pt"  line-height="20mm" 
></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff" >**</fo:block>
<fo:block text-align="center" line-height="5.0mm" color="#ffffff" 
background-color="#ffffff">**</fo:block>
</fo:static-content>
<!-- ============================ -->
<!--  Content Pages               -->
<!-- ============================ -->
<fo:flow flow-name="xsl-region-body">
<fo:block padding-start="1mm" padding-end="1mm" span="all" font-family="Times" 
font-size="15pt" text-align="left" border-color="gray" border-style="solid" 
border-top-width="0mm" border-bottom-width="0mm" border-left-width="0mm" 
border-right-width="0mm" id="title_0" color="#000000" start-indent="0mm"  
end-indent="0mm"  font-weight="bold" font-style="italic" 
background-color="#cccccc" space-before="2mm" space-after="2mm">Xuan Zang, 
Possibly China's Greatest Translator</fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
space-after="2mm" id="para_28">
      <fo:inline font-weight="bold" >
        <fo:inline font-style="italic" >His 10-stage quality control process    
 initiated more
          than 1300 years ago is far more thorough and exacting than
          any existing today.</fo:inline>
      </fo:inline>
     </fo:block>
<fo:block padding-start="1mm" padding-end="1mm" font-family="Times" 
font-size="15pt" text-align="left" border-color="gray" border-style="solid" 
border-top-width="0mm" border-bottom-width="0mm" border-left-width="0mm" 
border-right-width="0mm" id="ID-0" color="#000000" start-indent="0mm"  
end-indent="30mm"  background-color="#ccffcc" space-after="2mm" 
space-before="2mm">Introduction</fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
space-after="2mm" id="para_4">Every Chinese, young and old, within and outside
      China,     knows the classical language rendering of the exploits
      of Xuan Zang, the     pious Tang dynasty monk and his three
      storybook disciples: the     indestructible Monkey King, the Great
      Sage; Brother Pig, the Eight Denials     (of Buddhism) and Sand
      Monk, the third disciple. In real life, Xuan Zang     was a truly
      remarkable Buddhist monk. He travelled on land on the way
      through hostile and uncharted territory to the birthplace of
      Buddha in the     Indian sub-continent and returned to Changâan
      (modern day Xiâan) with a     set of Buddhist sutras. The
      voluminous set of sutras was written in the     extremely
      difficult Sanskrit language. Together with his doyens of pupils,
      he completed the translation of some 75 volumes of the sutras into
      the     equally difficult Chinese languages </fo:block>
<fo:block padding-start="1mm" padding-end="1mm" font-family="Times" 
font-size="15pt" text-align="left" border-color="gray" border-style="solid" 
border-top-width="0mm" border-bottom-width="0mm" border-left-width="0mm" 
border-right-width="0mm" id="ID-1" color="#000000" start-indent="0mm"  
end-indent="30mm"  background-color="#ccffcc" space-after="2mm" 
space-before="2mm">The 10 Stages</fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
space-after="2mm" id="para_6">Buddhist sutras translated into Chinese prior the
      Tang     dynasty were difficult to comprehend because the first
      translators were     Buddhist monks of non-Han Chinese origin. It
      took China several hundred     years to bring forth a selection of
      Buddhist monks who could master both     the Sanskrit language as
      well as the complex Buddhism doctrines, which     were written in
      Sanskrit. And Xuan Zang was recognised as foremost among     them.
      He was appointed chief of the Tang dynasty imperial translation
      centre. It was he who designed and implemented a translation
      workflow that     would guarantee the quality of the final
      product. The process detailed     below is well worth adopting by
      any modern day translation team. </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
space-after="2mm" id="para_7">
      <fo:inline font-weight="bold" >Stage 1</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_8">Master translator and 
Buddhism
      expert to jointly study and interpret the original text written in
      Sanskrit. It could involve one or more persons. </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_10">
      <fo:inline font-weight="bold" >Stage 2</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_9">All members of the 
translation
      team     to attend a recital of the text in question by the Master
      translator. The     purpose is to verify the accuracy of the
      interpretation undertaken in     Stage 1. A recital is necessary
      because the scriptures were originally     written for recitation. 
</fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_11">
      <fo:inline font-weight="bold" >Stage 3</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_12">A team of junior translators
      produces the first Chinese draft of the Sanskrit text. The draft
      is a     combination of transliteration of Sanskrit terms and
      standard Chinese. </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_13">
      <fo:inline font-weight="bold" >Stage 4</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_14">Production of a complete
      Chinese     version by a senior native Chinese Buddhist monk
      trained to undertake     scripture translation. This is the most
      important stage in the entire     process and it must be
      undertaken by a monk with an in-depth knowledge of     Chinese
      culture and language. </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_15">
      <fo:inline font-weight="bold" >Stage 5</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_16">Refinement of sentence
      structure of     the complete Chinese version. This is a necessary
      stage because of the     vast linguistic differences between the
      source and target language. </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_17">
      <fo:inline font-weight="bold" >Stage 6</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_18">Reverse translation of the
      Chinese     version into Sanskrit in order to verify the accuracy
      of the     interpretation of the original text. Mistakes in
      interpretation are to be     promptly rectified in the Chinese version. 
</fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_19">
      <fo:inline font-weight="bold" >Stage 7</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_20">Review of the verified
      Chinese     version to identify errors in character usage, and
      refinement of     linguistic expressions to improve readability. 
</fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_21">
      <fo:inline font-weight="bold" >Stage 8</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_0">Further polishing to improve
      the     literary beauty of the language and adding colours to the
      otherwise     monotonous writings. </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_22">
      <fo:inline font-weight="bold" >Stage 9</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_23">Verification of the audio
      quality     by reciting the translation aloud. The audio effect is
      important because     scriptures are meant for preaching to an audience. 
</fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_24">
      <fo:inline font-weight="bold" >Stage 10</fo:inline>
     </fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_25">Final check by the Master   
  Translator. </fo:block>
<fo:block padding-start="1mm" padding-end="1mm" font-family="Times" 
font-size="15pt" text-align="left" border-color="gray" border-style="solid" 
border-top-width="0mm" border-bottom-width="0mm" border-left-width="0mm" 
border-right-width="0mm" id="ID-2" color="#000000" start-indent="0mm"  
end-indent="30mm"  background-color="#ccffcc" space-after="2mm" 
space-before="2mm">Conclusion</fo:block>
<fo:block  font-family="Times" font-size="10pt" line-height="12pt"  
text-align="justify" space-after="2mm" id="para_27">Xuan Zang did a great job in
      the     translation of the Buddhist sutras. He was able to excel
      not only was he     an outstanding linguist but also he was
      wholeheartedly committed to the     task as a devoted Buddhist
      with an extraordinary understanding of its     contents. Indeed,
      he dedicated thirteen years of his life to the task. And     the
      task was not simply transforming one language into another. In
      order     to effectively spread Buddhism, the sutras in Chinese
      would have to be     understood by the Chinese devotees. In other
      words, he had to take into     account the marketplace. Was it
      intended for the gentry for whom Buddhism     depended for their
      financial support or was it for the less literate     general
      populace to widen market share or was it for both? </fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to