Skip to content

Commit a152288

Browse files
committed
add build command to notes
1 parent 5e29c49 commit a152288

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

MDtutorials/TutorialGuide.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,14 @@ The tutorial .md file should start with:
8383
| January 10, 2025 |
8484

8585
* When the tutorial is complete, update GSASII/tutorialIndex.py to include the new tutorial
86+
87+
88+
Build commands
89+
90+
The HTML file is constructed from the markdown file using commands:
91+
92+
pandoc --standalone ${infil} --css tutorial.css -o ${outfile}
93+
sed -i "s/<figure>/<BR clear=all><figure>/g" ${outfile}
94+
95+
Note that on MacOS the sed command must be sed -i "" "s/...". The tutorial.css file
96+
is found in the MDtutorials directory and is copied to the same location as $outfile.

0 commit comments

Comments
 (0)