Skip to content

Commit 9f2ccce

Browse files
committed
Minor docs update
1 parent 654a871 commit 9f2ccce

7 files changed

+6
-6
lines changed

docs/RenderingSpreadsheetsAsPDFTables.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
All the details on tables and options to style them are detailed on the dedicated page: [Tables](Tables.md).
66

77
## From a .csv spreadsheet
8-
Example input file: [color_srgb.csv](../tutorial/color_srgb.csv)
8+
Example input file: [color_srgb.csv](./color_srgb.csv)
99
```python
1010
{% include "../tutorial/csv2table.py" %}
1111
```
1212

1313
## From a .xlsx spreadsheet
14-
Example input file: [color_srgb.xlsx](../tutorial/color_srgb.xlsx)
14+
Example input file: [color_srgb.xlsx](./color_srgb.xlsx)
1515
```python
1616
{% include "../tutorial/xlsx2table.py" %}
1717
```
1818

1919
## From an .ods spreadsheet
20-
Example input file: [color_srgb.ods](../tutorial/color_srgb.ods)
20+
Example input file: [color_srgb.ods](./color_srgb.ods)
2121
```python
2222
{% include "../tutorial/ods2table.py" %}
2323
```
File renamed without changes.
File renamed without changes.
File renamed without changes.

tutorial/csv2table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# USAGE: ./csv2table.py spreadsheet.csv
2+
# USAGE: ./csv2table.py color_srgb.csv
33
import csv, sys
44
from fpdf import FPDF, FontFace
55
from fpdf.drawing import color_from_hex_string

tutorial/ods2table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
# Script Dependencies:
33
# odfpy
4-
# USAGE: ./ods2table.py spreadsheet.ods
4+
# USAGE: ./ods2table.py color_srgb.ods
55
import sys
66
from fpdf import FPDF, FontFace
77
from fpdf.drawing import color_from_hex_string

tutorial/xlsx2table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
# Script Dependencies:
33
# openxlsx
4-
# USAGE: ./xlsx2table.py spreadsheet.xlsx
4+
# USAGE: ./xlsx2table.py color_srgb.xlsx
55
import sys
66
from fpdf import FPDF, FontFace
77
from fpdf.drawing import color_from_hex_string

0 commit comments

Comments
 (0)