Date: Tue, 12 Jun 2012 05:44:31 +0200 From: Polytropon <freebsd@edvax.de> To: pwnedomina <pwnedomina@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: text format Message-ID: <20120612054431.b630e37a.freebsd@edvax.de> In-Reply-To: <4FD6A057.2070101@gmail.com> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <CAHieY7TxEGJzEcmccXnq_mP8zwmXtVOnCHYPXfs0VMspA5MQ1Q@mail.gmail.com> <4FD6A057.2070101@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Jun 2012 01:50:15 +0000, pwnedomina wrote: > On 11-06-2012 23:40, Alejandro Imass wrote: > > On Mon, Jun 11, 2012 at 5:57 PM, i pwn<pwnedomina@gmail.com> wrote: > >> hi, sometime ago i asked a question about how to format a text, some people > >> told me to use groff, but i would like to know how was file > >> http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt > >> fomatted. > >> thanks in advance. > > Most probably nroff / groff > > > > Take a look at the info from the authoring tools at rfceditor: > > > > http://www.rfc-editor.org/formatting.html > > > *formatted. > i've downloaded NroffEdit but when i open the ASCII text i want to > convert/format, it says "Not a valid nroff I-D" > what should i do? Erm, you did open the output file (as pointed to), _not_ the source file? You're trying to "edit text in a document you've scanned". :-) The output text can be edited with any text editor (vi, emacs, joe, mcedit, whichever is your favourite), but it will be kept in this format as it _has been_ generated that way (past tense). In order to change formatting, you need the SOURCE file with the macros. (Compare: HTML files rendered by browser: output looks different than input; to change it, you need to edit the HTML source.) You can compare that to editing a man page: You need the page's source (like found in /usr/src/share/examples/mdoc/example.1). The text's SOURCE file would have looked similarly I assume. THAT is the input format you need for the "NroffEdit" WYSIWYG "text" editor. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120612054431.b630e37a.freebsd>