racket / racket/scribble

'top cell-property does not work for cells with picts in PDF backend

Open
#260 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Racket
Stars
250
Forks
102
Avg merge
11d 11h
Merged PRs (30d)
1

Description

Here's an example:

#lang scribble/base

@tabular[
#:row-properties '((top-border bottom-border))
(list
(list "> " @verbatim|{a very tall



cell.}|))
]

@tabular[
#:row-properties '((top-border top bottom-border))
(list
  (list "> " @verbatim|{a very tall



cell.}|))
]


@(require pict)
@tabular[
#:row-properties '((top-border top bottom-border))
(list
  (list "> " (filled-ellipse 40 40)))
]

Expected output, and the output in HTML:
Screenshot_20200812_183954

Actual output in PDF:
Screenshot_20200812_184043

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the supplied scribble/base example through the PDF backend and compare its table-cell alignment with the HTML output. Trace the PDF handling of top cell properties when the cell contains a pict, then verify that both the tall verbatim cell and the filled ellipse align at the top without regressing the other examples.

Written by the indexing model from the issue text.

Assessment

Domain
backend, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.