Re: [NTG-context] Natural tables introduces spaces in \type
On 11/5/2014 21:50 PM, Christoph Reller wrote: On 11/5/2014 10:28 AM, Hans Hagen wrote: On 11/5/2014 8:09 AM, Christoph Reller wrote: Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext because the absolute cleaner only deals with \foo { and \foo [ If this issue is resolved I will be glad to wikify. i'll add the . to the filter criteria Thank you for the explanation. I am not sure if it is a wise idea to add only . (the full stop). I tried the following characters, and they all are preceded by a space: . - _ # % , ; @ ! Basically, what I want is to write a file system path name such as C:\Path_to-my\file.ext. The above characters are all valid file system characters. Is there a better solution? Or are you willing to add all the above (maybe except for # and %) to the absolute cleaner? For anybody interested in this: I have decided to resort to \hyphenatedurl{...}. This means that I have to escape \ as \\, # as \# and % as \letterpercent. Let me know if you have a better solution. Christoph ___ 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] Natural tables introduces spaces in \type
hello all, i do not have nfts, but there are assume users that do not live in western countries and use characters that are not in ascii!! just a thought. regards Keith. Am 07.11.2014 um 14:44 schrieb Christoph Reller christoph.rel...@gmail.com: On Fri, 7 Nov 2014 09:11:09 +0100 Alan Braslau alan.bras...@cea.fr mailto:alan.bras...@cea.fr wrote On Thu, 6 Nov 2014 16:15:36 +0100 Christoph Reller christoph.rel...@gmail.com mailto:christoph.rel...@gmail.com wrote: Of the above characters the following are disallowed on NTFS Not everyone uses NTFS. Another reason for not making a file-name cleaner as such, but rather restricting the characters to ascii. ___ 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] Natural tables introduces spaces in \type
On Thu, 6 Nov 2014 16:15:36 +0100 Christoph Reller christoph.rel...@gmail.com wrote: Of the above characters the following are disallowed on NTFS Not everyone uses NTFS. ___ 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] Natural tables introduces spaces in \type
On Fri, 7 Nov 2014 09:11:09 +0100 Alan Braslau alan.bras...@cea.fr wrote On Thu, 6 Nov 2014 16:15:36 +0100 Christoph Reller christoph.rel...@gmail.com wrote: Of the above characters the following are disallowed on NTFS Not everyone uses NTFS. Another reason for not making a file-name cleaner as such, but rather restricting the characters to ascii. Regards, Christoph ___ 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] Natural tables introduces spaces in \type
On 11/5/2014 9:50 PM, Christoph Reller wrote: On 11/5/2014 10:28 AM, Hans Hagen wrote: On 11/5/2014 8:09 AM, Christoph Reller wrote: Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext because the absolute cleaner only deals with \foo { and \foo [ If this issue is resolved I will be glad to wikify. i'll add the . to the filter criteria Thank you for the explanation. I am not sure if it is a wise idea to add only . (the full stop). I tried the following characters, and they all are preceded by a space: . - _ # % , ; @ ! Basically, what I want is to write a file system path name such as C:\Path_to-my\file.ext. The above characters are all valid file system characters. Is there a better solution? Or are you willing to add all the above (maybe except for # and %) to the absolute cleaner? we could have a specific filename cleaner but of course there will be users who have paths that have spaces after the \ ... okay, we could just not support evil paths like that Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Natural tables introduces spaces in \type
On 11/6/2014 9:58 AM, Hans Hagen wrote: we could have a specific filename cleaner but of course there will be users who have paths that have spaces after the \ ... okay, we could just not support evil paths like that Hans A rigorous filename cleaner would have to treat a huge number of possible Unicodes. This is overkill. I believe the best would be to have a cleaner for all ascii symbols. That would fit most purposes of writing file names and URIs: !#$%'*()+,-./:;=?@[\]^_`{|}~ Of the above characters the following are disallowed on NTFS: */:?| Still I think they should be included in the cleaner. If % or # pose problems then they may be omitted. With the current absolute-cleaner, a space after \ is preserved correctly, so I don't understand your comment: \definetype[ctype][compact=absolute]\starttext \bTABLE\bTR\bTD \ctype{\a\ b} \eTD\eTR\eTABLE\stoptext I would be glad if you could implement such a ascii-symbol-cleaner. Thanks, Christoph ___ 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] Natural tables introduces spaces in \type
On 11/5/2014 8:09 AM, Christoph Reller wrote: On 11/2/2014 2:27 PM, Christoph Reller wrote: Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext it's the way tex works (when passing arguments) .. you can use this (and wikify it): \definetype[ctype][compact=absolute] \bTABLE \bTR \bTD \ctype{\test\test} \eTD \eTR \eTABLE Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext because the absolute cleaner only deals with \foo { and \foo [ If this issue is resolved I will be glad to wikify. i'll add the . to the filter criteria Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Natural tables introduces spaces in \type
On 11/5/2014 10:28 AM, Hans Hagen wrote: On 11/5/2014 8:09 AM, Christoph Reller wrote: Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext because the absolute cleaner only deals with \foo { and \foo [ If this issue is resolved I will be glad to wikify. i'll add the . to the filter criteria Thank you for the explanation. I am not sure if it is a wise idea to add only . (the full stop). I tried the following characters, and they all are preceded by a space: . - _ # % , ; @ ! Basically, what I want is to write a file system path name such as C:\Path_to-my\file.ext. The above characters are all valid file system characters. Is there a better solution? Or are you willing to add all the above (maybe except for # and %) to the absolute cleaner? Thank you in advance for your help. Christoph ___ 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] Natural tables introduces spaces in \type
On 11/2/2014 2:27 PM, Christoph Reller wrote: Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext it's the way tex works (when passing arguments) .. you can use this (and wikify it): \definetype[ctype][compact=absolute] \bTABLE \bTR \bTD \ctype{\test\test} \eTD \eTR \eTABLE Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext If this issue is resolved I will be glad to wikify. Regards, Christoph ___ 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] Natural tables introduces spaces in \type
On 11/2/2014 2:54 PM, Hans Hagen wrote: On 11/2/2014 2:27 PM, Christoph Reller wrote: Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext it's the way tex works (when passing arguments) .. you can use this (and wikify it): \definetype[ctype][compact=absolute] \bTABLE \bTR \bTD \ctype{\test\test} \eTD \eTR \eTABLE Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD \ctype{\test.txt} \eTD \eTR \eTABLE \stoptext Any feedback is welcome. Regards, Christoph ___ 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] Natural tables introduces spaces in \type
Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext Kind Regards, Christoph ___ 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] Natural tables introduces spaces in \type
On 11/2/2014 2:27 PM, Christoph Reller wrote: Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext it's the way tex works (when passing arguments) .. you can use this (and wikify it): \definetype[ctype][compact=absolute] \bTABLE \bTR \bTD \ctype{\test\test} \eTD \eTR \eTABLE - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___