profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/brucemiller/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

brucemiller/LaTeXML 337

LaTeXML: a TeX and LaTeX to XML/HTML/ePub/MathML translator.

brucemiller/ltxprofile 1

Temporary experimentation for LaTeXML configuration

brucemiller/trac2issues 1

trac2issues transforms a Trac database into github milestones and issues.

dginev/LaTeXML 1

LaTeXML is a TeX and LaTeX to XML translator.

brucemiller/macports-ports 0

The MacPorts ports tree

brucemiller/mathml 0

MathML4 editors draft (pre W3C)

dginev/LaTeXML-CICM-2014 0

LaTeXML paper for CICM 2014

pull request commentbrucemiller/LaTeXML

[WiP] Manual update

Oh! Too many issues; I thought you were referring to 1416, not 1216.

Well, the solution there is simply to use newer versions of ImageMagic and/or Ghostscript. The documentation change just points that out.

brucemiller

comment created time in 4 days

pull request commentbrucemiller/LaTeXML

[WiP] Manual update

As I understood it, #1216 was about documenting how to install dependencies when you want to run the development version of LaTeXML. (But then I didn't understand where mktexlsr came in, so perhaps I don't understand exactly which situation the linked "recipe" solves)

brucemiller

comment created time in 4 days

delete branch brucemiller/LaTeXML

delete branch : lost-ligatures

delete time in 5 days

push eventbrucemiller/LaTeXML

bruce miller

commit sha 3e7b7973a8af3116572d74d99ed89cb2de5d295a

Make sure closeText runs ligatures when using setNode to move insertion point (#1653)

view details

push time in 5 days

PR merged brucemiller/LaTeXML

Fix ligatures

Make sure closeText runs ligatures when using setNode to move insertion point. This can happen when a floating insertion (like \label or \index) appears within text, which causes the insertion point to move, but previously the ligatures didn't get applied to the preceding text.

Creating a PR just so @dginev can see it, but since I need it, I'm going to immediately merge.

+2 -1

0 comment

1 changed file

brucemiller

pr closed time in 5 days

PR opened brucemiller/LaTeXML

Fix ligatures

Make sure closeText runs ligatures when using setNode to move insertion point. This can happen when a floating insertion (like \label or \index) appears within text, which causes the insertion point to move, but previously the ligatures didn't get applied to the preceding text.

Creating a PR just so @dginev can see it, but since I need it, I'm going to immediately merge.

+2 -1

0 comment

1 changed file

pr created time in 5 days

create barnchbrucemiller/LaTeXML

branch : lost-ligatures

created branch time in 5 days

pull request commentbrucemiller/LaTeXML

[WiP] Manual update

more updates;

fixes #1216 fixes #1073 fixes #1402 fixes #1416

And nibbles at the edges of #1213

brucemiller

comment created time in 5 days

issue commentbrucemiller/LaTeXML

docs: build from source

I'm not sure where mktexlsr comes in. And recipes may be tempting, but the problem is the combinatorics: too many OS's, TeX's and use cases. The recipe above would need duplicates for apt-get, dnf, yum, port for example.

I have added a more prominent and explict note about installing prerequisites in the documentation (#1603), however.

holtzermann17

comment created time in 5 days

push eventbrucemiller/LaTeXML

bruce miller

commit sha 567cd8a263077b8da709198239f11be5073d6d99

pgf/tikz improvements (#1624) * Use raw style file for pgfkeys (slower, but more complete) * Binding for pgfplotstable.sty * Fix^2 reversion of \halign * Mark \lx@parboxnewline as isBreak * Fix Comment's getSize * Clean up size debugging message * A bit more alignment debugging info * Compute list sizes based on computed boxes sizes; recognize overlapping things * Fix typo * Steal Deyan's ideas * Eliminate redundant warning when using InputDefinitions * finish stealing Deyan's ideas * Avoid redundant css sizing added to svg:svg * yet another tweak to box sizing debugging message * revert to simpler box size summing * Preserve the spacing of pruned empty rows and columns * Adjustments to tikz and alignment sizing and placement * Gratuitous (?) adjustments to alignment dimensions * Avoid nested svg:svg when nested pictures * quiet pgfplots as well

view details

Deyan Ginev

commit sha edabb15c6159711764a40f3b2746df43f4322ca3

dont call out to kpsewhich without files to look for (#1629)

view details

Tom Wiesing

commit sha cf7448cd70802c4a66c051c949205c4059701384

New Testing Docker Images (#1590) * Use new Docker Images for Testing This commit moves to a new set of docker images for testing, which have been cleanly rebuilt. Furthermore, we change minor and patch versions of Perl being used for the specific versions. * ci: Use TeXLive 2018 - 2021, Perl 5.26 - 5.34 This commit updates the versions of TeXLive and Perl being tested to the following combinations. These are derived from commonly used Linux distributions and the version(s) of software they come with by default. - TeXLive 2021 / Perl 5.34 (Archlinux, Fedora 35) - TeXLive 2020 / Perl5.32 (Fedora 33-34, Debian 11, Ubuntu 21.04-21.10) - TeXLive 2019 / Perl 5.30 (Ubuntu 20.04) - TeXLive 2018 / Perl 5.28 (Debian 10) - No TeXLive / Perl 5.26 - 5.34 This commit furhermore updates the GitHub workflow to only show up as failed when a perl-only test fails. * Skip t/expl3/xparse test on texlive 2018

view details

bruce miller

commit sha 3aa82bd1ed1e6ab1d0ba457738f163a9623fa41a

Avoid adding date to split-off pages (#1602)

view details

Vincenzo Mantova

commit sha 80b86d0a9f2e60cf17f259b8e25f2c6b1fa95ea7

add space before keywords (#1604)

view details

Deyan Ginev

commit sha 271823a9d7e809f27c2ef70890df81de1c9860f2

guard existing macros from \DeclareMathAlphabet (#1617)

view details

Deyan Ginev

commit sha caa6779f8fa9fc9aa3504fb87b9e93fa7e7e6b1b

also disable parens for space-only ltx:dates elements (#1619)

view details

Deyan Ginev

commit sha 226a7fbfd1b854a2742b1e359c30c8b78a6e7896

accept and ignore \\[0.4cm] args in \inner@par (#1620)

view details

Tom Wiesing

commit sha b2f101262e2bcfff9481a8094d22960ce1253b28

Fix typo: Whatit -> Whatsit (#1610)

view details

W. Michael Petullo

commit sha 8926408ec5cd6f16fe2cec019f4f0e23d14ea648

Add --log option to manual page (#1600) Signed-off-by: W. Michael Petullo <mike@flyn.org>

view details

Tom Wiesing

commit sha 30b63f32816d2c844aa4befaad5215e7d948bebf

Allow \bibliography to include '.bib' (#1613) Previously, when the argument to `\bibliography` ended in `.bib`, MakeBibliography would fail to find the requested bibliography file. This was cause by it adding an extra '.bib' extension, even though there already was one. This commit updates the behavior to allow MakeBibliography to find the file, regardless if there is a '.bib' extension present or not. Special care is taken for future compatibility with biber, which allows bibliographies to have any extension. Fixes #1605.

view details

Tom Wiesing

commit sha 6aa4a102f14c5117c710f11619cd9cb8b6fa8135

Add Exit Codes to 'latexmlpost' and 'latexmlmath' (Fixes #1417) (#1614) * Add exit codes to latexmlpost * Add exit code to latexmlmath * latexml{post,math}: Exit 1 iff fatal This commit updates the exit behavior of latexmlpost and latexmlmath to only exit with code 1 if a fatal error occured. Co-authored-by: Evgeny Epifanovsky <epif@q-chem.com>

view details

Deyan Ginev

commit sha add39defc7b06d91030983f874093780dd44ef39

arxiv fixes from css sprint (#1616) * misc patches for arxiv docs * plain print of CS is more readable in redefinition info * perl warning should be specific * experiment with supporting psfile in \special

view details

Deyan Ginev

commit sha 65901a5d29936f50dd27e17896f5dc7b9c31f140

[arXiv] more frontmatter guards (#1628) * lock \maketitle; sanitize ltx:personname; optional arg for \author * sanitization improved a test file

view details

Deyan Ginev

commit sha 0e4945551164184f6292457869cb10d2dde1a0d6

let \datename set any date puncts (#1622)

view details

Bruce Miller

commit sha 25a299a5ea983bde5cf2d0756ce02f22c1891f64

Remove leftover debug statement

view details

Deyan Ginev

commit sha c4a342ec49dfebe51f963724114a26a69314b362

sandbox with tex group for \@add@frontmatter and \@add@to@frontmatter (#1631)

view details

Deyan Ginev

commit sha e950a576f21399d9fb16b42092a5bd16de4ac999

widths in math cleanup should be Glue-capable (#1630)

view details

bruce miller

commit sha c74272b5d5060d348d0b30cbd68d8d895dad0deb

Fix \label detector in \caption to recognize multiple labels; Fix clash between \label and \lefteqn in eqnarray (#1632)

view details

Deyan Ginev

commit sha 3a323ef080cdc2c41cfca822010a95eb8ed72f9e

Star variants of nameref and autoref (#1609) * star variants of nameref and autoref * enforce * variants via ltx_nolink class * special CrossRef tagless handling for nameref

view details

push time in 5 days

issue closedbrucemiller/LaTeXML

Generated XHTML fails (a few) validity checks

The XHTML generated by LaTeXML passes a large fraction of the checks provided by the (very thorough) W3C EPUB validator, but not all of them. The attached stylesheet (see internal comments for notes and rationale) normalises the XHTML so that it passes these checks.

The stylesheet also reworks footnotes into a form which is EPUB-friendly, but more generally is the format recommended by the DAISY accessibility consortium, and I think also implicitly recommended by the XHTML specification (though it's hard to pin down a specific location within the (X)HTML(5) sprawl).

The failures are:

  • <object> elements with an @alt attribute (the fallback content should be element-content).
  • both <tbody> and <tr> as children of <table>.
  • A <meta> content-type indicating XHTML rather than HTML.

The third one is a specifically EPUB issue; the first two are XHTML validity issues. Though this is using an EPUB validator – because in my particular case I'm generating XHTML en route to EPUB – I'm reporting XHTML validity issues which will very probably be relevant for the xhtml output as well. The validity errors are also reported by Emacs nxml-mode, so, again, this isn't an EPUB-specific issue.

Stylesheet: sanitise-xhtml.xslt.gz

closed time in 8 days

nxg

issue commentbrucemiller/LaTeXML

Generated XHTML fails (a few) validity checks

So, I'm thinking that all the subissues here have been addressed, along with giving us some thoughts for future directions. If you find examples that fail, please open a new issue with a minimal test case and we'll look into it.

Thanks for the report, and ideas!

nxg

comment created time in 8 days

issue commentbrucemiller/LaTeXML

TeX default language is US English, LaTeXML has no default

When you say that the default language is "deliberately" US english, doesn't that only mean that it defaults to US english hyphenation patterns? Does the language come into play in any other ways? (LaTeXML doesn't do hyphenation, of course).

OTOH, it seems to me that xml:lang="en-US" is an entirely different thing; it's asserting that the document language is english, which we have no way of knowing. In fact, you could have "lorem ipsum" Latin, with not even any Unicode clues.

The \language register is curious; it takes a number, but is there a list of "known" languages?

xworld21

comment created time in 8 days

issue closedbrucemiller/LaTeXML

Support split-level/beveled fractions from xfrac.sty.

xfrac.sty implements what it calls "split-level" and what MathML calls "beveled" fractions https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac). As far as I can tell, one can render them just by specifying <mfrac bevelled="true">.

closed time in 8 days

krivit

issue commentbrucemiller/LaTeXML

Support split-level/beveled fractions from xfrac.sty.

Oh! This actually got done awhile back, I just forgot to close the issue.

And actually, I'd already worked around the bevelled attribute anyway (since it was inconsistently supported). The trick is simply an inline x/y, but with a bit of positioning tweaks.

Thanks for the report!

krivit

comment created time in 8 days

issue commentbrucemiller/LaTeXML

Modernize and streamline documentation flows

Sure; does solipsistic reinvention only apply to reinventing all the web/js/css machinery (inexplicably avoiding reusing?), or does it also apply to reinventing all the documentation (math, mathml, xml) in markdown trying to fulfill a not-so-simple purpose?

dginev

comment created time in 9 days

issue commentbrucemiller/LaTeXML

Modernize and streamline documentation flows

As I'm pondering documentation updates, scouting for entry points, I'm struck by a number of false equivalencies, so have to go all snarky on ya: "what I like" \neq "best practices"; "simple markdown" \neq "simple workflow".

I should point out that our "dogfood" API documentation isn't hypothetical: it already exists, albeit out-of-date and not quite modern. The solution isn't to add a second set of "more modern" documentation using an inferior language but (potentially) superior infrastructure (js). That will just result in two out-of-date and (gradually) not quite modern sets of documentation that will soon contradict each other (and probably neither correct).

And perhaps Catfood is a more appropriate metaphor, and it seems to me more than just a "cool commitment"; if you won't eat your own catfood, you've pretty much given up.

dginev

comment created time in 9 days

delete branch brucemiller/LaTeXML

delete branch : robust-prelims

delete time in 11 days

push eventbrucemiller/LaTeXML

bruce miller

commit sha f6c4bf4b859fb1a36479814807d5300a37b5ce6e

Robust prelims (#1650) * Add a robust option (and allow protected more broadly) as a preliminary extension of robust and protected commands * Define several commands as robust * Extended math accents test to test robust behaviour * Pass all options to defRobustCS, so it can be locked as well

view details

push time in 11 days

PR merged brucemiller/LaTeXML

Robust prelims

This PR adds a new robust option to DefMacro, DefMath and several others, as well as extending protected to DefMath. Whereas protected models eTeX's \protected prefix, the robust option emulates LaTeX's Robust mechanism, which sneaks in a \protect. Well, it's actually a bit more complicated than that and the current PR only does a simplistic emulation. This will be fleshed out and tested further in the future. However, this patch still does help.

fixes #1649

+160 -59

3 comments

6 changed files

brucemiller

pr closed time in 11 days

issue closedbrucemiller/LaTeXML

Some math macros need to be robust

A follow-up to our recently discovered discrepancy for the argument reads of \underbrace in the #1647 comments

It appears in my texlive 2020 fontmath.ltx there are 46 definitions using \DeclareRobustCommand, among which the \overbrace and \underbrace examples. In the protected cases, some low-level programmatic uses become a bit subtle, as in the example:

\[ \expandafter\underbrace\underbrace foo \]

where the outer underbrace receives no arguments, while the inner one receives the letter f. Without the \protect machinery, latexml interprets the example as two nested underbraces over a missing argument, which may end up problematic.

It may be worthwhile adding a protected => 1 flag to the DefMath API, and maybe even make all DefMaths protected by default? The default irrespective, going through the .ltx definitions and marking all protected macros as such in the latexml definitions would be a good upgrade to stay closer to pdflatex parity.

closed time in 11 days

dginev

pull request commentbrucemiller/LaTeXML

Robust prelims

on second thought, locking only the munged cs is probably pretty pointless.

brucemiller

comment created time in 11 days

push eventbrucemiller/LaTeXML

Bruce Miller

commit sha ab7aca4bf023d0056afd71a91ad1328bb6ac7a9f

Pass all options to defRobustCS, so it can be locked as well

view details

push time in 11 days

pull request commentbrucemiller/LaTeXML

Robust prelims

should we also lock |$defcs| here - when available - or is that too much safety for no benefit?

I worry that too much safety sometimes is unsafe

brucemiller

comment created time in 11 days

issue closedbrucemiller/LaTeXML

Stripped character '0' when alone in \lstinline

Here's a still broken variant of #1312:

\documentclass{article}
\usepackage{listings}
\begin{document}
Broken: \lstinline!0! (just one zero).

Works: \lstinline!00! (just two zeros).
\end{document}

closed time in 11 days

henrikt-ma

issue commentbrucemiller/LaTeXML

Stripped character '0' when alone in \lstinline

Yikes, another one snuck through. fixed in 5b51eb05; thanks for the report!

henrikt-ma

comment created time in 11 days

push eventbrucemiller/LaTeXML

Bruce Miller

commit sha 5b51eb058fc256e31beeb07f6ce99cc2900a8c04

fix listings with empty-looking strings

view details

push time in 11 days

PR opened brucemiller/LaTeXML

Reviewers
Robust prelims

This PR adds a new robust option to DefMacro, DefMath and several others, as well as extending protected to DefMath. Whereas protected models eTeX's \protected prefix, the robust option emulates LaTeX's Robust mechanism, which sneaks in a \protect. Well, it's actually a bit more complicated than that and the current PR only does a simplistic emulation. This will be fleshed out and tested further in the future. However, this patch still does help.

fixes #1649

+159 -59

0 comment

6 changed files

pr created time in 12 days

create barnchbrucemiller/LaTeXML

branch : robust-prelims

created branch time in 12 days

issue commentbrucemiller/LaTeXML

Some math macros need to be robust

The protected option simulates eTeX's \protected, whereas the (new) robust option simulates the \protect mechanism used by LaTeX. Yeah, they act diferently... pr in the works.

dginev

comment created time in 13 days