forked from munificent/game-programming-patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix chapter links when exporting XML.
- Loading branch information
1 parent
604b1e7
commit e13773d
Showing
4 changed files
with
82 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ code/flyweight/tiles/Build/ | |
.sass-cache/ | ||
xcuserdata/ | ||
*.xcuserstate | ||
project.xcworkspace/ | ||
project.xcworkspace/ | ||
|
||
xml/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" standalone="yes" ?> | ||
<!DOCTYPE chapter [ | ||
<!ENTITY mdash "—"> <!-- em dash, U+2014 ISOpub --> | ||
<!ENTITY lsquo "‘"> <!-- left single quotation mark, | ||
U+2018 ISOnum --> | ||
<!ENTITY rsquo "’"> <!-- right single quotation mark, | ||
U+2019 ISOnum --> | ||
<!ENTITY sbquo "‚"> <!-- single low-9 quotation mark, U+201A NEW --> | ||
<!ENTITY ldquo "“"> <!-- left double quotation mark, | ||
U+201C ISOnum --> | ||
<!ENTITY rdquo "”"> <!-- right double quotation mark, | ||
U+201D ISOnum --> | ||
]> | ||
<chapter> | ||
{{body}} | ||
</chapter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
- Export to XML | ||
- Import XML | ||
- Place it in main text flow | ||
- Untag everything and remove the story structure | ||
- Pull out asides and restyle | ||
- Change first paragraph body text styles | ||
- Set chapter title and number on first page | ||
- Update section in running footer | ||
- Clean up | ||
- Make sure there aren't bits of 14.4pt line height | ||
- Fix prose references to hyperlinks to make them make sense | ||
- Add illustrations | ||
- Make 600 dpi bitmap | ||
- Save to Print/Illustrations/... | ||
- Place | ||
- Make inline anchor | ||
- Set Position to "Above Line" with 9pts of space before and 4.5pts after | ||
- Add a caption | ||
- Position asides |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters