Linguistic glosses with Leipzig package including morpheme boundaries
up vote
1
down vote
favorite
I just started using LaTeX and am using the Leipzig-package for linguistic glosses, that I also want to appear in a glossary. In the Leipzig package only the glosses themselves are defined, while morpheme-boundaries (- and =) are placed manually in the text.
This is how the shortcuts are defined: newleipzig{attr}{attr}{at-tri-bu-ti-ve} %attributive
The first {attr} makes the shortcut, the second is what appears in the gloss and the glossary. If I add morpheme boundaries, e.g. newleipzig{attr}{=attr}{at-tri-bu-ti-ve} %attributive
, they of course also appear in the glossary.
Is there a way to define 2 separate outputs, i.e. one for glossed examples inluding the morpheme boundary and another one for the glossary?
Here is an example, in this case with the morpheme-boundaries outside the glosses:
documentclass[11pt] {book}
usepackage[a4paper, twoside, top=3cm,bottom=3cm,left=3cm,right=4cm]{geometry}
usepackage{fontspec} usepackage{xltxtra} usepackage{xunicode}
setmainfont{Charis SIL}
usepackage[hidelinks]{hyperref}
usepackage[toc, nonumberlist, mcolblock]{leipzig}
makeglossaries
usepackage{gb4e}
usepackage{cgloss}
leteachwordone=itshape
leteachwordtwo=small
defgltoffset{-0ex}
newcommand{source}[1]{hfill {small sf #1}}
newleipzig{attr}{attr}{at-tri-bu-ti-ve} %attributive
newleipzig{an}{an}{adjectival noun} %adjectival noun
newleipzig{act}{act}{ac-tive} %active
newleipzig{cv}{cv}{con-verb} %converb
newcommand{Acv}{{Act}{Cv}}%
begin{document}
printglossary[type=leipzigtype,title=Abbreviations]
begin{exe}
ex label{ex-bad-ghost}
gll sulob ɖiʔke loʔ-gu=nu ɖuma bania=kaŋ\
tree from fall-Acv{}=Attr{} spirit bad=An{}\
glt `The spirit of someone who died from falling off a tree is a bad one.' \
end{exe}
end{document}
Thanks so much for your help :)
glossaries acronyms leipzig
New contributor
add a comment |
up vote
1
down vote
favorite
I just started using LaTeX and am using the Leipzig-package for linguistic glosses, that I also want to appear in a glossary. In the Leipzig package only the glosses themselves are defined, while morpheme-boundaries (- and =) are placed manually in the text.
This is how the shortcuts are defined: newleipzig{attr}{attr}{at-tri-bu-ti-ve} %attributive
The first {attr} makes the shortcut, the second is what appears in the gloss and the glossary. If I add morpheme boundaries, e.g. newleipzig{attr}{=attr}{at-tri-bu-ti-ve} %attributive
, they of course also appear in the glossary.
Is there a way to define 2 separate outputs, i.e. one for glossed examples inluding the morpheme boundary and another one for the glossary?
Here is an example, in this case with the morpheme-boundaries outside the glosses:
documentclass[11pt] {book}
usepackage[a4paper, twoside, top=3cm,bottom=3cm,left=3cm,right=4cm]{geometry}
usepackage{fontspec} usepackage{xltxtra} usepackage{xunicode}
setmainfont{Charis SIL}
usepackage[hidelinks]{hyperref}
usepackage[toc, nonumberlist, mcolblock]{leipzig}
makeglossaries
usepackage{gb4e}
usepackage{cgloss}
leteachwordone=itshape
leteachwordtwo=small
defgltoffset{-0ex}
newcommand{source}[1]{hfill {small sf #1}}
newleipzig{attr}{attr}{at-tri-bu-ti-ve} %attributive
newleipzig{an}{an}{adjectival noun} %adjectival noun
newleipzig{act}{act}{ac-tive} %active
newleipzig{cv}{cv}{con-verb} %converb
newcommand{Acv}{{Act}{Cv}}%
begin{document}
printglossary[type=leipzigtype,title=Abbreviations]
begin{exe}
ex label{ex-bad-ghost}
gll sulob ɖiʔke loʔ-gu=nu ɖuma bania=kaŋ\
tree from fall-Acv{}=Attr{} spirit bad=An{}\
glt `The spirit of someone who died from falling off a tree is a bad one.' \
end{exe}
end{document}
Thanks so much for your help :)
glossaries acronyms leipzig
New contributor
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I just started using LaTeX and am using the Leipzig-package for linguistic glosses, that I also want to appear in a glossary. In the Leipzig package only the glosses themselves are defined, while morpheme-boundaries (- and =) are placed manually in the text.
This is how the shortcuts are defined: newleipzig{attr}{attr}{at-tri-bu-ti-ve} %attributive
The first {attr} makes the shortcut, the second is what appears in the gloss and the glossary. If I add morpheme boundaries, e.g. newleipzig{attr}{=attr}{at-tri-bu-ti-ve} %attributive
, they of course also appear in the glossary.
Is there a way to define 2 separate outputs, i.e. one for glossed examples inluding the morpheme boundary and another one for the glossary?
Here is an example, in this case with the morpheme-boundaries outside the glosses:
documentclass[11pt] {book}
usepackage[a4paper, twoside, top=3cm,bottom=3cm,left=3cm,right=4cm]{geometry}
usepackage{fontspec} usepackage{xltxtra} usepackage{xunicode}
setmainfont{Charis SIL}
usepackage[hidelinks]{hyperref}
usepackage[toc, nonumberlist, mcolblock]{leipzig}
makeglossaries
usepackage{gb4e}
usepackage{cgloss}
leteachwordone=itshape
leteachwordtwo=small
defgltoffset{-0ex}
newcommand{source}[1]{hfill {small sf #1}}
newleipzig{attr}{attr}{at-tri-bu-ti-ve} %attributive
newleipzig{an}{an}{adjectival noun} %adjectival noun
newleipzig{act}{act}{ac-tive} %active
newleipzig{cv}{cv}{con-verb} %converb
newcommand{Acv}{{Act}{Cv}}%
begin{document}
printglossary[type=leipzigtype,title=Abbreviations]
begin{exe}
ex label{ex-bad-ghost}
gll sulob ɖiʔke loʔ-gu=nu ɖuma bania=kaŋ\
tree from fall-Acv{}=Attr{} spirit bad=An{}\
glt `The spirit of someone who died from falling off a tree is a bad one.' \
end{exe}
end{document}
Thanks so much for your help :)
glossaries acronyms leipzig
New contributor
I just started using LaTeX and am using the Leipzig-package for linguistic glosses, that I also want to appear in a glossary. In the Leipzig package only the glosses themselves are defined, while morpheme-boundaries (- and =) are placed manually in the text.
This is how the shortcuts are defined: newleipzig{attr}{attr}{at-tri-bu-ti-ve} %attributive
The first {attr} makes the shortcut, the second is what appears in the gloss and the glossary. If I add morpheme boundaries, e.g. newleipzig{attr}{=attr}{at-tri-bu-ti-ve} %attributive
, they of course also appear in the glossary.
Is there a way to define 2 separate outputs, i.e. one for glossed examples inluding the morpheme boundary and another one for the glossary?
Here is an example, in this case with the morpheme-boundaries outside the glosses:
documentclass[11pt] {book}
usepackage[a4paper, twoside, top=3cm,bottom=3cm,left=3cm,right=4cm]{geometry}
usepackage{fontspec} usepackage{xltxtra} usepackage{xunicode}
setmainfont{Charis SIL}
usepackage[hidelinks]{hyperref}
usepackage[toc, nonumberlist, mcolblock]{leipzig}
makeglossaries
usepackage{gb4e}
usepackage{cgloss}
leteachwordone=itshape
leteachwordtwo=small
defgltoffset{-0ex}
newcommand{source}[1]{hfill {small sf #1}}
newleipzig{attr}{attr}{at-tri-bu-ti-ve} %attributive
newleipzig{an}{an}{adjectival noun} %adjectival noun
newleipzig{act}{act}{ac-tive} %active
newleipzig{cv}{cv}{con-verb} %converb
newcommand{Acv}{{Act}{Cv}}%
begin{document}
printglossary[type=leipzigtype,title=Abbreviations]
begin{exe}
ex label{ex-bad-ghost}
gll sulob ɖiʔke loʔ-gu=nu ɖuma bania=kaŋ\
tree from fall-Acv{}=Attr{} spirit bad=An{}\
glt `The spirit of someone who died from falling off a tree is a bad one.' \
end{exe}
end{document}
Thanks so much for your help :)
glossaries acronyms leipzig
glossaries acronyms leipzig
New contributor
New contributor
New contributor
asked yesterday
Judith
61
61
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Judith is a new contributor. Be nice, and check out our Code of Conduct.
Judith is a new contributor. Be nice, and check out our Code of Conduct.
Judith is a new contributor. Be nice, and check out our Code of Conduct.
Judith is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461315%2flinguistic-glosses-with-leipzig-package-including-morpheme-boundaries%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown