
jana said:
How about italics in the rendered text instead of the ugly underscores?
well, yes, i did say the .html conversion was still crude... i've appended the complete conversion routine currently. to do the italics would take this: h=replaceall(h," _"," <i>") h=replaceall(h,chr(10)+"_",chr(10)+"<i>") h=replaceall(h,"_ ","</i> ") h=replaceall(h,"_"+chr(10),"</i>"+chr(10)) however, this only works because i know that i've used whitespace in a certain way around the italics markers, and it might not be robust with respect to other usages. also, this might conflict with other parts of the converter, so we need to do close examination to see if that happens. in the end, these reg-ex type changes are _not_ the best way to do the conversion. it takes a serious line-by-line analysis. but in order to get something up quickly, i'm doing this now.
How about using _any other_ font for the body text? Please? Why not leave it at the user's default rather than force something as ugly as Comic Sans?
personally, i love comic sans. :+) plus it's entertaining to see other people squirm at it. but here's the line from the stylesheet.
font-family: "Comic Sans MS","Lucida Sans Unicode", "Lucida Grande","Verdana",sans-serif;
tell me how you want me to change it, and i will. and eventually, we'll let the user decide the font, using any font on their machine.
How about real em-dashes instead of double-hyphens?
h=replaceall(h,"--",chr(209))
How about curly quotes?
h=replaceall(h," "+chr(34)," "+chr(210)) h=replaceall(h,chr(10)+chr(34),chr(10)+chr(210)) h=replaceall(h,chr(34)+" ",chr(211)+" ") h=replaceall(h,chr(34)+chr(10),chr(210)+chr(10))
How about links from the table of contents to the chapters?
that's a little bit more complex. but doable. still, let's save that for sometime next week...
It doesn't help me much that I've found some text when I still have to read through the whole chapter to actually find the passage I'm looking for.
i would say you seem to have forgotten the fact that you can just use the search function in your browser. the app finds a page which contains the search-term, and the browser tells you where on the page it exists. it is a bit clumsy, but not as bad as you made it sound.
How about jumping to the right spot in the chapter after the search?
that would be very difficult. we'd have to put an anchor in the text. ok, i guess that's not really difficult at all... sometime next week for that.
Or highlighting the text somehow?
that's very doable. we'll do that first. also next week.
Why does it only sometimes save my changes? I had to edit the dedication twice to have it pick up my changes.
i dunno. did you hit "save" both times? did you get the message confirming that the file had actually been saved? as i said, sometimes the response-time can be sluggish... perhaps you simply didn't wait long enough the first time?
Jana
thanks for your input. collaboration isn't hard at all, is it? -bowerbird p.s. might wanna save multiple points for multiple days; no harm going slow, but we don't want to get burned out. p.p.s. here is the current text-to-html conversion routine... h=session.gc(x) h=replacelineendings(h,chr(10)) h=trim(h) h="<h2>"+h h=replaceall(h,chr(10)+" ",chr(10)+"<br /> ") h=replaceall(h,chr(10)+chr(10),chr(10)+"</p><p>"+chr(10)) h=replace(h,chr(10)+"</p><p>"+chr(10),"</h2>"+chr(10)+"<p><br />") h=replaceall(h,"</p><p><br />","<br />") h=replaceall(h,chr(10)+" ",chr(10)+"________________") h=replaceall(h,chr(10)+" ",chr(10)+"_______________") h=replaceall(h,chr(10)+" ",chr(10)+"______________") h=replaceall(h,chr(10)+" ",chr(10)+"_____________") h=replaceall(h,chr(10)+" ",chr(10)+"____________") h=replaceall(h,chr(10)+" ",chr(10)+"___________") h=replaceall(h,chr(10)+" ",chr(10)+"__________") h=replaceall(h,chr(10)+" ",chr(10)+"_________") h=replaceall(h,chr(10)+" ",chr(10)+"________") h=replaceall(h,chr(10)+" ",chr(10)+"_______") h=replaceall(h,chr(10)+" ",chr(10)+"______") h=replaceall(h,chr(10)+" ",chr(10)+"_____") h=replaceall(h,chr(10)+" ",chr(10)+"____") h=replaceall(h,chr(10)+" ",chr(10)+"___") h=replaceall(h,chr(10)+" ",chr(10)+"__") h=topmatter.text+h+chr(10)+chr(10)+"</p></body></html>"
participants (1)
-
Bowerbird@aol.com