On 1/11/2015 10:01 PM, Pablo Rodriguez wrote:
On 01/10/2015 02:01 PM, Hans Hagen wrote:
On 1/9/2015 1:24 PM, Pablo Rodriguez wrote:
[...]
Footnotes that end with \par have wrong space with next footnote.
I don’t know whether this is intended. How could I avoid that in XML?
well, more unexpec
On 01/10/2015 02:01 PM, Hans Hagen wrote:
> On 1/9/2015 1:24 PM, Pablo Rodriguez wrote:
>> [...]
>> Footnotes that end with \par have wrong space with next footnote.
>>
>> I don’t know whether this is intended. How could I avoid that in XML?
>
> well, more unexpected .. messing with the depth is a
On 1/9/2015 1:24 PM, Pablo Rodriguez wrote:
On 01/09/2015 12:29 PM, Hans Hagen wrote:
[...]
I'll add this:
\startluacode
local gsub = string.gsub
function xml.expressions.idstring(str)
return type(str) == "string" and gsub(str,"^#","") or ""
end
\stopluacode
\startx
On 01/09/2015 12:29 PM, Hans Hagen wrote:
> [...]
> I'll add this:
>
> \startluacode
> local gsub = string.gsub
> function xml.expressions.idstring(str)
> return type(str) == "string" and gsub(str,"^#","") or ""
> end
> \stopluacode
>
> \startxmlsetups xml:footnote:ref
>
On 1/9/2015 12:18 PM, Hans Hagen wrote:
\startxmlsetups xml:footnote:ref
\xmlfilter{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]/command(xml:footnote:set)}
\stopxmlsetups
I'll add this:
\startluacode
local gsub = string.gsub
function xml.expressions.idstr
On 1/9/2015 11:41 AM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\startbuffer[demo]
This is the first paragraph.
first item
second item
text with footnote1
text with another footnote2
footn
Dear list,
I have the following sample:
\startbuffer[demo]
This is the first paragraph.
first item
second item
text with footnote1
text with another footnote2
footnote text
In two paragraphs↩
footn