Skip to content

Commit 84bcce6

Browse files
committed
Revert "src/doc/**/conf.py: let a_tour_of_sage.pdf wrap long decimal expansions"
This reverts commit ac5a31e.
1 parent ac5a31e commit 84bcce6

File tree

10 files changed

+5
-62
lines changed

10 files changed

+5
-62
lines changed

src/doc/de/a_tour_of_sage/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,3 @@
5252
("index", name + ".tex", "Ein Rundgang durch Sage",
5353
"The Sage Development Team", "manual"),
5454
]
55-
56-
# PDF output: let long decimal expansions in code-blocks wrap rather than
57-
# overflow beyond page margin
58-
latex_elements = {
59-
'sphinxsetup': 'verbatimforcewraps=true',
60-
}

src/doc/el/a_tour_of_sage/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,3 @@
4949
('index', name + '.tex', project,
5050
'The Sage Development Team', 'manual'),
5151
]
52-
53-
# PDF output: let long decimal expansions in code-blocks wrap rather than
54-
# overflow beyond page margin
55-
latex_elements = {
56-
'sphinxsetup': 'verbatimforcewraps=true',
57-
}

src/doc/en/a_tour_of_sage/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,3 @@
4848
('index', 'a_tour_of_sage.tex', 'A Tour Of Sage',
4949
'The Sage Development Team', 'manual'),
5050
]
51-
52-
# PDF output: let long decimal expansions in code-blocks wrap rather than
53-
# overflow beyond page margin
54-
latex_elements = {
55-
'sphinxsetup': 'verbatimforcewraps=true',
56-
}

src/doc/es/a_tour_of_sage/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,3 @@
5454
'A Tour Of Sage',
5555
'The Sage Development Team',
5656
'manual')]
57-
58-
# PDF output: let long decimal expansions in code-blocks wrap rather than
59-
# overflow beyond page margin
60-
latex_elements = {
61-
'sphinxsetup': 'verbatimforcewraps=true',
62-
}

src/doc/fr/a_tour_of_sage/conf.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050
'The Sage Development Team', 'manual'),
5151
]
5252

53-
# PDF output: let long decimal expansions in code-blocks wrap rather than
54-
# overflow beyond page margin
55-
latex_elements = {
56-
'sphinxsetup': 'verbatimforcewraps=true',
57-
}
53+
# the definition of \\at in the standard preamble of the sphinx doc
54+
# conflicts with that in babel/french[b]
55+
latex_elements['preamble'] += '\\let\\at\\undefined'

src/doc/hu/a_tour_of_sage/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,3 @@
5353
('index', name + '.tex', 'A Tour Of Sage',
5454
'The Sage Development Team', 'manual'),
5555
]
56-
57-
# PDF output: let long decimal expansions in code-blocks wrap rather than
58-
# overflow beyond page margin
59-
latex_elements = {
60-
'sphinxsetup': 'verbatimforcewraps=true',
61-
}

src/doc/it/a_tour_of_sage/conf.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,12 @@
5151
'The Sage Development Team', 'manual'),
5252
]
5353

54-
55-
# PDF output: let long decimal expansions in code-blocks wrap rather than
56-
# overflow beyond page margin
57-
latex_elements = {
58-
'sphinxsetup': 'verbatimforcewraps=true',
59-
# TODO: check if the following is valid currently
6054
# Our Sphinx expects the older behavior of babel-italian where double
6155
# quotes are active
62-
'preamble': r"""
56+
latex_elements['preamble'] += r"""
6357
% old babel-italian does not have setactivedoublequote,
6458
% avoid "undefined control sequence" error
6559
\providecommand{\setactivedoublequote}{}
6660
% switch new babel-italian to the old behavior
6761
\setactivedoublequote
68-
""",
69-
}
62+
"""

src/doc/ja/a_tour_of_sage/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,3 @@
5353
('index', name + '.tex', project,
5454
'The Sage Group', 'manual'),
5555
]
56-
57-
# PDF output: let long decimal expansions in code-blocks wrap rather than
58-
# overflow beyond page margin
59-
latex_elements = {
60-
'sphinxsetup': 'verbatimforcewraps=true',
61-
}

src/doc/pt/a_tour_of_sage/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,3 @@
5050
('index', name + '.tex', 'A Tour Of Sage',
5151
'The Sage Development Team', 'manual'),
5252
]
53-
54-
# PDF output: let long decimal expansions in code-blocks wrap rather than
55-
# overflow beyond page margin
56-
latex_elements = {
57-
'sphinxsetup': 'verbatimforcewraps=true',
58-
}

src/doc/tr/a_tour_of_sage/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,3 @@
4949
('index', name + '.tex', 'Sage Turu',
5050
'The Sage Development Team', 'manual'),
5151
]
52-
53-
# PDF output: let long decimal expansions in code-blocks wrap rather than
54-
# overflow beyond page margin
55-
latex_elements = {
56-
'sphinxsetup': 'verbatimforcewraps=true',
57-
}

0 commit comments

Comments
 (0)