diff options
Diffstat (limited to 'documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc')
-rw-r--r-- | documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc | 109 |
1 files changed, 65 insertions, 44 deletions
diff --git a/documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc b/documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc index 2ea81b0e3f..ee77a0124c 100644 --- a/documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc +++ b/documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc @@ -1,9 +1,12 @@ --- description: 'Rosetta Stone com as diferenças entre Docbook e AsciiDoc' next: books/fdp-primer/translations +path: "/books/fdp-primer/rosetta/" prev: books/fdp-primer/asciidoctor-primer -tags: '["rosetta", "docbook", "asciidoc", "comparison"]' +showBookMenu: 'true' +tags: ["rosetta", "docbook", "asciidoc", "comparison"] title: 'Capítulo 7. Rosetta Stone' +weight: 8 --- [[rosetta]] @@ -14,17 +17,35 @@ title: 'Capítulo 7. Rosetta Stone' :icons: font :sectnums: :sectnumlevels: 6 +:sectnumoffset: 7 +:partnums: :source-highlighter: rouge :experimental: -:skip-front-matter: -:xrefstyle: basic -:relfileprefix: ../ -:outfilesuffix: -:sectnumoffset: 7 -:toc-title: Índice -:table-caption: Tabela +:images-path: books/fdp-primer/ +ifdef::env-beastie[] +ifdef::backend-html5[] +:imagesdir: ../../../../images/{images-path} +endif::[] +ifndef::book[] +include::shared/authors.adoc[] +include::shared/mirrors.adoc[] +include::shared/releases.adoc[] +include::shared/attributes/attributes-{{% lang %}}.adoc[] +include::shared/{{% lang %}}/teams.adoc[] +include::shared/{{% lang %}}/mailing-lists.adoc[] +include::shared/{{% lang %}}/urls.adoc[] toc::[] +endif::[] +ifdef::backend-pdf,backend-epub3[] +include::../../../../../shared/asciidoctor.adoc[] +endif::[] +endif::[] + +ifndef::env-beastie[] +toc::[] +include::../../../../../shared/asciidoctor.adoc[] +endif::[] [[docbook-vs-asciidoc]] == Comparação entre Docbook e AsciiDoc @@ -34,57 +55,57 @@ Esta rosetta stone tenta mostrar as diferenças entre Docbook e AsciiDoc. .Comparação entre Docbook e AsciiDoc [cols="1,4,4"] |=== -|Language Feature |Docbook | AsciiDoc +|Recurso da Linguagem |Docbook | AsciiDoc -|*Bold* +|*Negrito* |<strong>bold</strong> |\*bold* -|*Italic* +|*Itálico* |<emphasis>Italic</emphasis> |\_Italic_ -|*Monospace* +|*Monoespaço* |<literal>Monospace</literal> |\`Monospace` -|*Paragraph* +|*Parágrafo* |<para>This is a paragraph</para> |This is a paragraph -|*Keycap* +|*Teclado* |<keycap>F11</keycap> |\kbd:[F11] |*Links* -a| +a| [source,xml] ---- <link xlink:href="https://www.freebsd.org/where/">Download FreeBSD</link> ---- -a| +a| [source] ---- link:https://www.freebsd.org/where/[Download FreeBSD] ---- -|*Sections* -a| +|*Seções* +a| [source,xml] ---- <sect1 xml:id="id"> <title>Section 1</title> </sect1> ---- -a| +a| [source] ---- [[id]] = Section 1 ---- -|*Unordered list* -a| +|*Lista não ordenada* +a| [source,xml] ---- <itemizedlist> @@ -97,15 +118,15 @@ a| </listitem> </itemizedlist> ---- -a| +a| [source] ---- * When to build a custom kernel. * How to take a hardware inventory. ---- -|*Ordered list* -a| +|*Lista ordenada* +a| [source,xml] ---- <orderedlist> @@ -123,7 +144,7 @@ a| </listitem> </orderedlist> ---- -a| +a| [source] ---- . One @@ -132,8 +153,8 @@ a| . Four ---- -|*Variable list* -a| +|*Lista de variáveis* +a| [source,xml] ---- <variablelist> @@ -145,22 +166,22 @@ a| </varlistentry> </variablelist> ---- -a| +a| [source] ---- amd64:: This is the most common desktop... ---- -|*Source code* -a| +|*Código fonte* +a| [source,xml] ---- <screen> &prompt.root; <userinput>mkdir -p /var/spool/lpd/lp</userinput> </screen> ---- -a| +a| [source] .... [source,shell] @@ -169,8 +190,8 @@ a| ---- .... -|*Literal block* -a| +|*Bloco literal* +a| [source,xml] ---- <programlisting> @@ -183,7 +204,7 @@ options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT </programlisting> ---- -a| +a| [source] ---- .... @@ -197,8 +218,8 @@ options IPDIVERT .... ---- -|*Images* -a| +|*Imagens* +a| [source,xml] ---- <figure xml:id="bsdinstall-newboot-loader-menu"> @@ -219,7 +240,7 @@ a| </mediaobject> </figure> ---- -a| +a| [source] ---- [[bsdinstall-newboot-loader-menu]] @@ -229,14 +250,14 @@ image::bsdinstall/bsdinstall-newboot-loader-menu[The FreeBSD loader menu, with o |*Includes* |n/a -a| +a| [source] ---- \include::chapter.adoc[] ---- -|*Tables* -a| +|*Tabelas* +a| [source,xml] ---- <table xml:id="partition-schemes" frame="none" rowsep="1" pgwide="1"> @@ -259,7 +280,7 @@ a| </tgroup> </table> ---- -a| +a| [source] ---- [[partition-schemes]] @@ -275,15 +296,15 @@ a| \|=== ---- -|*Admonitions* -a| +|*Advertências* +a| [source,xml] ---- <tip> <para>This is a tip</para> </tip> ---- -a| +a| [source] ---- [TIP] |