#10149 closed enhancement (fixed)
Italian translation of "A Tour of Sage"
Reported by:  rpanai  Owned by:  mvngu 

Priority:  major  Milestone:  sage6.3 
Component:  documentation  Keywords:  italian 
Cc:  schilly  Merged in:  
Authors:  Roberto Panai  Reviewers:  Frédéric Chapoton 
Report Upstream:  N/A  Work issues:  
Branch:  dd29512 (Commits, GitHub, GitLab)  Commit:  
Dependencies:  Stopgaps: 
Description (last modified by )
This is an italian translation of this document http://www.sagemath.org/doc/a_tour_of_sage/
Attachments (1)
Change History (15)
Changed 11 years ago by
comment:1 Changed 11 years ago by
 Milestone changed from sagei18n to sage4.6
comment:2 Changed 8 years ago by
 Milestone changed from sage5.11 to sage5.12
comment:3 Changed 7 years ago by
 Milestone changed from sage6.1 to sage6.2
comment:4 Changed 7 years ago by
 Milestone changed from sage6.2 to sage6.3
comment:5 Changed 7 years ago by
 Keywords italian added
comment:6 Changed 7 years ago by
 Branch set to u/chapoton/10149
 Commit set to dd122fdc3acdcb037828ec734e4c9fef509475a0
 Status changed from new to needs_review
comment:7 Changed 7 years ago by
 Commit changed from dd122fdc3acdcb037828ec734e4c9fef509475a0 to dd295120fe365ac926e9770d8f047181a3f9dbca
comment:8 Changed 7 years ago by
 Reviewers set to Frédéric Chapoton
I have incorporated your last version. Are you happy with it ? Please check by clicking on the green link in the branch field on top of the page. If yes, I think I can set this to positive review.
comment:9 Changed 7 years ago by
 Description modified (diff)
 Summary changed from Italian tranlation of "A Tour of Sage" to Italian translation of "A Tour of Sage"
comment:10 Changed 7 years ago by
 Status changed from needs_review to positive_review
After agreement with R. Panai, I put this to positive review.
comment:11 Changed 7 years ago by
 Branch changed from u/chapoton/10149 to dd295120fe365ac926e9770d8f047181a3f9dbca
 Resolution set to fixed
 Status changed from positive_review to closed
comment:12 Changed 7 years ago by
 Commit dd295120fe365ac926e9770d8f047181a3f9dbca deleted
I can't get the PDF version of this to build without patching Sphinx: I get the error
! Package babel Error: I cannot switch `"' on or offnot a shorthand. See the babel package documentation for explanation. Type H <return> for immediate help. ... l.145 \shorthandoff{"} ? ! Emergency stop. ... l.145 \shorthandoff{"} ! ==> Fatal error occurred, no output PDF file produced! Transcript written on a_tour_of_sage.log. make: *** [a_tour_of_sage.pdf] Error 1 Error building the documentation.
If I patch Sphinx (in particular the file sphinx/writers/latex.py
) with the change

.py
old new 100 100 class ExtBabel(Babel): 101 101 def get_shorthandoff(self): 102 102 shortlang = self.language.split('_')[0] 103 if shortlang in ('de', 'sl', 'pt', 'es', 'nl', 'pl' , 'it'):103 if shortlang in ('de', 'sl', 'pt', 'es', 'nl', 'pl'): 104 104 return '\\shorthandoff{"}' 105 105 return ''
then it works. Or am I missing something?
comment:13 Changed 7 years ago by
which babel version? I don't mind patching sphinx (but in another ticket)
comment:14 Changed 7 years ago by
Babel version 3.9k: \ProvidesPackage{babel}[2014/03/24 3.9k The Babel package]
Note: The attached ReST file needs to be added as part of a new "it" subdirectory in the documentation dir of the Sage library.