Re: [NTG-context] Modern CV like cover letter example
Hi Aditya, I have now included the resulting PDF. Jonas On Sat, 2 Dec 2017, Jonas Baggett wrote: >/Hi Aditya, />//>/Now I have updated the Modern CV like cover letter example that I published />/in http://wiki.contextgarden.net/index.php?title=Letter_style according to />/your suggestions. / Thanks for adding this to the wiki. It will be nice to include a screenshot showing the output as well. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
Hi Aditya, Now I have updated the Modern CV like cover letter example that I published in http://wiki.contextgarden.net/index.php?title=Letter_style according to your suggestions. Thank you again, Jonas Le 21.04.17 à 08:40, Aditya Mahajan a écrit : On Thu, 20 Apr 2017, Jonas Baggett wrote: Hi Pablo, Thanks ! I think you are right about that labeltext doesn't support an extra parameter. Then I will need to do it that way, I guess : \def \gender {male} \doifelse {\gender} {male} { \setuplabeltext [en] [longtitle=Mister] \setuplabeltext [fr] [longtitle=Monsieur] }{ % female \setuplabeltext [en] [longtitle=Madam] \setuplabeltext [fr] [longtitle=Madame] } \starttext \mainlanguage[fr] \labeltext{longtitle} \mainlanguage[en] \labeltext{longtitle} \stoptext You can also do: \setuplabeltext [en] [male:longtitle=Mister, female:longtitle=Madam] \setuplabeltext [fr] [male:longtitle=Monsieur, female:longtitle=Madame] \mainlanguage[fr] \labeltext{\gender:longtitle} etc. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
On Sat, 2 Dec 2017, Jonas Baggett wrote: Hi Aditya, Now I have updated the Modern CV like cover letter example that I published in http://wiki.contextgarden.net/index.php?title=Letter_style according to your suggestions. Thanks for adding this to the wiki. It will be nice to include a screenshot showing the output as well. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
Thank you :-) Le 21.04.17 à 08:40, Aditya Mahajan a écrit : On Thu, 20 Apr 2017, Jonas Baggett wrote: Hi Pablo, Thanks ! I think you are right about that labeltext doesn't support an extra parameter. Then I will need to do it that way, I guess : \def \gender {male} \doifelse {\gender} {male} { \setuplabeltext [en] [longtitle=Mister] \setuplabeltext [fr] [longtitle=Monsieur] }{ % female \setuplabeltext [en] [longtitle=Madam] \setuplabeltext [fr] [longtitle=Madame] } \starttext \mainlanguage[fr] \labeltext{longtitle} \mainlanguage[en] \labeltext{longtitle} \stoptext You can also do: \setuplabeltext [en] [male:longtitle=Mister, female:longtitle=Madam] \setuplabeltext [fr] [male:longtitle=Monsieur, female:longtitle=Madame] \mainlanguage[fr] \labeltext{\gender:longtitle} etc. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
On Thu, 20 Apr 2017, Jonas Baggett wrote: Hi Pablo, Thanks ! I think you are right about that labeltext doesn't support an extra parameter. Then I will need to do it that way, I guess : \def \gender {male} \doifelse {\gender} {male} { \setuplabeltext [en] [longtitle=Mister] \setuplabeltext [fr] [longtitle=Monsieur] }{ % female \setuplabeltext [en] [longtitle=Madam] \setuplabeltext [fr] [longtitle=Madame] } \starttext \mainlanguage[fr] \labeltext{longtitle} \mainlanguage[en] \labeltext{longtitle} \stoptext You can also do: \setuplabeltext [en] [male:longtitle=Mister, female:longtitle=Madam] \setuplabeltext [fr] [male:longtitle=Monsieur, female:longtitle=Madame] \mainlanguage[fr] \labeltext{\gender:longtitle} etc. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
Hi Pablo, Thanks ! I think you are right about that labeltext doesn't support an extra parameter. Then I will need to do it that way, I guess : \def \gender {male} \doifelse {\gender} {male} { \setuplabeltext [en] [longtitle=Mister] \setuplabeltext [fr] [longtitle=Monsieur] }{ % female \setuplabeltext [en] [longtitle=Madam] \setuplabeltext [fr] [longtitle=Madame] } \starttext \mainlanguage[fr] \labeltext{longtitle} \mainlanguage[en] \labeltext{longtitle} \stoptext Regards, Jonas Le 20.04.17 à 07:56, Pablo Rodriguez a écrit : On 04/20/2017 07:08 AM, Jonas Baggett wrote: Hello Henri, I tried to use labeltexts without success so far. Here is the simple example I tried to do : \setuplabeltext [East=east, West=west] \setuplabeltext [en] [Name=name] \setuplabeltext [fr] [Name=nom] \starttext \labeltext{East} % Works \labeltext{West} % Works \labeltext[en]{Name} % Doesn't work \labeltext[fr]{Name} % Doesn't work \stoptext Hi Jonas, it seems that labeltext works based on \mainlanguage, such as in: \setuplabeltext [East=east, West=west] \setuplabeltext [en] [Name=name] \setuplabeltext [fr] [Name=nom] \starttext \labeltext{East} % Works \labeltext{West} % Works \labeltext{Name} % Doesn't work \mainlanguage[fr] \labeltext{Name} % Doesn't work \stoptext BTW, all \labeltext commands work fine in this previous sample. Can we also make labeltexts depend on 2 parameters and write something like \setuplabeltext[fr][male][longtitle=Monsieur] (...) \labeltext[fr][male]{longtitle} ? I don’t think this is supported by labeltext. Just in case it helps, Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
On 04/20/2017 07:08 AM, Jonas Baggett wrote: > Hello Henri, > > I tried to use labeltexts without success so far. Here is the simple > example I tried to do : > >\setuplabeltext [East=east, West=west] >\setuplabeltext [en] [Name=name] >\setuplabeltext [fr] [Name=nom] > >\starttext > \labeltext{East} % Works > \labeltext{West} % Works > \labeltext[en]{Name} % Doesn't work > \labeltext[fr]{Name} % Doesn't work >\stoptext Hi Jonas, it seems that labeltext works based on \mainlanguage, such as in: \setuplabeltext [East=east, West=west] \setuplabeltext [en] [Name=name] \setuplabeltext [fr] [Name=nom] \starttext \labeltext{East} % Works \labeltext{West} % Works \labeltext{Name} % Doesn't work \mainlanguage[fr] \labeltext{Name} % Doesn't work \stoptext BTW, all \labeltext commands work fine in this previous sample. > Can we also make labeltexts depend on 2 parameters and write something like >\setuplabeltext[fr][male][longtitle=Monsieur] >(...) >\labeltext[fr][male]{longtitle} > ? I don’t think this is supported by labeltext. Just in case it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
Hello Henri, I tried to use labeltexts without success so far. Here is the simple example I tried to do : \setuplabeltext [East=east, West=west] \setuplabeltext [en] [Name=name] \setuplabeltext [fr] [Name=nom] \starttext \labeltext{East} % Works \labeltext{West} % Works \labeltext[en]{Name} % Doesn't work \labeltext[fr]{Name} % Doesn't work \stoptext Can we also make labeltexts depend on 2 parameters and write something like \setuplabeltext[fr][male][longtitle=Monsieur] (...) \labeltext[fr][male]{longtitle} ? Any suggestions ? Thanks ! Jonas Le 18. 04. 17 à 10:09, Henri Menke a écrit : Better use the language aware labeltexts \setuplabeltext [language] [labellabel=text,labellabel=text,...] rather than setting some macros based on self-defined modes. On 04/18/2017 12:34 AM, Jonas Baggett wrote: Hello everyone, As suggested by Wolfgang Schuster here : https://mailman.ntg.nl/pipermail/ntg-context/2016/087113.html , I have added on the wiki an example of a cover letter that has a similar style to Modern CV. You will find it here : http://wiki.contextgarden.net/Letter_style#Modern_CV_like_cover_letter . I hope it can help. Cheers, Jonas Baggett ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
Thanks for the suggestion, I will apply that soon. Le 18.04.17 à 10:09, Henri Menke a écrit : Better use the language aware labeltexts \setuplabeltext [language] [labellabel=text,labellabel=text,...] rather than setting some macros based on self-defined modes. On 04/18/2017 12:34 AM, Jonas Baggett wrote: Hello everyone, As suggested by Wolfgang Schuster here : https://mailman.ntg.nl/pipermail/ntg-context/2016/087113.html , I have added on the wiki an example of a cover letter that has a similar style to Modern CV. You will find it here : http://wiki.contextgarden.net/Letter_style#Modern_CV_like_cover_letter . I hope it can help. Cheers, Jonas Baggett ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Modern CV like cover letter example
Better use the language aware labeltexts \setuplabeltext [language] [labellabel=text,labellabel=text,...] rather than setting some macros based on self-defined modes. On 04/18/2017 12:34 AM, Jonas Baggett wrote: > Hello everyone, > > As suggested by Wolfgang Schuster here : > https://mailman.ntg.nl/pipermail/ntg-context/2016/087113.html , I have added > on the wiki an example of a cover letter that has a similar style to Modern > CV. You will find it here : > http://wiki.contextgarden.net/Letter_style#Modern_CV_like_cover_letter . > > I hope it can help. > > Cheers, > Jonas Baggett > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Modern CV like cover letter example
Hello everyone, As suggested by Wolfgang Schuster here : https://mailman.ntg.nl/pipermail/ntg-context/2016/087113.html , I have added on the wiki an example of a cover letter that has a similar style to Modern CV. You will find it here : http://wiki.contextgarden.net/Letter_style#Modern_CV_like_cover_letter . I hope it can help. Cheers, Jonas Baggett ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___