InDesign cc 2015 - Right to Left - adobe-indesign

Im totally new to InDesign and struggling a lot with it whenever I try to use Arabic...
So I figured how to make arabic work but still I can't find a way how to change the writing direction from Left to Right to Right to Left
If I wanna write arabic with numbers I get this results
The numbers always end at the end of the sentence.
300 غرام سميد ناع
So how I can change the writing direction so I can get the numbers at any position I want without messing up the sentence ?
InDesign CC 2015
Thank you

First, you need to install arabic version. See here how.
Then, use the Paragraph panel to select Right to Left feature:
Or use a character style to specify direction within paragraph. More info here.

Related

How to measure margin between font-elements in XD?

It seems not possible to view the exact margin between font-elements in XD (dev-view). Below you'll find a screenshot of a situation where we need to measure the exact distance between two Font-elements (XD developer-view).
It needs to bypass the line-height, but it doesn't. To be able to do this, we need the line-height to be zero. But when we edit the line-height in XD for a word or sentence on a single row, XD does not change that line-height.
Anybody encountered the same situation?
In this example the line-height is 32. We go to XD. Change it to zero, save it and SHARE FOR DEVELOPMENT. But the line-height remains 32. Also changing it to 1 instead of zero won't make any difference.
To fix this issue, you have to select the Text within Adobe XD. Right Click and select Path > Convert to Path. The margins around the Text will disappear and when in DEVELOPMENT view it becomes possible to see the right margin. A small problem remains. When you want to edit the text when it's a shape, you have to delete it and place a new text and turn it into a shape again. the text when converted to a shape
The default selector in Adobe XD will not give you the exact margin between two text. You have to convert the text layer into paths (Convert to Outlines) to get the exact margin.
But remember after converting text layer into path the text cannot be edited because now the letter are separate vector shapes.
To convert text layer into Path, select the layer and goto Object>Path>Click Convert to Path
You can use the Guides to drag one below your text and another one on top of the second text, and then you can see the distance between the 2 guides.
Check this youtube video for a quick tutorial on it. This is going to be a manual action. I don't think there's a key to press to check the distance automatically.

Vim airline customise settings

In this screenshot of my vimrc settings, I have installed the plugin vim-airline using vundle. After going through airlines docs, I found the set of lines to customise my airline.
The problem is the ones highlighted in red. The blue highlighted one works fine but the red one does not. The left one is same as right one. I tried using different Unicode symbols but does not work. Any workaround to this situation as this is troubling my OCD :P.
Thanks in advance.
This is a well-known issue related to the font (size and family) used in your terminal.
For a better display, you have two solutions:
Do not use arrows as separators
Configure your terminal emulator to use a patched font with the right size
If you prefer the first solution, make sure you have this code in your .vimrc:
let g:airline_right_sep = ""
let g:airline_left_sep = ""
If you prefer the other solution, take a look at this: https://github.com/powerline/fonts
I have used the Hack font with size 11 for a long time and the arrows are perfectly displayed in my editor...

Multiple margins in Atom Editor?

Using Atom Editor, I can change the position of the vertical margin from
File > Settings > Preferred Line Length
Is there a way to add multiple margins?
You can if you install the omni-ruler plugin.
I'm amazed as how dificult is for everyone to understand the problem.
Being a "stack overflow" user, you would expect to find many user with experience on the problem of working with [fixed-width-fields] text files.
is not a text file with a long line.
is data contained in those lines, that need to be make easier for human eye to check.
that being said, the besto solution so far fo me is:
https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/column-markers.html

Some line beginnings are a different color in Aptana

I've spent like an hour tying to find a way to fix this, but I just can't do it. Some lines/characters will show up a different color in Aptana (all semicolons, some tabs, and some whole). I just installed it today, so I don't know my way around the software very well.
Here's a picture to help you get the idea:
I would like get rid of the way some sections are lighter (the line saying some text is the line the caret's on, which is not the problem)
P.S. If this is the wrong place to ask this, I'm sorry, but I'm getting frustrated searching through Google and the Aptana preferences.
I too spent way too much time on this issue.
The answer by phazei is correct:
Aptana 3, php code background highlighting
But my main problem was I didn't know where to look. So to give some insight into how I found the answer:
It turns out you can see what markup the editor is using and how it classifies any block of text, by just right-clicking on the text you are interested in and pick Show in -> Properties.

How do I position a document in the lower left corner using Adobe InDesign CS4 Scripting?

I am a complete newbie to this scripting language. I need take a document and prior to outputting the single page document to a postscript file I need to place it in the lower left corner of the page. I have looked into the properties of "printPreferences" and have come up with nothing (why PagePositions doesn't support anything besides only variations of CENTERED I don't know).
I have tried to do a quick manipulation of
marginPreferences.top = marginPreferences.top + marginPrefernces.bottom;
bottom = 0;
Pretty lazy I know. Any ideas would be great.
I'm relatively new to scripting too but mostly you can only do what the application normally supports.
Your choices seem to be (from http://jongware.mit.edu/idcs4js/pc_PrintPreference.html)
PagePositions.UPPER_LEFT
PagePositions.CENTER_HORIZONTALLY
PagePositions.CENTER_VERTICALLY
PagePositions.CENTERED
Anyway, to do what I think you are trying to do, you could make a script to output your file to a pdf, then create a new document and place that pdf exactly where you want on the page (make the page the same size as your printer paper), and then output that file to your postscript file.

Resources