Comments (12)
Nope, not yet AFAIK.
Feel free to build one!
from texlive.js.
I'm intending to build an npm package, could you help me to build textlive.js. I created a docker container to build textlive.js which can be found here. Currently I'm running a travis ci .
Log file
The build fails in my local docker container with the message.
/texlive.js/binary/pdftex-1.40.11/src/build-aux/missing: line 52: makeinfo: command not found
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[4]: *** [/texlive.js/binary/pdftex-1.40.11/src/texk/kpathsea/doc/kpathsea.info] Error 1
make[4]: Leaving directory `/texlive.js/binary/pdftex-1.40.11/build-pdftex/texk/kpathsea/doc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/texlive.js/binary/pdftex-1.40.11/build-pdftex/texk/kpathsea'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/texlive.js/binary/pdftex-1.40.11/build-pdftex/texk/kpathsea'
make[1]: *** [../kpathsea/paths.h] Error 2
make[1]: Leaving directory `/texlive.js/binary/pdftex-1.40.11/build-pdftex/texk/web2c'
+ ls -l /texlive.js/binary/pdftex-1.40.11/build-pdftex/texk/web2c/pdftex
ls: cannot access /texlive.js/binary/pdftex-1.40.11/build-pdftex/texk/web2c/pdftex: No such file or directory
make: *** [binary/pdftex-1.40.11/build-pdftex/texk/web2c/pdftex] Error 2
If you could help me with this, that would be nice 😃
from texlive.js.
I added the log file please have a look. log
find texlive -mindepth 2 -name texmf.cnf -exec cp {} ./pdftex-1.40.11/src/texk/kpathsea \;
cp ./binary/pdftex-1.40.11/build-pdftex/texk/web2c/web2c/{fixwrites,web2c,splitup} pdftex-1.40.11/build-pdftex/texk/web2c/web2c/
cp: target `pdftex-1.40.11/build-pdftex/texk/web2c/web2c/' is not a directory
make: *** [compile_bc] Error 1
travis_time:end:138033c3:start=1449996244724619555,finish=1449996366255196132,duration=121530576577
�[0K]
from texlive.js.
I ran into the same issue running make
. Installing texinfo
via apt-get
got me past that step, but I am now stuck on checking for ANSI C header files...
.
from texlive.js.
Is it really stuck there or do you get any error message?
from texlive.js.
Dies your emscripten Installation work with other projects? If I recall
correctly it might be an issue with your nodejs binary setting.. The
Makefile works for me..
Am 21.04.2016 11:00 nachm. schrieb "manuels" [email protected]:
Is it really stuck there or do you get any error message?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#38 (comment)
from texlive.js.
Thanks @fzimmermann89! Reinstalling emscripten got me past that bit. I'm now stuck on a bunch of mktextfm: No such file or directory
error messages (see below). Interestingly enough, I do end up with a fresh pdftex-worker.js
, but the sample (in index.html
) doesn't find texlive.lst
.
Local config file preload.cfg used
=====================================
(./preload.cfg (./preload.ltx
kpathsea: Running mktextfm cmex10
mktextfm: No such file or directory
kpathsea: Appending font creation commands to missfont.log.
! Font \OMX/cmex/m/n/10=cmex10 not loadable: Metric (TFM) file not found.
<to be read again>
\relax
l.41 ...ame OMX/cmex/m/n/10\endcsname=cmex10\relax
?
kpathsea: Running mktextfm line10
mktextfm: No such file or directory
! Font \tenln=line10 not loadable: Metric (TFM) file not found.
<to be read again>
\font
l.42 \font\tenln =line10 \font
\tenlnw =linew10\relax
?
kpathsea: Running mktextfm linew10
mktextfm: No such file or directory
! Font \tenlnw=linew10 not loadable: Metric (TFM) file not found.
<to be read again>
\relax
l.42 ...ln =line10 \font\tenlnw =linew10\relax
?
kpathsea: Running mktextfm lcircle10
mktextfm: No such file or directory
! Font \tencirc=lcircle10 not loadable: Metric (TFM) file not found.
<to be read again>
\font
l.43 \font\tencirc=lcircle10 \font
\tencircw=lcirclew10\relax
?
kpathsea: Running mktextfm lcirclew10
mktextfm: No such file or directory
! Font \tencircw=lcirclew10 not loadable: Metric (TFM) file not found.
<to be read again>
\relax
l.43 ...=lcircle10 \font\tencircw=lcirclew10\relax
?
kpathsea: Running mktextfm cmr5
mktextfm: No such file or directory
! Font OT1/cmr/m/n/5=cmr5 at 5.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.47 \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10}
?
kpathsea: Running mktextfm cmr7
mktextfm: No such file or directory
! Font OT1/cmr/m/n/7=cmr7 at 7.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.47 \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10}
?
kpathsea: Running mktextfm cmr10
mktextfm: No such file or directory
! Font OT1/cmr/m/n/10=cmr10 at 10.0pt not loadable: Metric (TFM) file not found
.
<to be read again>
relax
l.47 \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10}
?
kpathsea: Running mktextfm cmmi5
mktextfm: No such file or directory
! Font OML/cmm/m/it/5=cmmi5 at 5.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.57 \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10}
?
kpathsea: Running mktextfm cmmi7
mktextfm: No such file or directory
! Font OML/cmm/m/it/7=cmmi7 at 7.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.57 \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10}
?
kpathsea: Running mktextfm cmmi10
mktextfm: No such file or directory
! Font OML/cmm/m/it/10=cmmi10 at 10.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again>
relax
l.57 \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10}
?
kpathsea: Running mktextfm cmsy5
mktextfm: No such file or directory
! Font OMS/cmsy/m/n/5=cmsy5 at 5.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.58 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10}
?
kpathsea: Running mktextfm cmsy7
mktextfm: No such file or directory
! Font OMS/cmsy/m/n/7=cmsy7 at 7.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.58 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10}
?
kpathsea: Running mktextfm cmsy10
mktextfm: No such file or directory
! Font OMS/cmsy/m/n/10=cmsy10 at 10.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again>
relax
l.58 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10}
?
)) page nos., x-ref, environments, center, verbatim, math definitions, boxes,
title, sectioning, contents, floats, footnotes, index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================
(./hyphen.cfg)
)
Beginning to dump on file latex.fmt
(format=latex 2016.4.22)
4904 strings of total length 64345
42847 memory locations dumped; current usage is 144&41510
3299 multiletter control sequences
\font\OMS/cmsy/m/n/10=nullfont
1 words of font info for 0 preloaded fonts
0 hyphenation exceptions
Hyphenation trie of length 256 has 0 ops out of 35111
0 words of pdfTeX memory
0 indirect objects
No pages of output.
Transcript written on latex.log.
Makefile:60: recipe for target 'create_latex_format' failed
make: *** [create_latex_format] Error 1
from texlive.js.
Without looking at the Makefile or thinking too hard: try installing full
texlive
Am 22.04.2016 11:13 nachm. schrieb "Gareth Aye" [email protected]:
Thanks @fzimmermann89 https://github.com/fzimmermann89! Reinstalling
emscripten got me past that bit. I'm now stuck on a bunch of mktextfm: No
such file or directory error messages (see below). Interestingly enough,
I do end up with a fresh pdftex-worker.js, but the sample (in index.html)
doesn't find texlive.lst.Local config file preload.cfg used
(./preload.cfg (./preload.ltx
kpathsea: Running mktextfm cmex10
mktextfm: No such file or directory
kpathsea: Appending font creation commands to missfont.log.! Font \OMX/cmex/m/n/10=cmex10 not loadable: Metric (TFM) file not found.
\relax
l.41 ...ame OMX/cmex/m/n/10\endcsname=cmex10\relax?
kpathsea: Running mktextfm line10
mktextfm: No such file or directory
! Font \tenln=line10 not loadable: Metric (TFM) file not found.
\font
l.42 \font\tenln =line10 \font
\tenlnw =linew10\relax
?kpathsea: Running mktextfm linew10
mktextfm: No such file or directory
! Font \tenlnw=linew10 not loadable: Metric (TFM) file not found.
\relax
l.42 ...ln =line10 \font\tenlnw =linew10\relax?
kpathsea: Running mktextfm lcircle10
mktextfm: No such file or directory
! Font \tencirc=lcircle10 not loadable: Metric (TFM) file not found.
\font
l.43 \font\tencirc=lcircle10 \font
\tencircw=lcirclew10\relax
?kpathsea: Running mktextfm lcirclew10
mktextfm: No such file or directory
! Font \tencircw=lcirclew10 not loadable: Metric (TFM) file not found.
\relax
l.43 ...=lcircle10 \font\tencircw=lcirclew10\relax?
kpathsea: Running mktextfm cmr5
mktextfm: No such file or directory
! Font OT1/cmr/m/n/5=cmr5 at 5.0pt not loadable: Metric (TFM) file not found.
relax
l.47 \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10}?
kpathsea: Running mktextfm cmr7
mktextfm: No such file or directory
! Font OT1/cmr/m/n/7=cmr7 at 7.0pt not loadable: Metric (TFM) file not found.
relax
l.47 \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10}?
kpathsea: Running mktextfm cmr10
mktextfm: No such file or directory
! Font OT1/cmr/m/n/10=cmr10 at 10.0pt not loadable: Metric (TFM) file not found
.
relax
l.47 \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10}?
kpathsea: Running mktextfm cmmi5
mktextfm: No such file or directory
! Font OML/cmm/m/it/5=cmmi5 at 5.0pt not loadable: Metric (TFM) file not found.
relax
l.57 \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10}?
kpathsea: Running mktextfm cmmi7
mktextfm: No such file or directory
! Font OML/cmm/m/it/7=cmmi7 at 7.0pt not loadable: Metric (TFM) file not found.
relax
l.57 \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10}?
kpathsea: Running mktextfm cmmi10
mktextfm: No such file or directory
! Font OML/cmm/m/it/10=cmmi10 at 10.0pt not loadable: Metric (TFM) file not fou
nd.
relax
l.57 \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10}?
kpathsea: Running mktextfm cmsy5
mktextfm: No such file or directory
! Font OMS/cmsy/m/n/5=cmsy5 at 5.0pt not loadable: Metric (TFM) file not found.
relax
l.58 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10}?
kpathsea: Running mktextfm cmsy7
mktextfm: No such file or directory
! Font OMS/cmsy/m/n/7=cmsy7 at 7.0pt not loadable: Metric (TFM) file not found.
relax
l.58 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10}?
kpathsea: Running mktextfm cmsy10
mktextfm: No such file or directory
! Font OMS/cmsy/m/n/10=cmsy10 at 10.0pt not loadable: Metric (TFM) file not fou
nd.
relax
l.58 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10}?
)) page nos., x-ref, environments, center, verbatim, math definitions, boxes,title, sectioning, contents, floats, footnotes, index, bibliography, output,
Local configuration file hyphen.cfg used
(./hyphen.cfg)
)
Beginning to dump on file latex.fmt
(format=latex 2016.4.22)
4904 strings of total length 64345
42847 memory locations dumped; current usage is 144&41510
3299 multiletter control sequences
\font\OMS/cmsy/m/n/10=nullfont
1 words of font info for 0 preloaded fonts
0 hyphenation exceptions
Hyphenation trie of length 256 has 0 ops out of 35111
0 words of pdfTeX memory
0 indirect objects
No pages of output.
Transcript written on latex.log.
Makefile:60: recipe for target 'create_latex_format' failed
make: *** [create_latex_format] Error 1—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#38 (comment)
from texlive.js.
Thanks @fzimmermann89. That worked! We should add some documentation for people using emscripten for the first time. I actually think the issue that @chrisber ran into was that his emscripten environment wasn't setup / available.
from texlive.js.
I would prefer a docker container for building it. If you could provide the commands I would contribute the Dockerfile
from texlive.js.
Are there any news on this? I would really like to use that as an npm package
from texlive.js.
no, I'm afraid. But pull requests are very welcome!
from texlive.js.
Related Issues (20)
- PGFPlots and needing to expand the available memory HOT 9
- How to run multiple times for longtable HOT 5
- Build fails due to non-existent directories in pdftex HOT 2
- Texlive 2012? 15? 16? HOT 5
- Can't make on mac - Solution
- arabic or persian support HOT 1
- Is xeLaTeX supported? HOT 2
- LaTex Code Compilation
- Utf8 HOT 5
- shared:ERROR: closure compiler failed (rc: 1) HOT 4
- Could this makefile work with new texlive 2018? HOT 6
- Is it better to build this project from TeX-Live/texlive-source
- Performance HOT 2
- Internet Explorer Support
- texlive.js is failing to produce valid PDF code on Chrome HOT 2
- pdftex.bc is not a valid input file
- How to use XeTeX or XeLaTeX compiler
- Building texlive.js HOT 2
- Full scheme
- Fixing UTF8...?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from texlive.js.