I hereby claim:
- I am gimsieke on github.
- I am gimsieke (https://keybase.io/gimsieke) on keybase.
- I have a public key whose fingerprint is 7A3A 7FDF 14F5 9A36 4237 313A D295 2E2E E987 232E
To claim this, I am signing this object:
<!-- Remove a Br at the end of a story, a footnote, or a table cell (with no content after it). | |
These Brs have been inserted in the previous pass, after each paragraph, and they should | |
be removed as they insert additional and unwanted empty lines. | |
Ok, the pattern's predicate looks weird. Suggestions on how to simplify it? --> | |
<xsl:template mode="xml2idml:storify_content-n-cleanup" | |
match="Br[for $scoper in ancestor::*[idml2xml:is-scope-origin(.)][1] | |
(: a let statement might come in handy here – if only for the sake of syntactic sweetness :) | |
return | |
current() is ( | |
$scoper//*[name() = $idml2xml:idml-scope-terminal-names] |
#!/bin/bash | |
cygwin=false; | |
case "`uname`" in | |
CYGWIN*) cygwin=true; | |
esac | |
# Figure out DTDANALYZER_HOME, which is the directory in which this script | |
# resides. | |
DTDANALYZER_HOME="$( cd -P "$(dirname $( readlink -f "${BASH_SOURCE[0]}" ))" && pwd )" |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<p:declare-step | |
xmlns:p="http://www.w3.org/ns/xproc" | |
xmlns:c="http://www.w3.org/ns/xproc-step" | |
xmlns:pxp="http://exproc.org/proposed/steps" | |
version="1.0" | |
name="xsl-to-zip" | |
exclude-inline-prefixes="#all"> | |
<p:documentation>Store XSLT transformation results in a zip file. |
<?xml version="1.0" encoding="UTF-8"?> | |
<p:declare-step | |
xmlns:p="http://www.w3.org/ns/xproc" | |
xmlns:c="http://www.w3.org/ns/xproc-step" | |
xmlns:pxp="http://exproc.org/proposed/steps" | |
version="1.0" | |
name="zip-info" | |
exclude-inline-prefixes="#all"> | |
<p:documentation>Get zip file info. |
@charset "UTF-8"; | |
/* Inspired by Robert McNees’ original tweet, https://twitter.com/mcnees/status/661579110926282752 */ | |
/* Works with the Stylish add-on, https://userstyles.org/help/stylish */ | |
@-moz-document domain(twitter.com) { | |
.HeartAnimationContainer { | |
visibility: hidden | |
} | |
.HeartAnimationContainer:after, .Icon--heartBadge:before { | |
content:'★'; | |
font-size: 140%; |
\documentclass{scrbook} | |
\usepackage{amsmath} | |
\usepackage{amssymb} | |
\usepackage{amsfonts} | |
\usepackage[ngerman]{babel} | |
\begin{document} | |
\begin{align*} | |
\left (x+\alpha \right )^{n}&=\sum _{k=0}^{n} \binom{n}{k} x^{k}\alpha ^{n-k} \\ |
<?xml version="1.0" encoding="UTF-8"?> | |
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" | |
xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0"> | |
<p:documentation>Checks the availability of a resource given in the href option. | |
URL that works (HTTP status 200): http://www.le-tex.de/ | |
URL that is unavailable (404): http://www.le-tex.de/foo | |
<?xml version="1.0" encoding="UTF-8"?> | |
<c:param-set xmlns:c="http://www.w3.org/ns/xproc-step"> | |
<c:param name="_params-from-filename-parsing" | |
value="base=CSMI_2014_701 ext=docx journal=CSMI ms=CSMI_2014_701 publisher=ulsp"/> | |
<c:param name="_params-given" | |
value="base=CSMI_2014_701 ext=docx journal=CSMI ms=CSMI_2014_701 publisher=ulsp"/> | |
<c:param name="_params-given-in-clades-string" value=""/> | |
<c:param name="basename" value="CSMI_2014_701"/> | |
<c:param name="debug" value="'no'"/> | |
<c:param name="debug-dir-uri" value="debug"/> |
<?xml version="1.0"?> | |
<!-- Sample output for the patched jing of https://github.com/transpect/rng-extension/ | |
Invocation (using an example in http://transpect.github.io/tutorial.html): | |
calabash/calabash.sh -o result=rng-errors-with-xpaths.xml \ | |
-i source=debug/hub2bits/20.clean-up.xml | |
-i schema=schema/jats/archiving/1.0/rng/JATS-archivearticle1.rng | |
calabash/extensions/transpect/rng-extension/xpl/rng-validate.xpl | |
In order to use it, either check out that project or, if you only need Calabash with | |
the patched jing: | |
git clone https://github.com/transpect/calabash-frontend.git --recursive |