Skip to content

Instantly share code, notes, and snippets.

View dginev's full-sized avatar

Deyan Ginev dginev

View GitHub Profile
@dginev
dginev / ar5iv_2024_simple_arg_stats.csv
Last active March 27, 2024 12:21
A simple script for computing the simple ratio from MathML subtree summaries
We can't make this file beautiful and searchable because it's too large.
name[child1/grandchild_count;...],frequency
msub[mi; mi],347136608
msub[mi; mn],235654239
mover[mi; mo],121376075
msub[mi; mrow/3],96607010
msup[mi; mo],81916551
msup[mi; mn],80574746
msup[mi; mi],57340512
msup[mi; mrow/3],40204587
msup[mi; mrow/2],22792247
@dginev
dginev / CK-12-Earth-Science.md
Created February 1, 2024 17:40
Earth Science, Engineering
@dginev
dginev / arxiv_sandboxes_01_2024.md
Last active February 22, 2024 13:32
Changes to arXiv sandboxes, latexml 0.8.8-rc, 01.2024

arXiv sandboxes in CorTeX

Reference results, 07.2023

sandbox ok % warning % error % fatal %
10k shuffle 18.42 61.54 17.85 2.19
1905 13.41 56.51 26.06 4.02
2010 13.72 57.21 26.28 2.79
2111 11.58 51.41 32.23 4.79
@dginev
dginev / concepts.md
Created January 24, 2024 02:05
"Cracking the SAT Biology E/M Subject exam", MathML Intent review

Non-biology concepts:

  • ratio
  • equals, times, plus, divides, fraction
  • chemical equations (varied!)
  • power
  • percent
  • range: pH 1-2 , heart rate 60-80
  • number (notation #2 for "number 2")
  • pH (power-of-hydrogen,acidity,basicity)
  • concentration - [H^+]
@dginev
dginev / parsed.xml
Created November 1, 2023 15:20
A simple XMath example
<Math mode="inline" tex="x_{i+j}" text="x _ (i + j)">
<XMath>
<XMApp>
<XMTok role="SUBSCRIPTOP" scriptpos="post1"/>
<XMTok font="italic" role="UNKNOWN">x</XMTok>
<XMApp>
<XMTok fontsize="70%" meaning="plus" role="ADDOP">+</XMTok>
<XMTok font="italic" fontsize="70%" role="UNKNOWN">i</XMTok>
<XMTok font="italic" fontsize="70%" role="UNKNOWN">j</XMTok>
</XMApp>
@dginev
dginev / barrons-chemistry-intent.md
Last active September 13, 2023 13:26
Barron's: Let's Review Chemistry (6th edition)

Barron's: Let's Review Chemistry (6th edition, 2017)

590 pages

Concepts with notations (are they within Intent Core?)

general

  1. minus
  2. plus
  3. times
@dginev
dginev / intent.md
Last active April 3, 2024 18:13
Intent notes for "Schaum's outline of theory and problems of mathematics for physics students"

Schaum's outline of theory and problems of mathematics for physics students

Concepts with notations (are they within Intent Core?)

  1. plus
  2. minus
  3. times
  4. divide
  5. divisible-by
  6. equal
@dginev
dginev / myblocks.sty.ltxml
Last active July 19, 2023 23:50
Named wrapper environment with ltx:block and ltx:inline-block
# -*- mode: Perl -*-
use strict;
use warnings;
use LaTeXML::Package;
DefEnvironment("{namedwrap}{}", "<ltx:inline-block class='#1'>#body</ltx:inline-block>");
DefEnvironment("{namedblock}{}", "<ltx:block class='#1'>#body</ltx:block>");
1;
@dginev
dginev / breqn.sty.ltxml
Last active November 21, 2021 15:57
A temporary quickfix for basic breqn.sty use with latexml
# -*- CPERL -*-
# /=====================================================================\ #
# | breqn.sty | #
# | Simple temporary patch for LaTeXML | #
# |=====================================================================| #
package LaTeXML::Package::Pool;
use strict;
use warnings;
use LaTeXML::Package;
@dginev
dginev / 2_merged.json
Created August 19, 2021 18:33
LD+JSON, quadratic equation, byjus
[
{
"@context": "https://schema.org",
"@type": "Table",
"about": "Quadratic Equations"
},
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "https://byjus.com/",