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

pdf-processing-1 example updated #998

Merged
merged 8 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions examples/data-files/pdf-processing-1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Creating Input PDFs (Optional)

Sample PDFs we use for this example are created from markdown documents using pandoc utility, as follows.

```bash
pandoc earth.md -o earth.pdf
pandoc earth2.md -o earth2.pdf
pandoc mars.md -o mars.pdf
pandoc spam.md -o spam.pdf
pandoc lorem-ipsum.md -o lorem-ipsum.pdf
```
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions examples/data-files/pdf-processing-1/earth2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Earth


## Solar System

Our solar system is a vast and fascinating expanse, comprising eight planets, five dwarf planets, numerous moons, asteroids, comets, and other celestial bodies. At its center lies the star we call the Sun.

For more details about the Solar system see Chapter 1.

## Earth

Earth is the third planet from the Sun. It's our home planet. Earth is the only place we know of with life.

Basic facts about Earth:

- Distance from the Sun: Average of 149.6 million kilometers (93 million miles)
- Rotation Period: 24 hours (one day)
- Moons: One moon, called Luna or simply "the Moon".
Binary file added examples/data-files/pdf-processing-1/earth2.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions examples/data-files/pdf-processing-1/lorem-ipsum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Lorem ipsum
Lorem ipsum
Lorem ipsum
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions examples/data-files/pdf-processing-1/spam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Free xxx
Binary file added examples/data-files/pdf-processing-1/spam.pdf
Binary file not shown.
36 changes: 0 additions & 36 deletions examples/notebooks/intro/README.md

This file was deleted.

Loading