Skip to content

Commit 227c476

Browse files
authored
Create Export Troubleshooting.md
1 parent a853758 commit 227c476

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Export Troubleshooting.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Export Troubleshooting:
2+
1. Comment out the `%%capture` line in the cell that actually runs the exporting. Towards the bottom of the whole thing you might find something like an error message that may give you a clue as to what is going wrong. Likely it will be a LaTeX issue and say something about adding a missing `$`.
3+
4+
2. If there is a space in your filename, try renaming and remove the space. In general, coding languages do not like spaces in filenames. I made the export script work fairly well with spaces, but it sometimes still causes issues.
5+
6+
3. Check images are all inserted with `Image(...)`.
7+
8+
a. If any images were previously inserted like `![](https://drive.google.com/uc?export=view&id=...)` it may be necessary to COPY ALL WORK into a new notebook.
9+
10+
4. LaTeX issues -- See below for LaTeX specific tips.
11+
12+
<br>
13+
14+
## LaTeX
15+
The way Jupyter/Colab interprets markdown cells is slightly different to how the LaTeX compiler reads them, and unfortunately for us, the Jupyter/Colab interpreter is smarter than the LaTeX one, which means that even though things look great in the notebook, they might fail while exporting.
16+
So far, the things I have found to cause issues are:
17+
* Spaces inside of `$` signs... e.g. `$ 50\pm10 $` won't compile, but `$50\pm10$` will.
18+
* Opening and closing many `$latex$` sections in one sentence seems to cause issues sometimes... e.g. avoid things like `$10\pm$5+$\mu$=40$\pm7$E$10$`
19+
* If you use are using something like `\begin{align} ... \end{align`} (which defines a LaTeX enclosure) then you should NOT use `$` signs as well.

0 commit comments

Comments
 (0)