Data input in LaTeX possible?












2















For my next project, I want to check my options.



I would like to create a lexicographic book with genealogical data as a PDF, probably in XeLaTeX but I am open for suggestions. The book shall contain genealogical data and be structured like a lexicon.



While I know basically how to write the LaTeX code to design the pages etc., I do not know whether LaTeX is able (or designed for) to have some kind of "data input".



When I write "data input" I mean that I would like to have a GEDCOM file "read" by LaTeX so that it takes the data and places them in the designed parts in the book.



My first intuition, however, is to write a python script (I do not know other programming languages) and have it pass the data to LaTeX.



Is XeLaTeX or LuaTeX, however, able to handle "data inputs" in some way?



Bonus: what document class would you suggest to write a lexicographical book with not too fancy design in mind? The "good old" book class or "up-to-date" classes like memoir or scrbook, or else?










share|improve this question




















  • 3





    You can either let python generate LaTeX code directly or you could try and see if datatool fits your needs

    – DG'
    Feb 8 at 12:54








  • 3





    Also have a look at pythontex

    – JPi
    Feb 8 at 12:58






  • 2





    There are tons of GEDCOM tools for python around, so use that and pythontex. Also: Unless you have special requirements, the good old book class is good to go.

    – DG'
    Feb 8 at 13:09






  • 3





    if you are familiar with python you will find that easier but you certainly could parse gedcom in tex, also see tex.stackexchange.com/questions/377690/…

    – David Carlisle
    Feb 8 at 13:22






  • 2





    Luatex contains lua and can naturally handle data input, so you could also look if you can find some GEDCOM lua library.

    – Ulrike Fischer
    Feb 8 at 13:44
















2















For my next project, I want to check my options.



I would like to create a lexicographic book with genealogical data as a PDF, probably in XeLaTeX but I am open for suggestions. The book shall contain genealogical data and be structured like a lexicon.



While I know basically how to write the LaTeX code to design the pages etc., I do not know whether LaTeX is able (or designed for) to have some kind of "data input".



When I write "data input" I mean that I would like to have a GEDCOM file "read" by LaTeX so that it takes the data and places them in the designed parts in the book.



My first intuition, however, is to write a python script (I do not know other programming languages) and have it pass the data to LaTeX.



Is XeLaTeX or LuaTeX, however, able to handle "data inputs" in some way?



Bonus: what document class would you suggest to write a lexicographical book with not too fancy design in mind? The "good old" book class or "up-to-date" classes like memoir or scrbook, or else?










share|improve this question




















  • 3





    You can either let python generate LaTeX code directly or you could try and see if datatool fits your needs

    – DG'
    Feb 8 at 12:54








  • 3





    Also have a look at pythontex

    – JPi
    Feb 8 at 12:58






  • 2





    There are tons of GEDCOM tools for python around, so use that and pythontex. Also: Unless you have special requirements, the good old book class is good to go.

    – DG'
    Feb 8 at 13:09






  • 3





    if you are familiar with python you will find that easier but you certainly could parse gedcom in tex, also see tex.stackexchange.com/questions/377690/…

    – David Carlisle
    Feb 8 at 13:22






  • 2





    Luatex contains lua and can naturally handle data input, so you could also look if you can find some GEDCOM lua library.

    – Ulrike Fischer
    Feb 8 at 13:44














2












2








2








For my next project, I want to check my options.



I would like to create a lexicographic book with genealogical data as a PDF, probably in XeLaTeX but I am open for suggestions. The book shall contain genealogical data and be structured like a lexicon.



While I know basically how to write the LaTeX code to design the pages etc., I do not know whether LaTeX is able (or designed for) to have some kind of "data input".



When I write "data input" I mean that I would like to have a GEDCOM file "read" by LaTeX so that it takes the data and places them in the designed parts in the book.



My first intuition, however, is to write a python script (I do not know other programming languages) and have it pass the data to LaTeX.



Is XeLaTeX or LuaTeX, however, able to handle "data inputs" in some way?



Bonus: what document class would you suggest to write a lexicographical book with not too fancy design in mind? The "good old" book class or "up-to-date" classes like memoir or scrbook, or else?










share|improve this question
















For my next project, I want to check my options.



I would like to create a lexicographic book with genealogical data as a PDF, probably in XeLaTeX but I am open for suggestions. The book shall contain genealogical data and be structured like a lexicon.



While I know basically how to write the LaTeX code to design the pages etc., I do not know whether LaTeX is able (or designed for) to have some kind of "data input".



When I write "data input" I mean that I would like to have a GEDCOM file "read" by LaTeX so that it takes the data and places them in the designed parts in the book.



My first intuition, however, is to write a python script (I do not know other programming languages) and have it pass the data to LaTeX.



Is XeLaTeX or LuaTeX, however, able to handle "data inputs" in some way?



Bonus: what document class would you suggest to write a lexicographical book with not too fancy design in mind? The "good old" book class or "up-to-date" classes like memoir or scrbook, or else?







xetex luatex input






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 8 at 12:52







Til Hund

















asked Feb 8 at 12:45









Til HundTil Hund

544215




544215








  • 3





    You can either let python generate LaTeX code directly or you could try and see if datatool fits your needs

    – DG'
    Feb 8 at 12:54








  • 3





    Also have a look at pythontex

    – JPi
    Feb 8 at 12:58






  • 2





    There are tons of GEDCOM tools for python around, so use that and pythontex. Also: Unless you have special requirements, the good old book class is good to go.

    – DG'
    Feb 8 at 13:09






  • 3





    if you are familiar with python you will find that easier but you certainly could parse gedcom in tex, also see tex.stackexchange.com/questions/377690/…

    – David Carlisle
    Feb 8 at 13:22






  • 2





    Luatex contains lua and can naturally handle data input, so you could also look if you can find some GEDCOM lua library.

    – Ulrike Fischer
    Feb 8 at 13:44














  • 3





    You can either let python generate LaTeX code directly or you could try and see if datatool fits your needs

    – DG'
    Feb 8 at 12:54








  • 3





    Also have a look at pythontex

    – JPi
    Feb 8 at 12:58






  • 2





    There are tons of GEDCOM tools for python around, so use that and pythontex. Also: Unless you have special requirements, the good old book class is good to go.

    – DG'
    Feb 8 at 13:09






  • 3





    if you are familiar with python you will find that easier but you certainly could parse gedcom in tex, also see tex.stackexchange.com/questions/377690/…

    – David Carlisle
    Feb 8 at 13:22






  • 2





    Luatex contains lua and can naturally handle data input, so you could also look if you can find some GEDCOM lua library.

    – Ulrike Fischer
    Feb 8 at 13:44








3




3





You can either let python generate LaTeX code directly or you could try and see if datatool fits your needs

– DG'
Feb 8 at 12:54







You can either let python generate LaTeX code directly or you could try and see if datatool fits your needs

– DG'
Feb 8 at 12:54






3




3





Also have a look at pythontex

– JPi
Feb 8 at 12:58





Also have a look at pythontex

– JPi
Feb 8 at 12:58




2




2





There are tons of GEDCOM tools for python around, so use that and pythontex. Also: Unless you have special requirements, the good old book class is good to go.

– DG'
Feb 8 at 13:09





There are tons of GEDCOM tools for python around, so use that and pythontex. Also: Unless you have special requirements, the good old book class is good to go.

– DG'
Feb 8 at 13:09




3




3





if you are familiar with python you will find that easier but you certainly could parse gedcom in tex, also see tex.stackexchange.com/questions/377690/…

– David Carlisle
Feb 8 at 13:22





if you are familiar with python you will find that easier but you certainly could parse gedcom in tex, also see tex.stackexchange.com/questions/377690/…

– David Carlisle
Feb 8 at 13:22




2




2





Luatex contains lua and can naturally handle data input, so you could also look if you can find some GEDCOM lua library.

– Ulrike Fischer
Feb 8 at 13:44





Luatex contains lua and can naturally handle data input, so you could also look if you can find some GEDCOM lua library.

– Ulrike Fischer
Feb 8 at 13:44










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f473914%2fdata-input-in-latex-possible%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f473914%2fdata-input-in-latex-possible%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?