View Single Post
Old 11-07-2007, 05:57 PM   #72
bowerbird
Banned
bowerbird has been very, very naughtybowerbird has been very, very naughtybowerbird has been very, very naughty
 
Posts: 269
Karma: -273
Join Date: Sep 2006
Location: los angeles
sartori said:
> So some more questions if you don't mind

i don't mind a bit. that's why i'm here, to discuss...


> When you receive an error notification do you just
> update the master file then regenerate the paged version?
> or vice-versa? or for small updates
> do you just make the change in both versions?

if you go to the directory now, you'll see a bunch of files:
> http://z-m-l.com/go/myant/
including all of the .html files to which i've been linking...
the .html files were generated in a batch from the master.

but eventually, all the separate .html files will disappear.

they'll be replaced by a script which intercepts links like this:
> http://z-m-l.com/go/myant/myantp061.html
and creates that .html file on-the-fly...

so yes, any correction will be made to the master, after which
the script will include it when it builds the .html file next time.


> On page 61 (http://z-m-l.com/go/myant/myantp061.html)
> I noticed that a few words are hyphenated across lines.
> On your master view the words are correctly joined
> (tea-kettle & followed).

um, as far as i can tell, you're mistaken. here's the master:
> http://z-m-l.com/go/myant/myant.zml

what i see there, in the master, is this:
> Peter shuffled to his feet, caught up the tea-
> kettle and mixed him some hot water and
> whiskey. The sharp smell of spirits went
> through the room.
>
> Pavel snatched the cup and drank, then
> made Peter give him the bottle and slipped
> it under his pillow, grinning disagreeably,
> as if he had outwitted some one. His eyes fol-
> lowed Peter about the room with a contempt-
> uous, unfriendly expression. It seemed to
> me that he despised him for being so simple
> and docile.

do you really see something different? if so, that's a mystery...


> Were these manually corrected or automated?
> If automated did it correctly catch tea-kettle should keep its' hyphen?

not all of the example-files that i have up are correct on this point yet,
but they'll be marked as to whether an end-line hyphen is kept or not...

so, if "tea-kettle" -- with the dash -- is the form used in this book
(when the word is mid-sentence), then the master will look like this:
> Peter shuffled to his feet, caught up the tea-@
> kettle and mixed him some hot water and
(i haven't decided if we'll use the at-sign, but you get the idea.)

on the other hand, if this book uses "teakettle", the master will say:
> Peter shuffled to his feet, caught up the tea-
> kettle and mixed him some hot water and

(for the record, this book does indeed use "tea-kettle" in the one
other instance where the word occurs. in the cases where there is
no other use of an end-line hyphenate, we consult the dictionary.
when there is inconsistency within a book, we edit to consistency.)


> I'm not sure if z.m.l. is the way I want to go with my formatting but
> I'm still at the early stages of formatting so I'm just checking out options

i definitely suggest light-markup. "markdown" is the current favorite,
if you want broad support. my tool-change is approaching coherence,
so you could get the job done, but markdown gives you more reliability.
google "showdown" and "markdown" for an interesting real-time demo:
> http://www.attacklab.net/showdown-gui.html

-bowerbird
bowerbird is offline   Reply With Quote