ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: \overline and \overbar
Date: Wed, 10 May 2017 14:54:13 +0900	[thread overview]
Message-ID: <07B80C30-51E1-492D-B065-2192E09A6250@me.com> (raw)
In-Reply-To: <mailman.1.1494324001.401.ntg-context@ntg.nl>

Dear all,

In the following sample, the outputs of \overline and of \overbar are slightly different.
I used \overline in LaTeX. 
But  it takes more vertical space that cause the alignment trouble while using \overbar has no problem at all.
Is it normal behavior? 

Thank you.

Best regards,

Dalyoung

%%%%%%%%
\starttext
\startitemize[n]
\item Which is true?

	\startitemize[n, packed, columns, two][stopper=,left=(, right=)]
	\item $\overline{A} = A \cup A^\circ$
	\item $\overline{A\cup B} = \overline{A} \cup \overline{B}$
	\item If $A \subset B$ then $\overline{B} \subset \overline{A}$
	\item $A\cup A'$ is an open set.
	\stopitemize
	
\item Which is true?

	\startitemize[n, packed, columns, two][stopper=,left=(, right=)]
	\item $\overbar{A} = A \cup A^\circ$
	\item If $A \subset B$ then $\overbar{B} \subset \overbar{A}$
	\item $\overbar{A\cup B} = \overbar{A} \cup \overbar{B}$
	\item $A\cup A'$ is an open set.
	\stopitemize

\stopitemize

\stoptext


> 2017. 5. 9. 오후 7:00, ntg-context-request@ntg.nl 작성:
> 
> Send ntg-context mailing list submissions to
> 	ntg-context@ntg.nl
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mailman.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
> 	ntg-context-request@ntg.nl
> 
> You can reach the person managing the list at
> 	ntg-context-owner@ntg.nl
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: BUG: % is comment in btx fields (Henri Menke)
>   2. Re: BUG: % is comment in btx fields (Rik Kabel)
>   3. Re: BUG: % is comment in btx fields (Ulrike Fischer)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 09 May 2017 13:40:55 +1200
> From: Henri Menke <henrimenke@gmail.com>
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] BUG: % is comment in btx fields
> Message-ID: <1494294055.19890.36.camel@gmail.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> On Mon, 2017-05-08 at 20:15 -0400, Rik Kabel wrote:
>> On 2017-05-08 17:44, Henri Menke wrote:
>>> Dear list,
>>> 
>>> The percent character in btx field is taken as a comment characters
>>> which leads to the rest of the field being discarded.  In the MWE
>>> below, the URL is cut off at the % sign and everything after it is
>>> lost.
>>> 
>>> Cheers, Henri
>>> 
>>> 
>>> ---
>>> 
>>> 
>>> \startbuffer[references]
>>> @misc{kraft,
>>>   author = "Kraft, Nathan",
>>>   title = "Mr Kraft's Virtual Filing Cabinet",
>>>   year = "2015",
>>>   url = "http://mrkraft.wikispaces.com/Mr+Kraft%27s+Virtual+Filing+
>>> Cabi
>>> net"
>>> }
>>> \stopbuffer
>>> 
>>> \usebtxdataset[references.buffer]
>>> \usebtxdefinitions[apa]
>>> 
>>> \starttext
>>> 
>>> \nocite[kraft]
>>> \placelistofpublications
>>> 
>>> \stoptext
>>  The bibtex entry in this example is provided in a buffer. The buffer
>> mechanism does not handle characters any differently than other text
>> in the file, and % in a ConTeXt buffer has to be escaped if it does
>> not signify a comment.
> 
> That is simply not true!  Content inside ConTeXt buffers is as verbatim
> as reading an external file.  Try \typebuffer instead of \getbuffer
> your example below and observe that the comment sign is perfectly
> preserved.
> 
>> If you specify an external (.bib or .bibtex) file to supply the
>> data,  % does not need to be escaped. So, this part is simple user
>> error.
>> (With
>> \starttext
>> \startbuffer
>>   abc%def
>> 
>>   ghi\%jkl
>> \stopbuffer
>> \getbuffer
>> \stoptext
>> you do not get %def in the output. Why do you expect different
>> behavior if the buffer holds a bibtex entry?)
>> 
>> The way hyphenatedurl handles things may well be worthy of
>> improvement.
>> 
>> -- 
>> Rik
>> _____________________________________________________________________
>> ______________
>> 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/nt
>> g-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : http://contextgarden.net
>> _____________________________________________________________________
>> ______________
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 8 May 2017 21:48:58 -0400
> From: Rik Kabel <context@rik.users.panix.com>
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] BUG: % is comment in btx fields
> Message-ID: <7afe4404-fd96-e7b6-7188-deb8d778ec75@rik.users.panix.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> On 2017-05-08 21:40, Henri Menke wrote:
>> 
>> That is simply not true!  Content inside ConTeXt buffers is as verbatim
>> as reading an external file.  Try \typebuffer instead of \getbuffer
>> your example below and observe that the comment sign is perfectly
>> preserved.
>> 
> I am sorry. You are, of course, correct, and I use both, so should know 
> better.
> 
> 
> -- 
> Rik
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 9 May 2017 11:19:46 +0200
> From: Ulrike Fischer <news3@nililand.de>
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] BUG: % is comment in btx fields
> Message-ID: <19so48cp6cn6u.dlg@nililand.de>
> Content-Type: text/plain; charset="us-ascii"
> 
> Am Mon, 8 May 2017 17:56:08 -0600 schrieb Alan Braslau:
> 
>> So bibtex has a funny way of dealing with comments, and do we really
>> care about Scribe?
> 
> biber handles comments differently than bibtex, see e.g.
> https://tex.stackexchange.com/questions/261261/are-comments-discouraged-in-a-bibtex-file
> 
> As a thumbrule one can sum the rule up that *inside* field text
> comment chars should be input according the tex rule for the field
> *type*. That means that normal textfields should use \%, while url's
> and other verbatim-like field can use %.
> 
> 
> 
>> We made the choice NOT to remain *strictly* bibtex
>> compatible, after all bibtex is limited to ASCII 7-bit!
> 
> That's not true bibtex has no real problem with 8-bit-encodings, and
> works even quite often quite good with utf8 (when you don't try to
> use at places where it can be broken into parts.
> 
> 
> 
> 
> -- 
> Ulrike Fischer 
> http://www.troubleshooting-tex.de/
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 
> ------------------------------
> 
> End of ntg-context Digest, Vol 155, Issue 16
> ********************************************

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

       reply	other threads:[~2017-05-10  5:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1494324001.401.ntg-context@ntg.nl>
2017-05-10  5:54 ` Jeong Dal [this message]
2017-05-10  9:48   ` Henri Menke
     [not found] <mailman.1.1494410401.14939.ntg-context@ntg.nl>
2017-05-10 15:53 ` Jeong Dal
     [not found] <mailman.1.1494496801.7592.ntg-context@ntg.nl>
2017-05-18 13:32 ` Jeong Dal

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=07B80C30-51E1-492D-B065-2192E09A6250@me.com \
    --to=haksan@me.com \
    --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).