aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
Commit message (Collapse)AuthorAgeFilesLines
* markdown output, --markdown (--md)Ralph Amissah7 days1-1/+14
| | | | | | | | | | | | | | | | | | | | | A plain-text output that keeps the object numbers, written as CommonMark with GFM pipe tables, one .md per document-language in <lang>/markdown/, (linked from the metadata page) with images into that shared directory itself, skipping any already there, so --markdown alone still gives a complete tree. provided as an alternative to --text rather than a replacement --markdown produces a document that renders, (both provide objext numbering survives both. Every object carries an anchor and a superscript number linking to itself, so a citation by object number is a link in any markdown renderer. --text may still be of value to read in a terminal A note is written where it is referenced, with a link back to the object it came from, rather than gathered into an endnotes section. (assisted by Claude-Code)
* typst output --typist & --pdf that makes the pdfRalph Amissah7 days1-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | typst provides a new pdf build path replacing latex as the primary pdf builder. --typst (--typ) writes the .typ; --pdf writes the .typ and compiles it by spawning `typst compile`. (--pdf is redefined, being typst to pdf rather than latex). --latex is unchanged and writes the .tex; One .typ per document-language (not one per paper size). The paper and the orientation are read from sys.inputs with a default, so the same file compiles to every paper --set-papersize asks for, the pdfs keep their original names. Spine's paper names (derived from what suited latex) and typst's are different vocabularies and are mapped; a paper typst does not have is named and skipped. With the flag --pdf spine invokes a typesetter to generate the pdf output directly, which is new (the latex path writes a .tex and leaves xelatex to the caller). If typst is not available on the machine it is reported absent, naming the binary and printing the command, and the run continues, the .typ is written. Several useful features of an object-centric pdf are easily met, usually being a few lines each. - The object number goes in the margin as one `place` at a coordinate inside the object's own block, carrying the label every citation points at. - A note is a real footnote at the point of reference, with the document's own number and one link back to the object. - The table of contents locates by object number rather than by page, so it holds true across every paper and every setting. That typst compiles silently across the sample set means every internal link in every document resolves (--pdf over the collection with two paper sizes gives 144 pdfs, none skipped and none failed, each the page size its name claims and each tagged). paths: .typ, pdf named in same way as .tex based built pdfs so site linkage works either way flake.nix: added a typst dev shell, for .typ pdf typesetter - dsh-typst-pdf providing a pdf typsetter for spine's .typ. - dsh-latex-pdf provides xelatex for .tex which can still be written. (assisted by Claude-Code)
* pod: generate the po4a configuration, --po4a-cfgRalph Amissah13 days1-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A document's po4a configuration is derived rather than kept. Spine already knows both halves without looking: the manifest says which languages, and the markup says which files, through the << lines the parser follows. Derived, it cannot disagree with the document, where a hand-kept file eventually does: a language added to the manifest and forgotten in the Makefile is a translation nobody updates. It prints, rather than writing. Spine does not write into a source tree, and the file belongs beside the catalogues in the pod it describes: spine --po4a-cfg <pod> > <pod>/tools/po4a/po4a.cfg Three things the Makefile it replaces knew, which had to be found by running po4a rather than by reading: --keep 0 is the difference between regenerating a document and destroying it. po4a will not write a translated file below a completeness threshold, and that threshold defaults to 80%. A partly translated document is the normal state of one being worked on, and sisu covers it: an untranslated string falls back to the source text. Measured at the default, 181 of live-manual's 189 translated files would be discarded, and nine languages would collapse to eight surviving files, reading as the document reverting to its source language rather than as a failure. index.html.in is not markup and no << line names it, so a configuration built from the manifest and the insert list alone drops it, and with it index.html.in.pot and its nine .po files at the next regeneration. It is found by asking whether the source language has one. neverwrap is not set, and the measurement is recorded beside the code: setting it turns 889 of 1126 strings fuzzy in four languages, and po4a does not use a fuzzy translation, so Catalan's coverage would fall from about 46% to about 12%. Tidy formatting is not worth that. The run-complete banner is suppressed for this action. The configuration goes to stdout and the banner would otherwise be part of the file, which is what the round trips already avoid by leaving early; this one prints from inside output processing and cannot. (assisted by Claude-Code)
* some file renamesRalph Amissah2026-09-121-6/+6
|
* ocda + outputs split: module/import + dub.json fixupsRalph Amissah2026-05-251-25/+25
| | | | | | | | | | | Modules and imports rewritten to sisudoc.ocda.* and sisudoc.outputs.*; dub.json excludedSourceFiles and the spine:abstraction sub-package sourcePaths collapsed to ./src/sisudoc/ocda. Verified: nix build .#spine-overlay-ldc clean. (assisted by Claude-Code)
* org files cosmetic, remove word BUGRalph Amissah2026-05-051-1/+1
|
* org headers rearranged (& odd hilighting issue)Ralph Amissah2026-05-041-5/+5
| | | | | - odd hilighting issue ... must result from my org config, but "fix" makes things easier for me.
* org-mode header, minor (set: results silent)Ralph Amissah2026-01-101-1/+1
|
* 2026Ralph Amissah2026-01-091-1/+1
|
* a text output (and skel an outline)Ralph Amissah2025-10-031-1/+27
| | | | - spine --text [--output=output path] [markup source]
* (editor emacs org-mode includes)Ralph Amissah2025-09-261-1/+18
|
* terminal output verbosity levels, minor reworkRalph Amissah2025-09-251-5/+5
|
* org, property header-args results output noneRalph Amissah2025-09-141-1/+1
|
* doc (metadata & abstraction) struct follow throughRalph Amissah2025-02-191-36/+33
|
* 2025Ralph Amissah2025-01-011-1/+1
|
* pod zip fixesRalph Amissah2024-07-101-12/+4
| | | | | - serial processing (need to be built serially) - multilingual pods, copy all languages before zip
* 0.16.0 sisudoc (src/sisudoc sisudoc spine)sisudoc-spine_v0.16.0-devRalph Amissah2024-04-101-25/+25
| | | | | - src/sisudoc (replaces src/doc_reform) - sisudoc spine (used more)
* mark modules as @safe: (& identify what is not)Ralph Amissah2024-03-121-0/+1
|
* 2024Ralph Amissah2024-01-021-1/+1
|
* org, spine ver & doc header (copyright & license)Ralph Amissah2023-12-171-50/+3
| | | | | | - org import: reuse settings in another org file using code block to evaluate other org file spine_version_info_and_doc_header_including_copyright_and_license.org
* replace directory listing, blank index.htmlRalph Amissah2023-06-271-4/+4
|
* html, bespoke homepage, symlink toc.html index.htmlRalph Amissah2023-06-271-1/+15
| | | | | - html, bespoke homepage option - html, symlinks toc.html index.html
* 2023, year rollover, old habitRalph Amissah2023-01-011-3/+2
|
* regex review, match speed & compile time, ctregexRalph Amissah2022-12-231-4/+0
| | | | | | | | | - improve match time - add interim fontface identifier marker - improve compile time - remove unused regexs - separate out some specialized output matches
* org noweb adjustmentsRalph Amissah2022-09-281-1/+2
|
* org-mode headers modifiedRalph Amissah2022-06-151-3/+2
|
* housekeepingRalph Amissah2022-05-271-1/+1
|
* generated-by header, latex, html, epubRalph Amissah2022-04-041-4/+17
| | | | - consider, implementation quite messy
* latex doc headers moved to .sty files in ./sty dirRalph Amissah2022-04-031-1/+33
| | | | - some changes made, font selection included
* verbosity level, "vox_gt[lv]" (voice greater than)Ralph Amissah2022-02-251-5/+5
|
* codegen cgi search removed (using src in org-mode)Ralph Amissah2022-02-051-32/+0
|
* a new yearRalph Amissah2022-01-051-2/+2
|
* sqlite related internal namingRalph Amissah2021-11-271-2/+2
|
* primarily org relatedRalph Amissah2021-11-271-1/+1
|
* spine search and configuration relatedRalph Amissah2021-08-111-1/+1
|
* org-mode code block headersRalph Amissah2021-06-281-1/+3
|
* spine options, pod uses source file structureRalph Amissah2021-04-201-3/+1
|
* org-mode, cosmeticRalph Amissah2021-04-191-15/+15
|
* headers: copyright, license, year; also httpsRalph Amissah2021-04-081-1/+58
|
* org mode, unique code-block names & adjust headersRalph Amissah2020-10-191-14/+25
| | | | | - avoid org-mode undefined behavior, provide unique code-block names
* doc abstraction, code & org whitespace, cosmeticRalph Amissah2020-05-201-15/+15
|
* cgi search form: path; theme; download remote srcRalph Amissah2020-05-201-1/+6
| | | | | | | - config output path - dark theme - allow downloads flag for download of remote file cgi.d
* config, where used without document processingRalph Amissah2020-05-201-7/+7
|
* 0.10.0 search sqlite & cgisisudoc-spine_v0.10.0-devRalph Amissah2020-05-201-2/+29
|
* imports related, mostly cosmeticRalph Amissah2020-02-261-1/+1
|
* code ctRegex calls, tidyingRalph Amissah2020-02-261-4/+4
|
* update headers and yearRalph Amissah2020-02-111-22/+21
|
* dlang safe default imminent, look aheadRalph Amissah2020-02-111-2/+5
| | | | - @safe @trusted & @system, reconsider @trusted
* present per document metadataRalph Amissah2020-01-131-0/+11
|
* module & src renamingdoc-reform_v0.9.0Ralph Amissah2019-11-221-19/+19
|