Re: [NTG-context] how to use a \framed for a hyperlink
2007/7/15, WolfgangZ [EMAIL PROTECTED]: Hello, how can I use a the background of a framed for a hyperlink? I wan't to achive that the area (of a colored box) is handled as link. Many thanks Wolfgang \setupinteraction[state=start] \defineoverlay[knuthref][\overlaybutton{sec:knuth}] \starttext \section[sec:knuth]{Knuth} \input knuth \page \button{Knuth}[sec:knuth] \button[width=4cm,height=2cm]{Knuth}[sec:knuth] \framed[width=4cm,height=2cm,background=knuthref]{Knuth} \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] how to use a \framed for a hyperlink
Wolfgang Schuster schrieb: 2007/7/15, WolfgangZ [EMAIL PROTECTED]: Hello, how can I use a the background of a framed for a hyperlink? I wan't to achive that the area (of a colored box) is handled as link. Many thanks Wolfgang \setupinteraction[state=start] \defineoverlay[knuthref][\overlaybutton{sec:knuth}] \starttext \section[sec:knuth]{Knuth} \input knuth \page \button{Knuth}[sec:knuth] \button[width=4cm,height=2cm]{Knuth}[sec:knuth] \framed[width=4cm,height=2cm,background=knuthref]{Knuth} \stoptext Wolfgang Hello Wolfgang your example inspired me to searche a bit more and I found a solution for what I wanted to achive: \setupinteraction[state=start] \useURL[ntg-www] [http://www.ntg.nl] \starttext \gotobox{\framed[width=4cm,height=4cm]{gotobox}}[URL(ntg-www)] \stoptext regards 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] Html to Context using Wiki + hpricot
Dear All, I have added an article to the ConTeXt wiki on using Wiki as a collaborative medium for making ConTeXt documents. It is a preliminary version. I will continue to polish it in my spare time. Meanwhile comments/suggestions are welcome. http://wiki.contextgarden.net/HTML_and_ConTeXt saji .. * luigi scarso [EMAIL PROTECTED] [2007-07-11 10:27:12 +0200]: On 7/11/07, Saji Njarackalazhikam Hameed [EMAIL PROTECTED] wrote: Hello All, I wanted to share my recent experience Really interesting . Please, put all these on wiki.contextgarden.net -- 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 ___ 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 ___ -- Saji N. Hameed APEC Climate Center +82 51 668 7470 National Pension Corporation Busan Building 12F Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [EMAIL PROTECTED] KOREA ___ 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] presentation module
Hi all, I have played around a bit and prepared a module to produce presentations with ConTeXt. It is inspired (of course) by Hans's work, but provides less frills and an easier interface; I hope it is especially suited for academic presentations. Before I actually unleash it on the unsuspecting masses, I would be grateful if somebody could test it. It comes with a demo file and some documentation, so all you have to do is run it through ConTeXt; I want to make sure that it'll work on other installations than mine. If you're interested, drop me a line, and I'll send it to you (it's just a zip file of 233 k). All best 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] presentation module
Hi Thomas, I would like to try your module. My mail is [EMAIL PROTECTED] saji ... On Jul 16, 2007, at 6:35 PM, Thomas A. Schmitz wrote: Hi all, I have played around a bit and prepared a module to produce presentations with ConTeXt. It is inspired (of course) by Hans's work, but provides less frills and an easier interface; I hope it is especially suited for academic presentations. Before I actually unleash it on the unsuspecting masses, I would be grateful if somebody could test it. It comes with a demo file and some documentation, so all you have to do is run it through ConTeXt; I want to make sure that it'll work on other installations than mine. If you're interested, drop me a line, and I'll send it to you (it's just a zip file of 233 k). All best 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] Symmetrical layer positioning?
Hello all, is there a secret power switch to tell ConTeXt that a particular layer has different positioning depending on wether it's on a left or right page? I can of course do it manually, either by changing the layer position on each page or by using two layers instead of one, but I wanted to know if there was a more straightforward way that I was missing. -- Giuseppe Oblomov Bilotta ___ 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] Columns and colour background
Dear folks, consider this: --- \setupcolors [state=start] \setupcolumns [background=color, backgroundcolor=red] \starttext \startcolumns[n=2] \dorecurse{4}{\input tufte} \stopcolumns \framed[background=color,backgroundcolor=red]{Test} \stoptext --- Shouldn't the background of my columns be painted red? According to the manual \setupcolumns inherits from \setupframed which does work ... Oliver ___ 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] Symmetrical layer positioning?
On Mon, 16 Jul 2007, Giuseppe Bilotta wrote: Hello all, is there a secret power switch to tell ConTeXt that a particular layer has different positioning depending on wether it's on a left or right page? You can possible use setups and use \doifoddpageelse to set the layers. See http://archive.contextgarden.net/thread/20061102.171506.2fa793e2.en.html I can of course do it manually, either by changing the layer position on each page or by using two layers instead of one, but I wanted to know if there was a more straightforward way that I was missing. Here is an example of using two different layers: http://wiki.contextgarden.net/Alternating_backgrounds_and_repeating_layers 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] Symmetrical layer positioning?
Monday, July 16, 2007 Aditya Mahajan wrote: On Mon, 16 Jul 2007, Giuseppe Bilotta wrote: Hello all, is there a secret power switch to tell ConTeXt that a particular layer has different positioning depending on wether it's on a left or right page? You can possible use setups and use \doifoddpageelse to set the layers. See http://archive.contextgarden.net/thread/20061102.171506.2fa793e2.en.html Thanks a lot. I don't know if using presets is actually going to reduce the coding, though. In the mean time, I've found that layers have a doublesided option. This apparently allows you to override the left/right settings of a layer, so I tried \definelayer[title][ x=\dimexpr\backspace+\wdall-\wdtit, y=\topspace, width=\wdtit, height=\httit, state=repeat, doublesided=true, ] \setuplayer[lefttitle][ x=\backspace, ] \definelayer[desc][ x=\backspace, y=\topspace, width=\wddesc, height=\htdesc, state=repeat, doublesided=true, ] \setuplayer[leftdesc][ x=\dimexpr\backspace+\wdall-\wddesc, ] \definelayer[figs][ x=\dimexpr\backspace+\wdall-\wdfig, y=\dimexpr\topspace+\makeupheight-\htfig, width=\wdfig, height=\htfig, ] \setuplayer[leftfigs][ x=\backspace, ] \setupbackgrounds[page][background={color,title,desc,figs},backgroundcolor=elux-ultralight] However, the 'main' setup is always used, the left one is never used. Am I doing something wrong? -- Giuseppe Oblomov Bilotta ___ 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] endnotes
hello: I have a problem with endnotes. I use \placefootnotes at the end of each chapter. When the last page of a chapter is almost empty, the footnotes are placed at the same page, but when the las page of a chapter is almost full, the notes jumps to a new page. Also, I have a \stopcolumns before the notes. How can I force the notes to keep in the same page? Thankyou. Horacio Suarez Editotrial Antropofagia www.eantropofagia.com.ar _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ 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] endnotes
Quoting Horacio Suarez [EMAIL PROTECTED]: hello: I have a problem with endnotes. I use \placefootnotes at the end of each chapter. When the last page of a chapter is almost empty, the footnotes are placed at the same page, but when the las page of a chapter is almost full, the notes jumps to a new page. Also, I have a \stopcolumns before the notes. How can I force the notes to keep in the same page? Thankyou. Can you please send a minimal example to work with? 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] endnotes
This is an exaple, I hope it´s ok. If you coment/uncoment one of the \dorecurse lines at a time you will see. Even if there is enough place to place the foonotes, in the first case the notes jumps to a new page. \starttext \setupfootnotes[location={none}] \chapter Capitulo1 \startcolumns Aca va texto\footnote{foot uno} %\dorecurse{3}{\input tufte\par} \dorecurse{2}{\input tufte\par} Aca más texto\footnote{foot dos} \stopcolumns \section Notas \placefootnotes \stoptext %% Thankyou for yor patient. Horacio _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ 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] endnotes
Quoting Horacio Suarez [EMAIL PROTECTED]: This is an exaple, I hope it´s ok. If you coment/uncoment one of the \dorecurse lines at a time you will see. Even if there is enough place to place the foonotes, in the first case the notes jumps to a new page. This seems to be a bug in start/stop columns. From what I remember, columns causes a page break if sum of the two columns is greater than the page length. Here is an example. \starttext \setupfootnotes[location={none}] \dorecurse{10}{ \chapter Capitulo1--\recurselevel{} \startcolumns % Aca va texto\footnote{foot uno} \dorecurse{\recurselevel}{\input tufte\par} % Aca más texto\footnote{foot dos} \stopcolumns \section Notas \input tufte } \stoptext This may help others to help what is happening. 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] Symmetrical layer positioning?
Monday, July 16, 2007 Giuseppe Bilotta wrote: Monday, July 16, 2007 Aditya Mahajan wrote: On Mon, 16 Jul 2007, Giuseppe Bilotta wrote: Hello all, is there a secret power switch to tell ConTeXt that a particular layer has different positioning depending on wether it's on a left or right page? You can possible use setups and use \doifoddpageelse to set the layers. See http://archive.contextgarden.net/thread/20061102.171506.2fa793e2.en.html Thanks a lot. I don't know if using presets is actually going to reduce the coding, though. In the mean time, I've found that layers have a doublesided option. This apparently allows you to override the left/right settings of a layer, so I tried \definelayer[title][ x=\dimexpr\backspace+\wdall-\wdtit, y=\topspace, width=\wdtit, height=\httit, state=repeat, doublesided=true, ] \setuplayer[lefttitle][ x=\backspace, ] \definelayer[desc][ x=\backspace, y=\topspace, width=\wddesc, height=\htdesc, state=repeat, doublesided=true, ] \setuplayer[leftdesc][ x=\dimexpr\backspace+\wdall-\wddesc, ] \definelayer[figs][ x=\dimexpr\backspace+\wdall-\wdfig, y=\dimexpr\topspace+\makeupheight-\htfig, width=\wdfig, height=\htfig, ] \setuplayer[leftfigs][ x=\backspace, ] \setupbackgrounds[page][background={color,title,desc,figs},backgroundcolor=elux-ultralight] However, the 'main' setup is always used, the left one is never used. Am I doing something wrong? Apparently, I mistook what the doublesided option does for layers. I've currently solved the problem in the following way: \unexpanded\def\titlexpos{% \ifodd\realpageno\dimexpr\wdinside+\wdall-\wdtit\else\wdinside\fi } \definelayer[title][ x=\titlexpos, y=\topspace, width=\wdtit, height=\httit, ] \unexpanded\def\descxpos{% \ifodd\realpageno\wdinside\else\dimexpr\wdinside+\wdall-\wddesc\fi } \definelayer[desc][ x=\descxpos, y=\topspace, width=\wddesc, height=\htdesc, ] \unexpanded\def\figsxpos{% \ifodd\realpageno\dimexpr\backspace+\wdall-\wdfig\else\wdinside\fi } \definelayer[figs][ x=\figsxpos, y=\dimexpr\topspace+\makeupheight-\htfig, width=\wdfig, height=\htfig, ] \setupbackgrounds[page][background={color,title,desc,figs},backgroundcolor=elux-ultralight] However, this solution doesn't strike me as particularly elegant. I've seen in page-lyr.tex that support for left/right layers is currently in progress, but if I read the code correctly it just creates three layers (name, leftname, rightname) and they have to be filled individually. It would be nice to have a simpler interface to repeated layers with position recalculated on each page. -- Giuseppe Oblomov Bilotta ___ 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] endnotes
On Mon, 16 Jul 2007, Aditya Mahajan wrote: Quoting Horacio Suarez [EMAIL PROTECTED]: This is an exaple, I hope it´s ok. If you coment/uncoment one of the \dorecurse lines at a time you will see. Even if there is enough place to place the foonotes, in the first case the notes jumps to a new page. This seems to be a bug in start/stop columns. From what I remember, columns causes a page break if sum of the two columns is greater than the page length. Here is an example. Here is a fix. Caveat: I do not completely understand multi-columns, so be careful while using this fix. \def\multicolumnseject {%\message{\the\pagetotal,\the\textheight}% %AM: Added divide my nofcolumns \ifdim\dimexpr\pagetotal/\nofcolumns\textheight \eject % new \else \allowbreak \fi} \starttext \setupfootnotes[location={none}] \dorecurse{10}{ \chapter Capitulo1--\recurselevel{} \startcolumns % Aca va texto\footnote{foot uno} \dorecurse{\recurselevel}{\input tufte\par} % Aca más texto\footnote{foot dos} \stopcolumns \section Notas \input tufte } \stoptext 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 ___