racket / racket/slideshow

Printing stops at the slide using LaTeX

Open
#15 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
38
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Hi, I found that the printing will stop at the slide using the package slideshow-latex. For example, if I use the LaTeX function at slide 7 while I have 10 slides, then slideshow can only print the first 7 slides.

The terminal gives the following info:

James:~ ► slideshow --print my_slideshow.rkt
INFO: latex compile path set to /Users/james/Research/presentation/my_slideshow.rkt-latex/
INFO: generating latex2bitmap-0ae2381338b10fc07d4ac8b7ffd8a97e.png
slideshow: slide program attempted to write to filesystem: #<path:latex2bitmap-0ae2381338b10fc07d4ac8b7ffd8a97e.tex>
  context...:
   /Applications/Racket v6.11/share/pkgs/slideshow-exe/slideshow/start.rkt:54:28
   /Users/james/Library/Racket/6.11/pkgs/slideshow-latex/slideshow/latex/latex2bitmap.rkt:171:3
   /Applications/Racket v6.11/collects/racket/private/more-scheme.rkt:373:13: hash-ref!
   /Users/james/Library/Racket/6.11/pkgs/slideshow-latex/slideshow/latex/latex2bitmap.rkt:198:0: latex->bitmap+ascent
   /Applications/Racket v6.11/collects/racket/private/more-scheme.rkt:261:28
   /Users/james/Research/presentation/my_slideshow.rkt: [running body]
   /Applications/Racket v6.11/share/pkgs/slideshow-exe/slideshow/start.rkt:50:2: load-content
   /Applications/Racket v6.11/share/pkgs/slideshow-exe/slideshow/start.rkt: [running body]

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

Reproduce the failure with slideshow --print my_slideshow.rkt using a LaTeX slide. Start with slideshow/start.rkt and slideshow/latex/latex2bitmap.rkt, especially the reported locations around lines 171 and 198. Done means printing continues past the LaTeX slide and includes all remaining slides.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.