View Single Post
Old 11-09-2014, 02:11 PM   #7
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
Using my addTex patch I encountered file names such as:
Code:
"What's up?": case #01... summary! .txt
which disabled Sigil's ability to generate functioning TOC: TOC was generated but did not function. I had to change manually file name in Book Browser section.
So after n-th case I did it: for internal Sigil use the characters in a file name are sanitized to posix portable subset, all the others are replaced with _ .
So much for not working on this patch anymore...
Uploaded new version to original post.

EDIT: Being a known file name freak I try to preserve as much as possible of an original name. So, for the case above, you will see in Text section:
Code:
_What_s_up____case__01..._summary__.xhtml

Last edited by varlog; 11-09-2014 at 02:53 PM.
varlog is offline   Reply With Quote