Skip to content

Releases: TrialAndErrorOrg/trialanderror

xast-util-select@0.4.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:02
b86d46f

Patch Changes

  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.
  • Updated dependencies [721606c]:
    • xast-util-has-attribute@0.3.1
    • xast-util-is-element@0.4.1

xast-util-is-element@0.4.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:01
b86d46f

Patch Changes

  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.

xast-util-has-attribute@0.3.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:01
b86d46f

Patch Changes

  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.

unified-latex-stringify@0.3.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:01
b86d46f

Patch Changes

  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.

unified-ast-stringify@0.0.2

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:01
b86d46f

Patch Changes

reoff-unified-latex@0.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:03
b86d46f

Minor Changes

  • #134 721606c Thanks @tefkah! - Changed output: real manuscripts (Google Docs exports included) now convert to LaTeX that compiles.

    • Only heading N styles are headings (by style name, so localised ids like Kop1 work); before, any style ending in a digit was one, so Google Docs' normal1 turned every paragraph into a \section.
    • w:val="false" / "off" on bold, italic etc. means off. Markup-to-style never restyles a paragraph that already has a heading, Title or Subtitle style, and has a new per-rule onlyIfNoHeadings option.
    • Tracked deletions are dropped, line breaks become \newline, text in table cells and literal braces are escaped, colours use \color[HTML]{…}.
    • Numbered headings are no longer one-item lists; the title is kept when a custom preamble is passed.
    • Only a paragraph holding nothing but a picture becomes a figure; other pictures are inline \includegraphics.
    • Tables: the column count comes from w:tblGrid, tabularx tables get X columns, nested tables work, paragraphs in a cell are separated.
    • Citation keys of organisations as authors no longer contain spaces.
  • #134 721606c Thanks @tefkah! - Breaking: move to the unified 11 ecosystem (unified 11, unist 3, xast 2, mdast 4, hast 3, vfile 6). The exported types now come from these versions, so use this release together with other unified 11 packages.

    • jast-types declares its own Data and RootData (unist 3's Data has no index signature anymore); augment Data to add fields.
    • ooxast element types are assignable to xast 2 elements: elements without attributes or children now have attributes: Record<string, never> / children: [], and text-only drawingml children (a:t, …) are StringElements instead of bare strings.
    • reoff-unified-latex is typed like reoff-rejour, with both bridge overloads, so .use(reoffUnifiedLatex, options) typechecks.

Patch Changes

  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.
  • Updated dependencies [721606c, 721606c, 721606c]:
    • ooxast-util-to-unified-latex@0.7.0
    • ooxast@0.5.0

reoff-remark@0.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:03
b86d46f

Minor Changes

  • #134 721606c Thanks @tefkah! - Breaking: move to the unified 11 ecosystem (unified 11, unist 3, xast 2, mdast 4, hast 3, vfile 6). The exported types now come from these versions, so use this release together with other unified 11 packages.

    • jast-types declares its own Data and RootData (unist 3's Data has no index signature anymore); augment Data to add fields.
    • ooxast element types are assignable to xast 2 elements: elements without attributes or children now have attributes: Record<string, never> / children: [], and text-only drawingml children (a:t, …) are StringElements instead of bare strings.
    • reoff-unified-latex is typed like reoff-rejour, with both bridge overloads, so .use(reoffUnifiedLatex, options) typechecks.

Patch Changes

  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.
  • Updated dependencies [721606c, 721606c, 721606c]:
    • ooxast-util-to-mdast@0.3.0
    • ooxast@0.5.0

reoff-rejour@0.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:03
b86d46f

Minor Changes

  • #134 721606c Thanks @tefkah! - Breaking: move to the unified 11 ecosystem (unified 11, unist 3, xast 2, mdast 4, hast 3, vfile 6). The exported types now come from these versions, so use this release together with other unified 11 packages.

    • jast-types declares its own Data and RootData (unist 3's Data has no index signature anymore); augment Data to add fields.
    • ooxast element types are assignable to xast 2 elements: elements without attributes or children now have attributes: Record<string, never> / children: [], and text-only drawingml children (a:t, …) are StringElements instead of bare strings.
    • reoff-unified-latex is typed like reoff-rejour, with both bridge overloads, so .use(reoffUnifiedLatex, options) typechecks.

Patch Changes

  • #134 721606c Thanks @tefkah! - Bug fixes:

    • jast-util-to-csl: CSL date-parts ordered year, month, day.
    • ooxast-util-citations: native Word citations inside content controls (w:sdt) are reparsed
    • ooxast-util-remove-rsid: merging keeps content.
    • ooxast-util-to-jast: only heading N styles are headings; sections are numbered from sec-1; footnotes and relations are read from the VFile; citation xrefs get the field code's position.
    • ooxast-util-to-mdast: links and images are kept (relations are read per part), and underline/sub/sup text renders instead of [object Object].
    • rejour-parse actually use removeWhiteSpace option.
    • rejour-stringify writes kebab-case JATS names again (it wrote the camelCased names from rejour-parse).
    • reoff-rejour passes the VFile and its document relations to ooxast-util-to-jast.
  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.

  • Updated dependencies [721606c, 721606c, 721606c]:

    • ooxast-util-to-jast@0.2.0
    • jast-types@0.2.0
    • ooxast@0.5.0

reoff-parse@0.6.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:02
b86d46f

Patch Changes

  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.
  • Updated dependencies [721606c]:
    • docx-to-vfile@0.11.1

0.1.0 (2023-03-06)

Bug Fixes

  • fixed all eslint errors like a good boy (eae924f)
  • it builds, oh my god (6d8087e)
  • types: fixing types (2893172)

Features

  • added eslint and changed tsignore to expect (95083c0)
  • citations from word to latex works (1582e25)
  • figure parsing in reoff (fe2b9f8)
  • it working (53f8f03)
  • ooxast: add actual ooxml types (ad3d947)
  • ooxast: metadata types (2cb81c8)
  • pdf: pdf compilation baybee (f3cf107)
  • reoff-parse: change the way this works basically (c382996)
  • reoff: add basic office parsing infrastructure (3adfb9d)
  • reoff: parse docx to unist (7dcdb70)
  • reoff: read file more async (fed7aa9)
  • reoff: utiltiy to clean ooxast tree (0827207)

reoff-parse-references@0.4.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:03
b86d46f

Patch Changes

  • #134 721606c Thanks @tefkah! - Published from the TrialAndErrorOrg/parsers monorepo with npm provenance: repository points at the package's directory there, and the build is plain TypeScript (tsc) to dist. Dependencies are updated to their latest versions.
  • Updated dependencies [721606c, 721606c]:
    • ooxast@0.5.0
    • ooxast-util-parse-bib@0.4.1