Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

563
Views
Compilación de látex Textmate: pb con la versión de python después de la actualización de macOS Monterey 12.3

Uso Textmate para hacer un archivo pdf en látex. Después de la actualización de macOS Monterey versión 12.3, la versión mínima de python (/usr/bin/python) ha desaparecido: la compilación no funciona ahora. Intento cambiar los archivos del compañero de texto /usr/bin/python por /usr/bin/python3 (solo tengo esta carpeta de python) pero eso siempre no funciona.

el error me dice que cambie el comando de compilación que es este:

 #!/usr/bin/env ruby18 # coding: utf-8 require ENV["TM_SUPPORT_PATH"] + "/lib/tm/process" require ENV["TM_SUPPORT_PATH"] + "/lib/tm/htmloutput" require ENV["TM_SUPPORT_PATH"] + "/lib/tm/save_current_document" # To enable the typesetting of unsaved documents, you must change the “Save” setting of # this command to “Current File” and add the variable TM_LATEX_AUTOSAVE to TextMate's # Shell Variables preferences. Be warned that your document must be encoded as UTF-8 if # you exercise this option — becauseTextMate.save_current_document cannot know the file # encoding you prefer. TextMate.save_current_document unless ENV["TM_LATEX_AUTOSAVE"].nil? texmate = ENV["TM_BUNDLE_SUPPORT"] + "/bin/texmate.py" engine_version = TextMate::Process.run(texmate, "version") TextMate::HTMLOutput.show(:title => "Typesetting “#{ENV["TM_DISPLAYNAME"] || File.basename(ENV["TM_FILEPATH"])}”…", :sub_title => engine_version) do |io| TextMate::Process.run(texmate, 'latex', :interactive_input => false) do |line| io << line end end ::Process.exit($?.exitstatus || 0) # exitstatus is nil if our process is prematurely terminated (SIGINT)

Muchas gracias por su ayuda. PD: La compilación funciona con texshop, no creo que sea un problema de latex

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

El paquete LaTeX de TextMate no se actualizó a tiempo para el lanzamiento de MacOS 12.3. Puedes arreglarlo de la siguiente manera:

  1. Descargue e instale Python 3 ( https://www.python.org/downloads/ )
  2. /usr/bin/python3 -m pip install pyobjc --usuario
  3. cd ~/Library/Application\ Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin
  4. Cambie "python" a "python3" en el encabezado de todos los archivos .py (configure.py, btexdoc.py, texmate.py, texparser.py)
over 4 years ago · Santiago Trujillo Report

0

Acabo de encontrar la siguiente página: https://www.heise.de/news/macOS-12-3-Apple-wirft-Python-raus-6341999.html que me dice que Apple no es compatible con Python (y algún otro script idiomas como, por ejemplo, Perl) más allá. La última versión que admitieron fue Python 2.7. Los desarrolladores deben instalar (y cuidar) Python 3 por sí mismos. La página de Python decía exactamente lo mismo:

https://docs.python-guide.org/starting/install3/osx/

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!