m&m: morning. have you seen ben langfelds request for publication of rayo on standards@?
Laurahas left
Laurahas joined
simonhas left
simonhas joined
m&m
I did, and I need to respond, because I'm not sure I still have those patches /-:
m&m
oh, he sent hints of where his patches are actually located
emchohas left
emchohas joined
Neustradamushas left
Laurahas left
emchohas left
emchohas joined
Laurahas joined
Neustradamushas left
emchohas left
emchohas joined
fippo
thanks m&m ;-)
Tobias
any xslt pro here? :) need to have an incrementing counter in an xsl:template
m&mhas left
m&mhas joined
intosi
Tobias: position() isn't good enough?
Tobias
position somehow always gives the same number
Tobias
for the first <img> tag being matched i want 0, for the next 1 and so on
Neustradamushas joined
Tobias
or starting at 1
Lancehas joined
intosi
The main problem is that "variables" are in fact constants. The usual way of fixing it is either using recursion, or walk over the elements with an xsl:for-each
intosi
position should work for the latter.
Tobias
the for each would be without a <xsl:template>, right?
so this would replace all <img/> with a <cmd name...>0...n</cmd>?
m&m
I think so, but it's been a long while since I've done XSLT, but that feels right
intosi
Sorry, wandered off. That should work. My XSLT is a bit rusty as well, though.
Tobias
element for-each only allowed within a template, variable or param
compilation error: file xep2texml.xsl line 408 element value-of
element value-of only allowed within a template, variable or param
compilation error: file xep2texml.xsl line 407 element for-each
xsltParseStylesheetTop: unknown for-each element
Tobias
probably that's more for when you want to put all <img>s at one place
Tobias
but i basically want to replace the tag in place
intosi
But those <img/>s must have a parent element.
intosi
Just run a template on that element.
Tobias
usually in a <p>
Tobias
yes
Tobias
however i need that counter being global
m&m
you could also select the count of <img/> elements that precede the current one
intosi
Sure.
Tobias
m&m, that sounds useful, how?
Tobias
it would essentially be counter i'm looking for
m&m
IIRC, count is a function, and preceding:<path> is the selector within the count()
m&m
but it's been a long time
Tobias
thx
m&mgrumbles about authors not updating their <revision> lists
https://dl.dropboxusercontent.com/u/14672346/xmpp/extensions/xep-0324.pdf not perfect yet, but a good start i think
simon
Nice sequence diagrams!
Tobias
well...at least now we *can* use something else than ascii art :D
simonhas left
fippo
16:41 < xmpp:xsf@muc.xmpp.org/Tobias> soon we'll have images in our PDFs :)
fippo
errr...
Tobias
errr...?
fippo
nice!
simonhas joined
Tobias
well..it's pushed...as soon as someone hits a rebuild of all XEPs, the images should be included
Tobiashas left
Tobiashas joined
m&m
thanks Tobias
m&m
I'm a little hesitant to run all.sh at the moment
m&m
maybe we can do that this weekend
m&m
or someone else with rights can do it (-:
emchohas left
emchohas joined
Tobiashas joined
Tobias
xsf@athena:~/xmpp-hg/extensions$ ./gen.py -a
./gen.py:79: Warning: 'with' will become a reserved keyword in Python 2.6
File "./gen.py", line 79
with open(output_dir + '/' + 'inlineimage-' + str(no) + '.' + file_ext, 'wb') as f:
^
SyntaxError: invalid syntax
stpeter, same key on german keyboard :) just a shift between them :)
Tobias
fippo, so just write f = open(...) ?
stpeterhas left
winfriedhas left
intosi
Tobias: from future import with_statement?
Lancehas joined
Tobias
yeah..need to add a latex package too..since it's also not present on athena
intosi
Well, from __future__ import with_statement, obviously
martin.hewitt@surevine.comhas left
Laurahas left
emchohas left
emchohas joined
Tobias
cp -r deps /tmp/xepbuilder/ <--- how do i write this so it copies files from deps to xepbuilder folder, not creating the deps folder in the xepbuilder folder?
intosi
cp -r deps/* /tmp/xepbuilder/ ?
Tobias
wouldn't the * require a shell?
intosi
Or (cd debs; cp -r . /tmp/xepbuilder) if you're worried about the number of files.
intosi
Both require a shell.
intosi
Are you running this from a shell script?
Zashhas joined
dwd
Oh, Python?
Tobias
commands.getstatusoutput
Tobias
python
intosi
http://docs.python.org/2/library/shutil.html
intosi
shutil.copytree might be of interest.
Tobias
i'll try the * thing
intosi
getstatusoutput actually spawns a shell, IIRC
Santiago26has joined
Leonidas Ihas joined
emchohas left
emchohas joined
simonhas left
Tobias
so..rebuilding xeps
martin.hewitt@surevine.comhas joined
martin.hewitt@surevine.comhas left
Santiago26has left
Leonidas Ihas left
martin.hewitt@surevine.comhas joined
Lancehas joined
Lancehas joined
fippo
https://twitter.com/lisamarienyc/status/444162578642513920 -- this looks like the next xmpp summit should be near fluentconf
martin.hewitt@surevine.comhas left
ralphm
heh
ralphm
there is a good supply of bacon on Tenerife, too
fsteinelhas joined
fsteinelhas left
Santiago26has joined
Leonidas Ihas joined
Santiago26has left
Leonidas Ihas left
Leonidas Ihas joined
Leonidas Ihas left
Leonidas Ihas joined
Zashhas joined
martin.hewitt@surevine.comhas joined
Santiago26has joined
Tobias
fippo, better than http://i.imgur.com/TuBI68M.jpg :)
dwd
I can't decide if that sounds awesome or awful.
Zash
I can't decide if I should run to the store and see if they have any ... or walk.
m&m
eek
m&m
that is not bacon
martin.hewitt@surevine.comhas left
Leonidas Ihas left
Santiago26has left
Leonidas Ihas joined
Santiago26has joined
Leonidas Ihas left
Santiago26has left
Leonidas Ihas joined
Santiago26has joined
martin.hewitt@surevine.comhas joined
Zashhas joined
Neustradamus
I have found this tweet: https://twitter.com/betamax65/status/441124379318321152/photo/1
martin.hewitt@surevine.comhas left
martin.hewitt@surevine.comhas joined
fippo
neustradamus: "June 25, 2013: We have temporarily disabled account registration"
fippo
but telling the iteam might help
Kev
iteam aren't responsible for jabber.org
Neustradamus
yes I know this, maybe a person can reply ;)
martin.hewitt@surevine.comhas left
Neustradamus
Tobias: https://twitter.com/Neustradamus/status/422532965583687680 some months ago ;)
martin.hewitt@surevine.comhas joined
Tobias
yeah..wonder if they are cool enough to use twitter as support input
Tobiashas left
Tobiashas joined
fippo
neustradamus: simon and I were in contact with some marketing guy via the FSFE -- not much of a response
fippo
let's break it for them, then watch them struggle to fix it.