Как установить направление текста в слове 2010 справа налево для таких языков, как иврит или арабский, при копировании / вставке?

50536
mahmood

В Office Word 2010, когда я хочу создать новый стиль, в разделе абзаца направление ( left-to-rightи right-to-left) отключено. Могу ли я изменить направление тогда?

Добавлено для Махмуда Махмуда, если это не относится к вам, тогда отбросьте вопрос обратно.

Махмуд сказал, что он установил язык. Вероятно, он имеет в виду проблему при копировании / вставке. как тогда видно, он выходит не так, и, возможно, захочет выбрать абзац и искать варианты слева направо или справа налево. Эта проблема не существует для его ввода. Но есть проблема для копирования / вставки.

Даже у Technet нет решения этой проблемы.

http://social.technet.microsoft.com/Forums/en-US/word/thread/d38abe4d-bd53-4b18-bfee-e92633ad4df5

Использование иврита в качестве примера для демонстрации проблемы, с которой сталкивается Махмуд.

Я добавил язык справа налево и выбрал его. Например, предположим, что я хочу скопировать и вставить этот текст с этой веб-страницы.

http://www.mechon-mamre.org/i/t/t0.htm תורה נביאים וכתובים

Правильно ли выровнено это или нет, но так оно и должно выглядеть. Первые четыре буквы этого предложения תורה должны быть справа от предложения. И он отображается правильно на суперпользователе и на этом сайте mechon-mamre, когда отображается в браузере, например, Chrome. Длинное слово וכתובים должно быть слева от трех слов, потому что это последнее слово.

Если добавить и выбрать иврит или арабский язык в качестве языка. И я буду использовать иврит для примера

Как установить направление текста в слове 2010 справа налево для таких языков, как иврит или арабский, при копировании / вставке?

При выравнивании по левому или правому краю первое слово תורה, которое должно появиться в крайнем правом углу (как и в языке справа налево, первое слово находится в крайнем правом углу), оно не появляется в крайнем правом углу, оно появляется на слева, в MS Word 2010

Я добавил несколько кнопок, чтобы попытаться решить эту проблему.

Файл .. Опции .. Настроить ленту. Выберите «все команды» в первом выпадающем меню. я выбрал «новую группу» в правой части и добавил 3 команды, связанные справа и слева. Как установить направление текста в слове 2010 справа налево для таких языков, как иврит или арабский, при копировании / вставке?

Они появляются на моей ленте в Ms Word.

И, как вы можете видеть, я добавил язык, как вы видите из моей панели задач.

Но Ms Word 2010 не позволяет мне сделать это справа налево.

По словам госпожи MVP, эта проблема еще не решена http://social.technet.microsoft.com/Forums/en-US/word/thread/d38abe4d-bd53-4b18-bfee-e92633ad4df5

Как установить направление текста в слове 2010 справа налево для таких языков, как иврит или арабский, при копировании / вставке?

2

4 ответа на вопрос

0
Nicole Hamilton

From the Microsoft article, "Right-to-left language features":

If you are using Windows Vista or Windows 7, before you can use any of the right-to-left features in Microsoft Office, or even correctly display right-to-left scripts, you must Add an input language and enable the keyboard layout for the right-to-left language.

да уже включено mahmood 11 лет назад 0
0
terdon

I can't test it I'm afraid but I strongly believe the solution is here:

If your computer doesn’t have a right-to-left language version of Office installed, you will need to install the appropriate language pack. You must also be running a Microsoft Windows operating system that has right-to-left support— for example, the Arabic version of Windows Vista Service Pack 2 — and enable the keyboard language for the right-to-left language that you want to use.

0
barlop

There are two things to do.

This is besides installing the language.. and if even necessary, adding the extra buttons to word as done in the question, (perhaps not adding the keyboard/language can be a cause) but even with the language added, the problem does or can still occur, and doing the following resolves it.

Update - It does look like when doing step 1 (which I recommend is done), then while you can use <pre> tags and it may work for you.. e.g. you copy/paste it in ms word 2010 and it comes out correctly. Sometimes when i've tried to then copy/paste from ms word to ms word, and one time recently, it went bad. So, it looks like using <h1> tag, ensures it works out. it's possible <h2> might work and consistently. But <h1> i've found thus far, to work fine.

Introductory Summary of First step, If you do the first step, you can skip the second and third steps. This first step also has the advantage that the text doesn't have to be a heading. This first step can be skipped in some cases(like if copy/pasting from a webpage in chrome, you already have the "keep source formatting" option when pasting int ms word). This first stage is a way of ensuring you get that "ctrl-keep source formatting" option if you were to paste into ms word! If you already have it, then you can skip this step.

Introductory Summary of Second step, Having that "keep source formatting" option appearing in Ms Word 2010 when you paste. If you already have it then you could skip "First". The second step isn't really so much a step. Just verifying that you get the "keep source formatting" option. And you can actually start at this stage, though then you have to also do step three.

Introductory summary to third step, make it a heading "Heading 1" and by clicking Heading1 two or three times!

Note- Clicking "Heading2" doesn't do the trick. It has to be clicking "Heading1"!

If you skip step 1, you may need to do both steps 2 and 3 to get it to work.

If you follow step 1, i've found you can skip steps 2 and 3 and don't need the hebrew to be a heading either.

First thing to do

This stage can in some cases be skipped. First try "Second" that is, copy it from where it is, and paste it into Ms Word. See if you get a "ctrl..keep source formatting" option
keep source formatting

If you do, continue to "Second". If not, then

i'd suggest, and this is the first step, that you have to copy from Chrome, which means put your text into a particularly formatted HTM file and open it in Chrome.

Here is an HTM file that you can use. I mention this in the Second step

makehebrewcorrectway.htm Save this in notepad as UTF-8 . Note the charset in the meta tag as UTF-8. Also the extra stuff in the HTML tag.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML DIR="RTL" LANG="HE"> <HEAD> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> </HEAD> <BODY> <H1>תורה נביאים וכתובים</H1> <PRE>תורה נביאים וכתובים</PRE> </BODY> </HTML> 

Now open it in Chrome, do CTRL-SHIFT-I right click the opening <HTML..> tag or closing </HTML> tag, and click "Edit as HTML" and you can conveniently edit the file and paste Hebrew into it, and the webpage updates itself.

You can then copy/paste from the webpage.

Any Hebrew you write or paste in, within the <PRE>..</PRE> tags, will come out plain(not big/bold).

Second thing to do: Choose keep source formatting

Here are two webpages, if you open them in chrome and copy from them, then you can paste into ms word, and it keeps the formatting. But be sure to choose "keep source formatting".

You don't need to save these webpages you can just try copying the text below
תורה נביאים וכתובים

^^ try copy/pasting that into ms word, following the instructions in this post.

But these are examples of very simple webpages that work to demonstrate it too.

yaya.htm Note the meta tag with charset. Save this in notepad, as ASCII, that will save it as 1252 or as 8859-1(the only ascii notepad knows is iso 8859-1 or windows 1252, notepad doesn't know 1255). Chrome will read this in 1255(hebrew). And note the extra stuff in the HTML tag.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML DIR="RTL" LANG="HE"> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=Windows-1255"> </HEAD> <BODY> <H1>úåøä</H1> <H1>úåøä ðáéàéí åëúåáéí</H1> </BODY> </HTML> 

yaya2.htm Save this in notepad as UTF-8 . Note the charset in the meta tag as UTF-8. Also the extra stuff in the HTML tag.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML DIR="RTL" LANG="HE"> <HEAD> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> </HEAD> <BODY> <H1>תורה נביאים וכתובים</H1> </BODY> </HTML> 

When you open these webpages in Chrome,

Or forget the webpages, and when you just copy this: תורה נביאים וכתובים

Select text, select more than one word(as you want to make sure the words come in the correct order). And copy, then paste into ms word 2010.

You get this appear. i.e. just near the text you paste in, it says "ctrl", then click that and you can choose "keep source formatting" That should ensure the words are in the correct order.

Here is a pic from Ms Word 2010, giving the option you want, after you've selected from a webpage e.g. yaya.htm or yaya2.htm, and clicked copy, and you've chosen to paste it into ms word. note that "keep source formatting" option! That can put words into the correct order if they're in the wrong order.

keep source formatting

Third thing to do- Clicks of Heading1, clicking it two or three times.

And now for making it Header 1 and by clicking Header 1 multiple times.

If I choose two words from here http://www.mechon-mamre.org/b/h/h26.htm

they come out the wrong way around when I copy/paste them into word

Interestingly when I choose these three words תורה נביאים וכתובים from here http://www.mechon-mamre.org/i/t/t0.htm

They come out the correct way.

The answer is related to the Font being a Heading! That makes it work!

So, if we go to the webpage, look at two words there, how they should appear. Copy them to the clipboard http://www.mechon-mamre.org/b/h/h26.htm http://i.imgur.com/M9Ngo6J.png enter image description here

Paste it into ms word http://i.imgur.com/xg9JYYI.png enter image description here

Notice it comes up with the second words before the first word. So the two words are coming up in the wrong order (though letters are in the correct order).

Now select it and click "Heading 1" Notice it is still coming up the wrong way http://i.imgur.com/SsRxwsE.png enter image description here

But now highlight it or keep it highlighted and click Heading 1 again!! That fixes it http://i.imgur.com/o1Z7lRi.png enter image description here

Another example of how clicking Header 1 two or three times fixes it. In this case the letters were a bit mixed (the last letter of the last word seemed to join to the first word for some reason, though the words were in the right order, but clicking header 1 twice still fixed that!)

enter image description here enter image description here

Молодец, что нашел это, но я не думаю, что это считается решением, ОП не захочет иметь весь текст в качестве заголовков. Также, похоже, изменился шрифт. Серьезно, хотя, хорошо найдено! terdon 10 лет назад 0
@terdon Забавно, что нажатие «Заголовок 2» не дает результата, только нажатие Заголовка 1 делает, а заголовок 2 будет немного меньше заголовка 1, хотя и не делает этого. Кроме того, я обнаружил, что это требует еще одного шага, кроме нажатия на заголовок 1 несколько раз - добавлено в ответ barlop 10 лет назад 0
@terdon добавил новый первый шаг, который устраняет необходимость в «Заголовке1» и устраняет проблему копирования / вставки из других приложений в MS Word 2010 (путем редактирования иврита на веб-странице, открытой в Chrome перед копированием / вставкой! - предоставлен шаблон ) и устраняет необходимость во втором и третьем шагах! barlop 10 лет назад 0
@terdon доу .. возможно, что
 работает, хотя я столкнулся с одной проблемой один раз при копировании из MS Word. 

действительно похоже на работу.

может, но я еще не пробовал

, (и нет необходимости нажимать «Заголовок1» или «Заголовок», когда вы копируете это, и это уже заголовок.

конечно, будучи меньше, может быть предпочтительнее. Но другая вещь, которая, кажется, работает - это

скопируйте / вставьте его в ms word (конечно, выберите «сохранить исходное форматирование»), затем вы можете удалить жирный шрифт и уменьшить размер шрифта!

barlop 10 лет назад 0
0
Juju

При вставке текста на иврите из Google translate в документ Word на английском языке возникли проблемы.

Решение: я вставил текст на иврите в ячейку в Excel (2010), которая сохраняла исходную ориентацию справа налево. Затем я скопировал текст из Excel и вставил его в слово

включение функции справа налево было слишком большой проблемой ... пытался загрузить языковой пакет для иврита, но все инструкции были на иврите (который я не пишу / не понимаю)