All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scripts.create_distribute.dtb.DTBookToDaisy3TextOnlyDTB.taskScript Maven / Gradle / Ivy

The newest version!


    DAISY XML (DTBook) to DAISY 3 Text-Only DTB [BETA]
    Converts a DAISY XML document (DTBook 2005) to a  Z39.86-2005 text-only DTB fileset.
    Applies validation, normalization and sentence detection passes to the DTBook input.
    

    
        Input DTBook file
        Select the input DTBook file (Z39.86-2005 textual content file)
        
            
        
    

    
        Output directory
        Select the directory for the output text-only DTB
        
            
        
    
    
    
		DTBook Fix
		Select whether to apply DTBook Fix routines
		
			
				
				
			
		
	

    
	
		
			input
			${input}
		

		
			output
			${outputPath}/temp/dtbookFix.xml
		

		
			runCategories
			${dtbookFix}
		
		
		
			simplifyHeadingLayout
			false
		

		
			forceRun
			false
		
		
		
			renameIllegalFilenames
			true
		
	
	
    
    
        
            input
            ${outputPath}/temp/dtbookFix.xml
        
        
            schemas
            -//TPB//SCH dtbook 2005 Narrator//EN
        
    

    
    
        
            input
            ${outputPath}/temp/dtbookFix.xml
        
        
            output
            ${outputPath}/temp/dtbookSentence.xml
        
        
            doAbbrAcronymDetection
            false
        
        
            doWordDetection
            false
        
        
            copyReferredFiles
            true
        
    

    
    
        
            input
            ${outputPath}/temp/dtbookSentence.xml
        
        
            output
            ${outputPath}/temp/$safeFilenameNoExt{input}.xml
        
    

    
    
        
            input
            ${outputPath}/temp/$safeFilenameNoExt{input}.xml
        
        
            output
            ${outputPath}
        
    

    
    
        
            input
            ${outputPath}/$safeFilenameNoExt{input}.opf
        
        
            abortThreshold
            ERROR 
        
    

    
    
        
            delete
            ${outputPath}/temp
        
    





© 2015 - 2025 Weber Informatics LLC | Privacy Policy