jenkins-bot has submitted this change and it was merged. Change subject: Avoid deferred floats caused by float size/quantity restrictions. ......................................................................
Avoid deferred floats caused by float size/quantity restrictions. Change-Id: I60bc2fdfaa0a99dbc3be14f9445769174d931d4d --- M lib/index.js 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Cscott: Looks good to me, approved jenkins-bot: Verified diff --git a/lib/index.js b/lib/index.js index 4409a51..53349c0 100644 --- a/lib/index.js +++ b/lib/index.js @@ -539,7 +539,7 @@ if (/[.](svg|gif|ogg|ogv)$/i.test(filename)) { return; } // skip some fmts if (this.inFloat) { return; } // xxx work around issues with inline images this.inFloat = true; - this.output.push('\\begin{figure}[tbh]'); + this.output.push('\\begin{figure}[tbh!]'); this.output.push('\\begin{center}'); filename = filename.replace(/[%\\_]/g, '\\$&'); // escape TeX specials this.output.push('\\includegraphics[width=0.95\\columnwidth]{'+filename+'}'); -- To view, visit https://gerrit.wikimedia.org/r/98984 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I60bc2fdfaa0a99dbc3be14f9445769174d931d4d Gerrit-PatchSet: 4 Gerrit-Project: mediawiki/extensions/Collection/OfflineContentGenerator/latex_renderer Gerrit-Branch: master Gerrit-Owner: Cscott <canan...@wikimedia.org> Gerrit-Reviewer: Cscott <canan...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits