Page MenuHomePhabricator

Certain Articles causing errors on Book Compile
Open, NormalPublic

Description

I am trying to compile a couple electrical theory books and have ran into an issue with 2 of the articles I am trying to include Transformer and Weight. If I include either or even try and compile them separately I receive the Failed attempt error code 1. https://en.wikipedia.org/wiki/User:Mcmatter/Books/Electrical_Theory_EMF_Sources Feel free to revert to previous edit to see book compile correctly.

Event Timeline

Mcmatter raised the priority of this task from to Needs Triage.
Mcmatter updated the task description. (Show Details)
Mcmatter added a project: Collection.
Mcmatter moved this task to Backlog on the Collection board.
Mcmatter added a subscriber: Mcmatter.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 24 2015, 12:44 AM
Krenair set Security to None.
alex@alex-laptop:~/Development/MediaWiki/extensions/Collection ((7e672d3...))$ ./mw-ocg-bundler/bin/mw-ocg-bundler -v -o bundle.zip --prefix enwiki -c "User:Mcmatter/Books/Electrical Theory EMF Sources"
[...]
alex@alex-laptop:~/Development/MediaWiki/extensions/Collection ((7e672d3...))$ ./mw-ocg-latexer/bin/mw-ocg-latexer -v -D -o T90516.pdf bundle.zip
[...]
<use  "/tmp/mw-ocg-latexer32730i635ls/bundle/images/tmp-327186k440hs.jpg" >
Underfull \hbox (badness 1205) in paragraph at lines 1--11
 \EU1/FreeSerif(0)/m/n/10 A \EU1/FreeSerif(0)/bx/n/10 transformer \EU1/FreeSeri
f(0)/m/n/10 is an electrical device that trans-

Underfull \hbox (badness 3701) in paragraph at lines 1--11
\EU1/FreeSerif(0)/m/n/10 fers energy between two or more circuits through

Underfull \vbox (badness 2799) has occurred while \output is active
*************************************************
* fontspec warning: "icu-feature-not-exist-in-font"
* 
* OpenType feature 'VerticalPosition=Inferior' (+subs) not available for font
* 'FreeSerif/I' with script 'Latin' and language 'Default'.
*************************************************
*************************************************
* fontspec warning: "icu-feature-not-exist-in-font"
* 
* OpenType feature 'VerticalPosition=Inferior' (+subs) not available for font
* 'FreeSerif/BI' with script 'Latin' and language 'Default'.
*************************************************
<use  "/tmp/mw-ocg-latexer32730i635ls/bundle/images/tmp-32718cy6me1c.png" >
[1]
<use  "/tmp/mw-ocg-latexer32730i635ls/bundle/images/tmp-32718abhuir432730158bwh
s.pdf" >
<use  "/tmp/mw-ocg-latexer32730i635ls/bundle/images/tmp-32718cgu2nxs.jpg" >
Underfull \hbox (badness 2035) in paragraph at lines 105--106
\l_fontspec_font A [][][]dot convention[][][] is often used in transformer cir-


Underfull \hbox (badness 3229) in paragraph at lines 105--106
\l_fontspec_font cuit diagrams, nameplates or terminal markings to

Underfull \hbox (badness 10000) in paragraph at lines 105--106
\l_fontspec_font define the relative polarity of transformer wind-

Underfull \hbox (badness 10000) in paragraph at lines 105--106
\l_fontspec_font ings. Positively-increasing instantaneous current

Underfull \hbox (badness 1264) in paragraph at lines 105--106
\l_fontspec_font itive polarity voltage at the secondary winding’s dot
[2]
Underfull \hbox (badness 3635) in paragraph at lines 115--116
[]\l_fontspec_font Core losses, collectively called magnetizing current

<use  "/tmp/mw-ocg-latexer32730i635ls/bundle/images/tmp-32718u6u7hc32730crxt3ds
.pdf" >
Underfull \hbox (badness 10000) in paragraph at lines 136--138


Underfull \hbox (badness 10000) in paragraph at lines 149--151

<use  "/tmp/mw-ocg-latexer32730i635ls/bundle/images/tmp-32718h8ekj40.jpg" >
Underfull \hbox (badness 1117) in paragraph at lines 175--176
\EU1/FreeSerif(0)/m/it/10 R\EU1/FreeSerif(1)/m/n/10 C \l_fontspec_font and \EU1
/FreeSerif(0)/m/it/10 X\EU1/FreeSerif(1)/m/n/10 M \l_fontspec_font are collecti
vely termed the \EU1/FreeSerif(0)/m/it/10 magnetizing
[3]
Underfull \hbox (badness 1694) in paragraph at lines 181--182
[]\l_fontspec_font Transformer equivalent circuit impedance and trans-

Underfull \hbox (badness 10000) in paragraph at lines 183--183
[]\EU1/FreeSerif(0)/bx/n/14.4 Basic transformer parameters

<use  "/tmp/mw-ocg-latexer32730i635ls/bundle/images/tmp-327187d42qvk32730nx01tx
s.png" >
Underfull \hbox (badness 2057) in paragraph at lines 190--191
\EU1/FreeSerif(1)/m/it/9 Power transformer over-excitation condition caused by 
de-

Underfull \vbox (badness 10000) has occurred while \output is active [4]
Underfull \hbox (badness 1769) in paragraph at lines 210--211
[]\l_fontspec_font multiple unit[][][] and [][][]high-speed[][][] train service
 operating

Underfull \hbox (badness 1173) in paragraph at lines 210--211
\l_fontspec_font accommodate different input frequencies and voltage

Underfull \hbox (badness 1596) in paragraph at lines 234--235
\l_fontspec_font circuited turn throughout its entire length.

Underfull \hbox (badness 10000) in paragraph at lines 236--239
[]

Underfull \hbox (badness 2293) in paragraph at lines 236--239
\l_fontspec_font hum is especially objectionable in transformers

Underfull \hbox (badness 10000) in paragraph at lines 236--239
[][][]\l_fontspec_font high-frequency[][][] [][][]flyback transformers[][][] as
sociated

! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.249 ...ration and audible noise transmission}}}]
                                                  In addition to magnetostri...
Output written on output.pdf (4 pages).
Transcript written on output.log.

---------------------------------------

** WARNING ** Failed to convert input string to UTF16...

---------------------------------------
Error: Latex Error! Check your latex string
    at /home/alex/Development/MediaWiki/extensions/Collection/mw-ocg-latexer/node_modules/gammalatex/app.js:72:12
    at CB (/home/alex/Development/MediaWiki/extensions/Collection/mw-ocg-latexer/node_modules/gammalatex/node_modules/rimraf/rimraf.js:68:5)
    at Object.oncomplete (fs.js:107:15)
Aklapper triaged this task as Normal priority.Feb 24 2015, 9:27 AM

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.