Giter Club home page Giter Club logo

Comments (12)

manuels avatar manuels commented on September 26, 2024

Nope, not yet AFAIK.
Feel free to build one!

from texlive.js.

chrisber avatar chrisber commented on September 26, 2024

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.

chrisber avatar chrisber commented on September 26, 2024

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.

lambdabaa avatar lambdabaa commented on September 26, 2024

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.

manuels avatar manuels commented on September 26, 2024

Is it really stuck there or do you get any error message?

from texlive.js.

fzimmermann89 avatar fzimmermann89 commented on September 26, 2024

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.

lambdabaa avatar lambdabaa commented on September 26, 2024

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.

fzimmermann89 avatar fzimmermann89 commented on September 26, 2024

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.

lambdabaa avatar lambdabaa commented on September 26, 2024

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.

chrisber avatar chrisber commented on September 26, 2024

I would prefer a docker container for building it. If you could provide the commands I would contribute the Dockerfile

from texlive.js.

johnzielke avatar johnzielke commented on September 26, 2024

Are there any news on this? I would really like to use that as an npm package

from texlive.js.

manuels avatar manuels commented on September 26, 2024

no, I'm afraid. But pull requests are very welcome!

from texlive.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.