[LON-CAPA-admin] bug report? latex style file is missing?
Moore, Nathan T
nmoore at winona.edu
Wed Feb 6 11:58:48 EST 2019
Thanks Stuart. That worked.
The latex process did refuse to render one .jpg file. (There was an latex error about no eps version of /res/winona/NMoore/openstax-university-physics-2/photovoltaics/national_photovoltaic_2012-01.jpg being available.) Is png the optimal image format to include with loncapa problems?
--- --- --- ---
Nathan Moore, PhD
Physics, Winona State University
-----Original Message-----
From: LON-CAPA-admin <lon-capa-admin-bounces at mail.lon-capa.org> On Behalf Of Raeburn, Stuart
Sent: Tuesday, February 5, 2019 5:56 PM
To: list about administration and system updating <lon-capa-admin at mail.lon-capa.org>
Subject: Re: [LON-CAPA-admin] bug report? latex style file is missing?
Nathan,
>
> Is there an extra latex package I should install?
>
No.
However, on Ubuntu 16 you will need to run the following command:
sudo /usr/bin/mktexlsr
Although LON-CAPA's ./UPDATE command installs picins.sty for Linux distros which do not have it, and then runs texconfig rehash (which in turn runs mktexlsr), on Ubuntu 16 (and 18 LTS) texconfig is absent, so mktexlsr needs to be called directly instead.
The version of picins_check.piml included in the LON-CAPA 2.11.3 release includes the appropriate call to texconfig or mktexlsr (depending on Linux distro/version), but the version shipped with the LON-CAPA 2.11.2 release expected to find texconfig on Ubuntu 16.
See: source.loncapa.org/cgi-bin/cvsweb.cgi/doc/loncapafiles/picins_check.piml.diff?r1=1.35;r2=1.36
Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-admin <lon-capa-admin-bounces at mail.lon-capa.org> on behalf of Moore, Nathan T <nmoore at winona.edu>
Sent: Tuesday, February 5, 2019 12:51 PM
To: list about administration and system updating
Subject: [LON-CAPA-admin] bug report? latex style file is missing?
I'm trying to use the "print out the problem as pdf with latex" option (the "print" button when you're looking at a homework problem).
Latex fails, particularly when the problems include image files. The error message often looks like,
! LaTeX Error: File `picins.sty' not found.
Type X to quit or to proceed,
or enter new name. (Default extension: sty) Enter file name:
! Emergency stop.
Note, this style file is on the loncapa server, root at LonCappa:~# locate picins.sty /usr/share/texmf/tex/latex/picins/picins.sty
Full error message below. The specific problem I'm trying to print is in winona/NMoore<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__loncapa.winona.edu_priv_winona_NMoore_%26d%3DDwMGaQ%26c%3DnE__W8dFE-shTxStwXtp0A%26r%3DVsGo3jOm8tGLd6f-KlhT-g%26m%3DewRLCTny7fe6yoboD7abEgjnAGSPYAHcesp-FFQJO1U%26s%3Di9B2Vcr64HgLI6JqurPUo0FFiqUmU24f9QUUi79OZrU%26e&data=02%7C01%7Cnmoore%40winona.edu%7C1fba0739caa143ac950d08d68bc5981e%7C5011c7c60ab446ab9ef4fae74a921a7f%7C0%7C0%7C636850078124087582&sdata=xBmesFhbNmVME2dEmQIumPp5qqR8Tar85GOkKspR6cE%3D&reserved=0=>/openstax-university-physics-2<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__loncapa.winona.edu_priv_winona_NMoore_openstax-2Duniversity-2Dphysics-2D2_%26d%3DDwMGaQ%26c%3DnE__W8dFE-shTxStwXtp0A%26r%3DVsGo3jOm8tGLd6f-KlhT-g%26m%3DewRLCTny7fe6yoboD7abEgjnAGSPYAHcesp-FFQJO1U%26s%3DOoJlnX6EFxO-nYoEIuDp88WK4YJoRfn6uBSlZEVMRMw%26e&data=02%7C01%7Cnmoore%40winona.edu%7C1fba0739caa143ac950d08d68bc5981e%7C5011c7c60ab446ab9ef4fae74a921a7f%7C0%7C0%7C636850078124087582&sdata=snyMPIFA1mgk%2B3wITMT%2B0jhZiI%2BQ8TlGnaO4%2FsS5NRM%3D&reserved=0=>/photovoltaics<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__loncapa.winona.edu_priv_winona_NMoore_openstax-2Duniversity-2Dphysics-2D2_photovoltaics_%26d%3DDwMGaQ%26c%3DnE__W8dFE-shTxStwXtp0A%26r%3DVsGo3jOm8tGLd6f-KlhT-g%26m%3DewRLCTny7fe6yoboD7abEgjnAGSPYAHcesp-FFQJO1U%26s%3DafWnHuMpQSwS2L54GnycM6e5aYWZfSccBY55SQ9Krg8%26e&data=02%7C01%7Cnmoore%40winona.edu%7C1fba0739caa143ac950d08d68bc5981e%7C5011c7c60ab446ab9ef4fae74a921a7f%7C0%7C0%7C636850078124087582&sdata=z3LBTgIDJKTlF2K1ShpzcvhXvrefZB5CbGSR0%2FfHb3I%3D&reserved=0=>/house.problem
The loncapa server is running ubuntu 16. Is there an extra latex package I should install?
--- --- --- ---
Nathan Moore, PhD
Physics, Winona State University
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=latex 2019.1.14) 5 FEB 2019 11:38
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**NMoore_winona_printout_1549388316_3690_2.tex
(./NMoore_winona_printout_1549388316_3690_2.tex
LaTeX2e <2016/02/01>
Babel <3.9q> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty
\bigstrutjot=\dimen103
) (/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty
Package: longtable 2014/10/28 v4.11 Multi-page Table package (DPC)
\LTleft=\skip43
\LTright=\skip44
\LTpre=\skip45
\LTpost=\skip46
\LTchunksize=\count87
\LTcapwidth=\dimen104
\LT at head=\box26
\LT at firsthead=\box27
\LT at foot=\box28
\LT at lastfoot=\box29
\LT at cols=\count88
\LT at rows=\count89
\c at LT@tables=\count90
\c at LT@chunks=\count91
\LT at p@ftn=\toks14
) (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
Package textcomp Info: Sub-encoding information:
(textcomp) 5 = only ISO-Adobe without \textcurrency
(textcomp) 4 = 5 + \texteuro
(textcomp) 3 = 4 + \textohm
(textcomp) 2 = 3 + \textestimated + \textcurrency
(textcomp) 1 = TS1 - \textcircled - \t
(textcomp) 0 = TS1 (full)
(textcomp) Font families with sub-encoding setting implement
(textcomp) only a restricted character set as indicated.
(textcomp) Family '?' is the default used for unknown fonts.
(textcomp) See the documentation for details.
Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 79.
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def
File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
)
LaTeX Info: Redefining \oldstylenums on input line 334.
Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 349.
Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 350.
Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 351.
Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 352.
Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 353.
Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 354.
Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 355.
Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 356.
Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 357.
Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 358.
Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 359.
Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 360.
Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 361.
Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 362.
Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 363.
Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 364.
Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 365.
Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 366.
Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 367.
Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 368.
Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 369.
Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 370.
Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 371.
Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 372.
Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 373.
Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 374.
Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 375.
Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 376.
Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 377.
Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 378.
Package textcomp Info: Setting lmr sub-encoding to TS1/0 on input line 379.
Package textcomp Info: Setting lmdh sub-encoding to TS1/0 on input line 380.
Package textcomp Info: Setting lmss sub-encoding to TS1/0 on input line 381.
Package textcomp Info: Setting lmssq sub-encoding to TS1/0 on input line 382.
Package textcomp Info: Setting lmvtt sub-encoding to TS1/0 on input line 383.
Package textcomp Info: Setting lmtt sub-encoding to TS1/0 on input line 384.
Package textcomp Info: Setting qhv sub-encoding to TS1/0 on input line 385.
Package textcomp Info: Setting qag sub-encoding to TS1/0 on input line 386.
Package textcomp Info: Setting qbk sub-encoding to TS1/0 on input line 387.
Package textcomp Info: Setting qcr sub-encoding to TS1/0 on input line 388.
Package textcomp Info: Setting qcs sub-encoding to TS1/0 on input line 389.
Package textcomp Info: Setting qpl sub-encoding to TS1/0 on input line 390.
Package textcomp Info: Setting qtm sub-encoding to TS1/0 on input line 391.
Package textcomp Info: Setting qzc sub-encoding to TS1/0 on input line 392.
Package textcomp Info: Setting qhvc sub-encoding to TS1/0 on input line 393.
Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 394.
Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 395.
Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 396.
Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 397.
Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 398.
Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 399.
Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 400.
Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 401.
Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 402.
Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 403.
Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 404.
Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 405.
Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 406.
Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 407.
Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 408.
Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 409.
) (/usr/share/texlive/texmf-dist/tex/latex/base/makeidx.sty
Package: makeidx 2014/09/29 v1.0m Standard LaTeX package
) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV at toks@=\toks15
) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/01/03 v1.0q Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
) (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: dvips.def on input line 95.
(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvips.def
File: dvips.def 2015/12/30 v3.0k Driver-dependent file (DPC,SPQR)
))
\Gin at req@height=\dimen105
\Gin at req@width=\dimen106
) (/usr/share/texlive/texmf-dist/tex/latex/wrapfig/wrapfig.sty
\wrapoverhang=\dimen107
\WF at size=\dimen108
\c at WF@wrappedlines=\count92
\WF at box=\box30
\WF at everypar=\toks16
Package: wrapfig 2003/01/31 v 3.6
)
! LaTeX Error: File `picins.sty' not found.
Type X to quit or to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
l.10 \usepackage
[T1]{fontenc}^^M
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
1139 strings out of 494954
14903 string characters out of 6181003
58172 words of memory out of 5000000
4475 multiletter control sequences out of 15000+600000
3640 words of font info for 14 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
25i,0n,21p,296b,36s stack positions out of 5000i,500n,10000p,200000b,80000s
No pages of output.
_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.lon-capa.org%2Fmailman%2Flistinfo%2Flon-capa-admin&data=02%7C01%7Cnmoore%40winona.edu%7C1fba0739caa143ac950d08d68bc5981e%7C5011c7c60ab446ab9ef4fae74a921a7f%7C0%7C0%7C636850078124097587&sdata=18dXYA9yYgv1BNollNluj9JuxlnsnEyPtIAk7DVJ45A%3D&reserved=0
More information about the LON-CAPA-admin
mailing list