Automatically Generate a Table with multiple rows and columns from keys in the .tex file
up vote
0
down vote
favorite
I would like to loop through a LaTeX document and collect every instance of a key with multiple entries.
i.e.
begin{document}
lipsum[1-1]
key{name=Peter, age=50, gender=male}
lipsum[1-1]
key{name=Max, age=20, gender=male}
lipsum[1-1]
key{name=Lena, age=90, gender=female}
makekeylist
end{document}
makekeylist
should generate a tabularx
like table with the above entries as well as theire respective page they apear first.
My tries to do this with makeidx
so far did not yield a result - and I am a bit clueless towards the right ansatz.
Thanks for all help.
tables tabularx automation imakeidx makeindex
New contributor
add a comment |
up vote
0
down vote
favorite
I would like to loop through a LaTeX document and collect every instance of a key with multiple entries.
i.e.
begin{document}
lipsum[1-1]
key{name=Peter, age=50, gender=male}
lipsum[1-1]
key{name=Max, age=20, gender=male}
lipsum[1-1]
key{name=Lena, age=90, gender=female}
makekeylist
end{document}
makekeylist
should generate a tabularx
like table with the above entries as well as theire respective page they apear first.
My tries to do this with makeidx
so far did not yield a result - and I am a bit clueless towards the right ansatz.
Thanks for all help.
tables tabularx automation imakeidx makeindex
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I would like to loop through a LaTeX document and collect every instance of a key with multiple entries.
i.e.
begin{document}
lipsum[1-1]
key{name=Peter, age=50, gender=male}
lipsum[1-1]
key{name=Max, age=20, gender=male}
lipsum[1-1]
key{name=Lena, age=90, gender=female}
makekeylist
end{document}
makekeylist
should generate a tabularx
like table with the above entries as well as theire respective page they apear first.
My tries to do this with makeidx
so far did not yield a result - and I am a bit clueless towards the right ansatz.
Thanks for all help.
tables tabularx automation imakeidx makeindex
New contributor
I would like to loop through a LaTeX document and collect every instance of a key with multiple entries.
i.e.
begin{document}
lipsum[1-1]
key{name=Peter, age=50, gender=male}
lipsum[1-1]
key{name=Max, age=20, gender=male}
lipsum[1-1]
key{name=Lena, age=90, gender=female}
makekeylist
end{document}
makekeylist
should generate a tabularx
like table with the above entries as well as theire respective page they apear first.
My tries to do this with makeidx
so far did not yield a result - and I am a bit clueless towards the right ansatz.
Thanks for all help.
tables tabularx automation imakeidx makeindex
tables tabularx automation imakeidx makeindex
New contributor
New contributor
edited 2 days ago
Dũng Vũ
1,04918
1,04918
New contributor
asked 2 days ago
banana
11
11
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
banana is a new contributor. Be nice, and check out our Code of Conduct.
banana is a new contributor. Be nice, and check out our Code of Conduct.
banana is a new contributor. Be nice, and check out our Code of Conduct.
banana 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%2f460266%2fautomatically-generate-a-table-with-multiple-rows-and-columns-from-keys-in-the%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