Equations should be flush left and not indented.

Bug: 68838
Change-Id: I91a5b3231c9bb0e85fc8d36039b2988a6dd2d7b0
Use narrower margins.

Change-Id: Ie508f2c4332483a0e3b7ef61ab24a399bbcac4f8
Refactor the metabook defaults

Change-Id: Iab2c4f37019230c61332098a9a9d204bb38ba7b4
Merge "Refactor the metabook defaults"
Support djvu images, but disable full extraction by default.

Full extraction of all the pages in a djvu file can be extremely
expensive.  Extract only the first page unless a command-line option
is given.

Eventually we should refactor this so that only the necessary pages
are extracted.

Change-Id: Id8b7e488d313471ab95d9a4bc4b6e3829eee0819
Support Macedonian, Aramaic, and Bosnian.

Bosnian is very similar to Croatian.

Macedonian is very similar to Bulgarian.

Change-Id: Ia202a626b2baba6ece02a1795e9a031a781318c9
Improve CJK support.

More gracefully handle the case where there are multiple aliases to the
same polyglossia language entry.

Workaround an issue with curly-single-quote when XeCJK is loaded.

Add 'zh-hans-CN' as an alias for 'zh-hans'.

Change-Id: I28f820b00792782b86759ac32bd073d14d331d62
Support Tibetan.

Change-Id: Ia3cdd6e657f7140684fa0a34437950cdbada167f
Additional language aliases for Korean.

Change-Id: I8c8f78914d044568a2e0a624159e92974a6af410
Be careful about square brackets inside \item[...].

We were generating:

\item[\textjapanese[]{...}]

which was causing LaTeX errors because the lookahead for the `]` is
very fragile.  Adding braces is sufficient to fix the problem:

\item[{\textjapanese{}{...}}]

We also suppress the square brackets after a language change where
it's not necessary, and fix a similar potential problem with section
headings.

Change-Id: Ic147bef36848110ce1dfe1254f1f7b1a8b675fe0
Support Lao and Khmer; add google noto fonts.

Change-Id: Ie21f3f28ebfc9993210f12982cbc71215c2a33b6
Disable PDF page splitting by default.

[[:en:File:Wireless Networking in the Developing World (WNDW) Third Edition.pdf]]
is a 193M file which creates a 188M file for *each* of its 300+ pages when
given to pdfseparate.

Disable page splitting for PDFs by default to stabilize the OCG service,
until we implement a proper refactor to make the splitting demand-driven.

Change-Id: I9278e7dcac1e7d4fe2198136e53e5f338d4b35aa
Don't crash when the page title is RTL; context dir should == paragraph dir.

The \setRTL command was being output before the LaTeX header.  Adding
`dirBreak` and `envBreak` at the appropriate places ensures that
directionality commands are appropriately grouped.  Also tweak the
rules for setting the default context direction to ensure that the
context direction matches the desired paragraph direction.

Change-Id: I3a7eaee6ce216f4bd7254ced55061a64591082c0
Fix non-curly quotes (`extquotedbl` in output).

Change-Id: Ia1cc9004c4c14ccfae0750135ca2329cd7b6a513
Allow lists nested 9 levels deep.

Bug: 71896
Change-Id: I2a6638ce6907e350eb3e3b4380b87cce6453e86f
PDF can't handle UTF-8 URLs.

Bug: 71547
Change-Id: I2f66fe26999132011b9930152d0aa230e66d4245
Fix cleaning up while running the tests

 * Looks like this was introduced in change,
   I295cb3a0b112e6d6c512c845cc17e3118f477c50

Bug: 71341
Change-Id: I91ce465112665c858f4acf8f1c35d1b5857bfc9f
Merge "Fix cleaning up while running the tests"
Suppress console output during unzip.

The spawned unzip appears to halt if it fills up the input buffer on
the parent process -- even though we plan to just throw away all that
output.  Don't generate it to begin with.

Change-Id: If3f317d68b94fabe81b260719aef807ba22c0a3b
Don't create pipes for `P.spawn` by default.

Pipes will block if they get enough input, and our users are not
listening to the pipe (we're not even exposing it to the caller).

Change-Id: I0e6247bfbee1b1eb67441f21d39c107e4806bc01