Enrole figuras flutuantes e hebraico

Enrole figuras flutuantes e hebraico

Estou tentando criar um wrap-float, mas mesmo que não haja nada no texto, não funcionará. Estou usando LyX 2.0.5.1. Este é o meu MWE:

% Preview source code

%% LyX 2.0.5.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,hebrew]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9,cp1255]{inputenc}
\usepackage{float}
\usepackage{wrapfig}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\AtBeginDocument{\make@lr\thetheorem}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{fullpage}
\usepackage{adjustbox}

\makeatother

\usepackage{babel}
\begin{document}
\begin{wrapfigure}{o}{0.5\columnwidth}%
\caption{}
\end{wrapfigure}%

שלום שלום

שלום שלום 

\end{document}

Então, mesmo sem nenhum texto, diz

\end{wrapfigure} % Encontrei um }' that doesn't seem to match anything. For example,\def\a#1{...}' e \a}' would produce this error. If you simply proceed now, the\par' que acabei de inserir me fará relatar um argumento descontrolado que pode ser a raiz do problema . Mas se você tiver }' was spurious, just type2 'e ele irá embora.

Responder1

você precisa de algum texto no parágrafo seguinte, wrapfigurecaso contrário não funcionará:

\begin{wrapfigure}{o}{0.5\columnwidth}%
\caption{}
\end{wrapfigure}%
Here we need some text so that this will be wrap around the image ...

Meu exemplo de trabalho precisa de xelatex:

\documentclass{article}
\usepackage{fontspec}
\usepackage{libertine}
\usepackage{wrapfig}
\usepackage{polyglossia}
\setmainlanguage{hebrew}
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\usepackage{adjustbox}

\begin{document}

\begin{wrapfigure}{o}{0.5\columnwidth}%
\caption{}
\end{wrapfigure}
הבסיס לכל הצורות המתקדמות יותר של פיתוח עברית הוא השפה של ספרי הקודש של היהודים, התנ"ך עברית, שמקורו בכתבי העת הראשונה אלף לפנה"ס נוצרו ונערך ברציפות והתרחב ולבסוף עוגן על ידי זמנו של ישו. (הישנה) עברית ולכן לעתים קרובות מזוהה עם המונח "עברית מקראית", אפילו אם זה מוצדק בלשנות פחות היסטורית, כמו היסטוריה של ספרות: עברית העתיקה כמו השפה התנ"ך. בתנ"ך, השפה שְׂפַת כְּנַעַן הוא השפת כנען ("שפת כנען, ישעיהו 19:18") נקראת. לאחר חורבן בית המקדש בירושלים על ידי נבוכדנצר השני ב586 לפנה"ס והגלות בבל שלאחר מכן, השפה הרשמית המקומית של ארמי הגיעה למחזור בקרב היהודים, ולכן מעתה ואילך עברית להתחרות על עמדה ארמי ונרשמה הרבה השפעות של זה.

\end{document}

insira a descrição da imagem aqui

informação relacionada