emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yas <mydavoodeh@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Feature request: Default table alignment variable
Date: Mon, 23 Aug 2021 19:06:19 +0430	[thread overview]
Message-ID: <CACmz1LQbcVC+AUmSvcD6DSVddVfFOKc3gheemK0HPYr-WOvMpQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

Hello,

Pardon my inexperience toward requesting features for gnu software and
sorry if this is not the correct mail for this purpose.


I use orgmode, ox and ox-latex to convert org to LaTeX. Tables in Persian
are especially problematic to make. For Persian (or any Right-To-Left
script) is - obviously - written from right to left and
`org-export-table-cell-alignment' (assuming it's the right function I
found) just assumes that if there is no explicit instruction on how to
align table cells then it is definitely a `left' align (it should be right).

I'd very much appreciate a custom like
`org-export-table-default-cell-alignment' which can be `setq-local'-ed for
that matter. (Or even better, org-table-default-cell-alignment for use with
or without the export module.)


I am not entirely sure if this short message captures the whole idea or
not. Pardon me for my poorly detailed request.



P.S: Maybe I'm just thinking too far at this point but this can even be
bound to "#+LANGUAGE: fa" and set automatically once implemented.

P.P.S: I generally think Abjad (Persian/Arabic) LaTeX exports are a hassle
with org at the current state. I know the workarounds and patches that make
the XeTeX produce proper outputs for Persian and Arabic and most of them
are required on every setup and I think they should be implement in the org
itself. If the team is interested I could also share details and small
macros on that front too but since I'm still noob in LISP and development I
cannot make P/Rs as of yet. At the best, I can answer questions and provide
guides on how to do what if I'm asked.


Sincerely,
Yas

[-- Attachment #2: Type: text/html, Size: 1954 bytes --]

                 reply	other threads:[~2021-08-23 14:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACmz1LQbcVC+AUmSvcD6DSVddVfFOKc3gheemK0HPYr-WOvMpQ@mail.gmail.com \
    --to=mydavoodeh@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).