- Joined
- Dec 23, 2008
- Messages
- 4,979
- Solutions
- 8
- Reaction score
- 18
- Trophies
- 1
- Website
- Visit site
- XP
- 232
- Country

Mr.Mysterio said:So, have you tried it?
Does it convert txt to xhtml correctly?I just tested it... and no, it doesn't![]()
DSLibris gives a (quick) error of Not Well Formed.
Here's the results of txt2xht:CODE
ÂÂ
ÂÂ
ÂÂTest
ÂÂ
ÂÂ
ÂÂTEST FILE
TEST TEXT
ÂÂ
ÂÂ
And here's a proper XHT file:CODE
ÂÂÂÂ@page { size: 8.5inch 11inch; margin-top: 0.7874inch; margin-bottom: 0.7874inch; margin-left: 0.7874inch; margin-right: 0.7874inch }
ÂÂÂÂtable { border-collapse:collapse; border-spacing:0; empty-cells:show }
ÂÂÂÂtd, th { vertical-align:top; }
ÂÂÂÂh1, h2, h3, h4, h5, h6 { clear:both }
ÂÂÂÂol, ul { padding:0; }
ÂÂÂÂ* { margin:0; }
ÂÂÂÂ*.Caption { font-family:'Times New Roman'; font-size:12pt; margin-top:0.0835in; margin-bottom:0.0835in; font-style:italic; }
ÂÂÂÂ*.Heading { font-family:Arial; font-size:14pt; margin-top:0.1665in; margin-bottom:0.0835in; }
ÂÂÂÂ*.Index { font-family:'Times New Roman'; font-size:12pt; }
ÂÂÂÂ*.List { font-family:'Times New Roman'; font-size:12pt; margin-top:0in; margin-bottom:0.0835in; }
ÂÂÂÂ*.PreformattedText { font-family:'Courier New'; font-size:10pt; margin-top:0in; margin-bottom:0in; }
ÂÂÂÂ*.Standard { font-family:'Times New Roman'; font-size:12pt; }
ÂÂÂÂ*.Textbody { font-family:'Times New Roman'; font-size:12pt; margin-top:0in; margin-bottom:0.0835in; }
ÂÂÂÂTEST FILE[/p]TEST TEXT[/p]
I'm still getting the hang of it, but calibre seems to be the best app to convert files to work with DSLibris... the epub files seem to work really well (but calibre is somewhat slow and doesn't want to organize the files how I like).






