Skip to content

Commit 4fca340

Browse files
committed
scrlttr2: support firstfoot option
1 parent 70c0661 commit 4fca340

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scrlttr2/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ variables:
2929
- `fromphone` (alias: `phone`): sender's phone number
3030
- `fromurl` (alias: `url`): sender's URL
3131
- `customer`: customer number
32+
- `firstfoot`: footer on the first page
3233
- `invoice`: invoice number
3334
- `myref`: sender's reference
3435
- `place`: sender's place used near date
@@ -43,7 +44,7 @@ list is given, then each list item is used as a line, e.g.,
4344
fromaddress:
4445
- 35 Industry Way
4546
- Springfield
46-
47+
4748
The `KOMAoptions` value is inferred from the given variables, but
4849
can be overwritten by specifying it explicitly.
4950

scrlttr2/scrlttr2.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ function setkomavar_commands (meta)
7979
set_koma_var('invoice', meta.invoice)
8080
set_koma_var('place', meta.place)
8181

82+
set_koma_var('firstfoot', meta.firstfoot)
83+
8284
set_koma_var('fromfax', meta.fromfax or meta.fax, true)
8385
set_koma_var('fromurl', meta.fromurl or meta.url, true)
8486
set_koma_var('fromlogo', meta.fromlogo or meta.logo, true)

0 commit comments

Comments
 (0)