Go back to previous page
Forum URL: http://www.eyrie-productions.com/Forum/dcboard.cgi
Forum Name: Undocumented Features General
Topic ID: 2086
Message ID: 9
#9, RE: Road Film With Fighting Repost
Posted by Sofaspud on Apr-14-10 at 08:40 PM
In response to message #8
Gryphon:
Yes, the credits get pretty munged -- as do all of the trickier ASCII-art-like bits you did in the Core stories. The one that sticks out most in my mind is the huge NOTHING HAPPENED! (the Wedge windows rattled)

Fortunately, sir, you have the lovely habit of using tabs to open your paragraphs. Well, eight spaces, at any rate.

bmfrosty:
I use TextPad, which does not come with a built-in converter, but -does- support find-and-replace. Because Gryph keeps everything so tidy, I can typically rely on a newline followed by 8 spaces being the start of a new paragraph. Therefore, I just search-and-replace on that with the following replacement text: </p>\n<p>

This is not particularly elegant, but because of the way HTML is rendered in every browser I use (ie, it ignores extraneous newlines) I don't have to try and un-wrap the text; I just need to put <p> tags in the appropriate places.

This kills the center-formatting -- though if I cared about that I could put in a test for, say, 16 spaces and replace that with a <p align="center"> or whatever. And it trashes the text tables in the credits, though again, if I was concerned about that I'd look at using a table-to-html converter macro that TextPad supports (on their website).

All in all, though, it comes out surprisingly well as plain ol' HTML, which I can then read in my browser or pipe into whatever if I feel the need to convert it to an ebook.

TextPad isn't the only option; Notepad++ can do the same trick, as can any (I imagine) reasonably powerful text editor.

--sofaspud
--