OurBigBook places output files that are not the output of
.bigb to .html conversion (i.e. .html output files) under the -/raw/ prefix of the output.Internal path links then automatically add the
-/raw/ prefix to every link.For example, consider an input directory that contains:
notindex.bigb
= Hello
Check out \a[myfile.c].
The source code for this file is at: \a[notindex.bigb].
\Image[myimg.png]myfile.c
int i = 1;myimg.png
Binary!After conversion with:the following files would exist in the output directory:and all links/image references would work and automtically point to the correct locations under
ourbigbook .notindex.html: converted output ofnotindex.bigb-/raw/notindex.bigb: a copy of the input source codenotindex.bigb-/raw/myfile.c: a copy of the input filemyfile.c-/raw/myimg.png: a copy of the input filemyimg.c
-/raw.Some live examples:
The reason why a Then, in a server that omits the
-/raw prefix is needed it to avoid naming conflicts with OurBigBook outputs, e.g. suppose we had the files:configureconfigure.bigb
.html extension, if we didn't have -/raw/ both configure.html and configure would be present under /configure. With -/raw we instead get:-/raw/configure: the input/configurefileconfigure: the HTML