Closed hongyi-zhao closed 3 years ago
video-1.jpg is a YouTube thumbnail. You have to generate it. This is one of the steps in PreTeXt processing, as described in the guide. You can look there to see how videos are handled.
Images that are not generated from source are provided in the figures
folder. You copy them into your output folders.
Output directories are not tracked by git.
I am not able to create your output folder structure for you.
You can look there to see how videos are handled.
Where? What's link/URL?
Output directories are not tracked by git.
I confirmed this setting here.
The PreTeXt script is described here. You can run it with the -h option to see what the command is for video.
Got it, thanks a lot.
I generated a TeX file of this project with the following steps.
I use the mathbook.git as the local repo name instead of mathbook, so adapt the 3410-html.xsl to avoid the problem reported here:
And prepare some configurations with the xsl style files supplied by Math3410.
The html/TeX files can be generated in the following way:
In the generated tex file, I find the following line:
But the file
video-1.jpg
doesn't exist in this repo at all. Any hints for this problem will be highly appreciated.Another problem is that the figures are located under the
figures
directory in this repo, while the generated tex file will refer to a non-existentimages
directory for finding these figures.Thirdly, the svg figures supplied under the
figures
directory can't be directly used by latex without some additional packages help as discussed here, so the conversion similar to the following command should be done in advance, if necessary latex package isn't used, say, this one:Regards, HY