mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	User manual: translate page number references in the PDF output
This commit is contained in:
		
							parent
							
								
									0673a3f9cd
								
							
						
					
					
						commit
						d34a7b63c7
					
				@ -18,6 +18,8 @@ sys.path.append(os.path.abspath('.'))
 | 
			
		||||
import init_calibre
 | 
			
		||||
init_calibre
 | 
			
		||||
from calibre.constants import __appname__, __version__
 | 
			
		||||
import calibre.utils.localization as l  # Ensure calibre translations are installed
 | 
			
		||||
del l
 | 
			
		||||
import custom
 | 
			
		||||
custom
 | 
			
		||||
# General configuration
 | 
			
		||||
@ -178,6 +180,7 @@ latex_logo = 'resources/logo.png'
 | 
			
		||||
latex_show_pagerefs = True
 | 
			
		||||
latex_show_urls = 'footnote'
 | 
			
		||||
latex_elements = {
 | 
			
		||||
'papersize':'letterpaper',
 | 
			
		||||
'fontenc':r'\usepackage[T2A,T1]{fontenc}'
 | 
			
		||||
    'papersize':'letterpaper',
 | 
			
		||||
    'fontenc':r'\usepackage[T2A,T1]{fontenc}',
 | 
			
		||||
    'preamble': r'\renewcommand{\pageautorefname}{%s}' % _('page'),
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user