Open grinnellm opened 4 years ago
FYI - I re-wrote the whole techreport example last month and all the French/English conversion details you need to know are in there. I just mention it here so everyone knows about it.
The switch for English/French is in index.Rmd.
To make the final French version of the document, I would recommend the following as it is by far the simplest way. It's the way I will be doing it anyway:
french:true
in index.Rmd
. This will make all the figures, tables, and all the captions french.The other ways you suggest Matt would require more work in trying to figure out how to change _bookdown files, etc. and whole lot more coding in general. This way just involves cutting and pasting text.
Use the
french: false
orfrench: true
to bring in the proper Section files (e.g., "english/01_context.Rmd" or "french/01_context.Rmd"). Could possible be done one of two ways, maybe using anifelse
command: