Skip to content

Grammaticality judgements not aligned in interlinear examples when targeting Linguex #17

@somelinguist

Description

@somelinguist

When targeting Linguex, grammaticality judgements are not aligned in interlinear examples.

See the output for example (4.12c) on page 10 of https://github.com/cysouw/pandoc-ling/blob/main/docs/readme_linguex.pdf

I think it's because the filter is outputting the interlinear lines for Linguex using \gll, etc., with the judgment intervening.

\b. Dutch (Germanic) Note the grammaticality judgement!
\gll \textsuperscript{:--)}\emph{Deze} \emph{zin} \emph{is}
\emph{(dit~is~test)} \emph{nederlands.} \\
\textsc{dem} sentence \textsc{aux} ~ dutch. \\
\glt `This sentence is dutch.'

However the Linguex docs point out that judgments won't be aligned unless using \exg. or \ag., etc instead of \ex. \gll (see the bottom of page 3 and top of page 4 of their docs):

Likewise, writing \ex.\gll instead of \exg. will have the effect of not prefixing the grammaticality judgment.

I'm guessing that the decision to use \gll with the filter was to support preambles, however, as Linguex doesn't support them using \exg, etc. Is that right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions