Git Product home page Git Product logo

Comments (3)

yifengwan avatar yifengwan commented on June 4, 2024

Two workarounds:

  1. install python 2 and download the workflow version here
  2. You can use a simple shell command in terminal or via alfred:
# open the first doc under package geometry
texdoc geometry
# or first list all files and then select one
texdoc -l geometry

from alfred-texdoc.

egeerardyn avatar egeerardyn commented on June 4, 2024

At the moment I do not have a working Mac to test anything on; but from inspection of texdoc.py, that should already be Python 3 compatible. The workflow package that gets embedded, I did not check in detail, but will probably exist as a Python 3 compatible version (if it is not compatible already).

Changing the code for that will not be difficult, I estimate 30 minutes work (probably even less), but obviously requires a working Mac to test everything.

Enabling Python 2 again is a bad idea, in a similar amount of time it is better to test this on Python 3.

from alfred-texdoc.

kiryph avatar kiryph commented on June 4, 2024

As much as I would like to not install Python 2, but as long as there is no Python 3 release of https://github.com/deanishe/alfred-workflow (e.g. see efforts in this PR deanishe/alfred-workflow#184), the texdoc workflow will probably require Python 2 for a while as well.

In the meanwhile you can do following:

  1. Install Python 2 as described here: https://www.alfredapp.com/help/kb/install-dependencies/
  2. Use modified texdoc workflow from here: https://github.com/alfredapp/updated-third-party-python2-workflows

from alfred-texdoc.

Related Issues (5)

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.