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

Tracking of media associated with pdftohtml #1

Open
brownag opened this issue Dec 2, 2020 · 0 comments
Open

Tracking of media associated with pdftohtml #1

brownag opened this issue Dec 2, 2020 · 0 comments
Assignees

Comments

@brownag
Copy link
Member

brownag commented Dec 2, 2020

Need to develop a routine for identifying relative position of the image file references in HTML files, so that they can be tagged to the "appropriate" NSSH Part, subpart, section, clauses. etc. as gleaned from pdftotext and JSON-ified.

The following files are currently produced by pdftohtml and are untracked.

Any reason to not track them as is? Or should there be a pipeline specifically for this? Should individual NSSH parsers handle it or is there a generic solution?

> list.files("inst/extdata","png|jpg",recursive = TRUE)
 [1] "NSSH/600/600B-4_1.png"  "NSSH/614/614B-1_1.png"  "NSSH/618/618B-10_1.png" "NSSH/618/618B-11_1.png" "NSSH/618/618B-11_2.png"
 [6] "NSSH/618/618B-11_3.png" "NSSH/618/618B-15_1.jpg" "NSSH/618/618B-8_1.png"  "NSSH/627/627B-13_1.jpg" "NSSH/627/627B-14_1.jpg"
[11] "NSSH/627/627B-4_1.png"  "NSSH/644/644B-5_1.jpg"  "NSSH/647/647B-2_1.jpg" 
@brownag brownag changed the title Tracking of media associated with txttohtml Tracking of media associated with pdftohtml Dec 2, 2020
@brownag brownag self-assigned this Dec 24, 2020
@brownag brownag mentioned this issue Dec 22, 2021
3 tasks
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

No branches or pull requests

1 participant