On 2015-10-30, Scott Kostyshak wrote: > On Thu, Oct 29, 2015 at 09:12:04AM +0000, Guenter Milde wrote: >> On 2015-10-29, Scott Kostyshak wrote:
... > words, the only place that knows whether the inputenc package is > loaded is BufferParams::writeEncodingPreamble() This is my understanding, too. > Actually, after thinking about this a bit longer my new favorite > approach is simply for BufferParams::writeEncodingPreamble to return the > necessary information (e.g. it could return a boolean using_inputenc) > that is then just passed to pdfoptions().writeLaTeX(). That seems the > cleanest and safest approach. I thought that it might not be common for > a write method to return such information (I figured if anything it > would return success/fail), but actually we already do this: > BufferParams::writeLaTeX() returns a boolean use_babel. Good to know, that there is a precedence. Thanks, Günter