updated: to the new Ezc API

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@974 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2014-10-18 18:12:04 +00:00
parent 8196fb77d1
commit 5266a7e4e5
26 changed files with 864 additions and 676 deletions

View File

@@ -77,7 +77,13 @@ void insert_page_run(Info & i)
info.ezc_gen.SkipNewLine(gen_skip_new_line);
info.ezc_gen.RecognizeSpecialChars(gen_use_special_chars);
info.ezc_gen.SetMax(config->ezc_max_elements, config->ezc_max_loop_elements);
info.ezc_gen.Generate(info.run_content, *pat);
/*
* !! IMPROVE ME
* add blocks and variables
* hmm may they are not needed here?
*/
info.ezc_gen.SetPattern(*pat);
info.ezc_gen.Generate(info.run_content);
item_print_content(i.out, info.run_content.Str(), info.item.content_type);
insert_page_cur -= 1;