aboutsummaryrefslogtreecommitdiff
path: root/scripts/tex.py
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-16 16:40:46 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-16 16:40:46 +0200
commitdd2db2b7f62106e6c6c2abdaed73c5f608c690c6 (patch)
tree559570acfcb18214abf092f086ec68efdad5b201 /scripts/tex.py
parentf6cb1e9d141d881ae6205027626d6643776e833c (diff)
update reqs2tex and add comments to reqs.toml
Diffstat (limited to 'scripts/tex.py')
-rw-r--r--scripts/tex.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/tex.py b/scripts/tex.py
index b044857..2fd51d8 100644
--- a/scripts/tex.py
+++ b/scripts/tex.py
@@ -41,3 +41,6 @@ def esc(plain):
def tabrule(*cells):
return "&".join(cells) + "\\\\"
+def label2ref(*labels):
+ return ",".join(["req:" + label.replace('.', ':') for label in labels])
+