Hello @Mohammad
I’m experiencing a very slight issue with Refnotes that I don’t understand.
I’m using a ViewTemplate with the code shown here:
\import $:/plugins/kookma/section/macros/main
\define filterpattern() ^\[.*\]$
\define charter()
<$list filter="[all[current]!has[congress]has[statefiled]]">
State: <$view field="statefiled"/> <<input statefiled 28>><br>
Vol.: <$view field="chartervolume"/> <<input chartervolume 6>><br>
Page(s): <$view field="charterpages"/> <<input charterpages 10>>
</$list>
<$list filter="[all[current]has[congress]]">
<$view field="congress"/> <<inputarea congress fieldareasmall>>
</$list>
<$list filter="[all[current]!has[congress]!has[statefiled]]">
State: <$view field="statefiled"/> <<input statefiled 32>><br>
Vol.: <$view field="chartervolume"/> <<input chartervolume 6>><br>
Page(s): <$view field="charterpages"/> <<input charterpages 10>><br>
Congress: <$view field="congress"/> <<inputarea congress fieldareasmall>>
</$list>
\end
<$list filter="[all[current]tag[Railroads]]" variable="dummy">
<h2 style="font-family: 'Vollkorn SC'; border-bottom: 1px solid #d8d8d8;">Organization</h2>
<$list filter="[all[current]!has[notinbarnes]]">
The {{!!title}} was chartered as a {{!!gauge}} gauge railroad in the state of {{!!statefiled}} on <$macrocall $name="date-str" date={{!!charterfiled}}/> (Vol. {{!!chartervolume}}, page(s) {{!!charterpages}}) and was submitted by {{!!signers}}
<p/>
It was chartered to build a railroad {{!!proposedroute}}
<p/>
It's term of existence was set at {{!!term}} and the capital stock was set at {{!!capital}}
<p/>
<$list filter="[all[current]has[stockholders]]">
The stockholders for the company were {{!!stockholders}}
<p/>
</$list>
The directors or incorporators were {{!!directors}}.<<fnote "[[Barnes Railroad Collection]]">>
</$list>
<h2 style="font-family: 'Vollkorn SC'; border-bottom: 1px solid #d8d8d8;">History</h2>
<$transclude field=text mode=block/>
<h2 style="font-family: 'Vollkorn SC'; border-bottom: 1px solid #d8d8d8;">References</h2>
<<showfnotes>>
</$list>
<$list filter="[all[current]tag[Railroads]]" variable="dummy">
<div style="font-size: 0.9em;">
<<tabs "[[Summary Tab]] [[Route Map]] Trackage [[Railroad Predecessors]] [[Railroad Successors]] [[Associated]] [[Railroad Cross-references]] [[Railroad Status Checkboxes]]" "Summary Tab" "$:/state/rrfootertab" "footertabs">>
</div>
</$list>
When I use this in my railroad TW, I don’t quite get the results I expect. Here’s a screenshot:
As you can see from the screenshot, the footnotes are numbered correctly, but the <<showfnotes>>
macro doesn’t list the very first one.
It’s probably something very obvious, but I haven’t had that V8 momemt yet (as they say here in the USA). Any suggestions?
Thanks in advance!