Skip to content

Default templates not used? #156

@paravoid

Description

@paravoid

OK forgive me if this is a stupid question, as I may be missing something major in the new template functionality:

  1. lowdown.1 says: "If not explicitly set with --template, a default template is produced as follows …"
  2. But later on, under FILES, there is a list of files (under share/), with a description of "The default template used if --template is not provided to -t[…]"

I tried modifying the -tman template on the filesystem and no changes were made in the output.

Looking at the code, as far as I can tell nothing reads the templates under /usr/share/, and the default output is just generated in code e.g. bn = bqueue_block(st, obq, ".\\\" -*- mode: troff; coding: utf-8 -*-");.

I started looking at this trying to figure out whether I should ship the templates with the liblowdown2 package or the main lowdown package, but if it turns out I don't need to ship them at all, that would be even easier 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions