Disable RTF globally


(Frederic MARTIN) #1

Dears

since Tinderbox is markdown enabled, i am turning to “Markdown only” notes.
Nevertheless, I have noted in the resulting XML file that each note’s text is “compiled” into RTF and stored in the file ( tags)

This is useless for me, and pollutes the XML for something I don’t need.
Hence my question: is it possible to disable RTF totally in a tinderbox document ?

Rgds
Frederic


(eastgate) #3

I don’t think that the presence of tags you don’t use “pollutes” the XML.

Indeed, my understanding of Tim Bray’s approach to defining XML in the first place was that XML processors need not handle tags with which they are not concerned; XML provides a straightforward and disciplined way to delimit information with which some processors will be uninterested, and lets them ignore that information without needing to parse that information or know anything at all about it.

If you like, you can use XSLT or any other XML processor to remove unwanted RTF tags. I think Tinderbox will handle this gracefully, though I’m sure that’s untested. As you will read in The Tinderbox Way, however, the decreasing cost of storage suggests that the time you spend doing this may not be theist investment.


(Frederic MARTIN) #4

Hi

Thanks for the feedback - I might give it a try some day, but as you said it might not be worth spending time on this…

Regards.