Skip to content

Commit

Permalink
Fix URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
johncbowman committed Feb 26, 2024
1 parent 3412394 commit cf6e323
Show file tree
Hide file tree
Showing 49 changed files with 22 additions and 2,467 deletions.
24 changes: 0 additions & 24 deletions Introduction.aux

This file was deleted.

12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
**PDF READER LIBRARY**
***

This repo is a JavaScript based PDF Viewer that allows for display of pdf's with embedded V3D Content use Node.js and webpack
This repo is a JavaScript based PDF Viewer that allows for display of PDFs with embedded V3D Content use Node.js and webpack

More about V3D here
- https://github.com/vectorgraphics/v3d

To generate PDF's with V3D files embedded, you can learn about the asymptote vector graphics language here
To generate PDFs with embedded V3D content, you can use the asymptote vector graphics language:
- https://asymptote.sourceforge.io/


To use it in a website, include the transform.js file as following in your site
<script defer src= "https://sean-madu.github.io/PDF_ReaderLib/dist/transform.js" > </script>
<script defer src= "https://vectorgraphics.github.io/pdfv3dReader/dist/transform.js" > </script>

and link your pdf as a [query string](https://en.wikipedia.org/wiki/Query_string) as seen below
and link your PDF as a [query string](https://en.wikipedia.org/wiki/Query_string) as seen below
- "[webpage url here]?pdf=[link to pdf here]">


Expand Down Expand Up @@ -43,7 +43,3 @@ module.exports = function Worker_fn() {
return new Worker(workerBlobUrl);
}
```
Finally whenever you edit a file such as the overlay.css or the reader.js, make sure to change it to the apporiate local file name in the transform.js file and other html files in the dist folder then switch back to linking to this repos when you push.

P.S Dont forget the index.html, its useful for testing and it has examples of how it can be used.
Have fun!
24 changes: 0 additions & 24 deletions TestFiles/Introduction.aux

This file was deleted.

24 changes: 0 additions & 24 deletions TestFiles/chapter_1.aux

This file was deleted.

24 changes: 0 additions & 24 deletions TestFiles/chapter_2.aux

This file was deleted.

24 changes: 0 additions & 24 deletions TestFiles/chapter_3.aux

This file was deleted.

24 changes: 0 additions & 24 deletions TestFiles/chapter_4.aux

This file was deleted.

25 changes: 0 additions & 25 deletions TestFiles/link.aux

This file was deleted.

Loading

0 comments on commit cf6e323

Please sign in to comment.