holzschu / holzschu/a-shell

Vim-Tex Plug-in document compilation - Installing curses

Open
#99 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

Hi,
A fan of a-shell.

I’m trying to use a-shell for my Latex workflows. Thanks for the suggestion for almost-make on Twitter.

I was looking into [vim-Tex](https://github.com/lervag/vimtex)

Vim-Tex can use latexmk for compilation. They say: Document compilation with latexmk, latexrun, tectonic, or arara

I felt that [latexrun](https://github.com/aclements/latexrun) might be the simplest since it is a Python file only.

Unfortunately, I could not get latexrun to run on my iPad as there seems to be a curses dependency.

Error below.

```python

$ latexrun
Traceback (most recent call last):
File "latexrun", line 34, in
import curses
File "/var/mobile/Containers/Data/Application/2668690F-AFA9-4565-810D-0BE1423F60A
E/Library/lib/python3.7/curses/__init__.py", line 13, in
from _curses import *
ModuleNotFoundError: No module named '_curses'
$ ipython
Python 3.7.1 (default, Feb 29 2020, 17:40:37)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.3.0 -- An enhanced Interactive Python. Type '?' for help.
ipython
Python 3.7.1 (default, Feb 29 2020, 17:39:09)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.3.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import curses
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 import curses
/var/mobile/Containers/Data/Application/2668690F-AFA9-4565-810D-0BE1423F60AE/Librar
y/lib/python3.7/curses/__init__.py in
11 """
```

I did try `pip install curses` and `pip install curses-menu` but the error does not go away (though they seem to install without errors).

I was wondering if there could be a solution for this? Or, is there a better suggestion for using Latex with Vim on a-shell with vim-Tex plugin?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.