Example #1
0
def test_6():
    lt_in = run_shell.get_lt_in('--no-specials', latex_6, 'utf-8')
    assert lt_in == lt_in_6
Example #2
0
def test_2(options, lt_in_expected):
    lt_in = run_shell.get_lt_in(options, latex_2, 'utf-8')
    assert lt_in == lt_in_expected
Example #3
0
def test_4(options, lt_in_expected):
    repl = test_dir + 'repls.txt'
    lt_in = run_shell.get_lt_in(options + ' --replace ' + repl,
                                            latex_4, 'utf-8')
    assert lt_in == lt_in_expected
Example #4
0
def test_5():
#   this will echo 'koma' and 'lang':
#   lt_in = run_shell.get_lt_in('--packages ""', latex_5, 'utf-8')
    lt_in = run_shell.get_lt_in('--packages "" --add-modules '
                                + test_dir + 'modules.tex', latex_5, 'utf-8')
    assert lt_in == lt_in_5
Example #5
0
def test_4():
    lt_in = run_shell.get_lt_in('--multi-language --ml-disable x,y', latex_4,
                                'utf-8')
    assert lt_in == lt_in_4
Example #6
0
def test_3():
    lt_in = run_shell.get_lt_in('--define ' + test_dir + 'defs.tex',
                                                latex_3, 'utf-8')
    assert lt_in == lt_in_3
Example #7
0
def test_2():
    lt_in = run_shell.get_lt_in('--multi-language', latex_2, 'utf-8')
    assert lt_in == lt_in_2
Example #8
0
def test_3():
    lt_in = run_shell.get_lt_in('--multi-language --ml-continue-threshold 0',
                                latex_3, 'utf-8')
    assert lt_in == lt_in_3
Example #9
0
def test_1():
    lt_in = run_shell.get_lt_in('', latex_1, 'utf-8')
    assert lt_in == lt_in_1
Example #10
0
def test_8():
    lt_in = run_shell.get_lt_in(
        '--multi-language --lang en-GB --define ' + test_dir + 'defs.tex',
        latex_8, 'utf-8')
    assert lt_in == lt_in_8
Example #11
0
def test_7():
    lt_in = run_shell.get_lt_in('--multi-language --lang en-GB', latex_7,
                                'utf-8')
    assert lt_in == lt_in_7
Example #12
0
def test_6():
    lt_in = run_shell.get_lt_in('--multi-language --ml-disablecategories x,y',
                                latex_6, 'utf-8')
    assert lt_in == lt_in_6
Example #13
0
def test_5():
    lt_in = run_shell.get_lt_in(
        '--multi-language --ml-disable x,y' + ' --ml-rule-threshold 0',
        latex_5, 'utf-8')
    assert lt_in == lt_in_5