Skip to content

Commit

Permalink
added to edn structure the parameters to tunnel to htm-teibibl.xsl
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroLiuzzo committed Oct 21, 2019
1 parent 8a65eab commit 5b955a9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Three methods:

~~~
git clone https://github.com/EpiDoc/Stylesheets.git your_directory
~~~
~~~

2. Download the latest development version directly from: <https://github.com/EpiDoc/Stylesheets/archive/master.zip>

Expand Down Expand Up @@ -82,3 +82,25 @@ The parameters currently defined include:
text is tagged using <lg> and <l> elements [instead of <ab>] then
edition is formatted and numbered in verse lines rather than
epigraphic lines)
$bibliography:
the default value is 'none', but in this parameter you can set the Stylesheets
to look eiterh at a local TEI encoded bibliography file with the
value 'localTEI' (the path to which should be defined in $localbibl) or
look at a Zotero Library openly accessible online, setting the
parameter to 'zotero' and taking care to set also the other
parameters starting with $Zotero
$localbibl:
if you selected 'localTEI' as a value for $bibliography, than in this paramter
you can set the relative path to this file. As an example it assumes that this will be
in ../BIBLIOGRAPHY.xml, but it needs not to be there, simply set it to the correct relative path.
$ZoteroUorG:
values are 'groups' (default) or 'users'. If the
Zotero bibliography is used, select whether it is a group library or a user's library
$ZoteroKey:
value is free for you to set based on the key identifying your library in Zotero,
there is a default on 247748, which is the EAGLE group bibliography
$ZoteroNS:
deafualt value is no namespace, although the htm-teibibl.xsl using this parameter takes this value only if selected. You can set it to any prefix you are using in your Zotero library.
$ZoteroStyle:
value is the name of the desired CSL registered style in the
Citation Styles Repository, e.g. chicago-author-date, which is the default Zotero will use if you do not specify this parameter
6 changes: 6 additions & 0 deletions start-edition.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@
<xsl:with-param name="parm-line-inc" select="$line-inc" tunnel="yes" as="xs:double"/>
<xsl:with-param name="parm-verse-lines" select="$verse-lines" tunnel="yes"/>
<xsl:with-param name="parm-css-loc" select="$css-loc" tunnel="yes"/>
<xsl:with-param name="parm-bib" select="$bibliography" tunnel="yes"/>
<xsl:with-param name="parm-bibloc" select="$localbibl" tunnel="yes"/>
<xsl:with-param name="parm-zoteroUorG" select="$ZoteroUorG" tunnel="yes"/>
<xsl:with-param name="parm-zoteroKey" select="$ZoteroKey" tunnel="yes"/>
<xsl:with-param name="parm-zoteroNS" select="$ZoteroNS" tunnel="yes"/>
<xsl:with-param name="parm-zoteroStyle" select="$ZoteroStyle" tunnel="yes"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="$edn-structure = 'dol'">
Expand Down

0 comments on commit 5b955a9

Please sign in to comment.