Giter Club home page Giter Club logo

texliveonfly's People

Contributors

maphy-psd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

texliveonfly's Issues

Error "It appears tlmgr is not installed." on windows

Running the script on windows the following error appears.

Usage: texliveonfly.py [options] file.tex Use option --help for more info. texliveonfly.py: error: texliveonfly.py: It appears tlmgr is not installed. Are you sure you have TeX Live 2010 or later?

X:\Path\To\texlive\2015\bin\win32\runscript.tlu:659: command failed with exit code 2: python.exe x:/Path/To/texlive/2015/texmf-dist/scripts/texliveonfly/texliveonfly.py Y:\Path\to\texfile.tex

Use kdesu instead of kdesudo

The runSudoCommand tries to launch kdesudo if gksudo doesn't exist. However, kdesudo has been deprecated in favour of kdesu.

'utf-8' codec can't decode byte 0xd0 error when using bulgarian

Copied from Stack Exchange https://tex.stackexchange.com/questions/618224/utf-8-codec-cant-decode-byte-0xd0

I get the following error trying to compile a file with bulgarian text on Ubuntu 20.04 with tex-live. I use kile to compile.

Traceback (most recent call last):
  File "/usr/bin/texliveonfly", line 360, in <module>
    (output, returnCode)  = compileTex()
  File "/usr/bin/texliveonfly", line 277, in compileTexDoc
    return readFromProcess(process)
  File "/usr/bin/texliveonfly", line 292, in readFromProcess
    line = getProcessLine()
  File "/usr/bin/texliveonfly", line 285, in <lambda>
    getProcessLine = lambda : frombytesifpy3(process.stdout.readline())
  File "/usr/bin/texliveonfly", line 44, in <lambda>
    frombytesifpy3 = lambda b = None : b.decode("UTF-8") if py3 and b != None else b
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 19: invalid continuation byte

Minimum example:

\documentclass[a4paper]{report}
\usepackage[T2A,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, bulgarian]{babel}

\begin{document}

\begin{enumerate}
 \item {\em Решение.} Тази стъпка използва компресираната и 
 факторизирана матрица от коефициенти на системата и дясната страна,
 за намиране на решението. Изчислителната сложност на тази стъпка 
 е $O(rn)$. 
\end{enumerate}

\end{document}

If I add an empty line between the \item row and the next, it compiles, but that adds an unwanted new paragraph and in the actual file I have other code that breaks it too.

I.e. if I change \item as below it will suddenly start compiling:

...
\begin{enumerate}
 \item {\em Решение.} Тази стъпка използва компресираната и 

 факторизирана матрица от коефициенти на системата и дясната страна,
 за намиране на решението. Изчислителната сложност на тази стъпка 
 е $O(rn)$. 
\end{enumerate}
...

I am on Ubuntu 20.04.3 LTS with tex-live and have just upgraded from 18.04. On another computer with Ubuntu 20.04 same text compiles without a problem as a part of a bigger file.

Full Output log of the compile command:

*****
*****     PDFLaTeX output: 
*****     cd "/home/iict/Documents/test_not_working"
*****     texliveonfly -a -interaction=nonstopmode not_working.tex
*****
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./not_working.tex
LaTeX2e <2020-02-02> patch level 2
L3 programming layer <2020-02-14>
(/usr/share/texlive/texmf-dist/tex/latex/base/report.cls
Document Class: report 2019/12/20 v1.4l Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/cyrillic/t2aenc.def
(/usr/share/texlive/texmf-dist/tex/latex/base/t2aenc.dfu)))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel/switch.def)
(/usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
(/usr/share/texlive/texmf-dist/tex/generic/babel/txtbabel.def)))
(/usr/share/texlive/texmf-dist/tex/generic/babel-bulgarian/bulgarian.ldf))
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def)
(./not_working.aux (/usr/share/texlive/texmf-dist/tex/latex/cyrillic/t2acmr.fd)
)
Overfull \hbox (0.53506pt too wide) in paragraph at lines 9--13
Traceback (most recent call last):
  File "/usr/bin/texliveonfly", line 360, in <module>
    (output, returnCode)  = compileTex()
  File "/usr/bin/texliveonfly", line 277, in compileTexDoc
    return readFromProcess(process)
  File "/usr/bin/texliveonfly", line 292, in readFromProcess
    line = getProcessLine()
  File "/usr/bin/texliveonfly", line 285, in <lambda>
    getProcessLine = lambda : frombytesifpy3(process.stdout.readline())
  File "/usr/bin/texliveonfly", line 44, in <lambda>
    frombytesifpy3 = lambda b = None : b.decode("UTF-8") if py3 and b != None else b
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 19: invalid continuation byte

texliveonfly doesn't work on Mac OS X El Capitan

The prompt to escalate permissions was never displayed, so package installation fails without further information.

A typical message:

! LaTeX Error: File `celtic.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 

l.5 \usepackage
               {url}^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on main.log.

Windows support?

Is it only me that keep getting error, or it does not support windows?

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.