8000 Gutter-restrict without gutter causes lines to disappear · Issue #21 · PgBiel/typst-tablex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Gutter-restrict without gutter causes lines to disappear #21

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

Closed
PgBiel opened this issue Jun 24, 2023 · 1 comment
Closed

Gutter-restrict without gutter causes lines to disappear #21

PgBiel opened this issue Jun 24, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@PgBiel
Copy link
Owner
PgBiel commented Jun 24, 2023

Gutter-restrict shouldn't have any effect on lines if the corresponding gutter type is none.

See the table below:

#tablex(
    columns: 3,
    auto-lines: false,
    [a], [b], [c],
    hlinex(gutter-restrict: top),
    [e], [f], [g],
    hlinex(gutter-restrict: bottom),
    [d], vlinex(gutter-restrict: left), [e], vlinex(gutter-restrict: right), [f]
)

It renders as follows (note the missing hline and vline):

image

(The output is correct for non-none gutters, but not if gutter is entirely disabled.)

@PgBiel PgBiel added the bug Something isn't working label Jun 24, 2023
@PgBiel PgBiel added this to the v0.0.4 milestone Jun 24, 2023
@PgBiel PgBiel self-assigned this Jun 24, 2023
@PgBiel PgBiel changed the title Gutter-restrict without gutter causes headings to disappear Gutter-restrict without gutter causes lines to disappear Jun 24, 2023
@PgBiel
Copy link
Owner Author
PgBiel commented Jun 24, 2023

Fixed in f37d9b2.

@PgBiel PgBiel closed this as completed Jun 24, 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
Projects
None yet
Development

No branches or pull requests

1 participant
0