ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: tagging heads and empty output
Date: Sat, 28 Mar 2015 07:34:32 -0600	[thread overview]
Message-ID: <op.xv7mnu13fkrasx@ishamid-pc> (raw)

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

Dear gang,
Two issues:

1. What is the proper way to tag heads in itemize? I do

==========
\startitemize[n]
\starthead {Head 1}

Test 1
\stophead
\starthead {Head 2}

Test 2
\stophead
\stopitemize
==========

but {Head 1} and {Head 2} are not tagged in the output *div.html. Is there  
a special tagging command for the heads?

2. In a browser, everything within a <div class="itemgroup itemize level-1  
symbol-n"> etc is ignored (tried different browers); nothing shows up at  
all, so nothing to tweak in css.

==============
  <div class="itemgroup itemize level-1 symbol-n">
   <div class="item">
    <div class="itemtag">1.</div>
    <div class="itemcontent">Head 1     <div  
class="break"><!--empty--></div>
Test 1</div>
   </div>
   <div class="item">
    <div class="itemtag">2.</div>
    <div class="itemcontent">Head 2     <div  
class="break"><!--empty--></div>
Test 2</div>
   </div>
  </div>
==============

Is there something wrong with context's xhtml output? test files attached  
and

Best wishes
Idris
-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523

[-- Attachment #2: test-itemize-export-div.xhtml --]
[-- Type: application/xhtml+xml, Size: 1263 bytes --]

[-- Attachment #3: test-itemize-export.tex --]
[-- Type: application/x-tex, Size: 226 bytes --]

[-- Attachment #4: itemize.css --]
[-- Type: text/css, Size: 266 bytes --]

/*

	author    : Idris Samawi Hamid (derived from Hans Hagen's example-export.css)
	copyright : 
	license   : 
	comment   : 

*/

/* ignore  : mixed   */
/* metadata: display */



body {
	font-family: "TeXGyreSchola", "DejaVu Serif", "Lucida Bright", serif ;
}



 

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2015-03-28 13:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-28 13:34 Idris Samawi Hamid ادريس سماوي حامد [this message]
2015-03-28 21:12 ` Idris Samawi Hamid ادريس سماوي حامد
2015-03-28 22:17   ` Hans Hagen
2015-04-03 18:59     ` Idris Samawi Hamid ادريس سماوي حامد
2015-04-08 16:18       ` Hans Hagen
2015-04-10 23:17         ` Idris Samawi Hamid ادريس سماوي حامد

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.xv7mnu13fkrasx@ishamid-pc \
    --to=ishamid@colostate.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).