Lines Matching defs:patterns
3374 hyphen_trie patterns;
3598 /* We use very simple rules to parse TeX's hyphenation patterns.
3609 . We check for the expression `\patterns{...}' (possibly with
3611 braces is taken as hyphenation patterns. Consequently, `{' and `}'
3612 are not allowed in patterns.
3619 . For backwards compatibility, if `\patterns' is missing, the
3620 whole file is treated as a list of hyphenation patterns (only
3660 error("invalid ^, ^^x, or ^^xx character in hyphenation patterns file");
3677 error("can't find hyphenation patterns file `%1'", name);
3681 int have_patterns = 0; // we've seen \patterns
3685 int have_keyword = 0; // we've seen either \patterns or \hyphenation
3686 int traditional = 0; // don't handle \patterns
3711 do { // scan patterns
3723 if (i >= 9 && !strncmp(buf + i - 9, "\\patterns", 9)) {
3728 error("\\patterns not allowed inside of %1 group",
3729 have_patterns ? "\\patterns" : "\\hyphenation");
3744 have_patterns ? "\\patterns" : "\\hyphenation");
3756 have_patterns ? "\\patterns" : "\\hyphenation");
3775 have_patterns ? "\\patterns" : "\\hyphenation");
3776 c = hpf_getc(fp); // skipped if not starting \patterns
3836 current_language->patterns.hyphenate(hbuf, len+2, num);
3859 current_language->patterns.read_patterns_file(