Tricks&help: update

This commit is contained in:
Meik Hellmund 2024-05-12 19:10:03 +02:00
parent 5df19af383
commit cbfdbaa4eb
4 changed files with 10 additions and 30 deletions

2
.gitignore vendored
View File

@ -27,4 +27,6 @@ index.pdf.md
index.html.md
Julia*tex
xelatex.py
.luarc.json
/.luarc.json

View File

@ -1,22 +0,0 @@
{
"Generator": [
"Quarto",
"This file provides type information for Lua completion and diagnostics.",
"Quarto will automatically update this file to reflect the current path",
"of your Quarto installation, and the file will also be added to .gitignore",
"since it points to the absolute path of Quarto on the local system.",
"Remove the 'Generator' key to manage this file's contents manually."
],
"Lua.runtime.version": "Lua 5.3",
"Lua.workspace.checkThirdParty": false,
"Lua.workspace.library": [
"/home/hellmund/W/quarto-cli/src/resources/lua-types"
],
"Lua.runtime.plugin": "/home/hellmund/W/quarto-cli/src/resources/lua-plugin/plugin.lua",
"Lua.completion.showWord": "Disable",
"Lua.completion.keywordSnippet": "Both",
"Lua.diagnostics.disable": [
"lowercase-global",
"trailing-space"
]
}

1
_environment Normal file
View File

@ -0,0 +1 @@
QUARTO_JULIA_PROJECT=/home/hellmund/G/QuartoNotebookRunner.jl

View File

@ -1,7 +1,5 @@
# Arbeit mit Julia: REPL, Pakete, Introspection
## Dokumentation
Die offizielle Julia-Dokumentation [https://docs.julialang.org/](https://docs.julialang.org/) enthält zahlreiche Übersichten, darunter:
@ -32,7 +30,7 @@ Der REPL hat verschiedene Modi:
| Modus | Prompt | Modus starten | Modus verlassen |
| :- | :- | :- | :- |
| default| `julia>` | | `Ctrl-d`|
| default| `julia>` | | `Ctrl-d` (beendet Julia) |
| Package manager | `pkg>` | `]` | `backspace` |
| Help | `help?>` | `?`| `backspace `|
|Shell | `shell>` | `;` | `backspace`|
@ -114,11 +112,12 @@ Wichtiger Teil des _Julia Ecosystems_ sind die zahlreichen Pakete, die Julia erw
- Im Normalfall sieht das so aus:
```
(@v1.8) pkg> status
Status `~/.julia/environments/v1.8/Project.toml`
[1dea7af3] OrdinaryDiffEq v6.7.1
[91a5bcdd] Plots v1.27.1
[438e738f] PyCall v1.93.1
(@v1.10) pkg> status
Status `~/.julia/environments/v1.10/Project.toml`
[6e4b80f9] BenchmarkTools v1.5.0
[5fb14364] OhMyREPL v0.5.24
[91a5bcdd] Plots v1.40.4
[295af30f] Revise v3.5.14
```
- Man kann für verschiedene Projekte eigene `environments` benutzen. Dazu kann man entweder Julia mit