-
Notifications
You must be signed in to change notification settings - Fork 7
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
Why is there a Comma Behind the sender.name? #14
Comments
I have no idea how to do a Pull Request, but the the diff that fixes this look slile *** lib.typ Wed Oct 30 23:17:19 2024
--- lib.typ.ori Wed Oct 30 23:17:14 2024
***************
*** 288,294 ****
}
if (name != none) and (address != none) {
! " "
}
if address != none {
--- 288,294 ----
}
if (name != none) and (address != none) {
! ", "
}
if address != none { |
But I have an alternative idea. There could be a new #show: letter-simple.with(
sender: (
name: "Jane Smith",
address: "Universal Exports, 1 Heavy Plaza, Morristown, NJ 07964",
address-line: "Jane Smith · Universal Exports · 1 Heavy Plaza · Morristown · NJ 07964"
),
// ...
) Would this work for you? |
That would work very much. As the sender rarely changes the "duplication" would not matter. I don't use an address block but put the sender address into the footer, so I never noticed. |
Great. Thanks for providing feedback on this library. I'll implement this feature in the next release. Can't give an ETA tho. |
Thank you. As I don't use the sender block I'll use use the 'patched' version until 3.0.1 comes out :-)-O |
This sounds pretty good. Does this enable us to "delete" the address-line by just setting the content to an empty string? And could this, per chance, then result in the space being freed? :) |
I like to have
·
or sometimes a hyphen-
between the Name, Street and Town in the small return address line above the recipient.I notice however, that
results in
EW Lisse, . PO Box · Windhoek
which looks awkward.
The text was updated successfully, but these errors were encountered: