Re: [XeTeX] Missing char, missing footnote

2011-10-12 Thread Heiko Oberdiek
On Wed, Oct 12, 2011 at 12:02:21PM +1100, Vafa Khalighi wrote:

 Without floating environment \caption will not work. There are tricks

Provided in the minimal package `capt-of'. The feature is also available
in the maximal package `caption'.

The danger in mixing floats and non-floats is that the numbering
might get out of order, because the floating algorithm does not know
about the non-floats.

Yours sincerely
  Heiko Oberdiek


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote

2011-10-12 Thread Tobias Schoel

Am 11.10.2011 23:19, schrieb Zdenek Wagner:

2011/10/11 Tobias Schoelliesdieda...@googlemail.com:



Am 11.10.2011 21:20, schrieb Karljurgen Feuerherm:


Hello Ross,


On Tue, Oct 11, 2011 at  3:15 PM, in message



(2) The footnote has vanished. I suppose that means footnotes aren't


legal


in tables of this type... Can someone suggest a solution to this?

The footnote occurs within a floating table. Which page should it go


onto?


Put the {tabular} into a {minipage}, then the footnote will be tied


to that.

Ok--will try that.


Also, why declare the {table} inside the {enumerate} list, when you


know


that it will float to elsewhere? It probably works OK, but it makes


your


LaTeX source harder to read and thus complicates any later editing


that you


may need to do.


Well--ideally I don't really want it to float, I want it *right there*.
I'm still learning the finer points of these things, but I see your
point :)


If you don't want it to float, don't use a floating environment like
\begin{table}. Just leave it out. (And think twice about centering the
tabular.)


Without floating environment \caption will not work. There are tricks
how to do it but imagine what happens if there is no space for the
whole table on the page. You will have to invent some additional text
above the itemization list in order to put a few items and the table
to the next page. Just one item plus the table would look very ugly.
Do you really want to do that? I would rather think a bit more about
the document structure.


I don't know, what functionality of captions you need. For only text 
below (or above) the tabular, there are simple methods such as 
multicolumn or a surrounding tabular or a minipage / parbox.


For more specific functionality you should really think about what the 
purpose and structure of this table in this document are. Maybe, letting 
it flow is better suited.


Generally speaking: before forcing LaTeX to do something, it doesn't 
naturally support, think about adapting to LaTeX's way.






ciao

Toscho



Thanks!

K


--
Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex








--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote

2011-10-12 Thread Zdenek Wagner
2011/10/12 Tobias Schoel liesdieda...@googlemail.com:
 Am 11.10.2011 23:19, schrieb Zdenek Wagner:

 2011/10/11 Tobias Schoelliesdieda...@googlemail.com:


 Am 11.10.2011 21:20, schrieb Karljurgen Feuerherm:

 Hello Ross,

 On Tue, Oct 11, 2011 at  3:15 PM, in message

 (2) The footnote has vanished. I suppose that means footnotes aren't

 legal

 in tables of this type... Can someone suggest a solution to this?

 The footnote occurs within a floating table. Which page should it go

 onto?

 Put the {tabular} into a {minipage}, then the footnote will be tied

 to that.

 Ok--will try that.

 Also, why declare the {table} inside the {enumerate} list, when you

 know

 that it will float to elsewhere? It probably works OK, but it makes

 your

 LaTeX source harder to read and thus complicates any later editing

 that you

 may need to do.

 Well--ideally I don't really want it to float, I want it *right there*.
 I'm still learning the finer points of these things, but I see your
 point :)

 If you don't want it to float, don't use a floating environment like
 \begin{table}. Just leave it out. (And think twice about centering the
 tabular.)

 Without floating environment \caption will not work. There are tricks
 how to do it but imagine what happens if there is no space for the
 whole table on the page. You will have to invent some additional text
 above the itemization list in order to put a few items and the table
 to the next page. Just one item plus the table would look very ugly.
 Do you really want to do that? I would rather think a bit more about
 the document structure.

 I don't know, what functionality of captions you need. For only text below
 (or above) the tabular, there are simple methods such as multicolumn or a
 surrounding tabular or a minipage / parbox.

 For more specific functionality you should really think about what the
 purpose and structure of this table in this document are. Maybe, letting it
 flow is better suited.

The purpose of \caption is not only to typeset the caption but also
display the number, add the caption to the list of tables (figures)
and allow for cross references. It is defined in the floating
environments only. If you want to have this functionality outside
floating environments, you must cheat LaTeX. Vafa wrote the solution.

 Generally speaking: before forcing LaTeX to do something, it doesn't
 naturally support, think about adapting to LaTeX's way.



 ciao

 Toscho


 Thanks!

 K


 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex


 --
 Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex






 --
 Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex




-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote

2011-10-12 Thread Karljurgen Feuerherm
Thank-you to all for the various options, which I plan to pursue, but
have not yet been able to do. Much appreciated.

Zdenek points to the crux of the matter: since I want the label to
appear in a list of tables, it makes sense to use a table, and make a
few adjustments.

In general, algorithms, being finite, will never do everything the way
one would like them all the time--some times it requires intervention.
The real question is when to intervene and how, not whether to do so.
After all, every extension package at some level offers some
functionality that original (Xe(La(TeX))) wasn't set up for, and so is
doing things other than what was 'originally' natural!

BTW I found the missing character problem. Apparently TeXShop was
picking it up from elsewhere, and that my font was an old version. Once
I put the correct one in place, the problem vanished.

K

 On Wed, Oct 12, 2011 at  5:32 PM, in message
CAC1phyaB3GZs-LO0Urie35Ocw0L4FD3dsRqvSoF8g=tkffb...@mail.gmail.com,
Zdenek
Wagner zdenek.wag...@gmail.com wrote:

 I don't know, what functionality of captions you need. For only text
below
 (or above) the tabular, there are simple methods such as multicolumn
or a
 surrounding tabular or a minipage / parbox.

 For more specific functionality you should really think about what
the
 purpose and structure of this table in this document are. Maybe,
letting it
 flow is better suited.

 The purpose of \caption is not only to typeset the caption but also
 display the number, add the caption to the list of tables (figures)
 and allow for cross references. It is defined in the floating
 environments only. If you want to have this functionality outside
 floating environments, you must cheat LaTeX. Vafa wrote the
solution.

 Generally speaking: before forcing LaTeX to do something, it
doesn't
 naturally support, think about adapting to LaTeX's way.



 ciao

 Toscho


 Thanks!

 K


 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex


 --
 Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex






 --
 Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex






--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote

2011-10-11 Thread Ross Moore
Hello Karljurgen,

Sent from my iPad

On 12/10/2011, at 5:42 AM, Karljurgen Feuerherm kfeuerh...@wlu.ca wrote:

 Hello,
 
 (1) I have a font into which I have inserted cuneiform characters (U+12000 
 range). In my TeXShop source, all my characters display fine. But when I 
 compile, one of them comes out as a box (see the line in the table beginning 
 with IG). Can anyone tell me what is happening?

Don't know about specifics for your font.

 
 (2) The footnote has vanished. I suppose that means footnotes aren't legal in 
 tables of this type... Can someone suggest a solution to this?

The footnote occurs within a floating table. Which page should it go onto?
Put the {tabular} into a {minipage}, then the footnote will be tied to that.

Also, why declare the {table} inside the {enumerate} list, when you know that 
it will float to elsewhere? It probably works OK, but it makes your LaTeX 
source harder to read and thus complicates any later editing that you may need 
to do.


 
 Many thanks for whatever help anyone can offer! Source follows, font is 
 attached.
 
 Best wishes,
 
 KF

Hope this helps.

 Ross


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote (source attached)

2011-10-11 Thread Karljurgen Feuerherm
Sigh. When I emailed it, all the characters were visible in the email, but I 
see that by the time my post got here, they'd been stripped. So this time, I've 
attached the source.

Sorry 'bout that!

KF


Karljürgen G. Feuerherm, PhD
Undergraduate Advisor
Department of Archaeology and Classical Studies
Wilfrid Laurier University
75 University Avenue West
Waterloo, Ontario N2L 3C5
Tel. (519) 884-1970 x3193
Fax (519) 883-0991 (ATTN Arch.  Classics)




 On Tue, Oct 11, 2011 at  2:42 PM, in message 4e9455bb.94ab.00c...@wlu.ca,
Karljurgen Feuerherm kfeuerh...@wlu.ca wrote: 
 Hello,
 
 (1) I have a font into which I have inserted cuneiform characters (U+12000 
 range). In my TeXShop source, all my characters display fine. But when I 
 compile, one of them comes out as a box (see the line in the table beginning 
 with IG). Can anyone tell me what is happening?
 
 (2) The footnote has vanished. I suppose that means footnotes aren't legal 
 in tables of this type... Can someone suggest a solution to this?
 
 Many thanks for whatever help anyone can offer! Source follows, font is 
 attached.
 
 Best wishes,
 
 KF
 ---
 \documentclass[12pt,letterpaper,twoside]{book}
 
 \usepackage{fontspec,xltxtra}
 \usepackage{geometry}
 \usepackage[normalem]{ulem}
 \usepackage{sectsty}
 \usepackage{graphics}
 \usepackage{tikz-qtree}
 \usetikzlibrary{positioning}
 \newcommand{\lfam}[1]{\textsc{#1}}
 \usepackage{rotating}
 \usepackage{xstring}
 \usepackage{url}
 \usepackage{multirow}
 \usepackage{multicol}
 \usepackage{supertabular}
 \usepackage{graphicx}
 
 \geometry{letterpaper}
 % FONTS
 \defaultfontfeatures{Mapping=tex-text}
 \setromanfont [Ligatures={Common}]{Linux Libertine}
 \setsansfont[Scale=MatchLowercase]{Linux Biolinum}
 % Set up for Akkadian
 \newfont{\obl}{OldBab KF at 24 pt}
 \newfont{\ob}{OldBab KF}
 \newfont{\obm}{OldBab KF at 18pt}
 
 \newcommand{\bktitle}[1]{\textit{#1}}
 \newcommand{\fakesc}[1]{{\addfontfeatures{FakeStretch=1.1092,FakeBold=1.0,Sc
 ale=0.71}\MakeUppercase{#1}}}
 \newcommand{\akk}[1]{{\sffamily\textit{#1}}}
 \newcommand{\smn}[1]{{\sffamily\fakesc{#1}}}
 \newcommand{\dtm}[1]{{\sffamily\fakesuperscript{#1}}}
 \newcommand{\csign}[1]{{\sffamily\uppercase{#1}}}
 \newcommand{\tabref}[1]{Table~\ref{#1}}
 
 \makeindex
 
 \begin{document}
   \chapter{Chapter}
   \section*{Exercises}
   \begin{enumerate}
   \item Learn the cuneiform characters, names, 
 and interpretations in 
 \tabref{cunlist04}.
   \begin{table}
   \begin{center}
   
 \begin{tabular}[t]{|l|l|p{0.75in}|p{1.5in}|p{1.5in}|}
   \hline
   Name  
 Frequency  Sign  Syllabic Readings  Logographic Readings \\
   \hline
   \csign{am}  33 
  {\obm{}}  \akk{am}~(33)  \\
   \hline
   \csign{ib}  30 
  {\obm{}}  \akk{ip}~(14), \akk{ib}~(10), \akk{ep}~(5), 
 \akk{eb}~(1)   \\
   \hline
   \csign{bad}  
 29  {\obm{}}   \akk{be}~(29) \\
   \hline
   \csign{iš}  29 
   {\obm{}}  \akk{iš}~(29)  \\
   \hline
   \csign{ir}  28 
   {\obm{}}  \akk{ir}~(15), \akk{er}~(13)  \\
   \hline
   \csign{el}  28 
   {\obm{}}  \akk{el}~(28)  \\
   \hline
   \csign{še}  27 
   {\obm{}}  \akk{še}~(7)  
 \smn{še}~=~\akk{šeʾum}\footnote{There is
   some 
 evidence to suggest that the reading of \smn{še} is actually \akk{ûm}, 
 but the
   
 preference of \bktitle{CDA} has been followed here.}\\
   \hline
   \csign{ul}  27 
   {\obm{}}  \akk{ul}~(27)  \\
   \hline
   \csign{ig}  26 
   {\obm{}}  \akk{ik}~(15), \akk{iq}~(10), \akk{ig}~(1)  
 

Re: [XeTeX] Missing char, missing footnote

2011-10-11 Thread Karljurgen Feuerherm
Hello Ross,

 On Tue, Oct 11, 2011 at  3:15 PM, in message

 (2) The footnote has vanished. I suppose that means footnotes aren't
legal
 in tables of this type... Can someone suggest a solution to this?

 The footnote occurs within a floating table. Which page should it go
onto?
 Put the {tabular} into a {minipage}, then the footnote will be tied
to that.

Ok--will try that.

 Also, why declare the {table} inside the {enumerate} list, when you
know
 that it will float to elsewhere? It probably works OK, but it makes
your
 LaTeX source harder to read and thus complicates any later editing
that you
 may need to do.

Well--ideally I don't really want it to float, I want it *right there*.
I'm still learning the finer points of these things, but I see your
point :)

Thanks!

K


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote

2011-10-11 Thread Tobias Schoel



Am 11.10.2011 21:20, schrieb Karljurgen Feuerherm:

Hello Ross,


On Tue, Oct 11, 2011 at  3:15 PM, in message



(2) The footnote has vanished. I suppose that means footnotes aren't

legal

in tables of this type... Can someone suggest a solution to this?

The footnote occurs within a floating table. Which page should it go

onto?

Put the {tabular} into a {minipage}, then the footnote will be tied

to that.

Ok--will try that.


Also, why declare the {table} inside the {enumerate} list, when you

know

that it will float to elsewhere? It probably works OK, but it makes

your

LaTeX source harder to read and thus complicates any later editing

that you

may need to do.


Well--ideally I don't really want it to float, I want it *right there*.
I'm still learning the finer points of these things, but I see your
point :)


If you don't want it to float, don't use a floating environment like 
\begin{table}. Just leave it out. (And think twice about centering the 
tabular.)


ciao

Toscho



Thanks!

K


--
Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex



--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote

2011-10-11 Thread Zdenek Wagner
2011/10/11 Tobias Schoel liesdieda...@googlemail.com:


 Am 11.10.2011 21:20, schrieb Karljurgen Feuerherm:

 Hello Ross,

 On Tue, Oct 11, 2011 at  3:15 PM, in message

 (2) The footnote has vanished. I suppose that means footnotes aren't

 legal

 in tables of this type... Can someone suggest a solution to this?

 The footnote occurs within a floating table. Which page should it go

 onto?

 Put the {tabular} into a {minipage}, then the footnote will be tied

 to that.

 Ok--will try that.

 Also, why declare the {table} inside the {enumerate} list, when you

 know

 that it will float to elsewhere? It probably works OK, but it makes

 your

 LaTeX source harder to read and thus complicates any later editing

 that you

 may need to do.

 Well--ideally I don't really want it to float, I want it *right there*.
 I'm still learning the finer points of these things, but I see your
 point :)

 If you don't want it to float, don't use a floating environment like
 \begin{table}. Just leave it out. (And think twice about centering the
 tabular.)

Without floating environment \caption will not work. There are tricks
how to do it but imagine what happens if there is no space for the
whole table on the page. You will have to invent some additional text
above the itemization list in order to put a few items and the table
to the next page. Just one item plus the table would look very ugly.
Do you really want to do that? I would rather think a bit more about
the document structure.

 ciao

 Toscho


 Thanks!

 K


 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex


 --
 Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex




-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote

2011-10-11 Thread Vafa Khalighi
Without floating environment \caption will not work. There are tricks

 how to do it but imagine what happens if there is no space for the
 whole table on the page. You will have to invent some additional text
 above the itemization list in order to put a few items and the table
 to the next page. Just one item plus the table would look very ugly.
 Do you really want to do that? I would rather think a bit more about
 the document structure.


\begingroup%
  \makeatletter
  \def\@captype{table}%
  \makeatother
  \caption{This is a table.}%
\endgroup%


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Missing char, missing footnote

2011-10-11 Thread Vafa Khalighi

 The footnote occurs within a floating table. Which page should it go onto?
 Put the {tabular} into a {minipage}, then the footnote will be tied to
 that.


better use ftnxtra package: http://ctan.org/pkg/ftnxtra


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex