Outputting a custom glossary to a separate fileWhat do makeatletter and makeatother do?Outputting internal at-macro via newcommand?Arbitrary text parsing from a separate fileCreate all queries in separate file like listoffigureAdd custom caption to LOT fileTeXstudio: Is there a way to keep my custom macros and shortcuts in a separate file?insert newcommand* in GlossaryAutomatic export of abstract to separate text fileHow to use a user-defined command in glossary file?Passing string options to custom style file, made simple?Bilingual glossary

Can a druid choose the size of its wild shape beast?

Unexpected result from ArcLength

Welcoming 2019 Pi day: How to draw the letter π?

In a future war, an old lady is trying to raise a boy but one of the weapons has made everyone deaf

Can I use USB data pins as power source

Look at your watch and tell me what time is it. vs Look at your watch and tell me what time it is

Instead of Universal Basic Income, why not Universal Basic NEEDS?

Why one should not leave fingerprints on bulbs and plugs?

Identifying the interval from A♭ to D♯

What approach do we need to follow for projects without a test environment?

Why did it take so long to abandon sail after steamships were demonstrated?

How to deal with taxi scam when on vacation?

Combining an idiom with a metonymy

Bach's Toccata and Fugue in D minor breaks the "no parallel octaves" rule?

Python if-else code style for reduced code for rounding floats

Are ETF trackers fundamentally better than individual stocks?

What's the meaning of “spike” in the context of “adrenaline spike”?

What are substitutions for coconut in curry?

What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?

Brexit - No Deal Rejection

Employee lack of ownership

How to make healing in an exploration game interesting

Why doesn't using two cd commands in bash script execute the second command?

SOQL: Populate a Literal List in WHERE IN Clause



Outputting a custom glossary to a separate file


What do makeatletter and makeatother do?Outputting internal at-macro via newcommand?Arbitrary text parsing from a separate fileCreate all queries in separate file like listoffigureAdd custom caption to LOT fileTeXstudio: Is there a way to keep my custom macros and shortcuts in a separate file?insert newcommand* in GlossaryAutomatic export of abstract to separate text fileHow to use a user-defined command in glossary file?Passing string options to custom style file, made simple?Bilingual glossary













0















I'm working on the translation of a German book and have created the following macro so as to link some translated words and expressions to their original, which then I print at the end of the document:



documentclassbook 

usepackage[brazil]babel
usepackagehyperref
usepackageenumitem

%%% Regulating dictionary entires

newcommandDicEntry[2]
%
hyperlink#1#2%
label#1%

newcommandDicShow[3]
%
footnotesize
beginenumerate[label=Pág. pageref#1 -]
item
hypertarget#1textbf#2
subitem #3
endenumerate


begindocument

%%% Excerpt of Translated Text

Ele é um homem de especial DicEntryredlichkeitnobreza...

%%% Excerpt of Dictionary Entries

DicShowredlichkeitRedlichkeit, die (-en):

Mit guten Absichten und großem Ernst.


enddocument


It looks like this:



enter image description here



It works fine all right, but I've been wondering if there's any way to make it more efficiente, as in thus:



  • A command that reads back the text and outputs all the Dictionary Entries automatically, somewhat like the endnote package.

  • Outputting the glossary to a separate file, all of which I'll combine later.

I appreciate any ideas.










share|improve this question









New contributor




Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Welcome to TeX.SE! Can you please make your code snippet compilable resulting in the screenshot you showed? BTW: German word "Redlichkeit" is written with capital R. :-)

    – Kurt
    yesterday











  • On your deleted “answer”: to use commands with @ in their names you need to surround the definition with makeatletter and makeatother.

    – Phelype Oleinik
    6 hours ago















0















I'm working on the translation of a German book and have created the following macro so as to link some translated words and expressions to their original, which then I print at the end of the document:



documentclassbook 

usepackage[brazil]babel
usepackagehyperref
usepackageenumitem

%%% Regulating dictionary entires

newcommandDicEntry[2]
%
hyperlink#1#2%
label#1%

newcommandDicShow[3]
%
footnotesize
beginenumerate[label=Pág. pageref#1 -]
item
hypertarget#1textbf#2
subitem #3
endenumerate


begindocument

%%% Excerpt of Translated Text

Ele é um homem de especial DicEntryredlichkeitnobreza...

%%% Excerpt of Dictionary Entries

DicShowredlichkeitRedlichkeit, die (-en):

Mit guten Absichten und großem Ernst.


enddocument


It looks like this:



enter image description here



It works fine all right, but I've been wondering if there's any way to make it more efficiente, as in thus:



  • A command that reads back the text and outputs all the Dictionary Entries automatically, somewhat like the endnote package.

  • Outputting the glossary to a separate file, all of which I'll combine later.

I appreciate any ideas.










share|improve this question









New contributor




Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Welcome to TeX.SE! Can you please make your code snippet compilable resulting in the screenshot you showed? BTW: German word "Redlichkeit" is written with capital R. :-)

    – Kurt
    yesterday











  • On your deleted “answer”: to use commands with @ in their names you need to surround the definition with makeatletter and makeatother.

    – Phelype Oleinik
    6 hours ago













0












0








0








I'm working on the translation of a German book and have created the following macro so as to link some translated words and expressions to their original, which then I print at the end of the document:



documentclassbook 

usepackage[brazil]babel
usepackagehyperref
usepackageenumitem

%%% Regulating dictionary entires

newcommandDicEntry[2]
%
hyperlink#1#2%
label#1%

newcommandDicShow[3]
%
footnotesize
beginenumerate[label=Pág. pageref#1 -]
item
hypertarget#1textbf#2
subitem #3
endenumerate


begindocument

%%% Excerpt of Translated Text

Ele é um homem de especial DicEntryredlichkeitnobreza...

%%% Excerpt of Dictionary Entries

DicShowredlichkeitRedlichkeit, die (-en):

Mit guten Absichten und großem Ernst.


enddocument


It looks like this:



enter image description here



It works fine all right, but I've been wondering if there's any way to make it more efficiente, as in thus:



  • A command that reads back the text and outputs all the Dictionary Entries automatically, somewhat like the endnote package.

  • Outputting the glossary to a separate file, all of which I'll combine later.

I appreciate any ideas.










share|improve this question









New contributor




Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm working on the translation of a German book and have created the following macro so as to link some translated words and expressions to their original, which then I print at the end of the document:



documentclassbook 

usepackage[brazil]babel
usepackagehyperref
usepackageenumitem

%%% Regulating dictionary entires

newcommandDicEntry[2]
%
hyperlink#1#2%
label#1%

newcommandDicShow[3]
%
footnotesize
beginenumerate[label=Pág. pageref#1 -]
item
hypertarget#1textbf#2
subitem #3
endenumerate


begindocument

%%% Excerpt of Translated Text

Ele é um homem de especial DicEntryredlichkeitnobreza...

%%% Excerpt of Dictionary Entries

DicShowredlichkeitRedlichkeit, die (-en):

Mit guten Absichten und großem Ernst.


enddocument


It looks like this:



enter image description here



It works fine all right, but I've been wondering if there's any way to make it more efficiente, as in thus:



  • A command that reads back the text and outputs all the Dictionary Entries automatically, somewhat like the endnote package.

  • Outputting the glossary to a separate file, all of which I'll combine later.

I appreciate any ideas.







macros






share|improve this question









New contributor




Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 9 hours ago







Daniel Hadad













New contributor




Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Daniel HadadDaniel Hadad

62




62




New contributor




Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Daniel Hadad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Welcome to TeX.SE! Can you please make your code snippet compilable resulting in the screenshot you showed? BTW: German word "Redlichkeit" is written with capital R. :-)

    – Kurt
    yesterday











  • On your deleted “answer”: to use commands with @ in their names you need to surround the definition with makeatletter and makeatother.

    – Phelype Oleinik
    6 hours ago

















  • Welcome to TeX.SE! Can you please make your code snippet compilable resulting in the screenshot you showed? BTW: German word "Redlichkeit" is written with capital R. :-)

    – Kurt
    yesterday











  • On your deleted “answer”: to use commands with @ in their names you need to surround the definition with makeatletter and makeatother.

    – Phelype Oleinik
    6 hours ago
















Welcome to TeX.SE! Can you please make your code snippet compilable resulting in the screenshot you showed? BTW: German word "Redlichkeit" is written with capital R. :-)

– Kurt
yesterday





Welcome to TeX.SE! Can you please make your code snippet compilable resulting in the screenshot you showed? BTW: German word "Redlichkeit" is written with capital R. :-)

– Kurt
yesterday













On your deleted “answer”: to use commands with @ in their names you need to surround the definition with makeatletter and makeatother.

– Phelype Oleinik
6 hours ago





On your deleted “answer”: to use commands with @ in their names you need to surround the definition with makeatletter and makeatother.

– Phelype Oleinik
6 hours ago










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
);



);






Daniel Hadad is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479473%2foutputting-a-custom-glossary-to-a-separate-file%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








Daniel Hadad is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Daniel Hadad is a new contributor. Be nice, and check out our Code of Conduct.












Daniel Hadad is a new contributor. Be nice, and check out our Code of Conduct.











Daniel Hadad is a new contributor. Be nice, and check out our Code of Conduct.














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%2f479473%2foutputting-a-custom-glossary-to-a-separate-file%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 should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"