Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF: <SPACE/> should become ~ #49

Closed
martin-henz opened this issue Jun 7, 2019 · 0 comments
Closed

PDF: <SPACE/> should become ~ #49

martin-henz opened this issue Jun 7, 2019 · 0 comments

Comments

@martin-henz
Copy link
Member

martin-henz commented Jun 7, 2019

In typesetting, it is considered bad style to have a newline between parts that are intimately related. For example, in the sentence "The distance was 11 km as the crow flies.", there should be no newline between "11" and "km". Here is an example of this in the PDF:

Screenshot 2019-06-07 at 10 20 28 AM

There should be no newline between "section" and "1.2.1". In the XML sources, we use the tag <SPACE/> to indicate a non-breaking space:
in section<SPACE/><REF NAME="sec:recursion-and-iteration"/> the number

In LaTeX, the symbol ~ allows to place a space between two parts of a sentence, while making sure that they are never separated by a newline. So instead of
described in section \ref{sec:recursion-and-iteration} the number
we should write:
described in section~\ref{sec:recursion-and-iteration} the number
To make the long story short: We should translate <SPACE/> to ~ in LaTeX.

@martin-henz martin-henz changed the title PDF: orphaned section numbers PDF: <SPACE/> should be ~ Jun 7, 2019
@martin-henz martin-henz changed the title PDF: <SPACE/> should be ~ PDF: <SPACE/> should become ~ Jun 7, 2019
@gerhean gerhean closed this as completed Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants