Ejemplo n.º 1
0
        private void ExportPreprocessForXelatex(PublicationInformation projInfo, PreExportProcess preProcessor)
        {
            if (_isUnixOs)
            {
                Common.RemoveDTDForLinuxProcess(projInfo.DefaultXhtmlFileWithPath, "xelatex");
            }
            preProcessor.SetLangforLetter(projInfo.DefaultXhtmlFileWithPath);
            preProcessor.XelatexImagePreprocess();

            if (_inputType.ToLower() == "dictionary" && projInfo.ProjectInputType.ToLower() == "dictionary")
            {
                Common.ApplyXslt(projInfo.DefaultXhtmlFileWithPath, _xhtmlXelatexXslProcess);
            }
        }