Enjoy Slackware 15.0!

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
howtos:misc:how-to_translate_a_document_in_asciidoc_format [2014/01/01 12:45 (UTC)]
didierspaier [Preserve the markup]
howtos:misc:how-to_translate_a_document_in_asciidoc_format [2014/01/01 12:47 (UTC)]
didierspaier [Check the rendering of your translation]
Line 31: Line 31:
 Be careful to preserve the markup as is, if you are not sure of the syntax. For instance, adding or removing spaces or "newline" characters can have unexpected effects. Here are a few examples : Be careful to preserve the markup as is, if you are not sure of the syntax. For instance, adding or removing spaces or "newline" characters can have unexpected effects. Here are a few examples :
   * Beginning a paragraph with a space will generate a 'literal paragraph' displayed with a specific font   * Beginning a paragraph with a space will generate a 'literal paragraph' displayed with a specific font
-  * '= some text' will generate a level 0 header (document title), but only if '=' is the first character of the line, there is a space after it and it'there is a blank line before+  * '= some text' will generate a level 0 header (document title), but only if '=' is the first character of the line, there is a space after it and there is a blank line before.
   * ' +' appended to a line will generate a 'line break' only if there is space before the '+', that should be the last character of the line    * ' +' appended to a line will generate a 'line break' only if there is space before the '+', that should be the last character of the line 
  
Line 40: Line 40:
 ==== Check the rendering of your translation ==== ==== Check the rendering of your translation ====
  
-If you translate using a text editor, just issue an 'asciidoc' command then display the generated file and compare it with the genuine one. For instance, assuming that your translation of genuine.txt is translation.txt:+If you translate using a text editor, just issue an ''asciidoc'' command then display the generated file and compare it with the genuine one. For instance, assuming that your translation of genuine.txt is translation.txt:
   asciidoc genuine.txt   asciidoc genuine.txt
   asciidoc translation.txt   asciidoc translation.txt

In Other Languages
QR Code
QR Code howtos:misc:how-to_translate_a_document_in_asciidoc_format (generated for current page)