Skip to content

Align PDF longtable rules with shaded row width#117

Merged
roman-khimov merged 5 commits into
masterfrom
copilot/fix-table-borders
May 15, 2026
Merged

Align PDF longtable rules with shaded row width#117
roman-khimov merged 5 commits into
masterfrom
copilot/fix-table-borders

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

PDF tables with alternating row colors were rendering with the shaded rows wider than the visible top/mid/bottom rules, which is especially noticeable in the ACL matrices. This updates the shared LaTeX template so longtable borders and row shading use the same horizontal extent.

  • Template change

    • Adjust the table rule kern in templates/eisvogel.latex so longtable rules extend to the same width as the row background fill.
    • Override the internal longtable booktabs rule path to default to left/right extension when no explicit trim is provided.
  • Effect on rendered tables

    • Keeps zebra striping visually contained by the table borders in PDF output.
    • Applies centrally in the template, so existing affected tables ($Object prefixes, request spawning, similar ACL matrices) pick up the fix without content changes.
  • Relevant snippet

    \cmidrulekern=-\tabcolsep
    \makeatletter
    \def\@BLTrule{\@ifnextchar({\@@BLTrule}{\@@BLTrule(lr)}}
    \makeatother

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • downloads.sourceforge.net
    • Triggering command: /usr/bin/wget wget -q REDACTED -O /usr/bin/plantuml.jar s,+,\\+, al_Root_G2.crt e -f - /usr/bin/cat kpsereadlink ISTE�� lit crt /bin/sh b dpkg-deb e_Public_Trust_Efc677gkemkh2ak266eriffbac sh (dns block)
  • https://api.github.com/repos/Wandmalfarbe/pandoc-latex-template/contents/eisvogel.latex
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (http block)
  • registry.gitlab.com
    • Triggering command: /usr/bin/docker docker run --rm registry.gitlab.com/islandoftex/images/texlive:latest xelatex --version rtificates/mozil--log-format /usr/bin/tr ification_Authorcp -x e tr texl�� a-z rtificates/mozilla/GTS_Root_R4.crt /usr/bin/basename s/ /_/g -e UNDLE=/etc/ssl/c(create|run) 9dbdt7nkli4 (dns block)
  • tex.stackexchange.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue May 15, 2026 that may be closed by this pull request
Copilot AI and others added 4 commits May 15, 2026 09:56
Agent-Logs-Url: https://github.com/nspcc-dev/neofs-spec/sessions/3a32477b-5248-4893-9973-55e6868c45e9

Co-authored-by: roman-khimov <22092804+roman-khimov@users.noreply.github.com>
Agent-Logs-Url: https://github.com/nspcc-dev/neofs-spec/sessions/3a32477b-5248-4893-9973-55e6868c45e9

Co-authored-by: roman-khimov <22092804+roman-khimov@users.noreply.github.com>
Agent-Logs-Url: https://github.com/nspcc-dev/neofs-spec/sessions/3a32477b-5248-4893-9973-55e6868c45e9

Co-authored-by: roman-khimov <22092804+roman-khimov@users.noreply.github.com>
Agent-Logs-Url: https://github.com/nspcc-dev/neofs-spec/sessions/3a32477b-5248-4893-9973-55e6868c45e9

Co-authored-by: roman-khimov <22092804+roman-khimov@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix table borders in LaTeX/PDF Align PDF longtable rules with shaded row width May 15, 2026
Copilot AI requested a review from roman-khimov May 15, 2026 09:59
@roman-khimov roman-khimov marked this pull request as ready for review May 15, 2026 10:03
@roman-khimov roman-khimov merged commit 0b5e3cd into master May 15, 2026
1 check passed
@roman-khimov roman-khimov deleted the copilot/fix-table-borders branch May 15, 2026 10:09
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.

Fix table borders in latex/PDF

2 participants