Octave para macOS: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 77: Line 77:
{{Note|El proceso completo de instalación puede '''tomar algunas horas'''. Octave tiene muchas dependencias que serán descargadas e instaldas antes de Octave.}}
{{Note|El proceso completo de instalación puede '''tomar algunas horas'''. Octave tiene muchas dependencias que serán descargadas e instaldas antes de Octave.}}


En caso de problemas, por favor visita el [https://github.com/spack/spack/issues repositorio de problemas Spack], y busca a través de los problemas relacionado scon Octave escribiendo <code>is:issue octave</code> en el filtro.
En caso de problemas, por favor visita el [https://github.com/spack/spack/issues repositorio de problemas Spack], y busca a través de los problemas relacionados con Octave escribiendo <code>is:issue octave</code> en el filtro.


== Create a launcher app with the Script Editor ==
== Crea un lanzador utilizando el editor de Script ==


For example Homebrew installs Octave to {{Path|/usr/local/bin/octave}} by defaultFrom the [https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac Terminal] application you can enter the command <code>which octave</code> to find out the exact location.
Por ejemplo Homebrew instala Octave en {{Path|/usr/local/bin/octave}} por defectoDesde la [https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac Terminal] puedes ingresar el comando <code>which octave</code> para encontrar la localización exacta.


If you know the installation location, open the [https://support.apple.com/guide/script-editor Script Editor] application and write the following text in the editor window:
Si conoces el lugar de instalación, abre el [https://support.apple.com/guide/script-editor editor Script] y escribe el siguiente texto en la ventana de edición:


  do shell script "/usr/local/bin/octave --gui"
  do shell script "/usr/local/bin/octave --gui"


if you wish to start the Octave GUI by default. If you want to start the Octave command-line interface (CLI), enter instead:
si deseas arrancar la interfaz gráfica (GUI) de Octave por defecto. Si prefieres arrancar Octave con la interface de línea de comandos (CLI), ingresa:


  tell application "Terminal"
  tell application "Terminal"
Line 93: Line 93:
  end tell
  end tell


or if Octave is in your default path:
o si Octave está en la ruta por defecto::


  tell application "Terminal"
  tell application "Terminal"
Line 99: Line 99:
  end tell
  end tell


Finally:
Finalmente:
* With a script open in the Script Editor app  on your Mac, choose "File > Export".
* Con un script abierto en el editor de script en tu Mac, elige "File > Export".
* In the menu that appears, select "Application" from the "File format" menu, then navigate to the "Applications" folder and save your script there as "Octave.app"
* En el menú que aparece, selecciona "Application" del menú "File format", después navega a la carpeta "Applications" y guarda tu script ahí como "Octave.app".


To change the application icon:
Para cambiar el ícono de la aplicación:
* Open [[:File:Icon.png|this link]] in a web browser, right-click and select "copy image".
* Abre [[:File:Icon.png|esta liga]] en tu navegador web, click derecho y elige "copiar imagen".
* Select "Octave.app" in the Finder, then press {{Key|command-i}} to bring up the file info dialog.
* Selección "Octave.app" en el Finder, después presiona {{Key|command-i}} para cargar el archivo en el cuadro de diálogo.
* In the file info dialog, select the icon (in the top left) and press {{Key|command-v}} to paste the Octave icon over it.
* In el cuadro de diálogo, selecciona el ícono (en la parte superior izquierda) y presiona {{Key|command-v}} para pegar el ícono de Octave.


== See also ==
== Ver también ==


* [[Octave for macOS (outdated)]] contains old installation instructions.
* [[Octave for macOS (outdated)]] contiene instrucciones de instalación antigüas.


== Footnotes ==
== Notas de pie de página ==


<references/>
<references/>
28

edits