PERFORCE change 155019 for review
Gabor Pali
pgj at FreeBSD.org
Fri Dec 19 08:35:04 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=155019
Change 155019 by pgj at kolbasz on 2008/12/19 16:34:40
Add Hungarian translation of chapter "Using sgml-mode in Emacs"
from FDP Primer
Affected files ...
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/fdp-primer/psgml-mode/chapter.sgml#2 edit
Differences ...
==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/fdp-primer/psgml-mode/chapter.sgml#2 (text+ko) ====
@@ -31,108 +31,165 @@
-->
<!-- The FreeBSD Hungarian Documentation Project
+ Translated by: PALI, Gabor <pgj at FreeBSD.org>
%SOURCE% en_US.ISO8859-1/books/fdp-primer/psgml-mode/chapter.sgml
%SRCID% 1.10
-->
<chapter id="psgml-mode" lang="hu">
- <title>Using <literal>sgml-mode</literal> with
- <application>Emacs</application></title>
-
- <para>Recent versions of <application>Emacs</application> or <application>XEmacs</application> (available from the ports
- collection) contain a very useful package called PSGML. Automatically
- invoked when a file with the <filename>.sgml</filename> extension is loaded,
- or by typing <command>M-x sgml-mode</command>, it is a major mode for
- dealing with SGML files, elements and attributes.</para>
+ <title>Az <literal>sgml-mode</literal> használata az
+ <application>Emacs</application>
+ szövegszerkesztõben</title>
+
+ <para>Az <application>Emacs</application> és
+ <application>XEmacs</application> újabb változataihoz
+ tartozik egy <literal>psgml</literal> nevû, nagyon hasznos
+ csomag (a Portgyûjteménybõl a <filename
+ role="package">editors/psgml</filename> portból
+ telepíthetjük fel). Ez a
+ kiegészítés vagy az <filename>.sgml</filename>
+ állományok megnyitásakor töltõdik be
+ automatikusan, vagy pedig az <command>M-x sgml-mode</command>
+ parancs begépelésével.
+ Általánosságban véve ez az SGML
+ állományok és a bennük
+ található elemek és tulajdonságok
+ szerkesztésére alkalmas mód.</para>
- <para>An understanding of some of the commands provided by this mode can
- make working with SGML documents such as the Handbook much easier.</para>
+ <para>Az alábbiakban bemutatunk néhány olyan
+ alapvetõ parancsot ebben a módban, amelyekkel
+ könnyebbé válik a különbözõ
+ SGML dokumentumok, többek közt a kézikönyv
+ szerkesztése.</para>
<variablelist>
<varlistentry>
<term><command>C-c C-e</command></term>
-
+
<listitem>
- <para>Runs <literal>sgml-insert-element</literal>. You will be
- prompted for the name of the element to insert at the current point.
- You can use the TAB key to complete the element. Elements that are
- not valid at the current point will be disallowed.</para>
+ <para>Meghívja az
+ <function>sgml-insert-element</function> függvényt.
+ Ekkor meg kell adnunk az adott pontra beillesztendõ elem
+ nevét. Itt a <keycap>Tab</keycap>
+ lenyomásával kérhetjük a név
+ kiegészítését, az adott ponton
+ érvénytelen elemek neveit ilyenkor nem
+ érhetjük el.</para>
- <para>The start and end tags for the element will be inserted. If the
- element contains other, mandatory, elements then these will be
- inserted as well.</para>
+ <para>A szövegbe ekkor bekerülnek az elemhez
+ tartozó kezdõ- és
+ zárócímkék. Amennyiben az elemhez
+ még tartoznak más egyéb
+ kötelezõ elemek is, akkor egyúttal ezek is
+ beszúródnak.</para>
</listitem>
</varlistentry>
-
+
<varlistentry>
<term><command>C-c =</command></term>
-
+
<listitem>
- <para>Runs <literal>sgml-change-element-name</literal>. Place the
- point within an element and run this command. You will be prompted
- for the name of the element to change to. Both the start and end
- tags of the current element will be changed to the new
- element.</para>
+ <para>Meghívja az
+ <function>sgml-change-element-name</function>
+ függvényt. A parancs használatához
+ álljunk a módosítandó elembe. A
+ végrehajtáshoz meg kell még adnunk azt
+ is, hogy mire akarjuk átírni az elem
+ nevét. Ezután az érintett elem
+ kezdõ- és zárócímkéi
+ lecserélõdnek.</para>
</listitem>
</varlistentry>
-
+
<varlistentry>
<term><command>C-c C-r</command></term>
-
+
<listitem>
- <para>Runs <literal>sgml-tag-region</literal>. Select some text (move
- to start of text, C-space, move to end of text, C-space) and then
- run this command. You will be prompted for the element to use. This
- element will then be inserted immediately before and after your
- marked region.</para>
+ <para>Meghívja az <function>sgml-tag-region</function>
+ függvényt. A használatához
+ elõször jelöljük ki a szöveg egy
+ részét (vigyük a kurzort a
+ kijelölés kezdetéhez, adjuk ki a
+ <command>C-space</command> billentyûparancsot, vigyük a kurzort a
+ kijelölés végéhez és
+ ismét adjuk ki a <command>C-space</command> parancsot).
+ Ezután meg kell adnunk még a bejelölt
+ rész jelöléséhez használni
+ kívánt elemet. Ennek
+ eredményeképpen végül a
+ kijelölt szakasz elejére és
+ végére bekerül az adott elem kezdõ-
+ és zárócímkéje.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>C-c -</command></term>
-
+
<listitem>
- <para>Runs <literal>sgml-untag-element</literal>. Place the point
- within the start or end tag of an element you want to remove, and
- run this command. The element's start and end tags will be
- removed.</para>
+ <para>Meghívja az <function>sgml-untag-element</function>
+ függvényt. Álljunk a kurzorral az
+ eltávolítani kívánt elem
+ kezdõ- vagy
+ zárócímkéjére és
+ adjuk ki a parancsot. Ekkor az elem kezdõ- és
+ zárócímkéi törlésre
+ kerülnek.</para>
</listitem>
</varlistentry>
-
+
<varlistentry>
<term><command>C-c C-q</command></term>
-
+
<listitem>
- <para>Runs <literal>sgml-fill-element</literal>. Will recursively fill
- (i.e., reformat) content from the current element in. The filling
- <emphasis>will</emphasis> affect content in which whitespace is
- significant, such as within <sgmltag>programlisting</sgmltag>
- elements, so run this command with care.</para>
+ <para>Meghívja az <function>sgml-fill-element</function>
+ függvényt. Ennek hatására az elem,
+ amelyben állunk a kurzorral rekurzívan
+ feldolgozásra kerül (például
+ újraformázódik). Ez a
+ változtatás a tördelést is
+ érinteni <emphasis>fogja</emphasis>, tehát
+ például még
+ <sgmltag>programlisting</sgmltag> elemek esetében is.
+ Ezért mindig csak körültekintéssel
+ alkalmazzuk!</para>
</listitem>
</varlistentry>
-
+
<varlistentry>
<term><command>C-c C-a</command></term>
-
+
<listitem>
- <para>Runs <literal>sgml-edit-attributes</literal>. Opens a second
- buffer containing a list of all the attributes for the closest
- enclosing element, and their current values. Use TAB to navigate
- between attributes, <command>C-k</command> to remove an existing
- value and replace it with a new one, <command>C-c C-c</command>
- to close this buffer and return to the main document.</para>
+ <para>Meghívja az
+ <function>sgml-edit-attributes</function> függvényt.
+ Ekkor a legközelebbi befoglaló elemhez
+ megnyílik egy másik szerkesztési
+ pufferben az összes hozzátartozó
+ tulajdonság, értékekkel együtt. Itt
+ a <keycap>Tab</keycap> lenyomásával tudunk
+ lépkedni az egyes elemek között, a
+ <command>C-k</command> paranccsal lecserélni egy
+ meglevõ értéket egy újra, illetve a
+ <command>C-c C-c</command> paranccsal bezárni a puffert
+ és visszatérni az eredeti dokumentum
+ szerkesztéséhez.</para>
</listitem>
</varlistentry>
-
+
<varlistentry>
<term><command>C-c C-v</command></term>
-
+
<listitem>
- <para>Runs <literal>sgml-validate</literal>. Prompts you to save the
- current document (if necessary) and then runs an SGML validator. The
- output from the validator is captured into a new buffer, and you can
- then navigate from one troublespot to the next, fixing markup errors
- as you go.</para>
+ <para>Meghívja az <function>sgml-validate</function>
+ függvényt. Felajánlja a jelenleg megnyitott
+ dokumentum mentését (amennyiben
+ szükséges) és ellenõrzi az SGML
+ szabvány szerinti
+ érvényességét. A vizsgálat
+ eredménye egy új pufferbe kerül, ahol
+ szépen sorban végig tudjuk nézni az
+ összes hibát és javítani ezeket
+ menet közben.</para>
</listitem>
</varlistentry>
@@ -140,18 +197,23 @@
<term><command>C-c /</command></term>
<listitem>
- <para>Runs <literal>sgml-insert-end-tag</literal>. Inserts the
- end tag for the current open element.</para>
+ <para>Meghívja az
+ <function>sgml-insert-end-tag</function>
+ függvényt. Bezárja a kurzor elõtt
+ megkezdett elemet.</para>
</listitem>
</varlistentry>
</variablelist>
-
- <para>Doubtless there are other useful functions of this mode, but those are
- the ones I use most often.</para>
+
+ <para>Nyilvánvalóan ebben a módban még
+ vannak további hasznos funkciók, de az
+ említetteket használják a leggyakrabban.</para>
- <para>You can also use the following entries in
- <filename>.emacs</filename> to set proper spacing, indentation,
- and column width for working with the Documentation Project.</para>
+ <para>A Dokumentációs Projekten belüli
+ munkához az <filename>.emacs</filename>
+ állományban a következõ bejegyzéseket
+ érdemes megadni a megfelelõ tördeléshez,
+ elrendezéshez és sorszélességhez:</para>
<programlisting>
(defun local-sgml-mode-hook
@@ -165,10 +227,8 @@
(add-hook 'psgml-mode-hook
'(lambda () (local-psgml-mode-hook)))
</programlisting>
-
</chapter>
-
<!--
Local Variables:
mode: sgml
More information about the p4-projects
mailing list