Verbatim-safe typography, ^-punctuation quoting, full-range ^UUUU^, polyglot html
Typographic transforms (---, quote pairs, ~) no longer touch verbatim text: @c/@code/@source_listing content and ^'...'^ spans show exactly the characters written. "^" before any punctuation character quotes it in every target (the apostrophe excepted: ^' opens a literal span), with the new :resolve option on @@@target declaring per-target renderings. The ^UUUU^ code-point form accepts 4-6 hex digits, the full Unicode range. The html output and transform spellings are polyglot (XML-valid), in preparation for an EPUB target. New suites: transform_test, character_test (engine), typography_test (SKS). (from dev 07ce5ea86a0a)
This commit is contained in:
@@ -101,7 +101,7 @@ std::string tex_to_pdf(Machine& machine)
|
||||
ss << " " << line << "\n";
|
||||
}
|
||||
ss << "Check log file: " << outbase << ".log";
|
||||
throw Definition_error(ss.str(), Locator(), false);
|
||||
throw Definition_error(ss.str(), Locator());
|
||||
}
|
||||
if (std::regex_search(xelatex_log, std::regex("Package rerunfilecheck Warning:"))) {
|
||||
(void)K::log(1, "Rerunning xelatex because document structure has changed");
|
||||
@@ -115,7 +115,7 @@ std::string tex_to_pdf(Machine& machine)
|
||||
ss << " " << line << "\n";
|
||||
}
|
||||
ss << "Check log file: " << outbase << ".log";
|
||||
throw Definition_error(ss.str(), Locator(), false);
|
||||
throw Definition_error(ss.str(), Locator());
|
||||
}
|
||||
}
|
||||
warn_wide_tables(xelatex_log);
|
||||
|
||||
Reference in New Issue
Block a user