Re: [NTG-context] Percent symbol inside \type{}?
Am 21.05.2013 um 16:02 schrieb Sander Maijers : > That does not work for me, Wolfgang. With or without the \start-/stoptext > (which is redundant in my own document I assume). My example was a short a complete document and not a snippet which can be just copied in a document. >>\placetable{Test} >>{\bTABLE >>\bTR >>\bTD[background=color,backgroundcolor=gray] tst \eTD >>\bTD \starttext \type{Hello %s --test world --test %s} >> \stoptext \eTD >>\eTR >>\eTABLE} > > Error: > > Runaway argument? > \starttext \type {Hello \eTR \bTR \bTD [background=color,backgroundco\ETC. > ! File ended while scanning use of \tabl_ntb_td_nop. This can’t work because \type doesn’t work when used in a natural table or in tabulate because it can’t change the meaning of % which has already disappeared at this moment. Using \letterpercent or \asciimode are the best solutions in this case. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Percent symbol inside \type{}?
> I have used a new subject line. If you see any problem that makes Changing the subject line is not enough. If you are reading another email sent to the list, and you press "reply" or something similar, the email you send will contain instructions to link it to the earlier email, and many mailers will display them as one thread (see attached image that shows how it is displayed in my mailer). I suspect that's what you've done here. Technically, the problem is that your email's headers contain a field "References", which they shouldn't; but from a usage point of view the easiest is to simply start a new thread by using the "compose" feature of your mailer, or equivalent. As I see that you're using Thunderbird, I'm surprised that it doesn't display the emails in one thread, by the way. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Percent symbol inside \type{}?
On 20-05-13 15:08, Marco Patzer wrote: On 2013–05–20 Sander Maijers wrote: What is the most straightforward way to print a percent symbol inside the argument to \type{} (or, if necessary, more generally: monospace type) I'd say the most straightforward way is using \asciimode: \starttext \startlines \mono{foo \% bar} \mono{foo \letterpercent\ bar} \asciimode \mono{foo % bar} \stoplines \stoptext That works, thanks! Marco PS: Please don't hijack threads. Start a new thread for each new issue. I have used a new subject line. If you see any problem that makes you think that I hijacked a thread could you point it out, please? ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Percent symbol inside \type{}?
That does not work for me, Wolfgang. With or without the \start-/stoptext (which is redundant in my own document I assume). \placetable{Test} {\bTABLE \bTR \bTD[background=color,backgroundcolor=gray] tst \eTD \bTD \starttext \type{Hello %s --test world --test %s} \stoptext \eTD \eTR \eTABLE} Error: Runaway argument? \starttext \type {Hello \eTR \bTR \bTD [background=color,backgroundco\ETC. ! File ended while scanning use of \tabl_ntb_td_nop. On 20-05-13 15:04, Wolfgang Schuster wrote: Am 20.05.2013 um 14:51 schrieb Sander Maijers : Hello, What is the most straightforward way to print a percent symbol inside the argument to \type{} (or, if necessary, more generally: monospace type) Is this easy enough for you? \starttext \type{%} \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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Percent symbol inside \type{}?
On 2013–05–20 Sander Maijers wrote: > What is the most straightforward way to print a percent symbol > inside the argument to \type{} (or, if necessary, more generally: > monospace type) I'd say the most straightforward way is using \asciimode: \starttext \startlines \mono{foo \% bar} \mono{foo \letterpercent\ bar} \asciimode \mono{foo % bar} \stoplines \stoptext Marco PS: Please don't hijack threads. Start a new thread for each new issue. signature.asc Description: Digital signature ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Percent symbol inside \type{}?
Am 20.05.2013 um 14:51 schrieb Sander Maijers : > Hello, > > What is the most straightforward way to print a percent symbol inside the > argument to \type{} (or, if necessary, more generally: monospace type) Is this easy enough for you? \starttext \type{%} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Percent symbol inside \type{}?
Hello, What is the most straightforward way to print a percent symbol inside the argument to \type{} (or, if necessary, more generally: monospace type) Best, Sander ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___