Skip to content

Commit

Permalink
Merge pull request #6 from dyvenia/pandoc_fix
Browse files Browse the repository at this point in the history
pandoc path fix
  • Loading branch information
k-wolski authored Oct 7, 2024
2 parents 73081a6 + 51112c0 commit 636bfd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ brew install librsvg homebrew/cask/basictex

### Basic usage

In order to export markdown file as PDF, such command should be executed from root directory: `data-excellence/`
```
pandoc docs/{folder}/{file_name}.md -o {file_name}.pdf --toc --template=docs/assets/dyvenia-template.tex --listings
pandoc --from="markdown+rebase_relative_paths" docs/{folder}/{file_name}.md -o {file_name}.pdf --toc --template=docs/assets/dyvenia-template.tex --listings
```

### Additional commands
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/dyvenia-template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@
\fancyhf{} % Clear all header and footer fields
% Add logo to the header (left-aligned)
\fancyhead[L]{\includegraphics[width=3cm]{/Users/kwolski/dyvenia/home/data-excellence/docs/assets/images/dyvenia-logo-gruen-1.png}} % Adjust width and path as necessary
\fancyhead[L]{\includegraphics[width=3cm]{./docs/assets/images/dyvenia-logo-gruen-1.png}}
% Optional: Add page number to footer
\fancyfoot[C]{\thepage}
Expand Down

0 comments on commit 636bfd6

Please sign in to comment.