Re: [NTG-context] Re: interesting font
On Dec 16, 2005, at 11:56 PM, Patrick Gundlach wrote: It would be easiest for me to put them on dl.contextgarden.net and in some subdir. But I guess you wouldn't be too statisfied with this solution, would you? No, that's exactly what I had in mind. I just think some central place for this stuff would be good. I'll send you a zip. Best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: What about dynamic documentation?
Hi Taco and Jérôme, >> However, this seems rather far from the pdf manuals and does not >> really help a newbie as I am. > > Definately it could be improved. In IT, almost everything is > suboptimal starting the second after it's birth. And it was the starting point of contextgarden (and my first web-app). > Perhaps we should continue this discussion on the developers list, > [EMAIL PROTECTED] > > It is likely we will spend some other mails on this subject, > and perhaps it is better not to clutter the general list. Anybody > willing to discuss/help out can easily subscribe to that list > (even if just for a while). Is that OK? Good, but let me add a general remark first also on this list. [...] > It could also easily be backported to the XML data. Patrick? yes. put that one on the todo list. > Perhaps the examples could be fed through the Live ConTeXt, just like > the wiki examples? already on the todo list... As my two answers imply, I already have a long todo list for texshow. (I even have two translation updates from Mojca that I haven't implemented yet - sorry). I hope that I will have some time between Christmas and new year for texshow 2. Perhaps we should follow Taco's suggestion to discuss more technical details on the underlying xml description on the dev' list. Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: interesting font
[...] > I like the font. Maybe we should have a repository somewhere on > Contextgarden where to put zips of metrics + map + encodings + > typescripts: Patrick? It would be easiest for me to put them on dl.contextgarden.net and in some subdir. But I guess you wouldn't be too statisfied with this solution, would you? So what do you imagine/propose? Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] OpenType fonts
Hi all, OpenType fonts are all the rage today. Are there any critiqes of the format, or discussions of its limitations? How many typesetting applications can actually take full advantage of opentype fonts? What are the chances that OpenType (at least some of its advanced features) will go the way of MultipleMaster fonts? The answers to these questions have a bearing on my own advanced Classical Arabic script project. For example, the ovf+ocp mechanism of Aleph seems much richer than what otf offers, so should I bother with otf at all or just stick to enriched Type1 fonts (>256 glyphs, used by LatinModern)? I may be mistaken, but it seems that the Aleph utilities need updating to take full advantage of enriched Type1 fonts (not to mention otf fonts). Right now I am still building ovf's from a series of standard type1's. Here is one possible limitation of otf (please correct me if I'm wrong): While an otf can contain an alternate glyph of a given character, it cannot tell the typesetting application that, if there is the equivalent to underfull paragraph spacing, replace the default .1 with .2. This sort of thing is common in, e.g. old Arabic lead-press books and in handwritten books. TeX should be capable of this, though it remains to be seen whether this should be implemented at the engine level (a la pdfetex) or at the macro level. Best Idris -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] interesting font
Yes, sometimes life can be as simple as that: the latest version of lcdf-tools can handle the fonts without a problem. [Aside: according to Gerben's installer, this version is version 2.36, dated 2005/12/29, this is very advanced AFAICT.] Thanks, Adam, I feel a bit stupid now. I like the font. Maybe we should have a repository somewhere on Contextgarden where to put zips of metrics + map + encodings + typescripts: Patrick? Best Thomas On Dec 16, 2005, at 2:59 AM, Adam Lindsay wrote: I've seen it before, but I can't quite remember the context or solution. My gut reaction is to say "update LCDFtools and try again". Eddie Kohler, the author, would probably want to be pointed to the font and use-case in case it's a bug on his end. It may well be faults in the font, though. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Small capitals for the name in m-bib
Hi Thomas, Thank you, it work for me. Eventually, I use : \def\mynormalauthor#1#2#3#4#5% {\bibdoif{#1}{#1\bibalternative{firstnamesep}}% \bibdoif{#2}{#2\bibalternative{vonsep}}% \bgroup\sc#3\egroup\bibalternative{surnamesep}\unskip \bibdoif{#5}{#5\unskip}} Thomas A. Schmitz a écrit : I'm not Taco, but this should work (it works for me): authors' names are set up by commands like \invertedautor (bibtex manual p. 3-4). You can write your own version of that. If you want the last name first, in small caps, like this "AUBIN, Renaud," you can use this version: \def\myinvertedauthor#1#2#3#4#5% {\bgroup\sc#3\egroup\bibalternative{surnamesep}% \bibdoif{#1}{#1\unskip}% \bibdoifelse{#2}{\bibalternative{vonsep}#2\unskip}{\unskip}% \bibdoifelse{#5}{\bibalternative{juniorsep}#5\unskip}{\unskip}% } Then, tell bibtex to use this command: \setuppublicationlist [artauthor=\myinvertedauthor, editor=\myinvertedauthor, author=\myinvertedauthor] Needless to say, this will only work if you use a font that actually has small caps... HTH Thomas On Dec 16, 2005, at 10:49 AM, Renaud AUBIN wrote: Hi all, Taco, surely you're the one able to answer... I want to have last names (and "von") of the authors in small capitals in my bibliography. Since, I'm not m-bib expert, how to manage the point properly ? Taco, I'm translating a bibli-num-fr.tex and bibl-apa-fr.tex, do you want them when it's over ? Maybe is there some other french people that can check it out and improve it ? Thanks, ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] What about dynamic documentation?
Hi Jérôme, However, this seems rather far from the pdf manuals and does not really help a newbie as I am. Definately it could be improved. In IT, almost everything is suboptimal starting the second after it's birth. Perhaps we should continue this discussion on the developers list, [EMAIL PROTECTED] It is likely we will spend some other mails on this subject, and perhaps it is better not to clutter the general list. Anybody willing to discuss/help out can easily subscribe to that list (even if just for a while). Is that OK? More precisely: 0 - Category search is missing. It is well known that searching by contents or by command name won't give the proper result if the search request is not well formed a priori. Each command should have a list of associated key words, allowing smart navigation and filtering For example, the sectionning commands (including toc, headers and so on) could be gathered in one big category. That could be as simple as allowing users / viewers to attach one or two key words/categories to the current commands, I think. There can be a predefined set of those, and there will not be all that many. It could also easily be backported to the XML data. Patrick? 1 - The examples oftenly need output to let the user really understand the effect. Moreover, the information available in the graphical output is more obvious thus more efficient. Perhaps the examples could be fed through the Live ConTeXt, just like the wiki examples? 2 - Missing code template(s) to paste into the source, copy/paste does noot help when really needed. Of course, I can grab them from contextgarden but it is there both hidden and not well formatted. I am not sure what you mean. 3 - The description only concerns the command. Each key should also have its own description. Yes. Each predefined value should also have its own description. Also yes. (both have been discussed before but never implemented due to lack of manpower). Then the user interface can provide a layout a la headerdoc or some kind of rollup tooltips. 4 - The data storage model for a size range seems weird. The range 5pt ... 12pt is coded with an ordered list of 3 values "5pt" '..." and "12pt" whereas it means an unordered list of 8 values: "5pt", "6pt", ..., "12pt". This latter data model obviously turns into a pop up button with a list of sizes. It is even a bit weirder. "5pt ... 12pt" usually stands for "any font size that is already defined using \definebodyfont". Except on the command itself, of course. There it means: "any font size you wish to define for use in the other commands that use 5pt ... 12pt". I'm smiling as I write this :-) It really should be an abstract type, like "cd:dimension" instead of those three values. 5 - The command variants might need specials (eg \setupinterlinespace). Yes, the current solution for that command is not very nice. But there are more than a few commands with such variant calling conventions, and it is hard to come up with a nice-looking solution. Suggestions for solutions are welcome. 6 - Sometimes the acceptable values depend on the context (eg arguments of \ref), it means that all the relevant information is not static and the data model should provide some entry points. But at first glance this is a very advanced feature which cost might be unaffordable. You mean crossover functionality with reftex/auctex style programs? Would be nice to have I assume, but hard to do portably, and not really worth the effort if it cannot be done in a portable manner. (always speaking from my point of view, of course. YMMV) Finally, it seems that the underlying data model needs more entropy. Thermodynaics says it will probably move in the right direction, once it starts moving ;-) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] New bibliography beta
David Wooten wrote: Greetings all, esp. Taco, I'm finally working with the new bib module, it works quite well. I've found one curiosity: I have a /defineparagraphs (semi?)-kludge in a modified bibl- file to take care of some wonky (but beautiful) layout demands. It worked perfectly in the last version: \defineparagraphs [bibpar] [n=3,before=\vskip -1.75\baselineskip,after=\vskip -1.25 \baselineskip,distance=.2em,align={hz,hanging}] Possibly because I added some unskips as a quick fix for whitespace problems in the bibl- definitions. Try this: \defineparagraphs [bibpar] ... after=\vskip -1.25\baselineskip\vskip1sp (so using two skips in succession instead of just one) If that doesn't work, then I need a more elaborate example. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About \defineshortcut
Radhelorn wrote: Hello All! There is intresting macros in cont-new -- shortcuts. It works pretty well, but I have one question: how to undefine them back? For example after command: \defineshortcut [//] [] [style=\em] I can get slash only by \textslash (which is expected) and it breaks things like: \typefile {some/dir/file} So how to revert to previous meaning of '/'? It is possible to do it only temporarily? Explicit \start a /b/ c \stop style grouping is normally best, but a shortcut is just an active character with a closing defimiter, so this will work for you special case: \catcode`\/=\other \typefile {some/dir/file} \catcode`\/=\active Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] New bibliography beta
Greetings all, esp. Taco, I'm finally working with the new bib module, it works quite well. I've found one curiosity: I have a /defineparagraphs (semi?)-kludge in a modified bibl- file to take care of some wonky (but beautiful) layout demands. It worked perfectly in the last version: \defineparagraphs [bibpar] [n=3,before=\vskip -1.75\baselineskip,after=\vskip -1.25 \baselineskip,distance=.2em,align={hz,hanging}] \setupparagraphs [bibpar] [1] [width=1.5em] \setupparagraphs [bibpar] [2] [width=3.3em] What appears to be happening is that the "after" command no longer has any effect---regardless of its content. The "before" command works as expected. Thanks again for your time, David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Small capitals for the name in m-bib
Renaud AUBIN wrote: Hi all, Taco, surely you're the one able to answer... I want to have last names (and "von") of the authors in small capitals in my bibliography. Since, I'm not m-bib expert, how to manage the point properly ? Thanks, Thomas (for answering, you were spot on). Taco, I'm translating a bibli-num-fr.tex and bibl-apa-fr.tex, do you want them when it's over ? Maybe is there some other french people that Yes please, do e-mail them after you are finished, so I can include them in the next version. can check it out and improve it ? That I do not know. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \starttyping
Sometimes the solution is too simple! I don't know why I did'nt find that solution imediately! Thanks Wolfgang Zitat von Tobias Burnus <[EMAIL PROTECTED]>: > Hello, > > Wolfgang Zillig wrote: > > I wan't to typset some programming code \starttyping code > \stoptyping > > works perfect. But is there a way to use directly the input of a > file? > \typefile ? > > Tobias > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \starttyping
Hello, Wolfgang Zillig wrote: I wan't to typset some programming code \starttyping code \stoptyping works perfect. But is there a way to use directly the input of a file? \typefile ? Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \starttyping
Hello, Wolfgang Zillig wrote: I wan't to typset some programming code \starttyping code \stoptyping works perfect. But is there a way to use directly the input of a file? \typefile ? Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \starttyping
Hello, I wan't to typset some programming code \starttyping code \stoptyping works perfect. But is there a way to use directly the input of a file? When I use \starttyping \input file.m \stoptyping I get the line \input file.m displayed. I think there is an easy way to get this problem solved but it will not get into my head. Many thanks Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Small capitals for the name in m-bib
I'm not Taco, but this should work (it works for me):authors' names are set up by commands like \invertedautor (bibtex manual p. 3-4). You can write your own version of that. If you want the last name first, in small caps, like this "AUBIN, Renaud," you can use this version:\def\myinvertedauthor#1#2#3#4#5% {\bgroup\sc#3\egroup\bibalternative{surnamesep}% \bibdoif{#1}{#1\unskip}% \bibdoifelse{#2}{\bibalternative{vonsep}#2\unskip}{\unskip}% \bibdoifelse{#5}{\bibalternative{juniorsep}#5\unskip}{\unskip}%}Then, tell bibtex to use this command:\setuppublicationlist [artauthor=\myinvertedauthor, editor=\myinvertedauthor, author=\myinvertedauthor]Needless to say, this will only work if you use a font that actually has small caps...HTHThomasOn Dec 16, 2005, at 10:49 AM, Renaud AUBIN wrote: Hi all, Taco, surely you're the one able to answer... I want to have last names (and "von") of the authors in small capitals in my bibliography. Since, I'm not m-bib expert, how to manage the point properly ? Taco, I'm translating a bibli-num-fr.tex and bibl-apa-fr.tex, do you want them when it's over ? Maybe is there some other french people that can check it out and improve it ? Thanks, ___ntg-context mailing listntg-context@ntg.nlhttp://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Story of a newbie looking for a table
Hello Wolfgang, > I don't know that much about web-server administration, but I think it > should somehow possible to incluce "lucene" into apache and to use it > for indexing pdf files. http://lucene.apache.org/ The manuals *are* indexed. Perhaps I need to emphasize that more. Just try the search form at http://articles.contextgarden.net Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Story of a newbie looking for a table
So, is it possible to have the Google search engine at context garden also look into the manuals? Not that I know of. If somebody could give me a hint (google-link), I can put these in. Until there is a combined search on contextgarden, you can go to http://articles.contextgarden.net and search through all manuals. Or use 'spotlight' on your Mac :) I don't know that much about web-server administration, but I think it should somehow possible to incluce "lucene" into apache and to use it for indexing pdf files. http://lucene.apache.org/ Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Context and Reftex
Hi, >>> Is there a management system for references in Context that is >>> similar to Reftex? >> >> Not in the emacs world. > > > OK. In another world? There is no other world... No, seriously: not that I know of. Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Story of a newbie looking for a table
[...] > It appears that neither texshow nor garden did help me. That is clearly against the intention of both. > I understood that the Google search on context garden wiki was > limited to context garden... I then found that some information I > was missing about tables was on the context garden tabulate > page...:-/ But I have the impression that the manuals do contain > much more than available on contextgarden. Right. > So, is it possible to have the Google search engine at context garden > also look into the manuals? Not that I know of. If somebody could give me a hint (google-link), I can put these in. Until there is a combined search on contextgarden, you can go to http://articles.contextgarden.net and search through all manuals. Or use 'spotlight' on your Mac :) Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Story of a newbie looking for a table
Hello, what you can do is: get a local copy of all manuals and then there is a small program available called docsearcher (is written in java, so it should run on all platforms) http://sourceforge.net/projects/docsearcher/ I don't use it on the manuals, because after some time you know which one could contain a solution for your problem. But it is nice when you have a lot of literature in pdf format. It is also also a nice solution to use googles advanced search options, where you can limit the search on a specified location. Wolfgang Jérôme Laurens schrieb: Hi (bis) I'd like to share my newbie experience about tables. With iPages, the ''fabulous, marvelous, amazing, simple" word processor from apple, It took me more or less half an hour to design and fill a table, with fixed width colored cells and so on. Unfortunately, once I saved the document, iPages could no longer open it anymore... :-( I then spent a pair of pair of hours (minus half an hour) to try to repair things... with no success. With ConTeXt, I spent a pair of pair of hours (minus half an hour) trying to design my table, and less than half an hour to fill it. Now the work is complete. :-) But I am not really satisfied, I feel frustrated because I have the impression that it took me too much time. It appears that neither texshow nor garden did help me. So I digged into standard Google, and it pointed me to the context mailing list archive, finally pointing me to the name of the right manual at pragma ADE. Fortunately, this up-to-date manual was online . Once, my work was complete, I understood that the Google search on context garden wiki was limited to context garden... I then found that some information I was missing about tables was on the context garden tabulate page...:-/ But I have the impression that the manuals do contain much more than available on contextgarden. So, is it possible to have the Google search engine at context garden also look into the manuals? Moreover, how do you formulate a request in standard google? Adding the "ConTeXt" key word does not lead to accurate results. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Small capitals for the name in m-bib
Hi all, Taco, surely you're the one able to answer... I want to have last names (and "von") of the authors in small capitals in my bibliography. Since, I'm not m-bib expert, how to manage the point properly ? Taco, I'm translating a bibli-num-fr.tex and bibl-apa-fr.tex, do you want them when it's over ? Maybe is there some other french people that can check it out and improve it ? Thanks, ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Story of a newbie looking for a table
Hi (bis) I'd like to share my newbie experience about tables. With iPages, the ''fabulous, marvelous, amazing, simple" word processor from apple, It took me more or less half an hour to design and fill a table, with fixed width colored cells and so on. Unfortunately, once I saved the document, iPages could no longer open it anymore... :-( I then spent a pair of pair of hours (minus half an hour) to try to repair things... with no success. With ConTeXt, I spent a pair of pair of hours (minus half an hour) trying to design my table, and less than half an hour to fill it. Now the work is complete. :-) But I am not really satisfied, I feel frustrated because I have the impression that it took me too much time. It appears that neither texshow nor garden did help me. So I digged into standard Google, and it pointed me to the context mailing list archive, finally pointing me to the name of the right manual at pragma ADE. Fortunately, this up-to-date manual was online . Once, my work was complete, I understood that the Google search on context garden wiki was limited to context garden... I then found that some information I was missing about tables was on the context garden tabulate page...:-/ But I have the impression that the manuals do contain much more than available on contextgarden. So, is it possible to have the Google search engine at context garden also look into the manuals? Moreover, how do you formulate a request in standard google? Adding the "ConTeXt" key word does not lead to accurate results. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context