On 9/4/2013 7:55 PM, Thangalin wrote:
Hi.
of course we could alternatively export all as div
class=tag-subtag-... but i don't like that too much; html itself
is not rich enough for our purpose
What about giving developers the ability to change the destination
element? For example:
On 9/4/2013 9:51 PM, Mikoláš Štrajt wrote:
On 2013-09-04 Hans Hagen wrote:
first of all you need to switch to mkiv ... more change on tips and
solutions then
OK. I have switched to mkiv. What now about my head whitespace problems.
well, first provide a mkiv example ... less code than the
On Thu, 5 Sep 2013, Hans Hagen wrote:
On 9/4/2013 11:20 AM, Hans Hagen wrote:
you get a representation in xml indeed, but not verbatim, but as close
as possible to the genaric (parent) structure elements in context
probably the most straightforward xhtml export is file with only
div
On 9/5/2013 7:57 PM, Khaled Hosny wrote:
On Thu, Sep 05, 2013 at 09:57:59AM -0700, Thangalin wrote:
Hi,
div class=section ...
div class=... ...
div
/div
i.e. only divs and spans
I think that would be a more robust output format, technically, easier to
adapt, and more
On 9/5/2013 8:20 PM, Aditya Mahajan wrote:
The typical ConTeXt document has a lot of structure, and the XML export
generates a well structured XML output. That can be directly used in
most modern browsers that handle XML+CSS well. However, most (all?) EPUB
readers don't. So, the question is
On Thu, Sep 05, 2013 at 09:57:59AM -0700, Thangalin wrote:
Hi,
div class=section ...
div class=... ...
div
/div
i.e. only divs and spans
I think that would be a more robust output format, technically, easier to
adapt, and more readily conform to the strict XHTML
Am 05.09.2013 um 18:04 schrieb Xan dxpubl...@telefonica.net:
Hi,
I just want to include logo in headers:
When you have nested command where each takes brackets (e.g. \foo[\bar[…]]) you
have
to add curly braces around the inner command (e.g. \foo{\bar[…]}]). In your
case you need
to write
Am 05.09.2013 um 17:42 schrieb Xan dxpubl...@telefonica.net:
Hi,
I just want to define a shortcut for framedtexts...
That's it:
\def\important{\dodoubleempty\doimportant}
\def\doimportant[#1][#2]{\bgroup
\ifsecondargument
Le 05/09/2013 20:24, Hans Hagen a écrit :
On 9/5/2013 8:20 PM, Aditya Mahajan wrote:
The typical ConTeXt document has a lot of structure, and the XML export
generates a well structured XML output. That can be directly used in
most modern browsers that handle XML+CSS well. However, most (all?)
In a lengthy document, \underbar occasionally has no effect. From the wiki,
I have learned that this can be rectified using
\inframed[frame=off]{\underbar{….}}. The problem is that this only works
for short text: lengthy text, say a paragraph, gets printed as a single
line.
Is there a way (a
Hi,
I just want to define a shortcut for framedtexts...
That's it:
\def\important{\dodoubleempty\doimportant}
\def\doimportant[#1][#2]{\bgroup
\ifsecondargument
\startframedtext[background=#2,frame=off,width=broad]%
#1
\else
Hi,
\definebodyfontenvironment works for the concrete fontsize, thanks, Wolfgang.
But - even if I read the short documentation at the ctx-garden - I am still
a bit confused, eg:
\text[4.61pt] works automatically but \text[4.651pt] not, only with the
defining command, similarly behave
On Thu, 5 Sep 2013, Xan wrote:
\setupheadertexts[\externalfigure[logo-cepa-sud.png]][\pagenumber\ de \lastpage]
\setupheadertexts[{\externalfigure[logo-cepa-sud.png]}]
[\pagenumber\ de \lastpage]
Aditya
On 9/4/2013 11:20 AM, Hans Hagen wrote:
you get a representation in xml indeed, but not verbatim, but as close
as possible to the genaric (parent) structure elements in context
probably the most straightforward xhtml export is file with only
div class=section ...
div class=... ...
Hi,
I just want to include logo in headers:
%% ConTeXt template for exercises
%% ConTeXt MIV
%% Carregam símbols
\usesymbols[eur]
%% carregam les opcions d'entorn
\environment entorn-simple-estructurals
\environment entorn-simple-visuals
%% Capçaleres i peus
Hi,
div class=section ...
div class=... ...
div
/div
i.e. only divs and spans
I think that would be a more robust output format, technically, easier to
adapt, and more readily conform to the strict XHTML tag subset.
The other issue I encountered was this:
On Thu, 5 Sep 2013, honyk wrote:
On 2013-09-04 Thangalin wrote:
What needs to happen to take a minimal ConTeXt file (such as the
attached) to produce a minimum viable EPUB that:
It is always difficult to parse and further process not well structured
plain text without advanced semantics.
On 9/5/2013 7:22 PM, Aditya Mahajan wrote:
On Thu, 5 Sep 2013, Hans Hagen wrote:
On 9/4/2013 11:20 AM, Hans Hagen wrote:
you get a representation in xml indeed, but not verbatim, but as close
as possible to the genaric (parent) structure elements in context
probably the most
On 2013-09-04 Thangalin wrote:
What needs to happen to take a minimal ConTeXt file (such as the
attached) to produce a minimum viable EPUB that:
It is always difficult to parse and further process not well structured
plain text without advanced semantics. Garbage in, garbage out.
If you
I would like to adjust the margin for sections, subsections, etc. I came
across a suggestion that you can use setuphead with the beforesection and
aftersection options to do something like this, but I tried this with MKIV,
and beforesection and aftersection appear to have no effect (see the
Hi,
handle XML+CSS well. However, most (all?) EPUB readers don't. So, the
question is asking if instead ConTeXt could generate a XHTML
Precisely.
If you need both EPUB and PDF, start with a semantically rich XML
vocabulary, e.g. DocBook. In this case you can relatively easy transfrom
My
I'd say use an xml source (docbook, TEI, or DITA) and then write a ConTeXt
stylesheet to typeset your XML. See http://wiki.contextgarden.net/TEI_xml
I think that TEI-lite is a nice, very general XML vocabulary...
Best,
Mica
On Thu, Sep 5, 2013 at 11:24 AM, Hans Hagen pra...@wxs.nl wrote:
On
Thanks a lot, All of you for quick responses.
On Thu, 5 Sep 2013 18:04:36 +0200
Xan dxpubl...@telefonica.net ha escrit:
Hi,
I just want to include logo in headers:
%% ConTeXt template for exercises
%% ConTeXt MIV
%% Carregam símbols
\usesymbols[eur]
%% carregam les opcions
On Thu, 5 Sep 2013, Lance Larsen wrote:
I would like to adjust the margin for sections, subsections, etc. I came
across a suggestion that you can use setuphead with the beforesection and
aftersection options to do something like this, but I tried this with MKIV,
and beforesection and
24 matches
Mail list logo