Skip to content

Conversation

@stumbo
Copy link
Member

@stumbo stumbo commented Nov 2, 2025

Update taxonomy_terms_cloud.html to print All Authors list.

image

MattHeffron and others added 30 commits April 15, 2025 11:00
1. The "main" Bibliography page is not (yet) modified to reference these.
2. This fails when hugo tries to render the html for the generated .md files.

The error from Hugo (it reports 4 then seems to hang):
ERROR render of "/home/matt/Interlisp/Interlisp.github.io/content/en/history/bibliography/2LJ5ITDD.md" failed: "/home/matt/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.10.0/layouts/docs/single.html:2:3": execute of template failed: template: docs/single.html:2:3: executing "main" at <.Render>: error calling Render: failed to execute template content.html: "/home/matt/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.10.0/layouts/_default/content.html:10:4": execute of template failed: template: content.html:10:4: executing "content.html" at <.Content>: error calling Content: "/home/matt/Interlisp/Interlisp.github.io/content/en/history/bibliography/2LJ5ITDD.md:8:1": failed to render shortcode "bibItem": failed to process shortcode: "/home/matt/Interlisp/Interlisp.github.io/layouts/shortcodes/bibItem.html:168:23": execute of template failed: template: _shortcodes/bibitem.html:168:23: executing "_shortcodes/bibitem.html" at <.params.bibItem>: can't evaluate field params in type *hugolib.ShortcodeWithPage
This now creates the files but has some difficulties.
The main Bibliography page hasn't been changed.
Crude listing generated in /pulications folder.
Primitive first pass.  Provides a chronological list of all
bibliography entires providing titles, authors, date and an
abbreviated start of the abstract (limted to 24 words). In
addition, a link is enclosed that goes to the markdown file
that represents the bibliography entry.

Currently, there is nothing implemented to show the contents of
the md file.

There is no bibliography css implemented to format the list items.

This provides an initial proof of concept.  A simple framework that
can be extended and styled to get us where we want to go.
Primitive first pass.  Provides a chronological list of all
bibliography entires providing titles, authors, date and an
abbreviated start of the abstract (limted to 24 words). In
addition, a link is enclosed that goes to the markdown file
that represents the bibliography entry.

Currently, there is nothing implemented to show the contents of
the md file.

There is no bibliography css implemented to format the list items.

This provides an initial proof of concept.  A simple framework that
can be extended and styled to get us where we want to go.
The bibliography md files are build using the update_bibliography.sh
script.  bib-fns.jq provides functions to reformat the Zotero JSON.
bibSplit.pl creates the md file and a data file containing the JSON
for each page.  Future work will remove the JSON data files once all the
content is encompassed in the md file.

Added new document type bibliography to generate the list of
bibliography entries.  layouts/bibliography/list.html provides this
functionality.  It also currently includes some light css to format the
output.  The css will eventually be moved into a standalone file within
the Hugo ecosystem.

Removed the original publication type and its associated files in
layouts.

Removed some HugoBlox files.  They were left over from an early attempt
to create a bibliography using HugoBlox as a template.

Updated gh-pages.yml, the GHA, to cache the md pages and JSON files.
Rewrote the caching to make it more efficient and easier to follow.
The Read Me link now points to the Zotero entry for
each item.
Changed the de-html & re-html encoding to remove unnecessary encoding of html entities.
bibSplit.pl errors go to STDERR
update_bibliography.sh redirects those errors to bibSplit.err file.

I cannot find Hugo documentation showing why _ in truncated abstract renders as ellipsis.
Authors are now stored as a list of strings in the YAML, one author per
line in the list.

Previously all the authors were consolidated into a single string.
                                                         Create baseof.html - framework for bibliography screen          single.html - layout of individual entry                                                                   Updated list.html - with baseof, <br>s added at beginning of file are no                                          longer needed.                                                                                                    Updated bibSplit.pl specify each page as a bibliography page.
Build out parsing of json to get needed items
and putting the items into the generated pages.
Individual bibliography entries are created for
all document types.  Customized the entries shown
based on Zotero entries.  Added url, left placeholder
for citation.

Updated list of bibliography entries to link to
individual entries.
A hack for bulleted list in Abstracts.
Some rearranging for consistency between the list and single views.
Other tweaks for my preferences.
Add bibliographical support for item_type (the type of
bibliographic entry) and author.

Provide support for filtering bibliographic list by both
types of tags.
… debugging changes.

Included usage information.
The previous behavior (no command line options) is unchanged.
(No modification to invocation required.)
Clean out some old files js & scss from earlier bibliography work.
@stumbo stumbo self-assigned this Nov 2, 2025
Copy link
Member

@masinter masinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same problem as with pr #300 ... lots of commits and work on various aspects, but this PR only changes 1 file in a minor way.

Copy link
Member

@masinter masinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand now the many commits were part of PR #295, and this is a minor patch with only 1 commit

@stumbo stumbo merged commit 88b81ef into main Nov 2, 2025
@stumbo stumbo deleted the bs3_bib_fix_authors_page branch November 2, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants