Skip to content

Commit 1f11d92

Browse files
committed
Add Latex and pandoc to allow to export notebook as PDF
1 parent 0693324 commit 1f11d92

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"remoteEnv": {
3131
"ENABLE_ORYX_BUILD": "false"
3232
},
33-
"onCreateCommand": "conda env create -f environment.yml",
34-
"updateContentCommand": "conda init",
35-
"postCreateCommand": "/opt/conda/envs/golden_scenario_env/bin/jupyter lab --notebook-dir=/workspaces/data-science --ip='0.0.0.0' --port=8888 --no-browser"
33+
// There is not a feature for LaTeX in VS Code yet, so we need to install it manually
34+
"onCreateCommand": "sudo apt-get update && sudo apt install -y texlive-xetex pandoc && conda env create -f environment.yml",
35+
"updateContentCommand": "conda init"
36+
// "postCreateCommand": "/opt/conda/envs/golden_scenario_env/bin/jupyter lab --notebook-dir=/workspaces/data-science --ip='0.0.0.0' --port=8888 --no-browser"
3637
}

0 commit comments

Comments
 (0)