Re: [NTG-context] PDF Meta Tags
On Tue January 20 2009 7:06:58 am Henning Hraban Ramm wrote: 2009/1/20 Bart C. Wise bntgcont...@wiseguysweb.com: I talked to the publisher again and he said that he would send me the exact error message, but I have not received it yet. But he did say that his printing shop wants the ability to download just the header information from a pdf rather than the whole pdf file which may be up to 80 mbytes. From that header information they will have the ability to render individual pages rather than the whole document. For example, they could request page 264 and render that single page as a jpeg. This sounds like web optimized PDFs, those contain a second object index at the start (normal PDFs have it at the end), so a *browser* can request selected pages from the *webserver* without loading the whole document. It's meant as a web technology, and I never heard of anyone using it in a print workflow. But it's not impossible. Tha has *nothing* to do with tagged PDF! Tagged is a technology to enable re-flowing text contents to e.g. small devices or extracting of content for alternative readers, e.g. screenreaders. PDFs for print should *not* be tagged in this way, for it can confuse a print workflow. Printshops should adhere to printing standards like PDF/X-1a and PDF/X-3 - and these never need web optimization or tagging! Excuse the ignorance, but does LuaTeX produce a PDF based on the PDF/X-1a and PDF/X-3 standards? Bart ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Meta Tags
On Tue, Jan 20, 2009 at 3:30 PM, Bart C. Wise bntgcont...@wiseguysweb.comwrote: On Tue January 20 2009 7:06:58 am Henning Hraban Ramm wrote: 2009/1/20 Bart C. Wise bntgcont...@wiseguysweb.com: I talked to the publisher again and he said that he would send me the exact error message, but I have not received it yet. But he did say that his printing shop wants the ability to download just the header information from a pdf rather than the whole pdf file which may be up to 80 mbytes. From that header information they will have the ability to render individual pages rather than the whole document. For example, they could request page 264 and render that single page as a jpeg. This sounds like web optimized PDFs, those contain a second object index at the start (normal PDFs have it at the end), so a *browser* can request selected pages from the *webserver* without loading the whole document. It's meant as a web technology, and I never heard of anyone using it in a print workflow. But it's not impossible. Tha has *nothing* to do with tagged PDF! Tagged is a technology to enable re-flowing text contents to e.g. small devices or extracting of content for alternative readers, e.g. screenreaders. PDFs for print should *not* be tagged in this way, for it can confuse a print workflow. Printshops should adhere to printing standards like PDF/X-1a and PDF/X-3 - and these never need web optimization or tagging! Excuse the ignorance, but does LuaTeX produce a PDF based on the PDF/X-1a and PDF/X-3 standards? For ghostscript http://pages.cs.wisc.edu/~ghost/doc/svn/Ps2pdf.htm for pdftex http://tug.ctan.org/tex-archive/macros/latex/contrib/pdfx I'm not sure if luatex can produce these kind of pdf -- luigi ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 2NUP, spreading a table on 2 pages
Hi Wolfgang, Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 20.01.2009 um 16:25 schrieb Antoine Junod: In fact my reply was a bit fast: in the example below the table is split on pages 2 and 3. But the lines of the table are not aligned. I'll dig the sources too see if it's possible to do that. But if anyone has a solution, I'm interested :) You can solve it with twopassdata and a few wrapper macros to hide the underlying macros in your document. Take a look in my example how this can be done. You need the arrange key for texexec to let it work in imposition mode. That is a lot of things I haven't heard about :) But thanks, it's doing the job in a perfect way. Would it be constructive to put that in the wiki or is it just a hack that won't be needed anymore with a future release? If it's not a temporary hack, tell me and I'll edit the wiki. Thanks, -AJ ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Howto make citations work in aps bibtex
Hi All! Have an issue getting \cite command working properly. Working on a undergraduate thesis in physics and the bibliography. I have read in bibmod-doc.pdf(Tacos manual) and also on the wiki about how to make this work properly. So I did set this in the preamble of my document. It sees the referenser.bib and a proper *.bbl file is produced. \usemodule [bib] \usemodule[bibltx] \setupbibtex[database=referenser] \setuppublications[alternative=aps,criterium=all] \starttext \cite[ref] does only display [1] as a result. \stoptext I tried \cite[authoryear][ref] but it gets some annoying results. Because i want the result be like this in the output Example: These statements has been declared by [authorlastname,(year)] Please give a code sample how to make this work! Thanks in advance! //Janneman ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 2NUP, spreading a table on 2 pages
On Wed, Jan 21, 2009 at 10:16 AM, Antoine Junod t...@tots-ns.net wrote: You can solve it with twopassdata and a few wrapper macros to hide the underlying macros in your document. Take a look in my example how this can be done. That is a lot of things I haven't heard about :) But thanks, it's doing the job in a perfect way. Would it be constructive to put that in the wiki or is it just a hack that won't be needed anymore with a future release? If it's not a temporary hack, tell me and I'll edit the wiki. I use this method myself in a document in it's harmless if you know what you do und what are the limitations e.g. the header above the table should be longer than one line and you need a page break before the first savetopassdata command and one after the second. Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF Meta Tags
2009/1/20 Bart C. Wise bntgcont...@wiseguysweb.com: Printshops should adhere to printing standards like PDF/X-1a and PDF/X-3 - and these never need web optimization or tagging! Excuse the ignorance, but does LuaTeX produce a PDF based on the PDF/X-1a and PDF/X-3 standards? Not by itself. Yo have to make sure on your own that your embedded PDFs are ok. TeX doesn't set any PDF/X markers - for it doesn't check embedded material that would no good idea anyway. But you can easily prepare PDFs within the borders of PDF/X-1a (e.g. only CMYK data, no animations) using TeX. PDF/X-3 is also possible (I guess), but harder (you need the right color profiles everywhere). In my experience too much printshops can't handle PDF/X-3 anyway... Greetlings, Hraban ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Howto make citations work in aps bibtex
Jan-Erik Hägglöf wrote: Hi All! Have an issue getting \cite command working properly. Working on a undergraduate thesis in physics and the bibliography. I have read in bibmod-doc.pdf(Tacos manual) and also on the wiki about how to make this work properly. So I did set this in the preamble of my document. It sees the referenser.bib and a proper *.bbl file is produced. \usemodule [bib] \usemodule[bibltx] \setupbibtex[database=referenser] \setuppublications[alternative=aps,criterium=all] \starttext \cite[ref] does only display [1] as a result. \stoptext I tried \cite[authoryear][ref] but it gets some annoying results. Because i want the result be like this in the output Example: These statements has been declared by [authorlastname,(year)] Please give a code sample how to make this work! Why are you using the aps style if you don't want aps-style output? That does not make sense. It seems that apa is much closer to what you want? Best wishes, Taco ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Defining a function
I defined a command as descriped in http://wiki.contextgarden.net/Processing_Lists. (\def\IHaveTo#1#2{I have to #1 on #2.\par}) If I define it in the tex-file that is processed it works. But when I put the definition in the template file that is used, it does not work. What do I need to do to define a command in a template file? -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Howto make citations work in aps bibtex
ons 2009-01-21 klockan 13:04 +0100 skrev Taco Hoekwater: Jan-Erik Hägglöf wrote: Hi All! Have an issue getting \cite command working properly. Working on a undergraduate thesis in physics and the bibliography. I have read in bibmod-doc.pdf(Tacos manual) and also on the wiki about how to make this work properly. So I did set this in the preamble of my document. It sees the referenser.bib and a proper *.bbl file is produced. \usemodule [bib] \usemodule[bibltx] \setupbibtex[database=referenser] \setuppublications[alternative=aps,criterium=all] \starttext \cite[ref] does only display [1] as a result. \stoptext I tried \cite[authoryear][ref] but it gets some annoying results. Because i want the result be like this in the output Example: These statements has been declared by [authorlastname,(year)] Please give a code sample how to make this work! Why are you using the aps style if you don't want aps-style output? That does not make sense. It seems that apa is much closer to what you want? Best wishes, Taco In apa-style there is author (year) appearance, and I just want [authorlastname,(year)] result with those hooks. Well if it is easier to modify it in apa so it is better. Just that aps=american physical society and I thought it has several sub-standards. Just referring to what styles are used in several books about physics. But maybe I have to investigate it further. //Janneman ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Defining a function
On Wed, Jan 21, 2009 at 1:28 PM, Cecil Westerhof cldwester...@gmail.com wrote: I defined a command as descriped in http://wiki.contextgarden.net/Processing_Lists. (\def\IHaveTo#1#2{I have to #1 on #2.\par}) If I define it in the tex-file that is processed it works. But when I put the definition in the template file that is used, it does not work. What do I need to do to define a command in a template file? How do you load your template file? Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setupindenting
On Tue, Jan 20, 2009 at 10:28 PM, Cecil Westerhof cldwester...@gmail.com wrote: With setupindenting I can define the level of indenting. But I want a different level of indentation for different paragraphs. How can I do this? You can define a environment for special sections and set a different indent parameter inside of this section. I need more information to give you a better answer. Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Defining a function
2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: On Wed, Jan 21, 2009 at 1:28 PM, Cecil Westerhof cldwester...@gmail.com wrote: I defined a command as descriped in http://wiki.contextgarden.net/Processing_Lists. (\def\IHaveTo#1#2{I have to #1 on #2.\par}) If I define it in the tex-file that is processed it works. But when I put the definition in the template file that is used, it does not work. What do I need to do to define a command in a template file? How do you load your template file? With \usemodule. But I allready found the problem. I used a template I found on the internet. This started with \protect and ended with \unprotect. It should be the other way around. I changed that and now it works. -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setupindenting
2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: On Tue, Jan 20, 2009 at 10:28 PM, Cecil Westerhof cldwester...@gmail.com wrote: With setupindenting I can define the level of indenting. But I want a different level of indentation for different paragraphs. How can I do this? You can define a environment for special sections and set a different indent parameter inside of this section. I need more information to give you a better answer. In my template I have: \long\def\letterbody#1{\blank[line]\setupindenting[yes, medium]#1} \setupindenting[yes, none] \long\def\letterclosing#1#2{ \blank[line]#1 \blank[3*line]#2 } In the document itself I have: \letterbody{ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec auctor, purus faucibus iaculis rutrum, sapien nisl venenatis arcu, eu condimentum elit enim eget magna. Nullam risus tortor, ultricies a, lacinia ac, dictum at, massa. Integer risus. Cras ipsum risus, ultrices eget, aliquet id, egestas nec, dui. Cras et quam. Mauris sit amet leo. Duis ac nibh. Aliquam vitae est. Praesent justo. Morbi faucibus. Praesent laoreet erat eu mauris. \blank[line] Suspendisse fringilla tincidunt sapien. Aliquam rhoncus venenatis urna. Sed tellus. Mauris at sapien. Donec commodo arcu non felis. Praesent aliquam pellentesque libero. Donec vestibulum mauris. Nulla facilisi. Pellentesque ultrices ornare elit. Ut nibh lacus, laoreet a, tempor eu, condimentum at, tortor. Nunc pretium. Morbi pede purus, vestibulum at, mattis ac, volutpat eget, arcu. Nunc congue, pede id euismod porttitor, eros orci cursus nibh, sit amet fringilla sem eros nec libero. Pellentesque tempor. Phasellus malesuada, sapien id tristique blandit, est ante fringilla neque, et feugiat nunc ipsum nec augue. Nullam id ante sit amet pede feugiat laoreet. Sed porttitor vulputate leo. Nulla tincidunt. Phasellus sagittis, justo a feugiat tristique, ante felis imperdiet mauris, vitae dapibus metus quam ac risus. Donec lacinia congue neque. Mauris in quam at leo dignissim hendrerit. Cras interdum dolor ut lacus. Mauris a justo. Aenean vel nulla. Ut non felis varius ante convallis pulvinar. Duis viverra. Mauris gravida, mauris tincidunt accumsan semper, ligula ipsum elementum dolor, id scelerisque sapien lorem vitae orci. Suspendisse potenti. Nam luctus tempus orci. In iaculis. Aliquam varius. Proin suscipit, tortor vel consequat fringilla, augue dolor consectetur dui, vitae aliquet dolor eros sed risus. } \setupindenting[yes, none] % necessary, because of problem with the template \letterclosing{Hoogachtend,}{Cecil Westerhof} \stoptext When the setupindenting is not there, the letterclosing is indented. -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Howto make citations work in aps bibtex
Jan-Erik Hägglöf wrote: Example: These statements has been declared by [authorlastname,(year)] Please give a code sample how to make this work! Why are you using the aps style if you don't want aps-style output? That does not make sense. It seems that apa is much closer to what you want? Best wishes, Taco In apa-style there is author (year) appearance, and I just want [authorlastname,(year)] result with those hooks. The bib module has no support for just authorlastname (as opposed to author), if you want that then you have to edit the bbl file. For the rest of the citation formatting: it is easiest to define your own macro: \def\mycite[#1]{[{\cite[author][#1]},({\cite[year][#1]})]} Best wishes, Taco ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setupindenting
On Wed, Jan 21, 2009 at 2:47 PM, Cecil Westerhof cldwester...@gmail.com wrote: 2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: On Tue, Jan 20, 2009 at 10:28 PM, Cecil Westerhof cldwester...@gmail.com wrote: With setupindenting I can define the level of indenting. But I want a different level of indentation for different paragraphs. How can I do this? You can define a environment for special sections and set a different indent parameter inside of this section. I need more information to give you a better answer. In my template I have: \long\def\letterbody#1{\blank[line]\setupindenting[yes, medium]#1} \long\def\letterbody#1% {{\blank[line]\setupindenting[yes,medium]#1\par}} You could also write this as environment with \definestartstop [letterbody] [before={\blank[line]}, commands={\setupindenting[yes,medium]}] and write in your document \startletterbody letter content \stopletterbody Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setupindenting
2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: In my template I have: \long\def\letterbody#1{\blank[line]\setupindenting[yes, medium]#1} \long\def\letterbody#1% {{\blank[line]\setupindenting[yes,medium]#1\par}} That works. Thanks. So when you do not want a side effect you need to use double accolades? Why did you put the \par in? -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setupindenting
On Wed, Jan 21, 2009 at 3:21 PM, Cecil Westerhof cldwester...@gmail.com wrote: 2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: In my template I have: \long\def\letterbody#1{\blank[line]\setupindenting[yes, medium]#1} \long\def\letterbody#1% {{\blank[line]\setupindenting[yes,medium]#1\par}} That works. Thanks. So when you do not want a side effect you need to use double accolades? To keep the value for \setupindenting local to \letterbody. Why did you put the \par in? To end the paragraph before after the lettertext. Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setupindenting
2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: So when you do not want a side effect you need to use double accolades? To keep the value for \setupindenting local to \letterbody. That was what I mend in a general sense: if you do not want side effects, you need double accolades. But I am not always very clear. Why did you put the \par in? To end the paragraph before after the lettertext. I do not see a difference between with the \par and without it. But to be sure, I put it in. -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Using defaults and indexes
In my template I have: \long\def\letterclosing#1#2{ \blank[line]#1, \blank[3*line]#2 } And in the main file I have: \letterclosing{Hoogachtend}{Cecil Westerhof} But I would like to have this as the default, so I could use: \letterclosing Beside that I would like to have the possibility to use: \letterclosing{business} or \letterclosing{family} This would then use defined values. When the first parameter is filled, but not with a recognized value, then the second parameter should be filled. If not, the compilation of the file should generate an error. Is this something that can be done? -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Howto make citations work in aps bibtex
HI! So I did as you proposed \def\mycite[#1]{[{\cite[author][#1]},({\cite[year][#1]})]} in my preamble environment file also I did \setupbibtex[database=referenser] \setuppublications[alternative=apa,criterium=all] % inherits from adityas thesis example Do not why it is there \let\initializepubslist\relax \def\mycite[#1]{[{\cite[author][#1]},({\cite[year][#1]})]} and did \mycite[ref] Here is the output: ! Missing \endcsname inserted. to be read again \@@pvauthorcolor \doactivatecolor ...\ifcsname (cs:\currentpalet #1 )\endcsname \csname (cs:\c... \doattributes ...rtcolor [\csname #1#3\endcsname ] \else \let \dostopattribut... \dogotospace ...edwords {#1}\processisolatedword } \else #1\relax \fi }\else ... \doifreferencefoundelse ...ce \ifreferencefound #2 \else #3\fi \egroup \dores... \dogoto ...#2]}} {\unknownreference {#2}#1\relax } \egroup \referenceinfo {}... ... l.25 ...tmekaniska effekter\mycite[Gombosi1998pot] kap 3, sid 53. Detta är ... ? end output Something went wrong with the macro? ons 2009-01-21 klockan 14:55 +0100 skrev Taco Hoekwater: Jan-Erik Hägglöf wrote: Example: These statements has been declared by [authorlastname,(year)] Please give a code sample how to make this work! Why are you using the aps style if you don't want aps-style output? That does not make sense. It seems that apa is much closer to what you want? Best wishes, Taco In apa-style there is author (year) appearance, and I just want [authorlastname,(year)] result with those hooks. The bib module has no support for just authorlastname (as opposed to author), if you want that then you have to edit the bbl file. For the rest of the citation formatting: it is easiest to define your own macro: \def\mycite[#1]{[{\cite[author][#1]},({\cite[year][#1]})]} Best wishes, Taco ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Howto make citations work in aps bibtex
Seems that \cite[year][ref] and \cite[author] doesn't work. only default \cite[authoryears][ref] and \cite[authoryear][ref] and just \cite[ref] seems to work. so nothing wrong with the macro. Is there some settings that I have to fix? My Context minimal intallation is: This is luaTeX, Version snapshot-0.31.3 (uppsats.tex ConTeXt ver: 2009.01.14 11:29 MKIV fmt: 2009.1.16 int: english/english //Janneman ons 2009-01-21 klockan 16:03 +0100 skrev Jan-Erik Hägglöf: HI! So I did as you proposed \def\mycite[#1]{[{\cite[author][#1]},({\cite[year][#1]})]} in my preamble environment file also I did \setupbibtex[database=referenser] \setuppublications[alternative=apa,criterium=all] % inherits from adityas thesis example Do not why it is there \let\initializepubslist\relax \def\mycite[#1]{[{\cite[author][#1]},({\cite[year][#1]})]} and did \mycite[ref] Here is the output: ! Missing \endcsname inserted. to be read again \@@pvauthorcolor \doactivatecolor ...\ifcsname (cs:\currentpalet #1 )\endcsname \csname (cs:\c... \doattributes ...rtcolor [\csname #1#3\endcsname ] \else \let \dostopattribut... \dogotospace ...edwords {#1}\processisolatedword } \else #1\relax \fi }\else ... \doifreferencefoundelse ...ce \ifreferencefound #2 \else #3\fi \egroup \dores... \dogoto ...#2]}} {\unknownreference {#2}#1\relax } \egroup \referenceinfo {}... ... l.25 ...tmekaniska effekter\mycite[Gombosi1998pot] kap 3, sid 53. Detta är ... ? end output Something went wrong with the macro? ons 2009-01-21 klockan 14:55 +0100 skrev Taco Hoekwater: Jan-Erik Hägglöf wrote: Example: These statements has been declared by [authorlastname,(year)] Please give a code sample how to make this work! Why are you using the aps style if you don't want aps-style output? That does not make sense. It seems that apa is much closer to what you want? Best wishes, Taco In apa-style there is author (year) appearance, and I just want [authorlastname,(year)] result with those hooks. The bib module has no support for just authorlastname (as opposed to author), if you want that then you have to edit the bbl file. For the rest of the citation formatting: it is easiest to define your own macro: \def\mycite[#1]{[{\cite[author][#1]},({\cite[year][#1]})]} Best wishes, Taco ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Howto make citations work in aps bibtex
Jan-Erik Hägglöf wrote: Seems that \cite[year][ref] and \cite[author] doesn't work. only default \cite[authoryears][ref] and \cite[authoryear][ref] and just \cite[ref] seems to work. so nothing wrong with the macro. Is there some settings that I have to fix? I need a full example. Can you wrap up a small input tex file and the bib file (and possibly environment you are using) into a package and email that to me? Best wishes, Taco ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using defaults and indexes
Am 21.01.2009 um 16:02 schrieb Cecil Westerhof: And in the main file I have: \letterclosing{Hoogachtend}{Cecil Westerhof} But I would like to have this as the default, so I could use: \letterclosing Beside that I would like to have the possibility to use: \letterclosing{business} or \letterclosing{family} This would then use defined values. When the first parameter is filled, but not with a recognized value, then the second parameter should be filled. If not, the compilation of the file should generate an error. Is this something that can be done? \long\def\letterbody#1% {{\blank[line]\setupindenting[yes,medium]#1\par}} \def\letterclosing {\dodoublegroupempty\doletterclosing} \def\doletterclosing#1#2% {\ifsecondargument \dodoletterclosing{#1}{#2}% \else \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% {\processaction [#1] [ family={\dodoletterclosing{Informal closing,}{Cecil Westerhof}}, business={\dodoletterclosing{Formal closing}{Cecil Westerhof}}, unknown={\errorisfataltrue\waitonfatalerror}]}% \fi} \def\dodoletterclosing#1#2% {\blank[line]#1\blank[3*line]#2} \setupindenting[yes,none] \starttext \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{Hoogachtend,}{Cecil Westerhof} \page \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{family} \page \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{business} \page \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{unknown} \stoptext Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] gfs neohellenic typescript
Hello list, Has anyone already written a typescript for the beautiful gfs neohellenic (for mkii)? A+ -AJ ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Minimals and dvipng
Le 20 janvier à 21:16:57 Arthur Reutenauer arthur.reutena...@normalesup.org écrit notamment: | Thanks a lot, it works. Will there be any side-effect on normal uses of context? | Definitely. TEXFONTMAPS is the path to the various font mapping files | for dvips, (x)dvipdfm(x) and pdfTeX. I would strongly advise against | setting that variable for normal use of the minimals. What you could do | without tweaking with TEXFONTMAPS, is to put ps2pk.map in some directory | inside fonts/map in the minimals, together with the dvipng binary. Best | in texmf-local, for this is the location for local changes. But then, | you of course need to make sure that the necessary fonts are available | in the minimals, etc. | Since you have TeX Live installed, your best bet is probably to use | the minimals with the special TEXFONTMAPS setting only for ConTeXt + | dvipng, and otherwise use the minimals only, or TeX Live only. Well that doesn't look too good... I wish I could use dvipng whenever I need to. A solution is of course to give up minimals and install the TeXlive ConTeXt; do you think it is a bad move? (for use of mkiv)? -- Jean ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using defaults and indexes
2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: And in the main file I have: \letterclosing{Hoogachtend}{Cecil Westerhof} But I would like to have this as the default, so I could use: \letterclosing Beside that I would like to have the possibility to use: \letterclosing{business} or \letterclosing{family} This would then use defined values. When the first parameter is filled, but not with a recognized value, then the second parameter should be filled. If not, the compilation of the file should generate an error. Is this something that can be done? \long\def\letterbody#1% {{\blank[line]\setupindenting[yes,medium]#1\par}} \def\letterclosing {\dodoublegroupempty\doletterclosing} \def\doletterclosing#1#2% {\ifsecondargument \dodoletterclosing{#1}{#2}% \else \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% {\processaction [#1] [ family={\dodoletterclosing{Informal closing,}{Cecil Westerhof}}, business={\dodoletterclosing{Formal closing}{Cecil Westerhof}}, unknown={\errorisfataltrue\waitonfatalerror}]}% \fi} \def\dodoletterclosing#1#2% {\blank[line]#1\blank[3*line]#2} \setupindenting[yes,none] \starttext \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{Hoogachtend,}{Cecil Westerhof} \page \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{family} \page \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{business} \page \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{unknown} \stoptext Goes a long way. With two parameters it works. When using 'unknown' or 'dummy', I get \wait= messages. When giving enter, the document is still generated. But that is not a real problem. But when using: \letterclosing or \letterclosing{} I get the same wait= message and there is no letterclosing generated (or an empty one). Found the problem. \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% should be: \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% Now it seems to do what I want. -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using defaults and indexes
Am 21.01.2009 um 18:11 schrieb Cecil Westerhof: Goes a long way. With two parameters it works. When using 'unknown' or 'dummy', I get \wait= messages. When giving enter, the document is still generated. But that is not a real problem. But when using: \letterclosing or \letterclosing{} I get the same wait= message and there is no letterclosing generated When the first parameter is filled, but not with a recognized value, then the second parameter should be filled. If not, the compilation of the file should generate an error. I did only what you wrote. IF you don't want a error on the terminal replace unknown={\errorisfataltrue\waitonfatalerror}]}% with unknown={\dodoletterclosing{Hoogachtend,}{Cecil Westerhof}}]}% or something else. Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Minimals and dvipng
On Wed, 21 Jan 2009, Jean Magnan de Bornier wrote: Le 20 janvier à 21:16:57 Arthur Reutenauer arthur.reutena...@normalesup.org écrit notamment: | Thanks a lot, it works. Will there be any side-effect on normal uses of context? | Definitely. TEXFONTMAPS is the path to the various font mapping files | for dvips, (x)dvipdfm(x) and pdfTeX. I would strongly advise against | setting that variable for normal use of the minimals. What you could do | without tweaking with TEXFONTMAPS, is to put ps2pk.map in some directory | inside fonts/map in the minimals, together with the dvipng binary. Best | in texmf-local, for this is the location for local changes. But then, | you of course need to make sure that the necessary fonts are available | in the minimals, etc. | Since you have TeX Live installed, your best bet is probably to use | the minimals with the special TEXFONTMAPS setting only for ConTeXt + | dvipng, and otherwise use the minimals only, or TeX Live only. Well that doesn't look too good... I wish I could use dvipng whenever I need to. You should also be able to use TEXFONTMAPS=/location/ dvipng so that the variable is set only for the dvipng run. Maybe setting this as an alias for dvipng will also work (I don't know how unix shell aliases interact with variables) 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using defaults and indexes
Cecil Westerhof wrote: [snip] Found the problem. \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% should be: \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% Now it seems to do what I want. I don't see the difference. Would you point it out for me? Thanks, Tad ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using defaults and indexes
2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: When the first parameter is filled, but not with a recognized value, then the second parameter should be filled. If not, the compilation of the file should generate an error. I did only what you wrote. I was not clear enough again. What I mend was that when there is not a recognized value, then the output file should not be generated. When you give a return the file is still generated. But that is only a minor. (Maybe what I want is not possible.) -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using defaults and indexes
2009/1/21 Tad Ashlock taas...@sandia.gov: Cecil Westerhof wrote: [snip] Found the problem. \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% should be: \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% Now it seems to do what I want. I don't see the difference. Would you point it out for me? You are right, bad copying/pasting from me. It should be: \doifelsenothing{#1} {\dodoletterclosing{Hoogachtend,}{Cecil Westerhof}}% (dodo instead of do) -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Litter in the Garden
There appears to be a spam/hacking attack in progress on the context garden, e.g.: http://texshow.contextgarden.net/command/special http://wiki.contextgarden.net/MetaPost :( -- John Devereux ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using defaults and indexes
Am 21.01.2009 um 18:59 schrieb Tad Ashlock: Cecil Westerhof wrote: [snip] Found the problem. \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% should be: \doifelsenothing{#1} {\doletterclosing{Hoogachtend,}{Cecil Westerhof}}% Now it seems to do what I want. I don't see the difference. Would you point it out for me? It should be \doifelsenothing{#1} {\dodoletterclosing{Hoogachtend,}{Cecil Westerhof}}% Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Litter in the Garden
Hi, There appears to be a spam/hacking attack in progress on the context garden, e.g.: http://texshow.contextgarden.net/command/special I'll fix these entries soon. http://wiki.contextgarden.net/MetaPost Arthur and Mojca did this already. Thanks for the report Patrick -- ConTeXt wiki and more: 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Litter in the Garden
Hello, and thanks for the reports, http://texshow.contextgarden.net/command/special I'll fix these entries soon. I already fixed a few ... Note that in both texshow and the wiki, changes can be made by any user. It's straightforward to revert changes on the wiki (choose Undo in the page history), on texshow you need to edit the text manually. Both attacks seem to be unrelated: the one on the wiki comes from IP 62.99.163.242, apparently in Austria, and was unique; texshow, on the other hand, seems to have been abused repeatedly, from many different origins around the world. Arthur ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using defaults and indexes
Am 21.01.2009 um 19:28 schrieb Cecil Westerhof: 2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: When the first parameter is filled, but not with a recognized value, then the second parameter should be filled. If not, the compilation of the file should generate an error. I did only what you wrote. I was not clear enough again. What I mend was that when there is not a recognized value, then the output file should not be generated. When you give a return the file is still generated. But that is only a minor. (Maybe what I want is not possible.) \long\def\letterbody#1% {\def\@@letterbody{{\blank[line]\setupindenting[yes,medium]#1\par}}} \def\letterclosing {\dodoublegroupempty\doletterclosing} \def\doletterclosing#1#2% {\ifsecondargument \dodoletterclosing{#1}{#2}% \else \doifelsenothing{#1} {\dodoletterclosing{Hoogachtend,}{Cecil Westerhof}}% {\processaction [#1] [ family={\dodoletterclosing{Informal closing,}{Cecil Westerhof}}, business={\dodoletterclosing{Formal closing}{Cecil Westerhof}}, unknown={\message{Warning: Wrong keyword for \string \letterclosing.}}]}% \fi} \def\dodoletterclosing#1#2% {\@@letterbody \blank[line]#1\blank[3*line]#2} \starttext \letterbody{\dorecurse{2}{\input knuth\par}} \letterclosing{unknown} \stoptext Best wishes Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in math mode
Mojca Miklavec wrote: On Sat, Jan 17, 2009 at 3:20 PM, Mojca Miklavec wrote: Should we request adding q-8r.enc to TeX Gyre then? I have to admit that I have no idea when 8r is used, so someone else would need to help with providing nice arguments to the Polish group (or Hans could add that encoding to ConTeXt temporary). Answering my own question ... if we request the file to be added to TeX Gyre, we would end up: - requesting the file - it will take a few months before a new font version comes out - and a few more months before the files proliferate - a few monts later TeX Gyre math will come out - after that we would request removal of that file again and nobody will understand why we requested it in the first place So maybe it's best if Hans adds q-8r.enc to ConTeXt? Perhaps making a copy of 8r.enc and fixing (one|two|three)superior should do for now? rpxpplr TeXGyrePagella-Regular encq8r ReEncodeFont q-8r.enc qplr.pfb rpxpplb TeXGyrePagella-Boldencq8r ReEncodeFont q-8r.enc qplb.pfb rpxpplri TeXGyrePagella-Italic encq8r ReEncodeFont q-8r.enc qplri.pfb rpxpplbi TeXGyrePagella-BoldItalic encq8r ReEncodeFont q-8r.enc qplbi.pfb i patiently wait till you tell me what to add/remove/patch - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Choosing ConTeXt install method on Mac
Hello all I'm going to do a clean re-install of my machine (Tiger on PPC) soon, and I'd like guidance on methods of installing ConTeXt. I assume that (a) TeX Live 2008 with its tlmgr utility, or (b) ConTeXt minimals, are the two realistic possibilities - is this correct? What I'd like: - A clear way of keeping ConTeXt mkiv usable and up to date with Hans's latest version - An installation method that will continue to be maintained, and that is expected to be used by the majority of ordinary users of ConTeXt in the future ...So should I go for TeX Live, or the minimals, or something else I don't know about yet? Grateful for any advice... David ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Choosing ConTeXt install method on Mac
Hi David, I did a clean install of the Minimals on a Mac and have written the steps I followed in a file install-minimal-ok.tex which can be found on http://www.kavian.fr/tex/ I hope this will be helpful. Best regards: OK On 21 janv. 09, at 21:09, David Rogers wrote: Hello all I'm going to do a clean re-install of my machine (Tiger on PPC) soon, and I'd like guidance on methods of installing ConTeXt. I assume that (a) TeX Live 2008 with its tlmgr utility, or (b) ConTeXt minimals, are the two realistic possibilities - is this correct? What I'd like: - A clear way of keeping ConTeXt mkiv usable and up to date with Hans's latest version - An installation method that will continue to be maintained, and that is expected to be used by the majority of ordinary users of ConTeXt in the future ...So should I go for TeX Live, or the minimals, or something else I don't know about yet? Grateful for any advice... David ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 aveue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: otared.kav...@math.uvsq.fr ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] gfs neohellenic typescript
On Jan 21, 2009, at 5:41 PM, Antoine Junod wrote: Hello list, Has anyone already written a typescript for the beautiful gfs neohellenic (for mkii)? A+ -AJ If you want to use this font with mkii, you'll need much more than just a typescript, at the least tfms + encodings + mapfiles. That's the reason why luatex so much more convenient. Also depends on how you want to use the font: which parts are you interested in, Greek, Latin, ? Thomas ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Choosing ConTeXt install method on Mac
On Wed, Jan 21, 2009 at 9:09 PM, David Rogers wrote: Hello all I'm going to do a clean re-install of my machine (Tiger on PPC) soon, and I'd like guidance on methods of installing ConTeXt. I assume that (a) TeX Live 2008 with its tlmgr utility, or (b) ConTeXt minimals, are the two realistic possibilities - is this correct? What I'd like: - A clear way of keeping ConTeXt mkiv usable and up to date with Hans's latest version - An installation method that will continue to be maintained, and that is expected to be used by the majority of ordinary users of ConTeXt in the future ...So should I go for TeX Live, or the minimals, or something else I don't know about yet? I would suggest MacTeX 2008 + minimals. I have both, with manually slightly updated ConTeXt in MacTeX 2008. MacTeX is nice since it always works (includes LaTeX and dozens of fonts and other packages that might be missing in minimals) and you have a backup system in case that the latest alpha in minimals gets broken. I have this in ~/.bash_profile: #. context/tex/setuptex context/tex and I keep commenting/uncommenting it as needed (or just execute that line in bash). The nice thing about minimals is that it doesn't interfere with other TeX distributions, so you can have it installed in parallel and it doesn't take too much space when compared with TeX Live. You need some additional hacks to get the minimals working in gui applications. Oliver started writing an installer that could simplify matters a bit, but got stuck with some external bugs at some point and didn't publically release anything yet. Mojca ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Minimals and dvipng
On Wed, Jan 21, 2009 at 6:10 PM, Jean Magnan de Bornier wrote: I wish I could use dvipng whenever I need to. So you are plannig to release/improve the emacs module and document it for Maps? I'll take a look at the end of the week to see if we can make it work with minimals. Mojca ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Merging background
I have a template for a letter in which I use \setupbackgrounds. I also have a tenplate for a watermark which also uses \setupbackgrounds. The background from the last include is used. Is there a way to merge the backgrounds? -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Merging background
Am 21.01.2009 um 23:39 schrieb Cecil Westerhof: I have a template for a letter in which I use \setupbackgrounds. I also have a tenplate for a watermark which also uses \setupbackgrounds. The background from the last include is used. Is there a way to merge the backgrounds? \setupbackgrounds[page][background={template,watermark}] Wolfgang ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Merging background
2009/1/21 Wolfgang Schuster schuster.wolfg...@googlemail.com: I have a template for a letter in which I use \setupbackgrounds. I also have a tenplate for a watermark which also uses \setupbackgrounds. The background from the last include is used. Is there a way to merge the backgrounds? \setupbackgrounds[page][background={template,watermark}] In my letter template I now do: \setupbackgrounds[page][background={myAddr,WatermarkOverlay}] That even works if the watermark template is not included. So, so far so good. But I was wondering if it could be generalized. I was thinking about the following. A variable backgroundList is defined and in every template where layers are defined, those layers are added to backgroundList. And then the following statement is used: \setupbackgrounds[page][backgroun...@backgroundlist] Is something like this possible? -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Questions about tables
I have the following table: \starttable[|cp(.12\textwidth)|cp(.12\textwidth)|cp(.18\textwidth)|cp(.18\textwidth)|cp(.12\textwidth)|cp(.12\textwidth)|cp(.12\textwidth)|] \HL \CL[darkyellow]\SR \VL Verwerkt \VL Datum \VL Km-stand \VL Kilometers \VL c/l \VL Liter \VL Prijs \VL \SR \HL \VL \VL \VL \VL\VL \VL \VL \VL \SR \HL \stoptable There are two problems with it: - The horizontal line at the top disappears because of the color. Is there a way to get it back? - The table is on the right side of the paper. How can I get it centered on the page? Also is it possible to let the rows fill the complete page? I mean: if there is room for 40 rows, that there are automatically 40 rows. -- Cecil Westerhof ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] for the brave
On Tue, 13 Jan 2009, Hans Hagen wrote: Hi, I uploaded beta zip with a prelude to the new structure related code. I hope that I didn't forget files. Some bugs: \section Section Title \par is no longer supported. \setupsectionblock is not defined. There is also some problem with the bib module. I will post a minimal example soon. 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Merging background
On Thu, 22 Jan 2009, Cecil Westerhof wrote: But I was wondering if it could be generalized. I was thinking about the following. A variable backgroundList is defined and in every template where layers are defined, those layers are added to backgroundList. And then the following statement is used: \setupbackgrounds[page][backgroun...@backgroundlist] Is something like this possible? Perhaps you're looking for something like this: http://archive.contextgarden.net/message/20060115.080349.8efe83be.en.html That means: a template adds a background. Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___