Editing so that code should be compilable - I am listing all packages, to check for conflicts (but I don't think there should be any), and I am also leaving out the references so that you can compile without my .bib file, which shouldn't impact anything. I've commented out fontspec because it's there, but it chucked up an error with specified fonts, and you are either unlikely to have mine or they may be saved as something different.
I've tried a number of solutions, no luck. It's a very simple table (though I have more complicated ones elsewhere - I have gotten things to work before but I seem to have deleted the document, for another task).
%! TEX program = xelatex
\documentclass[a4paper, titlepage]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1,LGR]{fontenc}
%\usepackage{fontspec}
\usepackage[overlap, CJK]{ruby}
\usepackage{listings}
\usepackage[style=british]{csquotes}
\usepackage{xpatch}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{ot-tableau}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\usepackage[bibencoding=utf8, backend=biber, style=authoryear-icomp, language=british]{biblatex}
\usepackage{easylist}
\usepackage{hyperref}
\usepackage{memhfixc}
\usepackage[nameinlink,noabbrev,capitalize]{cleveref}
\usepackage[nonumberlist,style=tree,abbreviations,xindy,toc]{glossaries-extra}
\usepackage{blindtext}
\usepackage{cgloss4e}
\usepackage{enumerate}
\usepackage{longtable}
\usepackage{textgreek}
\usepackage{booktabs, siunitx}
\usepackage{tabulary}
\usepackage{multirow}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\usepackage{wrapfig}
\usepackage{chngcntr}
\usepackage{tablefootnote}
\usepackage[tableposition=above]{caption}
\usepackage{imakeidx}
\usepackage{xltxtra}
\usepackage{gb4e} %Ensure this is the last \usepackage
\sloppy
\begin{document}
\begin{table*}
\centering
\caption{Some of the events reported during muscular paralysis caused by curare injection.}
\begin{tabulary}{\textwidth}{ll}
\toprule
2:11 PM: & Curare injection administered over 15 minutes.\marginpar{All events are direct quotes or paraphrases of the original report.} \\
2:20: & Speech no longer possible. Can hear distinctly. Still able to nod head and move hands. \\
2:22: & Subject reports by movement of head that the experience is not unpleasant. \\
2:26: & Ability to comprehend and answer questions accurately is indicated by correctness of replies when inquiries are restated in the negative or double negative. \\
2:45: & Subject now unable to signal response to inquiries due to complete paralysis. \\
2:48: & Eyelids manually opened. Subject stated upon recovery that he was `clear as a bell' all this period. \\
4:50: & Subjects is able to sit up on edge of bed. Complete subjective report dictated. \\ \bottomrule
\end{tabulary}
\end{table*}
\end{document}
Thank you!
\begin{tabulary}{\textwidth}{lL}instead of\begin{tabulary}{\textwidth}{ll}? – leandriis Feb 21 '19 at 21:08\parencites[from][1-14]{smithbrowntomangoodman1947}[cited and adapted][18-19]{psylingtraxler}instead of the\mkbibparens{\cites[\nopp pp.]...}? (\nopp pp.in particular just looks odd.) – moewe Feb 21 '19 at 21:18TEX program = xelatexsuggests that you compile with XeLaTeX. But with XeLaTeX you should not loadinputencandfontenc(cf. https://tex.stackexchange.com/q/2984/). Note that with Western European languagespolyglossiaoffers little to no advantage overbabel(butbiblatexandcsquoteshave issues detecting language variants withpolyglossia), so I would recommendbabel.hyperrefandcleverefshould usually be loaded last. – moewe Feb 21 '19 at 21:31\marginparcommand in the table. You might want to consider loading themarginnotepackage and replace\marginpar{by\marginnote{. This will make the code compilable. Genreally, do not look at the output if you recieve an error message, but (try to) fix the error. – leandriis Feb 21 '19 at 21:31\begin{tabulary}{\textwidth}{ll}lcolumns are always single line, andtabularlyrequores paragraph columsn, useLLnotll– David Carlisle Feb 21 '19 at 21:33! LaTeX Error: Not in outer par mode.– David Carlisle Feb 21 '19 at 21:35\usepackage[T1,LGR]{fontenc}with xetex – David Carlisle Feb 21 '19 at 21:35LLbefore, which failed to print, as didlL. However, I have rearranged and cleaned my preamble as recommended by everyone, (except for keeping polyglossia - Should I load this third to last, or is there another recommendation for how to deal with the unusual requirement for it?) and the document now compiles, with the text wrapped. I'm happy to refiddle with it again later in case anyone is simply curious as to which exact issue it was.. – Kartöfluvofan Feb 21 '19 at 21:48babelis better thanpolyglossia. I can say thatpolyglossiadevelopment has effectively stalled and thatbabeldevelopment has been taken up again. Furthermore you seem to be in linguistics or a related field and so I assume you only need the foreign languages for short examples/glosses and don't want to localise your document in those languages. In that case I think a modernbabelshould be good enough. – moewe Feb 22 '19 at 08:03\begin{document}is missing error for babel.sty - I have circumnavigated it by moving babel to be loaded sooner, which has fixed the issue, but now I am getting issues with biblatex 'Patching footnotes failed. Footnote detection will not work.'I'll do some fiddling later, but I guessed you might immediately know of a cause.
– Kartöfluvofan Feb 24 '19 at 17:15