Re: [NTG-context] Html to pdf using pragma script
Hi, how to map svg tags from xml and tex file.? On Mon, Dec 20, 2010 at 4:48 PM, Anand Raj wrote: > Hi, > > I want to convert the html page to pdf. > > the html contains svg and mathml content. > > Thanks > Anand ___ 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] Html to pdf using pragma script
Hi, Thank you so much for your prompt reply. I am new to this. my need is to convert the html page to pdf and this html contains svg and mathml content. I have linux environment 1. What are things to be installed to fulfill my need 2. how to convert html --> xml --> pdf using context (may be the commands) Thanks Anand On Mon, Dec 20, 2010 at 5:18 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 20.12.2010 um 09:48 schrieb Anand Raj: > > Hi, > > I want to convert the html page to pdf. > > the html contains svg and mathml content. > > > http://pragma-ade.com/general/manuals/xml-mkiv.pdf > http://dl.contextgarden.net/myway/tas/xhtml.pdf > > 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] What's the proper way to typeset a slash in a text flow?
On 21-12-2010 12:34, Marco Pessotto wrote: See the following minimal example (I'm not trying to typeset urls or filesystem paths in this way, just regular text): \def\myslash{/\penalty-5000} \starttext \type{/} {\bfd Love/Hate/Play/Love/Hate/Play/Love/Hate/Play/Love/Hate/Play} \type{\slash} {\bfd Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash bla|/|bla - 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 ___
[NTG-context] What's the proper way to typeset a slash in a text flow?
See the following minimal example (I'm not trying to typeset urls or filesystem paths in this way, just regular text): \def\myslash{/\penalty-5000} \starttext \type{/} {\bfd Love/Hate/Play/Love/Hate/Play/Love/Hate/Play/Love/Hate/Play} \type{\slash} {\bfd Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash Hate\slash Play} \type{\textslash} {\bfd Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play} \type{\myslash} {\bfd Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play} \stoptext Neither one of the first three solutions above give me the right thing, because the line won't break at /. What am I missing? A workaround seems to be \def\myslash{/\penalty-5000} and then using \myslash instead of \slash, but I'm pretty sure I'm not doing this right. Thanks in advance -- Marco ___ 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] running headers on postponed makeup
On 19-12-2010 11:31, Philipp Gesang wrote: On 2010-12-18<21:06:11>, Hans Hagen wrote: On 18-12-2010 6:12, Philipp Gesang wrote: after discovering postponed insertions I encountered a problem when combining it with the makeup mechanism I am so fond of. The next beta will have changes mark behaviour: no reset in everyforget cases, and a fix for pages with no text. The first case is experimental as I cannot foresee unwanted side effects where a reset *is* expected so that might be reverted and done differently. Hi Hans, this is great news and comes right in time. So far no side effects occured. Btw. what are those “systemattributes” for? Is attr-ini.mkiv attributes that are used at the tex and lua end so some precautions are taken to prevent redefinition; they are not meant to be touched by users still as “experimental” as it claims? not that experimental but who knows what drastic changes we're going to make to luatex before it's 1.0 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] error with m-database example
On 20-12-2010 5:56, Mojca Miklavec wrote: On Sun, Dec 19, 2010 at 20:37, Florian Wobbe wrote: Hi, The example from http://wiki.contextgarden.net/m-database gives me an error. ! LuaTeX error ...t-beta/texmf-context/tex/context/base/m-database.lua:74: bad argument #2 to 'lpegmatch' (string expected, got nil) stack traceback: [C]: in function 'lpegmatch' ...t-beta/texmf-context/tex/context/base/m-database.lua:74: in function 'process' :1: in main chunk. \doprocessdatabase ...ameter \c!command \!!es , }} l.18 \stopMyTable I also, tried the first example of Mojca's CSV May Way (http://dl.contextgarden.net/myway/csv.pdf) which gives me: ! Undefined control sequence. l.36 \startseparatedlist [NaturalTable] Thanks for any suggestions, Florian Dear Florian, Hans reimplemented the database module in MKIV. He requested a list of problems that I have discovered in new implementation, but apparently it's still on his TODO list to resolve them. replace line 42 in m-database.lua by: data = buffers.getlines(settings.database) (internally buffers used to be pre-split but that was changed) 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] Compatibility problem Ctx TeXlive2010 x ctx minimals or error in code??
2010/12/20 Jaroslav Hajtmar : > I'm looking the reason of non-functioning my context module in the context > TeXlive 2010. If your are using ConTeXt with TL2010, you should use tlcontrib. Best Martin ___ 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] Compatibility problem Ctx TeXlive2010 x ctx minimals or error in code??
Hello all, I'm looking the reason of non-functioning my context module in the context TeXlive 2010. In context mimals version everything is working properly and without error, but when I compile my source code with ConTeXt, which is part of TeXlive 2010, then I get message: C:\1da\ConTeXt-MkIV\t-scancsv.mkiv>context --autopdf cykly-test-002.tex MTXrun | run 1: luatex --fmt="C:/Users/Jaroslav Hajtmar/.texlive2010/texmf-var/ luatex-cache/context/da91aab37cf8e89a658f7077fc24d4ff/formats/cont-en" --lua="C: /Users/Jaroslav Hajtmar/.texlive2010/texmf-var/luatex-cache/context/da91aab37cf 8e89a658f7077fc24d4ff/formats/cont-en.lui" --backend=pdf "./cykly-test-002.tex" This is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736) \write18 enabled. (cykly-test-002.tex publications: loading formatting style from bxml-apa (C:/texlive/2010/texmf-dist/tex/context/base/bxml-apa.mkiv) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 int: english/english system : cont-new loaded (C:/texlive/2010/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (C:/texlive/2010/texmf-dist/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (C:/texlive/2010/texmf-dist/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (C:/texlive/2010/texmf-dist/tex/context/user/cont-sys.rme (C:/texlive/2010/texmf -dist/tex/context/base/type-def.mkiv) (C:/texlive/2010/texmf-dist/tex/context/ba se/type-lua.mkiv) (C:/texlive/2010/texmf-dist/tex/context/base/type-siz.mkiv) (C :/texlive/2010/texmf-dist/tex/context/base/type-otf.mkiv)) system : cykly-test-002.top loaded (cykly-test-002.top) fonts : preloading latin modern fonts {C:/texlive/2010/texmf-dist/fonts/map/dvips/lm/lm-math.map}{C:/texlive/2010/texm f-dist/fonts/map/dvips/lm/lm-rm.map}{C:/texlive/2010/texmf-dist/fonts/map/pdftex /context/mkiv-base.map} bodyfont: 12pt rm is loaded language: language en is active system : module t-scancsv loaded (t-scancsv.mkiv loading : ConTeXt User Module / ScanCSV ! Undefined control sequence. l.45 \definenamespace ? When I comment \definenamespace section, then I get message: (shortly) This is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 int: english/english system : module t-scancsv loaded (t-scancsv.mkiv loading : ConTeXt User Module / ScanCSV ! Argument of \dotripletestemptyx has an extra }. \par } \dodostartluacode ...nd \directlua \zerocount {#1} } l.439 \stopluacode ? I do not know whether it is compatibility problem or I have a bug somewhere in source code of my module ... Has anyone any ideas? I do not know where to begin the search mistake ... Thanx. Jaroslav ___ 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] error with m-database example
On Dec 20, 2010, at 17:56 , Mojca Miklavec wrote: > On Sun, Dec 19, 2010 at 20:37, Florian Wobbe wrote: >> Hi, >> >> The example from http://wiki.contextgarden.net/m-database gives me an error. >> >> ! LuaTeX error ...t-beta/texmf-context/tex/context/base/m-database.lua:74: >> bad argument #2 to 'lpegmatch' (string expected, got nil) >> stack traceback: >>[C]: in function 'lpegmatch' >>...t-beta/texmf-context/tex/context/base/m-database.lua:74: in >> function 'process' >>:1: in main chunk. >> \doprocessdatabase ...ameter \c!command \!!es , }} >> >> l.18 \stopMyTable >> >> >> I also, tried the first example of Mojca's CSV May Way >> (http://dl.contextgarden.net/myway/csv.pdf) which gives me: >> >> ! Undefined control sequence. >> l.36 \startseparatedlist >>[NaturalTable] >> >> Thanks for any suggestions, >> Florian > > Dear Florian, > > Hans reimplemented the database module in MKIV. He requested a list of > problems that I have discovered in new implementation, but apparently > it's still on his TODO list to resolve them. All right, then. I'll be patient... Florian ___ 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] error with m-database example
On Sun, Dec 19, 2010 at 20:37, Florian Wobbe wrote: > Hi, > > The example from http://wiki.contextgarden.net/m-database gives me an error. > > ! LuaTeX error ...t-beta/texmf-context/tex/context/base/m-database.lua:74: > bad argument #2 to 'lpegmatch' (string expected, got nil) > stack traceback: > [C]: in function 'lpegmatch' > ...t-beta/texmf-context/tex/context/base/m-database.lua:74: in > function 'process' > :1: in main chunk. > \doprocessdatabase ...ameter \c!command \!!es , }} > > l.18 \stopMyTable > > > I also, tried the first example of Mojca's CSV May Way > (http://dl.contextgarden.net/myway/csv.pdf) which gives me: > > ! Undefined control sequence. > l.36 \startseparatedlist > [NaturalTable] > > Thanks for any suggestions, > Florian Dear Florian, Hans reimplemented the database module in MKIV. He requested a list of problems that I have discovered in new implementation, but apparently it's still on his TODO list to resolve them. Mojca ___ 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] How to get numbered cases'ed equations ?
Hi list, How can I get a numbered equation when using cases in MkIV? The "hack" proposed by Aditya in [1] doesn't work as it uses macros that no longer exist (\makesesctionnumber and others). The reference doesn't even get recorded. I precise that I don't want (well, don't need) the sub numbering per-line, just a regular number would do. Minimal example: \starttext My equation \in[eq:equation] and my other equation \in[eq:other-equation]. \placeformula[eq:equation] \startformula E = mc^2 \stopformula \placeformula[eq:equation] \startformula \startcases \NC E = mc^2 \NC some text\NR \NC E = mc^2 \NC some more text\NR \stopcases \stopformula \stoptext Thanks. [1] http://dl.contextgarden.net/myway/mathalign.pdf -- Cédric ___ 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] [ac...@jander.de: Re: startcolumns: text runs into footer]
Hi again, I played around a litte, and i'm coming nearer to the result i desire. The example: \showframe \setuptolerance[horizontal, verytolerant] \definewhitespacemethod[Test]{\ctxparskip 0pt plus4pt minus0pt} \setupalign[line] %\setuplayout[grid=yes] \setuplayout[lines=41] %\showgrid \starttext \startcolumns[n=2, align=yes, balance=yes] \clubpenalty1 \widowpenalty1 \setupwhitespace[Test, flexible] %\setuplayout[grid=tolerant] \dorecurse{10}{\input knuth} \stopcolumns \stoptext is a big step in the right direction. Pages 1 & 2 are perfect now, but I wonder, why on page 3 there is such a big space in the right column. (the space is needed to adjust the columns, but they are not really exact adjusted??) Are there any ideas for improvement? Thanks, Achim Zitat von ac...@jander.de: Hi at all, thank you for the replies. Im still not fully happy, but i get ahead. \setuplayout[lines=40] seems to do the job and holds the text inside the area. Zitat von Taco Hoekwater : \setuplayout[lines=40] And you need \setuplayout[grid=yes] % or grid=tolerant to get \setupalign[line] to work. With grid=yes or grid=tolerant the spacing between the paragraphs goes to one full line. Thats too much. What i want to achieve is to have each column spaced to the full height, but i need no grid inbetween. I only want to have the first and last line one the same height, and the paragraphs been spaced in the smallest possible amount. \showframe \setuptolerance[horizontal, verytolerant] \newskip\Hugeskip %\Hugeskip = 1em plus 8em minus 1em \Hugeskip = 4pt plus 16pt minus 0pt \definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank \definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for \setupwhitespace \setupalign[line] \setuplayout[grid=tolerant] \setuplayout[lines=41] %\showgrid \starttext \startcolumns[n=2, align=yes] \clubpenalty1 \widowpenalty1 \setupwhitespace[Notsohuge] %\setuplayout[grid=tolerant] \dorecurse{10}{\input knuth} \stopcolumns \stoptext Thanks, Achim ___ 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] [ac...@jander.de: Re: startcolumns: text runs into footer]
Hi at all, thank you for the replies. Im still not fully happy, but i get ahead. \setuplayout[lines=40] seems to do the job and holds the text inside the area. Zitat von Taco Hoekwater : \setuplayout[lines=40] And you need \setuplayout[grid=yes] % or grid=tolerant to get \setupalign[line] to work. With grid=yes or grid=tolerant the spacing between the paragraphs goes to one full line. Thats too much. What i want to achieve is to have each column spaced to the full height, but i need no grid inbetween. I only want to have the first and last line one the same height, and the paragraphs been spaced in the smallest possible amount. \showframe \setuptolerance[horizontal, verytolerant] \newskip\Hugeskip %\Hugeskip = 1em plus 8em minus 1em \Hugeskip = 4pt plus 16pt minus 0pt \definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank \definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for \setupwhitespace \setupalign[line] \setuplayout[grid=tolerant] \setuplayout[lines=41] %\showgrid \starttext \startcolumns[n=2, align=yes] \clubpenalty1 \widowpenalty1 \setupwhitespace[Notsohuge] %\setuplayout[grid=tolerant] \dorecurse{10}{\input knuth} \stopcolumns \stoptext Thanks, Achim ___ 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] [ac...@jander.de: Re: startcolumns: text runs into footer]
On 12/20/2010 11:07 AM, Wolfgang Schuster wrote: Am 20.12.2010 um 10:57 schrieb Philipp Gesang: Hi all, I’m just forwarding this to the ml as I can’t help any further and I’d like to know the answer too. @Achim: have you tried locally chopping off a line from the text area with “\[start|stop]columns”? Something like this: ··8<· \newdimen\Reducedtextheight \let\Reducedtextheight\makeupheight \advance\Reducedtextheight-\baselineskip \setuplayout[height=\Reducedtextheight] ··8<· Not a clean solution, but it might still get you what you want. \setuplayout[lines=40] And you need \setuplayout[grid=yes] % or grid=tolerant to get \setupalign[line] to work. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [ac...@jander.de: Re: startcolumns: text runs into footer]
Am 20.12.2010 um 10:57 schrieb Philipp Gesang: > Hi all, > > I’m just forwarding this to the ml as I can’t help any further > and I’d like to know the answer too. > > @Achim: have you tried locally chopping off a line from the text > area with “\[start|stop]columns”? Something like this: > > ··8<· > > \newdimen\Reducedtextheight > \let\Reducedtextheight\makeupheight > \advance\Reducedtextheight-\baselineskip > \setuplayout[height=\Reducedtextheight] > > ··8<· > > Not a clean solution, but it might still get you what you want. \setuplayout[lines=40] 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] [ac...@jander.de: Re: startcolumns: text runs into footer]
Hi all, I’m just forwarding this to the ml as I can’t help any further and I’d like to know the answer too. @Achim: have you tried locally chopping off a line from the text area with “\[start|stop]columns”? Something like this: ··8<· \newdimen\Reducedtextheight \let\Reducedtextheight\makeupheight \advance\Reducedtextheight-\baselineskip \setuplayout[height=\Reducedtextheight] ··8<· Not a clean solution, but it might still get you what you want. Philipp - Forwarded message from ac...@jander.de - Date: Mon, 20 Dec 2010 09:12:37 +0100 From: ac...@jander.de To: Philipp Gesang Subject: Re: [NTG-context] startcolumns: text runs into footer User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) Hi Philipp, thank you for your reply. > > (1) Columnsets cause less trouble than the ordinary > ?\[start|stop]columns?; (2) you have to define the vskips prior > to using them with ?\setupwhitespace? or ?\blank?. > that takes me a bit further. But columnsets seem to have one great disadvantage regarding my project (as far as i could figure out): you have to manually balance the columns. Thats not practical within a 1200-pages book with a lot of balanced breaks. Another problem (but that may result of my missing knowledge): I could not get the columns to fill the page (now the contrary problem than before). I've tried setupalign[line] before as well as inside the columnset without any effort. Example below. Looking into spac-ver.mkiv did not really enlighten me (but i sure have to take a deeper look). Thanks again, Achim \showframe \definecolumnset[two][n=2] \newskip\Hugeskip \Hugeskip = 1em plus 4em minus 4em %that should be enough stretchability \definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank \definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for \setupwhitespace \setupalign[line] %does not work \starttext \startcolumnset[two] \setupalign[line] %does not work also %\setupwhitespace[Notsohuge, flexible] no effect \setupwhitespace[Notsohuge] %\setupwhitespace[flexible] no effect \dorecurse{10}{\input knuth} \stopcolumnset \stoptext - End forwarded message - -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpXogbHgBG38.pgp Description: PGP 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 ___
[NTG-context] Fwd: Re: startcolumns: text runs into footer
Hi Philipp, thank you for your reply. > > (1) Columnsets cause less trouble than the ordinary > ?\[start|stop]columns?; (2) you have to define the vskips prior > to using them with ?\setupwhitespace? or ?\blank?. > that takes me a bit further. But columnsets seem to have one great disadvantage regarding my project (as far as i could figure out): you have to manually balance the columns. Thats not practical within a 1200-pages book with a lot of balanced breaks. Another problem (but that may result of my missing knowledge): I could not get the columns to fill the page (now the contrary problem than before). I've tried setupalign[line] before as well as inside the columnset without any effort. Example below. Looking into spac-ver.mkiv did not really enlighten me (but i sure have to take a deeper look). Thanks again, Achim \showframe \definecolumnset[two][n=2] \newskip\Hugeskip \Hugeskip = 1em plus 4em minus 4em %that should be enough stretchability \definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank \definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for \setupwhitespace \setupalign[line] %does not work \starttext \startcolumnset[two] \setupalign[line] %does not work also %\setupwhitespace[Notsohuge, flexible] no effect \setupwhitespace[Notsohuge] %\setupwhitespace[flexible] no effect \dorecurse{10}{\input knuth} \stopcolumnset \stoptext - Ende der weitergeleiteten Nachricht - ___ 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] Html to pdf using pragma script
Am 20.12.2010 um 09:48 schrieb Anand Raj: > Hi, > > I want to convert the html page to pdf. > > the html contains svg and mathml content. http://pragma-ade.com/general/manuals/xml-mkiv.pdf http://dl.contextgarden.net/myway/tas/xhtml.pdf 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] Html to pdf using pragma script
Hi, I want to convert the html page to pdf. the html contains svg and mathml content. Thanks Anand ___ 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 ___