Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions _posts/2025-02-20-groff-apa.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,40 @@ permalink: /groff-apa

# Table of Contents <a name=tableofcontents></a>

[Preface](/groff-apa#preface)
1. [Table of Contents](/groff-apa#tableofcontents)

[Introduction](/groff-apa#introduction)
2. [Preface](/groff-apa#preface)

[Prerequisites](/groff-apa#prerequisites)
3. [Introduction](/groff-apa#introduction)

[Cover Page](/groff-apa#coverpage)
4. [Prerequisites](/groff-apa#prerequisites)

[Page Numbering](/groff-apa#pagenumbering)
5. [Cover Page](/groff-apa#coverpage)

[Font](/groff-apa#font)
6. [Page Numbering](/groff-apa#pagenumbering)

7. [Font](/groff-apa#font)
- [Font Family](/groff-apa#fontfamily)
- [Default Fonts](/groff-apa#defaultfonts)
- [Custom Fonts](/groff-apa#customfonts)
- [Font Size](/groff-apa#fontsize)
- [Line Spacing](/groff-apa#linespacing)
- [Font Style](/groff-apa#fontstyle)

[In-text Citation](/groff-apa#intextcitation)
8. [In-text Citation](/groff-apa#intextcitation)
- [Parenthetical Citation](/groff-apa#parentheticalcitation)
- [Narrative Citation](/groff-apa#narrativecitation)

[Reference List](/groff-apa#referencelist)
9. [Reference List](/groff-apa#referencelist)
- [Formatting the Heading](/groff-apa#formattingtheheading)
- [Space Between Entries](/groff-apa#spacebetweenentries)
- [Field Ordering](/groff-apa#fieldordering)
- [Punctuation](/groff-apa#punctuation)
- [Period Suppression](/groff-apa#periodsuppression)

[Exporting as PDF](/groff-apa#exportingaspdf)
10. [Exporting as PDF](/groff-apa#exportingaspdf)

11. [Conclusion](/groff-apa#conclusion)

# Preface <a name=preface></a>

Expand Down Expand Up @@ -451,7 +455,7 @@ Below is a list explaining what each of the optional arguments mean:
- `-R` selects refer macros.
- (Optional) `-dpaper=a4` and `-P-pa4` exports the paper to the international-standard A4 size instead of the default US letter.

# Conclusion
# Conclusion <a name=conclusion></a>

If you found this helpful in any way or have any questions, feel free to leave a comment below.

Expand Down
19 changes: 0 additions & 19 deletions _site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,3 @@ bundle exec jekyll serve
7) Profit!

Refer to the [official Jekyll documentation](https://jekyllrb.com/docs) for more information regarding installing and running Jekyll.

### Write a Blog Post

1. Create a markdown (`.md`) file inside `/_posts` with this at the top of the document:

```md
---
layout: post
title:
date: YYYY-MM-DD
categories:
permalink: /...
---
```

2. Write the title of the post after `title:`.
3. Replace `YYYY`, `MM`, and `DD` with the year, month, and day the post is published, respectively.
4. Add any keywords related to the topic of your post after `categories:` separated by commas.
5. Replace the `...` after `permalink:` with the custom path given to the blog post.
90 changes: 52 additions & 38 deletions _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1,47 +1,60 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2025-02-07T23:02:52+08:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">de_soot</title><subtitle>hosted on github pages</subtitle><entry><title type="html">Guide to APA with groff ms and refer</title><link href="http://localhost:4000/groff-apa" rel="alternate" type="text/html" title="Guide to APA with groff ms and refer" /><published>2025-02-07T00:00:00+08:00</published><updated>2025-02-07T00:00:00+08:00</updated><id>http://localhost:4000/groff-apa</id><content type="html" xml:base="http://localhost:4000/groff-apa"><![CDATA[<h1 id="table-of-contents-">Table of Contents <a name="tableofcontents"></a></h1>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2025-02-08T12:55:36+08:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">de_soot</title><subtitle>hosted on github pages</subtitle><entry><title type="html">Guide to APA with groff ms and refer</title><link href="http://localhost:4000/groff-apa" rel="alternate" type="text/html" title="Guide to APA with groff ms and refer" /><published>2025-02-07T00:00:00+08:00</published><updated>2025-02-07T00:00:00+08:00</updated><id>http://localhost:4000/groff-apa</id><content type="html" xml:base="http://localhost:4000/groff-apa"><![CDATA[<h1 id="table-of-contents-">Table of Contents <a name="tableofcontents"></a></h1>

<p><a href="/groff-apa#preface">Preface</a></p>

<p><a href="/groff-apa#introduction">Introduction</a></p>

<p><a href="/groff-apa#prerequisites">Prerequisites</a></p>

<p><a href="/groff-apa#coverpage">Cover Page</a></p>

<p><a href="/groff-apa#pagenumbering">Page Numbering</a></p>

<p><a href="/groff-apa#font">Font</a></p>
<ul>
<li><a href="/groff-apa#fontfamily">Font Family</a>
<ol>
<li>
<p><a href="/groff-apa#tableofcontents">Table of Contents</a></p>
</li>
<li>
<p><a href="/groff-apa#preface">Preface</a></p>
</li>
<li>
<p><a href="/groff-apa#introduction">Introduction</a></p>
</li>
<li>
<p><a href="/groff-apa#prerequisites">Prerequisites</a></p>
</li>
<li>
<p><a href="/groff-apa#coverpage">Cover Page</a></p>
</li>
<li>
<p><a href="/groff-apa#pagenumbering">Page Numbering</a></p>
</li>
<li><a href="/groff-apa#font">Font</a>
<ul>
<li><a href="/groff-apa#defaultfonts">Default Fonts</a></li>
<li><a href="/groff-apa#customfonts">Custom Fonts</a></li>
<li><a href="/groff-apa#fontfamily">Font Family</a>
<ul>
<li><a href="/groff-apa#defaultfonts">Default Fonts</a></li>
<li><a href="/groff-apa#customfonts">Custom Fonts</a></li>
</ul>
</li>
<li><a href="/groff-apa#fontsize">Font Size</a></li>
<li><a href="/groff-apa#linespacing">Line Spacing</a></li>
<li><a href="/groff-apa#fontstyle">Font Style</a></li>
</ul>
</li>
<li><a href="/groff-apa#fontsize">Font Size</a></li>
<li><a href="/groff-apa#linespacing">Line Spacing</a></li>
<li><a href="/groff-apa#fontstyle">Font Style</a></li>
</ul>

<p><a href="/groff-apa#intextcitation">In-text Citation</a></p>
<ul>
<li><a href="/groff-apa#parentheticalcitation">Parenthetical Citation</a></li>
<li><a href="/groff-apa#narrativecitation">Narrative Citation</a></li>
</ul>

<p><a href="/groff-apa#referencelist">Reference List</a></p>
<ul>
<li><a href="/groff-apa#formattingtheheading">Formatting the Heading</a></li>
<li><a href="/groff-apa#spacebetweenentries">Space Between Entries</a></li>
<li><a href="/groff-apa#fieldordering">Field Ordering</a></li>
<li><a href="/groff-apa#punctuation">Punctuation</a>
<li><a href="/groff-apa#intextcitation">In-text Citation</a>
<ul>
<li><a href="/groff-apa#periodsuppression">Period Suppression</a></li>
<li><a href="/groff-apa#parentheticalcitation">Parenthetical Citation</a></li>
<li><a href="/groff-apa#narrativecitation">Narrative Citation</a></li>
</ul>
</li>
</ul>

<p><a href="/groff-apa#exportingaspdf">Exporting as PDF</a></p>
<li><a href="/groff-apa#referencelist">Reference List</a>
<ul>
<li><a href="/groff-apa#formattingtheheading">Formatting the Heading</a></li>
<li><a href="/groff-apa#spacebetweenentries">Space Between Entries</a></li>
<li><a href="/groff-apa#fieldordering">Field Ordering</a></li>
<li><a href="/groff-apa#punctuation">Punctuation</a>
<ul>
<li><a href="/groff-apa#periodsuppression">Period Suppression</a></li>
</ul>
</li>
</ul>
</li>
<li>
<p><a href="/groff-apa#exportingaspdf">Exporting as PDF</a></p>
</li>
<li><a href="/groff-apa#conclusion">Conclusion</a></li>
</ol>

<h1 id="preface-">Preface <a name="preface"></a></h1>

Expand Down Expand Up @@ -189,6 +202,7 @@ sort A+ # Sorts References in alphabetical order
label "(A1?(A1.n(A3?' et al.':A2&amp;' &amp; 'A2.n)):Q)', '(D.y|D)" # "Author(s), Date" format for parenthetical citation (joins author names using '&amp;' if 2 authors; appends 'et. al.' if 3 or more)
bracket-label " (" ) "; " # (same as `-S` argument for refer)
no-label-in-reference # Do not display (Author(s), Date) like footnotes in reference list
join-authors " &amp; " ", " " &amp; " # Change default "and" to ampersand (&amp;) when joining author names in reference entry
.R2 \" Refer block end
</code></pre></div></div>

Expand Down Expand Up @@ -412,7 +426,7 @@ no-label-in-reference # Do not display (Author(s), Date) like footnotes in refer
<li>(Optional) <code class="language-plaintext highlighter-rouge">-dpaper=a4</code> and <code class="language-plaintext highlighter-rouge">-P-pa4</code> exports the paper to the international-standard A4 size instead of the default US letter.</li>
</ul>

<h1 id="conclusion">Conclusion</h1>
<h1 id="conclusion-">Conclusion <a name="conclusion"></a></h1>

<p>If you found this helpful in any way or have any questions, feel free to leave a comment below.</p>

Expand Down