tapas

[discontinued] A small program used for compiling refer output into the APA reference format.
git clone https://noxz.tech/git/tapas.git
Log | Files | README | LICENSE

commit: 10d4bd82a9c50e2c08530b53aece3762250fbcc2
parent: a9f9f6677df5442d6356c99408c6bcf32ad2f19c
author: Chris Noxz <chris@noxz.tech>
date:   Fri, 3 Jan 2020 20:28:02 +0100
Fix article template
Mtapas.c8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/tapas.c b/tapas.c
@@ -316,20 +316,18 @@ format_article()
         || !state.ref->title
         || !state.ref->journal_name
         || !state.ref->journal_number
-        || !state.ref->city
-        || !state.ref->publisher)
+        || !state.ref->page_number)
         return;
     switch (settings.macroset) {
     case ms_ms:
         fprintf(stdout,
-            ".XP\n%s (%s). \n.I \"%s\" \" (%s, %s).\"\n%s: %s.\n",
+            ".XP\n%s (%s). %s.\n.I \"%s\" \", %s, %s.\"\n",
             state.ref->author,
             state.ref->publication_date,
             state.ref->title,
             state.ref->journal_name,
             state.ref->journal_number,
-            state.ref->city,
-            state.ref->publisher
+            state.ref->page_number
         ); break;
     }
 }