[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] p tags in docs
Hi Anders,
great that you are looking into this!
I guess we could call the script in OSX to act on the file after saving as HTML?
sincerely,
Marije
PS, if you can find a trick to stop w3m of putting in line breaks in
lines that overflow the window width (truncate lines), that would be
brilliant. I believe your lisp-knowledge is better than mine...
On 12/17/08, andersvi@xxxxxxxxxxxxx <andersvi@xxxxxxxxxxxxx> wrote:
> >>
> >> A related question, which is just a matter of style, is the
> >> apple-editor the reason why code-portions arent put inside nice
> >> css'ed <pre> blocks as well?
> >>
> >>
> >>
> j> I suppose because of syntax colorization. Indeed it would be
> j> great if there were a way to have all code in a <pre> tag or a
> j> <code> tag, if there were a way to get a browser to colorize it
> j> then.
>
> The coloring isn't a problem. afaik you can put as much bells'n
> whistles you want (at least spans with colors etc) inside pre blocks as
> well. Automatic translation would take some thinking though.
>
> Ive run through all the html-files ive found inside Html with a sed
> script, and looked at a few of them from some SC_Help:w3m buffer, they
> look much better now. Ill see if i can upload an archive to a webpage.
> Check http://www.notam02.no/~andersvi/SC-Help-files.tar.bz2 in a while.
>
> Im not sure how various developers generate the html which gets
> included, but i guess a translation-script could be handy for others as
> well. This script only substitutes the p-tags for now.
>
> Using <pre>'s (difficult?) and changing the Helper class (easy) comes
> later. See comments to begin with for applying to a directory-tree (ie
> build//Help):
>
>
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/