[NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt
Hi Everybody, Thank you for your help with the documentation. Inorder to teach myself ConTeXt I have to decided to write a learning by doing manual for ConTeXt. First off, I know I can get the formatting needed, by using defineparagraph and setupparagraphs, but then have I have to use start/stop-myparagraph, etc. . Well, I wanted format my normal paragraphs. Following, the standard way of doing things in ConTeX, as with headers and wanted to use setupparagraphs. The problem want is the name of the standard(default) paragraph. I have not found any. Is there a name for it. As example lets take I want to have a little space between my paragraph. MWE \setupwhitespace{medium] \startext paragraph 1 paragraph 1 \stoptext What I would like is to do: MNWE: \setuparagraphs[][][before={\setupwhitespace{medium]] %% or %% \setuparagraphs[][][before=\bigskip] \startext paragraph 1 paragraph 1 \stoptext In other words there is no way, that I can find to globally set standard paragraphs!! The same goes for indenting of paragraphs. Yes, Yes there are the standard indenting commands. I feel though one should be able to use setupparagraphs for this. Also, it took me awhile to find the setupwhitespace command, because for me whitespace can be either horizontal or vertical. I think it would be better to rename it to setupparagraphspacing or something like that. Or at least define a synonym for it. This would make things easier for the casual or beginning user. Maybe I am missing something. Ideas welcome. regards Keith. ___ 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] Possible inconsistency in the use of paragraphs in ConTeXt
On 1/30/2013 10:00 AM, Keith J. Schultz wrote: Hi Everybody, Thank you for your help with the documentation. Inorder to teach myself ConTeXt I have to decided to write a learning by doing manual for ConTeXt. First off, I know I can get the formatting needed, by using defineparagraph and setupparagraphs, but then have I have to use start/stop-myparagraph, etc. . Well, I wanted format my normal paragraphs. Following, the standard way of doing things in ConTeX, as with headers and wanted to use setupparagraphs. The problem want is the name of the standard(default) paragraph. I have not found any. Is there a name for it. As example lets take I want to have a little space between my paragraph. MWE \setupwhitespace{medium] \startext paragraph 1 paragraph 1 \stoptext What I would like is to do: MNWE: \setuparagraphs[][][before={\setupwhitespace{medium]] %% or %% \setuparagraphs[][][before=\bigskip] \startext paragraph 1 paragraph 1 \stoptext In other words there is no way, that I can find to globally set standard paragraphs!! just say \setupwhitespace{medium] as the \setupparagraphs refers to a special mechanism (kind of table like that predates the tabulate mechanism) 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 ___
[NTG-context] Invisibile page numbers for TOC
Hi together, I use \completecontent for the TOC. How to deactivate the printing of the pagenumbers on TOC-pages? But they should be counted invisibely, so that the first text-page begins with the real page number. Best Regards Huseyin ___ 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] \goto links to figures are inactive
The following compiles in the latest beta standalone but with dead links to the Figure: \setupinteraction[state=start] \starttext \goto{Figure A}[fig:Figure.pdf] \goto{Text A}[TextA] \page \useexternalfigure[Graphic][Figure.pdf][] \placefigure [here,page,force,nonumber] [fig:Figure.pdf] {Figure A} {\externalfigure[Figure.pdf][type=pdf, width=\textwidth]} \reference[TextA]{} \input knuth \stoptext Any suggestions? Alan ___ 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] Invisibile page numbers for TOC
Am 30.01.2013 um 12:23 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi together, I use \completecontent for the TOC. How to deactivate the printing of the pagenumbers on TOC-pages? But they should be counted invisibely, so that the first text-page begins with the real page number. \startsectionblockenvironment[frontpart] \setuppagenumbering[location=] \stopsectionblockenvironment %\startsectionblockenvironment[bodypart] %\setcounter[userpage][1] %\stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} \stopbodymatter \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt
Hi, First I would like to ask not to change messages' subject if you want to see another point. Changing subject breaks the normal links of threads, further it becomes very difficult to find a message embedded in another subject. For a new subject create a new message/thread. I also search for documentation, especially to understand the philosophy of ConTeXt. I did find the thread From LaTeX to ConTeXt very interesting because, even if you do not know LaTeX, the steps to obtain certain results are well described, often in many steps more and more professional. Good ConTeXting, Alain Delmotte Le 30/01/2013 10:00, Keith J. Schultz a écrit : Hi Everybody, Thank you for your help with the documentation. Inorder to teach myself ConTeXt I have to decided to write a learning by doing manual for ConTeXt. First off, I know I can get the formatting needed, by using defineparagraph and setupparagraphs, but then have I have to use start/stop-myparagraph, etc. . Well, I wanted format my normal paragraphs. Following, the standard way of doing things in ConTeX, as with headers and wanted to use setupparagraphs. The problem want is the name of the standard(default) paragraph. I have not found any. Is there a name for it. As example lets take I want to have a little space between my paragraph. MWE \setupwhitespace{medium] \startext paragraph 1 paragraph 1 \stoptext What I would like is to do: MNWE: \setuparagraphs[][][before={\setupwhitespace{medium]] %% or %% \setuparagraphs[][][before=\bigskip] \startext paragraph 1 paragraph 1 \stoptext In other words there is no way, that I can find to globally set standard paragraphs!! The same goes for indenting of paragraphs. Yes, Yes there are the standard indenting commands. I feel though one should be able to use setupparagraphs for this. Also, it took me awhile to find the setupwhitespace command, because for me whitespace can be either horizontal or vertical. I think it would be better to rename it to setupparagraphspacing or something like that. Or at least define a synonym for it. This would make things easier for the casual or beginning user. Maybe I am missing something. Ideas welcome. regards Keith. ___ 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] Possible inconsistency in the use of paragraphs in ConTeXt
I forgot to give the link : http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt Alain Le 30/01/2013 16:07, Alain Delmotte a écrit : Hi, First I would like to ask not to change messages' subject if you want to see another point. Changing subject breaks the normal links of threads, further it becomes very difficult to find a message embedded in another subject. For a new subject create a new message/thread. I also search for documentation, especially to understand the philosophy of ConTeXt. I did find the thread From LaTeX to ConTeXt very interesting because, even if you do not know LaTeX, the steps to obtain certain results are well described, often in many steps more and more professional. Good ConTeXting, Alain Delmotte Le 30/01/2013 10:00, Keith J. Schultz a écrit : Hi Everybody, Thank you for your help with the documentation. Inorder to teach myself ConTeXt I have to decided to write a learning by doing manual for ConTeXt. First off, I know I can get the formatting needed, by using defineparagraph and setupparagraphs, but then have I have to use start/stop-myparagraph, etc. . Well, I wanted format my normal paragraphs. Following, the standard way of doing things in ConTeX, as with headers and wanted to use setupparagraphs. The problem want is the name of the standard(default) paragraph. I have not found any. Is there a name for it. As example lets take I want to have a little space between my paragraph. MWE \setupwhitespace{medium] \startext paragraph 1 paragraph 1 \stoptext What I would like is to do: MNWE: \setuparagraphs[][][before={\setupwhitespace{medium]] %% or %% \setuparagraphs[][][before=\bigskip] \startext paragraph 1 paragraph 1 \stoptext In other words there is no way, that I can find to globally set standard paragraphs!! The same goes for indenting of paragraphs. Yes, Yes there are the standard indenting commands. I feel though one should be able to use setupparagraphs for this. Also, it took me awhile to find the setupwhitespace command, because for me whitespace can be either horizontal or vertical. I think it would be better to rename it to setupparagraphspacing or something like that. Or at least define a synonym for it. This would make things easier for the casual or beginning user. Maybe I am missing something. Ideas welcome. regards Keith. ___ 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 ___ ___ 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] Multi-page textbackground ignores topoffset
Nicholas, Is there any way to get a multi-page textbackground to respect topoffset on each page? From the second page onwards, it leaves no offset at the top. I have the same problem. A small-not-so-good-hack would be to define a tiny backgroundoffset as well. This messes the layout a little... but you might think it is better then having no offset at all... André Caldas. ___ 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] Multi-page textbackground ignores topoffset
On 1/30/2013 6:25 PM, Andre Caldas wrote: Nicholas, Is there any way to get a multi-page textbackground to respect topoffset on each page? From the second page onwards, it leaves no offset at the top. I have the same problem. A small-not-so-good-hack would be to define a tiny backgroundoffset as well. This messes the layout a little... but you might think it is better then having no offset at all... injecting top of page spacing could mess up a lot of things ... ypu could play with topskip and such - 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] Scale argument for copypages broken
Hi, the scale argument for \copypages does not work any more in a recent beta: \starttext \copypages [cow] [scale=100] \stoptext Marco signature.asc Description: Digital 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 ___
Re: [NTG-context] Scale argument for copypages broken
Am 30.01.2013 um 18:58 schrieb Marco Patzer home...@lavabit.com: Hi, the scale argument for \copypages does not work any more in a recent beta: \starttext \copypages [cow] [scale=100] \stoptext \copypages[cow][][scale=100] Hans explained this change a while ago. 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 ___
Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt
Hi Alain, Am 30.01.2013 um 16:07 schrieb Alain Delmotte espera...@swing.be: Hi, First I would like to ask not to change messages' subject if you want to see another point. Changing subject breaks the normal links of threads, further it becomes very difficult to find a message embedded in another subject. For a new subject create a new message/thread. 1) I was not aware that in the headers that information of the message I hit the reply button on. 2) I would assume that e-mail clients and forums would be smart enough to check the subject like and react appropriately. At least my e-mail client handles these things gracefully. I also search for documentation, especially to understand the philosophy of ConTeXt. I did find the thread From LaTeX to ConTeXt very interesting because, even if you do not know LaTeX, the steps to obtain certain results are well described, often in many steps more and more professional. I have already seen these. My needs are more sophisiticated and I need programmers manuals and no such users manuals. Thanx regards Keioth. ___ 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] Possible inconsistency in the use of paragraphs in ConTeXt
On 01/30/2013 07:03 PM, Keith J. Schultz wrote: I have already seen these. My needs are more sophisiticated and I need programmers manuals and no such users manuals. Thanx regards Keioth. Wow. I think you misspelled your name. And the words thank you. And you may be too sophisticated for our humble mailing list. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Scale argument for copypages broken
On 2013–01–30 Wolfgang Schuster wrote: \copypages[cow][][scale=100] Hans explained this change a while ago. I found the thread. Thanks. Marco signature.asc Description: Digital 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 ___
Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt
On 2013–01–30 Keith J. Schultz wrote: First I would like to ask not to change messages' subject if you want to see another point. Changing subject breaks the normal links of threads, further it becomes very difficult to find a message embedded in another subject. For a new subject create a new message/thread. 1) I was not aware that in the headers that information of the message I hit the reply button on. There's a reason that mail clients provide two distinct features for “new mail” and “reply to”. A new mail creates a new thread and a reply to creates an “In-Reply-To:” header. 2) I would assume that e-mail clients and forums would be smart enough to check the subject like and react appropriately. You sent a message containing: In-Reply-To: 9cbfd630-fefd-4f75-9e3c-d6ba53b27...@web.de And that's exactly how email clients should display the message, as a reply to the message with the given Message-ID. It's totally valid to change the “Subject” line keeping the thread. An email client has no built-in crystal ball which could prophesy your intentions. At least my e-mail client handles these things gracefully. I would consider filing a bug report. Marco signature.asc Description: Digital 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 ___
Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt
Thomas, It's better not start such a discussion. When I was younger ( :-) ) I was reacting this way, so I understand, but this never helped!!! Regards to both, and, Keith, I'd like to see your programming manual when you have it ready. Alain Le 30/01/2013 19:13, Thomas A. Schmitz a écrit : On 01/30/2013 07:03 PM, Keith J. Schultz wrote: I have already seen these. My needs are more sophisiticated and I need programmers manuals and no such users manuals. Thanx regards Keioth. Wow. I think you misspelled your name. And the words thank you. And you may be too sophisticated for our humble mailing list. 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 : 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 ___
[NTG-context] Typesetting LibreOffice (ODT) documents with ConTeXt
I scoured the wiki and mailing-list without finding a definite answer. The most recent discussion I can find is from 2006 and at that time it was possible but nobody had yet developed the appropriate template, XSLT style-sheet, module or whatever to actually do it. For a number of reasons (including an absolute necessity to produce MS compatible .doc files) I need to maintain and write documents using LibreOffice Writer (or OO.org Writer) but the quality of the PDF files is, shall we say, not satisfactory. Exporting to LaTeX 2e is possible (and standard equipment in LO-W) but after using both for a while now, I vastly prefer ConTeXt. I could probably use something like the TEI tools to transform the ODT file to XHTML or TEI p5 and process that but I've found over many years such intermediate transformations have a lot of problems of their own. I don't need math support for /my/ work but I am sure others who do need it would like to follow the same route to great PDFs. Any solutions? -- Bill Meahan Westland, Michigan USA ___ 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] Typesetting LibreOffice (ODT) documents with ConTeXt
Hi Bill, On Wed, 30 Jan 2013 12:31:51 -0700, Bill Meahan subscribed_li...@meahan.net wrote: I scoured the wiki and mailing-list without finding a definite answer. The most recent discussion I can find is from 2006 and at that time it was possible but nobody had yet developed the appropriate template, XSLT style-sheet, module or whatever to actually do it. For a number of reasons (including an absolute necessity to produce MS compatible .doc files) I need to maintain and write documents using LibreOffice Writer (or OO.org Writer) but the quality of the PDF files is, shall we say, not satisfactory. Exporting to LaTeX 2e is possible (and standard equipment in LO-W) but after using both for a while now, I vastly prefer ConTeXt. I could probably use something like the TEI tools to transform the ODT file to XHTML or TEI p5 and process that but I've found over many years such intermediate transformations have a lot of problems of their own. I don't need math support for /my/ work but I am sure others who do need it would like to follow the same route to great PDFs. Have you considered using markdown/pandoc? You can either 1) convert odt to markdown, then markdown to context. Or better: 2) write in markdown and convert to odt/docx or context as needed (via pandoc). ConTeXt also has a markdown mode so you can also choose to process markdown directly in mkiv. Unless your typesetting needs are really complicated, 2) may be worth checking out. For simple academic work (e.g. journal articles) destined for a Word/docx workflow this is my preferred option. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] Typesetting LibreOffice (ODT) documents with ConTeXt
On 01/30/2013 02:45 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Have you considered using markdown/pandoc? You can either I appreciate the suggestion but it does not meet my needs. I currently use GNU Emacs and YASnippet. All my work-to-date is already in raw context which YASnippet and my snippet collection makes easier than Markdown. TEA and TextAdept and SCIte provided similar functionality. I am familiar with Markdown and don't like it in the least. Markup (whether Markdown, (X)HTML, textile, raw context or whatever) is still 1970's-style processing (we did roff/nroff/troff in those days). Part of the objective is to get away from plain-text + markup so I (and the other users) can get near-WYSIWYG processing and preview the documents as they are written. No doubt some fine-tuning would be required with a direct-to-ConTeXt method but it still has other advantages. Including making it possible for my wife to use it. :) She was an excellent social worker but her computer skills are quite wanting even after many years of my tutelage. An XSLT stylesheet would allow direct export of a document from LO-W which could then be be tweaked if necessary. -- Bill Meahan Westland, Michigan USA ___ 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] Possible inconsistency in the use of paragraphs in ConTeXt
Hi, Le 30/01/2013 19:49, Thomas A. Schmitz a écrit : On 01/30/2013 07:42 PM, Alain Delmotte wrote: Thomas, It's better not start such a discussion. When I was younger ( :-) ) I was reacting this way, so I understand, but this never helped!!! Regards to both, and, Keith, I'd like to see your programming manual when you have it ready. Alain OK, Alain, acknowledged. And I'm happy someone thinks I'm young - will turn 50 this year. Hu! Being 66 you are a kid :-) Alain 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 : 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] Possible inconsistency in the use of paragraphs in ConTeXt
Am 30.01.2013 um 10:00 schrieb Keith J. Schultz keithjschu...@web.de: Hi Everybody, Thank you for your help with the documentation. Inorder to teach myself ConTeXt I have to decided to write a learning by doing manual for ConTeXt. First off, I know I can get the formatting needed, by using defineparagraph and setupparagraphs, but then have I have to use start/stop-myparagraph, etc. . Well, I wanted format my normal paragraphs. Following, the standard way of doing things in ConTeX, as with headers and wanted to use setupparagraphs. The problem want is the name of the standard(default) paragraph. I have not found any. Is there a name for it. As example lets take I want to have a little space between my paragraph. MWE \setupwhitespace{medium] \startext paragraph 1 paragraph 1 \stoptext What I would like is to do: MNWE: \setuparagraphs[][][before={\setupwhitespace{medium]] %% or %% \setuparagraphs[][][before=\bigskip] \startext paragraph 1 paragraph 1 \stoptext In other words there is no way, that I can find to globally set standard paragraphs!! The same goes for indenting of paragraphs. Yes, Yes there are the standard indenting commands. I feel though one should be able to use setupparagraphs for this. Also, it took me awhile to find the setupwhitespace command, because for me whitespace can be either horizontal or vertical. I think it would be better to rename it to setupparagraphspacing or something like that. Or at least define a synonym for it. This would make things easier for the casual or beginning user. Which space do you mean in horizontal direction? Maybe I am missing something. Ideas welcome. The problem with the formatting of paragraphs is that TeX (the engine) has no big concept about paragraphs. When you want to change the font or color for a paragraph you have to change the values of the document with \setupbodyfont[…] or \setupcolors[textcolor=…]. For local changes for a certain paragraph you can apply these values in a group (to change the color you can just use \startcolor[…] … \stopcolor). ConTeXt provides also a paragraph environment but this add only tags when you export the document as XML or create a tagged PDF. The paragraphs (note the s) environment has a Hans already mentioned nothing to do with paragraphs, it just puts the content on columns where each column can con tai multiple paragraphs. The name for the environment is misleading because columns is already taken as name. 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 ___
Re: [NTG-context] Typesetting LibreOffice (ODT) documents with ConTeXt
On 30/01/13 20:45, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Bill, On Wed, 30 Jan 2013 12:31:51 -0700, Bill Meahan subscribed_li...@meahan.net wrote: I scoured the wiki and mailing-list without finding a definite answer. The most recent discussion I can find is from 2006 and at that time it was possible but nobody had yet developed the appropriate template, XSLT style-sheet, module or whatever to actually do it. For a number of reasons (including an absolute necessity to produce MS compatible .doc files) I need to maintain and write documents using LibreOffice Writer (or OO.org Writer) but the quality of the PDF files is, shall we say, not satisfactory. Exporting to LaTeX 2e is possible (and standard equipment in LO-W) but after using both for a while now, I vastly prefer ConTeXt. I could probably use something like the TEI tools to transform the ODT file to XHTML or TEI p5 and process that but I've found over many years such intermediate transformations have a lot of problems of their own. I don't need math support for /my/ work but I am sure others who do need it would like to follow the same route to great PDFs. Have you considered using markdown/pandoc? You can either pandoc would be the perfect tool for this purpose (one [extended markdown] source to generate them all), but it has some shortcomings. The most important limitation is that it doesn't allow language tagging. This isn't a problem if you don't mix languages (or you don't mind them wrong hyphenated). Another important issue is that pandoc is not able to mark blocks (or text spans) with identifiers or classes. In my opinion, these are the two most important issues that render pandoc a less-than-perfect tool to generate documents in different formats from a single source. Just in case it helps, Pablo -- http://www.ousia.tk ___ 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] Typesetting LibreOffice (ODT) documents with ConTeXt
On Wed, 30 Jan 2013, Bill Meahan wrote: An XSLT stylesheet would allow direct export of a document from LO-W which could then be be tweaked if necessary. Another option is to uncompress the odt file (IIUC, it is just a zip), and process it directly in ConTeXt (http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf). This approach is more flexible than XSLT stylesheets, but it ties you to ConTeXt (with XSLT, in principle, you can switch to other formats relatively easily). In essence it boils down to understanding the ODT XML Schema and figuring out the mapping to context commands. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Typesetting LibreOffice (ODT) documents with ConTeXt
Am 30.01.2013 um 22:12 schrieb Aditya Mahajan adit...@umich.edu: On Wed, 30 Jan 2013, Bill Meahan wrote: An XSLT stylesheet would allow direct export of a document from LO-W which could then be be tweaked if necessary. Another option is to uncompress the odt file (IIUC, it is just a zip), and process it directly in ConTeXt (http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf). ConTeXt is able to read from zip files. This approach is more flexible than XSLT stylesheets, but it ties you to ConTeXt (with XSLT, in principle, you can switch to other formats relatively easily). In essence it boils down to understanding the ODT XML Schema and figuring out the mapping to context commands. Hans posted a simple example to process odt files a few years ago. 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 ___
Re: [NTG-context] Typesetting LibreOffice (ODT) documents with ConTeXt
On 01/30/2013 10:12 PM, Aditya Mahajan wrote: On Wed, 30 Jan 2013, Bill Meahan wrote: An XSLT stylesheet would allow direct export of a document from LO-W which could then be be tweaked if necessary. Another option is to uncompress the odt file (IIUC, it is just a zip), and process it directly in ConTeXt (http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf). This approach is more flexible than XSLT stylesheets, but it ties you to ConTeXt (with XSLT, in principle, you can switch to other formats relatively easily). In essence it boils down to understanding the ODT XML Schema and figuring out the mapping to context commands. I am no expert here, but I have tried this approach a while ago when I was typesetting an edited volume. The authors sent me MS Word files, which I saved as OOO. But the xml in open office was just too messy to deal with. It doesn't provide logical structure, but tries to recreate the visual output, so you get dozens of different span type=this and span type=that elements which may be completely irrelevant. And whenever I thought I had figured out what some cryptic abbreviation (say, span font=T6) meant (italic), I then learnt that in the next document I opened, it may mean something completely different. I would be interested in finding a fully automated work flow, but I'm somewhat sceptical that it exists. And don't even think about round-trip conversion, I don't think this will be possible. Just my 2 cents. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Typesetting LibreOffice (ODT) documents with ConTeXt
On 01/30/2013 04:21 PM, Wolfgang Schuster wrote: ConTeXt is able to read from zip files. Hans posted a simple example to process odt files a few years ago. Wolfgang Hmm. Didn't show up when I used the list search. Perhaps I simply missed it, I'll look again. Thanks. -- Bill Meahan Westland, Michigan USA ___ 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] [***SPAM***] Re: Typesetting LibreOffice (ODT) documents with ConTeXt
On Wed, 30 Jan 2013 14:48:15 -0700, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On 01/30/2013 10:12 PM, Aditya Mahajan wrote: On Wed, 30 Jan 2013, Bill Meahan wrote: An XSLT stylesheet would allow direct export of a document from LO-W which could then be be tweaked if necessary. Another option is to uncompress the odt file (IIUC, it is just a zip), and process it directly in ConTeXt (http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf). This approach is more flexible than XSLT stylesheets, but it ties you to ConTeXt (with XSLT, in principle, you can switch to other formats relatively easily). In essence it boils down to understanding the ODT XML Schema and figuring out the mapping to context commands. Ah, it sounds so simple, doesn't it? :D I am no expert here, but I have tried this approach a while ago when I was typesetting an edited volume. The authors sent me MS Word files, which I saved as OOO. But the xml in open office was just too messy to deal with. It doesn't provide logical structure, but tries to recreate the visual output, so you get dozens of different span type=this and span type=that elements which may be completely irrelevant. And whenever I thought I had figured out what some cryptic abbreviation (say, span font=T6) meant (italic), I then learnt that in the next document I opened, it may mean something completely different. I would be interested in finding a fully automated work flow, but I'm somewhat sceptical that it exists. And don't even think about round-trip conversion, I don't think this will be possible. In light of years spent as the editor of an academic journal, with the corresponding pain involved in converting countless doc-file contributions to odt to context, I have to agree with Thomas. Of course Bill is apparently the author of the files he wishes to convert, so he can impose some structural discipline on his own odt work -- and perhaps teach his wife to write in the same style ;-) But in general odt is too much of a mess for my limited skills. And although Bill does not like it in the least I am not aware of a better cross-format solution than markdown/pandoc whenever I am forced to deal with M$-Word workflows and ConTeXt in my own writing. If I can go out on a limb: What Bill seems to want is a general WYSIWYG-ConTeXt solution. Generalizing Thomas's remark, I'm not sure that the word-processor paradigm is appropriate for such a thing (unless one is very disciplined in using the word processor). But a WYSIWYG structured layout processor like Framemaker (is there some free imitation out there?) may output xml that is more regular, predictable, and easier to map to ConTeXt than any M$-Word imitation. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] [***SPAM***] Re: Typesetting LibreOffice (ODT) documents with ConTeXt
On Wed, 30 Jan 2013, Idris Samawi Hamid ادريس سماوي حامد wrote: If I can go out on a limb: What Bill seems to want is a general WYSIWYG-ConTeXt solution. Generalizing Thomas's remark, I'm not sure that the word-processor paradigm is appropriate for such a thing (unless one is very disciplined in using the word processor). But a WYSIWYG structured layout processor like Framemaker (is there some free imitation out there?) may output xml that is more regular, predictable, and easier to map to ConTeXt than any M$-Word imitation. For a *simple* WYSIWYG solution, have a look at zim (http://zim-wiki.org/). It is a desktop wiki, but it has support for basic structure elements (headings, bold, italic, etc., lists, images, hyperlinks). It has a native text-based format, and exports to HTML/Markdown/ReST. So, if you do not need any fancy features (tables, footnotes, etc.), it may be a suitable WYSIWYG editor. I assume that the generated HTML is clean, and it should be easier to handle than ODT. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Typesetting LibreOffice (ODT) documents with ConTeXt
On 01/30/2013 05:13 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: But in general odt is too much of a mess for my limited skills. And although Bill does not like it in the least I am not aware of a better cross-format solution than markdown/pandoc whenever I am forced to deal with M$-Word workflows and ConTeXt in my own writing. Everybody has their own preferences. As one-time net.god Henry Spencer put it, The nice thing about standards is there are so many of them. If I can go out on a limb: What Bill seems to want is a general WYSIWYG-ConTeXt solution. Generalizing Thomas's remark, I'm not sure that the word-processor paradigm is appropriate for such a thing (unless one is very disciplined in using the word processor). But a WYSIWYG structured layout processor like Framemaker (is there some free imitation out there?) may output xml that is more regular, predictable, and easier to map to ConTeXt than any M$-Word imitation. Scribus (~InDesign) has an XML-based format, too but no direct conversion to M$-word. Doesn't look all that bad to me but I'm hardly an XML expert. At least it's free (beer and freedom). Sigil works directly on epub2 (XHTML+) but doesn't support epub3 (XHTML++) yet. TEI tools can convert odt - XHTML, epub2 epub3 and several others including LaTeX but not ConTeXt. How successfully is another question. I write fiction with an occasional stab at poetry (mostly as part of a fictional work) not academic papers so my considerations are somewhat different. The content and theme often require different typography and formatting on an individual book basis. (See Bringhurst) Sadly (and I really mean that) there are a couple of ebook publishers who /insist/ on submissions being in M$-Word format and then they will do the conversions to mobi, epub, fb2 and pdf themselves even if I can do a better job. Plus, most of my writer friends work in word processors which means that it is far easier to exchange manuscripts for proofing feedback is via the (ugh) .doc file. Best wishes Idris -- Bill Meahan Westland, Michigan USA ___ 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] Possible inconsistency in the use of paragraphs in ConTeXt
Hi Alain, If I bring it to fruition, I will offer it to the community. regards Keith Am 30.01.2013 um 19:42 schrieb Alain Delmotte espera...@swing.be: [snip, snip] Regards to both, and, Keith, I'd like to see your programming manual when you have it ready. ___ 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 ___