Skip to content

Commit

Permalink
Merge pull request #36 from gina-alaska/readme-edits
Browse files Browse the repository at this point in the history
Readme edits
  • Loading branch information
ojlarson authored Oct 14, 2024
2 parents fd19095 + 925311d commit 908e0ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pandoc-manual-convert.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Convert README.md to PDF
name: Convert README.md to HTML to PDF

on:
workflow_dispatch: # Allows manual triggering
Expand All @@ -15,25 +15,25 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Convert Markdown to PDF


- name: Create url-wrap.tex
run: |
# Create the url-wrap.tex file
echo '\usepackage{xurl}' > url-wrap.tex
echo '\usepackage{url}' > url-wrap.tex
echo '\usepackage{hyperref}' >> url-wrap.tex
echo '\hypersetup{breaklinks=true}' >> url-wrap.tex
echo '\def\UrlBreaks{\do\/\do-}' >> url-wrap.tex
echo '\sloppy' >> url-wrap.tex
# Run pandoc to convert README.md to PDF
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace pandoc/latex:2.9 \
- name: Convert Markdown to PDF
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace pandoc/latex:latest \
-V colorlinks=true \
-V linkcolor=blue \
-V urlcolor=blue \
-V toccolor=gray \
-V geometry:margin=1in \
-V fontsize=11pt \
-V geometry:letterpaper \
-H url-wrap.tex \
README.md -o README.pdf
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Reclassification tables for ABoVE Landcover data, based on Beverly et al., 2021

- **Building_Outlines_FNSB.shp**

FNSB building footprint GIS polygon data, accessed from https://services.arcgis.com/f4rR7WnIfGBdVYFd/arcgis/rest/services/Building_Outlines_2023_Pictometry/FeatureServer
FNSB building footprint GIS polygon data, accessed from: https://fnsb.gov/1108/FNSB-GIS-Layer-REST-Services

- **Building_Outlines_FNSB_500mBuffer_Raster.tif**

Expand Down

0 comments on commit 908e0ff

Please sign in to comment.