[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:misc:how-to_translate_a_document_in_asciidoc_format [2014/01/01 12:44 (UTC)] – [Recommendations] didierspaierhowtos:misc:how-to_translate_a_document_in_asciidoc_format [2014/01/01 12:47 (UTC)] – [Check the rendering of your translation] didierspaier
Line 29: Line 29:
  
 ==== Preserve the markup ==== ==== Preserve the markup ====
-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 isif 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
 howtos:misc:how-to_translate_a_document_in_asciidoc_format ()