Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeat-header erratic behavior #43

Open
wlupton opened this issue Aug 9, 2023 · 2 comments
Open

Repeat-header erratic behavior #43

wlupton opened this issue Aug 9, 2023 · 2 comments
Assignees
Labels
bug Something isn't working headers Issue related to table headers and their repetition
Milestone

Comments

@wlupton
Copy link

wlupton commented Aug 9, 2023

I haven't yet tried to reproduce this problem in a small document. Please let me know if you'd like me to try to do this.

I've observed that repeat-header appears to work erratically. Please see below the beginnings of some tables, and how they render.

#figure(
  kind: table,
  caption: [Table 7: InstanceRef Facet Definition])[
  #tablex(
    columns: (auto, auto),
    align: (auto, auto),
    fill: table-fill.with(columns: 2, header-rows: 1),
    header-rows: 1,
    repeat-header: true,
    header-hlines-have-priority: false,
    auto-hlines: true,
    auto-vlines: false,
    (), vlinex(), (),
    [Name], [Description],
    [targetParent],
    [
      Specifies the Path Name of the Multi\-Instance Object (table) of
      which an instance (row) is being referenced. \
      "{i}" placeholders and explicit Instance Identifiers are not
      permitted in the Path Name. targetParentScope can be used to
      specify Path Names relative to the Root or Service Object or the
      current object.
    ],

Screenshot 2023-08-09 at 15 23 20

#figure(
  kind: table,
  caption: [Table 12: XML Bibliographic References])[
  #tablex(
    columns: (auto, auto),
    align: (auto, auto),
    fill: table-fill.with(columns: 2, header-rows: 1),
    header-rows: 1,
    repeat-header: true,
    header-hlines-have-priority: false,
    auto-hlines: true,
    auto-vlines: false,
    (), vlinex(), (),
    [Name], [Description],
    [id], [The bibliographic reference ID.],

Screenshot 2023-08-09 at 15 23 50

#figure(
  kind: table,
  caption: [Table 18: XML Command Definition])[
  #tablex(
    columns: (auto, auto),
    align: (auto, auto),
    fill: table-fill.with(columns: 2, header-rows: 1),
    header-rows: 1,
    repeat-header: true,
    header-hlines-have-priority: false,
    auto-hlines: true,
    auto-vlines: false,
    (), vlinex(), (),
    [Name], [Description],
    [name], [The command name
      (#link(<sec:general-notation>)[Section 3.1]).],
    [async], [Whether this command is asynchronous or not.],

Screenshot 2023-08-09 at 15 24 21

@ondohotola
Copy link

ondohotola commented Aug 9, 2023 via email

@PgBiel PgBiel added the bug Something isn't working label Aug 9, 2023
@PgBiel PgBiel added this to the v0.1.0 milestone Aug 9, 2023
@PgBiel PgBiel self-assigned this Aug 9, 2023
@PgBiel
Copy link
Owner

PgBiel commented Aug 9, 2023

This is indeed a bug caused by how tablex uses introspection to produce headers. This should hopefully be fixed in v0.1.0, which will bring a rework to the rendering system. Thanks for the report!

@PgBiel PgBiel moved this to 📋 Backlog in Tablex 0.1.0 Nov 17, 2023
@PgBiel PgBiel added the headers Issue related to table headers and their repetition label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working headers Issue related to table headers and their repetition
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants