From a2675f91e2724a3018ec3a7ab2fb525e292a9430 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 10 Apr 2022 20:04:54 +0200 Subject: Use sphinxcontrib-bibtex to manage the bibliography --- source/bibliography/drafting.bib | 8 ++++++++ source/bibliography/index.rst | 16 ++++++++++++++++ source/bibliography/misc.bib | 8 ++++++++ source/conf.py | 8 ++++++++ .../skirts/1892_foundation_skirt/index.rst | 4 +--- source/index.rst | 1 + 6 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 source/bibliography/drafting.bib create mode 100644 source/bibliography/index.rst create mode 100644 source/bibliography/misc.bib (limited to 'source') diff --git a/source/bibliography/drafting.bib b/source/bibliography/drafting.bib new file mode 100644 index 0000000..ed73732 --- /dev/null +++ b/source/bibliography/drafting.bib @@ -0,0 +1,8 @@ +@Book{1892:cutters + author = {Vincent, W. D. F. (William D. F.)}, + title = {The cutters’ practical guide to the cutting of ladies’ garments}, + publisher = {London, J. Williamson}, + year = {1892}, + url = "https://archive.org/details/cutterspractical00vinc/", + note = "Drafting manual." +} diff --git a/source/bibliography/index.rst b/source/bibliography/index.rst new file mode 100644 index 0000000..cafdc6f --- /dev/null +++ b/source/bibliography/index.rst @@ -0,0 +1,16 @@ +############## + Bibliography +############## + +Drafting Manuals +================ + +.. bibliography:: drafting.bib + :all: + +Miscellaneous +============= + +.. bibliography:: misc.bib + :all: + diff --git a/source/bibliography/misc.bib b/source/bibliography/misc.bib new file mode 100644 index 0000000..1150537 --- /dev/null +++ b/source/bibliography/misc.bib @@ -0,0 +1,8 @@ +@Book{1898:household + author = {Bertha Banner}, + title = {Household Sewing with Home Dressmaking}, + publisher = {Longmans, Green, and co.}, + year = {1898}, + url = "https://archive.org/details/householdsewing00banngoog", + note = "" +} diff --git a/source/conf.py b/source/conf.py index b023889..09c46d8 100644 --- a/source/conf.py +++ b/source/conf.py @@ -31,6 +31,7 @@ master_doc = 'index' # ones. extensions = [ 'sphinxcontrib.inkscapeconverter', + 'sphinxcontrib.bibtex', ] # Add any paths that contain templates here, relative to this directory. @@ -76,3 +77,10 @@ latex_elements = { ''', 'fncychap': r'\usepackage[Rejne]{fncychap}', } + +# Options for extensions + +bibtex_bibfiles = [ + "bibliography/drafting.bib", + "bibliography/misc.bib", +] diff --git a/source/historical_womenswear/skirts/1892_foundation_skirt/index.rst b/source/historical_womenswear/skirts/1892_foundation_skirt/index.rst index 6d63777..cbbcd21 100644 --- a/source/historical_womenswear/skirts/1892_foundation_skirt/index.rst +++ b/source/historical_womenswear/skirts/1892_foundation_skirt/index.rst @@ -4,9 +4,7 @@ .. figure:: full_shirt_front.jpg :align: center -A foundation skirt based on the instructions on `The Cutters’ Practical -Guide to the Cutting of Ladies’ Garments -`_ from 1892, +A foundation skirt based on the instructions on :cite:p:`1892:cutters`, adapted to let the hem lie on the cross-grain for ease of cutting, especially when using patterned fabric. diff --git a/source/index.rst b/source/index.rst index 6e92709..879b74a 100644 --- a/source/index.rst +++ b/source/index.rst @@ -57,6 +57,7 @@ Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. historical_womenswear/index historical_menswear/index accessories/index + bibliography/index .. only:: draft -- cgit v1.2.3