Re: Help with citations in groff

2023-12-02 Thread Darris Hawks
I have realized I can do a workaround with a series of ternary statements like the refer manual says: `expr1?expr2:expr3` Where I use fields I am unlikely to use for anything else in `expr1` and another ternary in `expr3` E.g., `O?case:S?statute:G?rule:journal` Then, make sure that the .ref has %

Re: Help with citations in groff

2023-12-02 Thread hbezemer--- via
Darris, I'm by no means an expert, but I'll be happy to help. Question 2: Are you using a macro package like ms, mm or mom? These packages could provide a footnote and you can fill the footnote with your full citation (see for instance the mom-documentation on this topic). Question 1: From wha

Using .[ and .] in a macro

2023-12-02 Thread hbezemer--- via
Dear all,I would like to create a macro along the lines of:.de CITE.[\\$2\\$1.]\\$3..Which would result in:.CITE The problem that arises is that refer sees the definition of the macro asa citation (of course).Is there an elegant way to get this to work?Kind regards,Hans