on groff i've used this cmd to format the text
groff -Tascii < normal.txt | sed 's/^/ /'$1 > formatted.txt
on nroff what would be the cmd?
On Jun 12, 2012, at 4:44 AM, Polytropon wrote:
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<pwnedom...@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, ...
---
JID:ipwn#cih.ms
HP:ipwn.altervista.org
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"