Re: [NTG-context] Simple Newbie Question.
On Wed, Jul 8, 2009 at 2:57 AM, Stirling Westrup swest...@gmail.com wrote: I'm hoping the answer to this question should be obvious, but I'm having no luck with it. I'm trying to do a layout for a 1-page datasheet. At the very bottom of the page, in some tiny font, I need to put a copyright notice and datasheet ID number. Ideally I'd like to define some fixed text block containing the text (as its exact size and font have not yet been finalized), and then somehow define the height of the footer to be exactly equal to the height of the text block. Once I've done that, I need to place the text in the footer. I've been going back and forth through the scattered bits of ConTeXt manual and the wiki, but I'm having no luck in figuring out how one might do this. Doesn't http://wiki.contextgarden.net/Visuals help you ? -- 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] How to Determine the Current File Name and Line Number in the ConTeXt Source?
Taco Hoekwater wrote: Tad Ashlock wrote: Looks like we're always getting the xstrdup() branch of the conditional. Probably because you are not reading from a file at that level, but from a token list. Do you want filename to be a file even if the current input is not directly from a file at all (doable, but less meaningful)? Best wishes, Taco Hi Taco, I'm far from an expert in this realm, but since you asked what *I* want... :) My intention is to associate status.filename and status.linenumber together. That is, I would read and save their values consecutively in the same Lua function so that they would refer to the ConTeXt source line currently being processed by the ConTeXt engine. Now you say that ConTeXt may not be reading from a file at that level. That I can accept (being a non-expert), but status.linenumber always returns the correct line number for the ConTeXt file being processed (even if the file is being \input from another file). It seems to me that if the line number within the source file is accurate, then the file's name should be accurate, too. Thank you, 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] pretty C with MKIV
On Tue, 7 Jul 2009, Aditya Mahajan wrote: -c source `kpsewhich 2context.vim` -c wqa #1}} Hey, `kpsewhich 2context.vim` is cheating! I admit it. But for me, fast success was most important and before it was kpse:2context.vim... Anyway, thanks a lot for the t-vim module! Cheers, Peter -- Contact information: 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 ___
Re: [NTG-context] How to Determine the Current File Name and Line Number in the ConTeXt Source?
Tad Ashlock wrote: Now you say that ConTeXt may not be reading from a file at that level. That I can accept (being a non-expert), but status.linenumber always returns the correct line number for the ConTeXt file being processed (even if the file is being \input from another file). It seems to me that if the line number within the source file is accurate, then the file's name should be accurate, too. I've patched status.filename so that it will behave like that starting with the next beta. 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] mkiv structure
Wolfgang Schuster wrote: Am 03.07.2009 um 16:04 schrieb Hans Hagen: Alan BRASLAU wrote: In my understanding, \part serves to delimit logical sections of related chapters, not volumes. Maybe I am wrong in this interpretation; maybe \part is to be used to delimit volumes. Nevertheless, it should be relatively simple for the basic user to be able to select the desired behavior without having to acquire an understanding of the inner workings such as prefixsets and sectionsegments. there will be presets but i had no time yet to make them Can you give a example how to continue chapter numbering over parts, I tried a few settings with \definestructureresetset but I wasn't very successful. needs a fix (seems to be old code mixed into newer) - 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 ___
Re: [NTG-context] Simple Newbie Question.
Hi is this what you want? \setuplayout [topspace=2.5cm, backspace=1.5cm, header=0pt, margin=0pt, footer=1.5\bodyfontsize, height=middle, width=middle] \mainlanguage[nl] \setupcolors[state=start] \setupframed \startbuffer[Footer] \framedtext[align=right,frame=on, width= \textwidth,offset=3pt,framecolor=red]{\tfxx Datasheet:} \stopbuffer \setupfootertexts[{\getbuffer[Footer]}] %\showframe \starttext Here is a Datasheet \stoptext Kind regards Willi On Jul 8, 2009, at 2:57 AM, Stirling Westrup wrote: I'm hoping the answer to this question should be obvious, but I'm having no luck with it. I'm trying to do a layout for a 1-page datasheet. At the very bottom of the page, in some tiny font, I need to put a copyright notice and datasheet ID number. Ideally I'd like to define some fixed text block containing the text (as its exact size and font have not yet been finalized), and then somehow define the height of the footer to be exactly equal to the height of the text block. Once I've done that, I need to place the text in the footer. I've been going back and forth through the scattered bits of ConTeXt manual and the wiki, but I'm having no luck in figuring out how one might do this. -- Stirling Westrup Programmer, Entrepreneur. https://www.linkedin.com/e/fpf/77228 http://www.linkedin.com/in/swestrup http://technaut.livejournal.com __ _ 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] mkiv structure
Hi Wolfgang Alan BRASLAU wrote: In my understanding, \part serves to delimit logical sections of related chapters, not volumes. Maybe I am wrong in this interpretation; maybe \part is to be used to delimit volumes. Nevertheless, it should be relatively simple for the basic user to be able to select the desired behavior without having to acquire an understanding of the inner workings such as prefixsets and sectionsegments. there will be presets but i had no time yet to make them Can you give a example how to continue chapter numbering over parts, I tried a few settings with \definestructureresetset but I wasn't very successful. i redid that bit of code so we now have \definestructureresetset[default][0,1,1,0][1] % normally we use the shared default so there is no need to configure % all levels (confusing anyway) % % \setuphead[part][sectionresetset=default] \starttext \placelist[chapter,section,subsection][criterium=all,width=3cm] \part{first} \chapter{alpha} \section{a} \section{b} \subsection{x} \subsection{y} \chapter{beta} \part{second} \chapter{gamma} \section{a} \section{b} \subsection{x} \subsection{y} \chapter{delta} \stoptext (this example resets only chapter and section) (only in the experimental version on the ftp) Hans - 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 ___
Re: [NTG-context] Hyphenation list and umlauts
Taco Hoekwater mailto:t...@elvenkind.com scribbled on Wednesday, June 24, 2009 3:34 PM: Thomas Floeren wrote: Hi, I stumbled upon a problem with my hyphenation list: In MKIV, all the words in the list that contain umlauts are completely ignored. MKII is fine. Luatex 0.40.5 is broken in this regard, sorry. (The problem is that the exception handling uses \lccodes for the *byte* range 128-255, which is quite wrong). This is serious enough that there will be a 0.40.6 later in the week. Best wishes, Taco Well, in my other mail I said that it worked perfectly now with 0.40.6, but this isn’t entirely true: It works perfectly on Mac, Linux and Win Vista. But for any obscure reason I can not get it to work on Win XP (to which I’m bound at work, unfortunately). Linux and WinVista are running as virtual machines on Mac Intel systems, WinXP is running nonvirtually on PC. In order to minimize installation differences I have even copied the entire context folder from Vista to the XP machine (including binaries, minimals, texmf-local), trashed the caches, remade the formats ... but still no UTF hyphenation exceptions on the XP-PC. Do you - or anybody - have an idea of what the reason for this could be? Some stupid small thing that I have overlooked? Any help is appreciated Thanks 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] Hyphenation list and umlauts
Thomas Floeren wrote: Well, in my other mail I said that it worked perfectly now with 0.40.6, but this isn’t entirely true: It works perfectly on Mac, Linux and Win Vista. But for any obscure reason I can not get it to work on Win XP (to which I’m bound at work, unfortunately). Linux and WinVista are running as virtual machines on Mac Intel systems, WinXP is running nonvirtually on PC. In order to minimize installation differences I have even copied the entire context folder from Vista to the XP machine (including binaries, minimals, texmf-local), trashed the caches, remade the formats ... but still no UTF hyphenation exceptions on the XP-PC. Do you - or anybody - have an idea of what the reason for this could be? Not a clue, sorry. ___ 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] Hyphenation list and umlauts
Thomas Floeren schrieb: Taco Hoekwater mailto:t...@elvenkind.com scribbled on Wednesday, June 24, 2009 3:34 PM: Thomas Floeren wrote: Hi, I stumbled upon a problem with my hyphenation list: In MKIV, all the words in the list that contain umlauts are completely ignored. MKII is fine. Luatex 0.40.5 is broken in this regard, sorry. (The problem is that the exception handling uses \lccodes for the *byte* range 128-255, which is quite wrong). This is serious enough that there will be a 0.40.6 later in the week. Best wishes, Taco Well, in my other mail I said that it worked perfectly now with 0.40.6, but this isn’t entirely true: It works perfectly on Mac, Linux and Win Vista. But for any obscure reason I can not get it to work on Win XP (to which I’m bound at work, unfortunately). Linux and WinVista are running as virtual machines on Mac Intel systems, WinXP is running nonvirtually on PC. In order to minimize installation differences I have even copied the entire context folder from Vista to the XP machine (including binaries, minimals, texmf-local), trashed the caches, remade the formats ... but still no UTF hyphenation exceptions on the XP-PC. Do you - or anybody - have an idea of what the reason for this could be? Some stupid small thing that I have overlooked? Just tried your example code and I also get wrong hyphenation on XP. This is LuaTeX, Version beta-0.40.6-2009070100 (Web2C 2009) luatex.web = v13958 MTXrun | current version: 2009.06.14 21:01 Sorry, also no clue what goes wrong... Any help is appreciated Thanks 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 ___ ___ 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] placefigure[right] draws figures inside framed text
Hello, I'm using framed text to display verbatim sourse code. The frame should use the entire textwidth, so I use width=broad. A problem occurs when I use a figure placed at the right side of the page, before a framed text section: the figure is drawn *inside* the frame. With non-framed text everything works fine. I include an example. It consists of a d.tex file and METAPOST file a.mp. To reproduce the problem, first convert a.mp to a-1.pdf using the mptopdf utility. Then texexec --pdf d.tex d.tex - \starttext Whran crmpqcayng lqyruas crnaqynyng cralls ahqa yncludra fyxrad shqpras, rvrarcrnsarqynas mqy yssura qs q crnsraqurancra rf hyrarqrchy-rvrarlqp rulras brayng qpplyrad braawraran such fyxrad shqpras. An rvrarcrnsarqyna rf ahys aypra mygha bra rrasrlvrad by rralqxyng srmra rf ahra hyrarqrchy-rvrarlqp crnsarqynas ahqa qrra cqusyng ya, qnd fyllyng up ahra rrasulayng gqps braawraran ahra fyxrad shqpras. Syncra ahra crmpqcayrn rangynra cqnnra prarfrrm ahys kynd rf rvrarcrnsarqyna rrasrluayrn, q wrrkqrrund ys prrprsrad yn ahra frrm rf \placefigure [right][fig:nano] {nano} {\externalfigure[a-1][width=0.4\textwidth]} Whran crmpqcayng lqyruas crnaqynyng cralls ahqa yncludra fyxrad shqpras, rvrarcrnsarqynas mqy yssura qs q crnsraqurancra rf hyrarqrchy-rvrarlqp rulras brayng qpplyrad braawraran such fyxrad shqpras. An rvrarcrnsarqyna rf ahys aypra mygha bra rrasrlvrad by rralqxyng srmra rf ahra hyrarqrchy-rvrarlqp crnsarqynas ahqa qrra cqusyng ya, qnd fyllyng up ahra rrasulayng gqps braawraran ahra fyxrad shqpras. Syncra ahra crmpqcayrn rangynra cqnnra prarfrrm ahys kynd rf rvrarcrnsarqyna rrasrluayrn, q wrrkqrrund ys prrprsrad yn ahra frrm rf \placefigure [right][fig:pico] {pico} {\externalfigure[a-1][width=0.4\textwidth]} \framed[width=broad]{ \vbox{ \starttyping Whran crmpqcayng lqyruas crnaqynyng cralls ahqa yncludra fyxrad shqpras, rvrarcrnsarqynas mqy yssura qs q crnsraqurancra rf hyrarqrchy-rvrarlqp rulras brayng qpplyrad braawraran such fyxrad shqpras. An rvrarcrnsarqyna rf ahys aypra mygha bra rrasrlvrad by rralqxyng srmra rf ahra hyrarqrchy-rvrarlqp crnsarqynas ahqa qrra cqusyng ya, qnd fyllyng up ahra rrasulayng gqps braawraran ahra fyxrad shqpras. Syncra ahra crmpqcayrn rangynra cqnnra prarfrrm ahys kynd rf rvrarcrnsarqyna rrasrluayrn, q wrrkqrrund ys prrprsrad yn ahra frrm rf \stoptyping }} \stoptext --- a.mp beginfig(1); fill(0,0)..(0,3cm)..(3cm,1cm)..(1cm,5cm)..cycle withcolor green; endfig;end; ___ 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] Table of Contents with unnumbered Chapters etc
Hi all, I am struggling, vainly so far, with list and combinedlist, and I hope someone can help me. What I want to do is the following: I am making a bilingual version om some old German text, adding an English translation. As in the original German version, I want to use unnumbered chapters, sections etc. but I still do want a table of contents. I had the impression unnumbered can be achieved by using title, subject, etc instead of chapter, section, etc and still get a table of contents by means of a combined list. But whatever I tried, no list is ever placed anywhere and even \completecombinedlist[contents][level=subject] is seen as an undefined control sequence. I have used ConTeXt from TeXlive-2008 via TeXShop, and Minimals (ConTeXt ver: 2009.06.14 21:01 MKIV) via Terminal, but the result is the same. No doubt I do some things totally wrong but I can't help having a sneaking suspicion that something is wrong with lists. I have uploaded a small testfile, which can be downloaded from the following link: http://web.me.com/blackstone.robert/filechute/Wegweiser-testfile-a.tex (In this testfile there are lots of things I tried and subsequently commented out.) Thanks in advance. Robert Blackstone ___ 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] Duotones with spot colors
On Jul 7, 2009, at 1:20 PM, Piotr Kopszak wrote: BTW, can tif support spot colors at all, I haven't found any mention of that anywhere, hence I don't think libtiff might be of use. One can only get spot colours for a bitmap into a .eps (or .pdf) or .psd. What one could do using libtiff is split the channels of the file, toss magenta and cyan, then use a different tool to composite the two bitmaps, assigning the yellow bitmap to the spot colour --- FreeHand could do this via scripting, if ConTeXt can place a bitmap on a particular spot colour plate and control overprinting of bitmaps, one could handle the balance in it. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___ 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] Duotones with spot colors
On Wed, Jul 8, 2009 at 3:39 PM, William Adams will.ad...@frycomm.comwrote: On Jul 7, 2009, at 1:20 PM, Piotr Kopszak wrote: BTW, can tif support spot colors at all, I haven't found any mention of that anywhere, hence I don't think libtiff might be of use. One can only get spot colours for a bitmap into a .eps (or .pdf) or .psd. What one could do using libtiff is split the channels of the file, toss magenta and cyan, hmm how do you do it ? -- 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] placefigure[right] draws figures inside framed text
Hi, use \framedtext[width=.5\textwidth]{...}. Framed text breaks over the lines. Do not use a \vbox Willi On Jul 8, 2009, at 1:54 PM, Jos van Gisbergen wrote: Hello, I'm using framed text to display verbatim sourse code. The frame should use the entire textwidth, so I use width=broad. A problem occurs when I use a figure placed at the right side of the page, before a framed text section: the figure is drawn *inside* the frame. With non-framed text everything works fine. I include an example. It consists of a d.tex file and METAPOST file a.mp. To reproduce the problem, first convert a.mp to a-1.pdf using the mptopdf utility. Then texexec --pdf d.tex d.tex - \starttext Whran crmpqcayng lqyruas crnaqynyng cralls ahqa yncludra fyxrad shqpras, rvrarcrnsarqynas mqy yssura qs q crnsraqurancra rf hyrarqrchy- rvrarlqp rulras brayng qpplyrad braawraran such fyxrad shqpras. An rvrarcrnsarqyna rf ahys aypra mygha bra rrasrlvrad by rralqxyng srmra rf ahra hyrarqrchy-rvrarlqp crnsarqynas ahqa qrra cqusyng ya, qnd fyllyng up ahra rrasulayng gqps braawraran ahra fyxrad shqpras. Syncra ahra crmpqcayrn rangynra cqnnra prarfrrm ahys kynd rf rvrarcrnsarqyna rrasrluayrn, q wrrkqrrund ys prrprsrad yn ahra frrm rf \placefigure [right][fig:nano] {nano} {\externalfigure[a-1][width=0.4\textwidth]} Whran crmpqcayng lqyruas crnaqynyng cralls ahqa yncludra fyxrad shqpras, rvrarcrnsarqynas mqy yssura qs q crnsraqurancra rf hyrarqrchy- rvrarlqp rulras brayng qpplyrad braawraran such fyxrad shqpras. An rvrarcrnsarqyna rf ahys aypra mygha bra rrasrlvrad by rralqxyng srmra rf ahra hyrarqrchy-rvrarlqp crnsarqynas ahqa qrra cqusyng ya, qnd fyllyng up ahra rrasulayng gqps braawraran ahra fyxrad shqpras. Syncra ahra crmpqcayrn rangynra cqnnra prarfrrm ahys kynd rf rvrarcrnsarqyna rrasrluayrn, q wrrkqrrund ys prrprsrad yn ahra frrm rf \placefigure [right][fig:pico] {pico} {\externalfigure[a-1][width=0.4\textwidth]} \framed[width=broad]{ \vbox{ \starttyping Whran crmpqcayng lqyruas crnaqynyng cralls ahqa yncludra fyxrad shqpras, rvrarcrnsarqynas mqy yssura qs q crnsraqurancra rf hyrarqrchy-rvrarlqp rulras brayng qpplyrad braawraran such fyxrad shqpras. An rvrarcrnsarqyna rf ahys aypra mygha bra rrasrlvrad by rralqxyng srmra rf ahra hyrarqrchy-rvrarlqp crnsarqynas ahqa qrra cqusyng ya, qnd fyllyng up ahra rrasulayng gqps braawraran ahra fyxrad shqpras. Syncra ahra crmpqcayrn rangynra cqnnra prarfrrm ahys kynd rf rvrarcrnsarqyna rrasrluayrn, q wrrkqrrund ys prrprsrad yn ahra frrm rf \stoptyping }} \stoptext --- a.mp beginfig(1); fill(0,0)..(0,3cm)..(3cm,1cm)..(1cm,5cm)..cycle withcolor green; endfig;end; __ _ 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] Table of Contents with unnumbered Chapters etc
Am 08.07.2009 um 13:33 schrieb Robert Blackstone: Hi all, I am struggling, vainly so far, with list and combinedlist, and I hope someone can help me. What I want to do is the following: I am making a bilingual version om some old German text, adding an English translation. As in the original German version, I want to use unnumbered chapters, sections etc. but I still do want a table of contents. I had the impression unnumbered can be achieved by using title, subject, etc instead of chapter, section, etc and still get a table of contents by means of a combined list. But whatever I tried, no list is ever placed anywhere and even \completecombinedlist[contents][level=subject] is seen as an undefined control sequence. \setupheads[incrementnumber=list] \starttext \completecontent \chapter{Foo} \section{Bar} \section{Zig} \chapter{Zag} \section{Hinz} \section{Kunz} \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 ___
Re: [NTG-context] Table of Contents with unnumbered Chapters etc
Hi, the subjects and susubjects will not end up in a TOC. Use section and subsection. Add a \setuphead[section,subsection][number=no], place the TOC with \completecontent. Willi On Jul 8, 2009, at 1:33 PM, Robert Blackstone wrote: Hi all, I am struggling, vainly so far, with list and combinedlist, and I hope someone can help me. What I want to do is the following: I am making a bilingual version om some old German text, adding an English translation. As in the original German version, I want to use unnumbered chapters, sections etc. but I still do want a table of contents. I had the impression unnumbered can be achieved by using title, subject, etc instead of chapter, section, etc and still get a table of contents by means of a combined list. But whatever I tried, no list is ever placed anywhere and even \completecombinedlist[contents][level=subject] is seen as an undefined control sequence. I have used ConTeXt from TeXlive-2008 via TeXShop, and Minimals (ConTeXt ver: 2009.06.14 21:01 MKIV) via Terminal, but the result is the same. No doubt I do some things totally wrong but I can't help having a sneaking suspicion that something is wrong with lists. I have uploaded a small testfile, which can be downloaded from the following link: http://web.me.com/blackstone.robert/filechute/ Wegweiser-testfile-a.tex (In this testfile there are lots of things I tried and subsequently commented out.) Thanks in advance. Robert Blackstone ___ 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] Duotones with spot colors
On Jul 8, 2009, at 9:45 AM, luigi scarso wrote: On Wed, Jul 8, 2009 at 3:39 PM, William Adams will.ad...@frycomm.com wrote: What one could do using libtiff is split the channels of the file, toss magenta and cyan, hmm how do you do it ? My apologies, that should have read, ``What one _should_ be able to do'' I would expect to be able to do as I described, but I'm not certain it can be done. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___ 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] Hyphenation list and umlauts
On Jul 8, 2009, at 1:06 PM, Peter Rolf wrote: Thomas Floeren schrieb: Taco Hoekwater mailto:t...@elvenkind.com scribbled on Wednesday, June 24, 2009 3:34 PM: Thomas Floeren wrote: Hi, I stumbled upon a problem with my hyphenation list: In MKIV, all the words in the list that contain umlauts are completely ignored. MKII is fine. Luatex 0.40.5 is broken in this regard, sorry. (The problem is that the exception handling uses \lccodes for the *byte* range 128-255, which is quite wrong). This is serious enough that there will be a 0.40.6 later in the week. Best wishes, Taco Well, in my other mail I said that it worked perfectly now with 0.40.6, but this isn’t entirely true: It works perfectly on Mac, Linux and Win Vista. But for any obscure reason I can not get it to work on Win XP (to which I’m bound at work, unfortunately). Linux and WinVista are running as virtual machines on Mac Intel systems, WinXP is running nonvirtually on PC. In order to minimize installation differences I have even copied the entire context folder from Vista to the XP machine (including binaries, minimals, texmf-local), trashed the caches, remade the formats ... but still no UTF hyphenation exceptions on the XP-PC. Do you - or anybody - have an idea of what the reason for this could be? Some stupid small thing that I have overlooked? Just tried your example code and I also get wrong hyphenation on XP. This is LuaTeX, Version beta-0.40.6-2009070100 (Web2C 2009) luatex.web = v13958 MTXrun | current version: 2009.06.14 21:01 Sorry, also no clue what goes wrong... Maybe I should pose my question differently: Is there anybody on WinXP who can typeset my minimal (below) as intended? (I’m aware that not many people on this list are using MS systems, I personally also prefer working systems, but at work I’m (still) restricted to MS-XP. So this problem is of uttermost importance for me. I hope the ConTeXt support for MS systems will not be dropped too soon, there are still people out there dependent on those OSs) Here’s the minimal again: \de \hyphenation{ma-nö-v-rie-ren} \starttext \hyphenatedword{manövrieren} \stoptext Thanks again for any help or hint Tom Any help is appreciated Thanks 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 ___ ___ 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] placefigure[right] draws figures inside framed text (Willi Egger)
Hello Willi, Thanks for your answer. Your suggestion works ... if I would be free to choose the framed text to be 0.5 textwidth. However, the framed text is source code and I do need the entire textwidth because otherwise I'm going to get line wraps and that'll make things look ugly. I expected placefigure[right] to be clever enough to see that there is no room beside the framed text, and either place the figure above it or beneath it. My current workaround is to put the placefigure[right] macro earlier in the flow of text if possible, or use placefigure[force]. Regards, Jos Message: 4 Date: Wed, 8 Jul 2009 16:44:11 +0200 From: Willi Egger w.eg...@boede.nl Subject: Re: [NTG-context] placefigure[right] draws figures inside framedtext To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: c9d22320-b2b1-4a77-b38c-6dd553ec2...@boede.nl Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, use \framedtext[width=.5\textwidth]{...}. Framed text breaks over the lines. Do not use a \vbox Willi On Jul 8, 2009, at 1:54 PM, Jos van Gisbergen wrote: Hello, I'm using framed text to display verbatim sourse code. The frame should use the entire textwidth, so I use width=broad. A problem occurs when I use a figure placed at the right side of the page, before a framed text section: the figure is drawn *inside* the frame. With non-framed text everything works fine. I include an example. It consists of a d.tex file and METAPOST file a.mp. To reproduce the problem, first convert a.mp to a-1.pdf using the mptopdf utility. Then texexec --pdf d.tex ___ 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 ___