emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yagnesh Raghava Yakkala <hi@yagnesh.org>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] New latex exporter: Not respecting author:nil and timestamp:nil
Date: Fri, 19 Oct 2012 09:16:49 +0900	[thread overview]
Message-ID: <87y5j35n9q.fsf@yagnesh.org> (raw)
In-Reply-To: <878vb3n4pb.fsf@gmail.com> (Nicolas Goaziou's message of "Thu, 18 Oct 2012 18:08:16 +0200")

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


Hello Nicolas,

On 10月 19 2012, Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Hello,
>
>>
>> #+CAPTION: A wide table with tabulary
>> #+LABEL: tbl:wide
>
> It should be #+NAME: tbl:wide

Thanks, Manual need to be updated then.. (info "(org)Tables in LaTeX export")

>> #+ATTR_LaTeX: table* tabulary width=\textwidth
>> | column 1 | column 2 |
>> |-----------+------------------------------------------------------------------------------------|
>> | first row | a long long long long long long long long long long long long
>> | long long long cell |
>>
>
> I don't see any author in your PDF file, so what is the problem?

Sorry about that, I should have been clear what I was trying to do.

I am trying to use package authblk to set author and affiliations below the
title. But with "author:nil" an empty author field is getting exported to
latex which is causing problems to the author entry for authblk. Please look
into the attached pdf, there is a "author 1^1, author 2^2, and^2" instead of desired
"author 1^1 and author 2^2".

And also the timestamp:nil is not working also.

BTW, not related to this bug report. how can I make that table actually look
as a table.? (Please feel free to shout at me to start a new thread for this.)



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-scratch.org --]
[-- Type: text/x-org, Size: 711 bytes --]

#+TITLE: abcd
#+AUTHOR: me me
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   timestamp:nil
#+OPTIONS:   author:nil

# title
#+LaTeX_HEADER: \usepackage{authblk}
#+LaTeX_HEADER: \author[1]{Author 1}
#+LaTeX_HEADER: \author[2]{Author 2}
#+LaTeX_HEADER: \affil[1]{Aff 1}
#+LaTeX_HEADER: \affil[2]{Aff 2}


#+CAPTION: A wide table with tabulary
#+NAME: tbl:wide
#+ATTR_LaTeX: table* tabulary width=\textwidth
| column 1  | column 2                                                                           |
|-----------+------------------------------------------------------------------------------------|
| first row | a long long long long long long long long long long long long long long long  cell |

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: org-scratch.tex --]
[-- Type: text/x-tex, Size: 1014 bytes --]

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage{authblk}
\author[1]{Author 1}
\author[2]{Author 2}
\affil[1]{Aff 1}
\affil[2]{Aff 2}
\author{}
\date{\today}
\title{abcd}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Generated by Org mode 7.9.2 in Emacs 24.2.50.2.}}
\begin{document}

\maketitle
\tableofcontents
\vspace*{1cm}

\begin{table*}[htb]
\caption{\label{tbl-wide}A wide table with tabulary}
\begin{center}
\begin{tabulary}{\textwidth}{ll}
column 1 & column 2\\
\hline
first row & a long long long long long long long long long long long long long long long  cell\\
\end{tabulary}
\end{center}
\end{table*}
% Generated by Org mode 7.9.2 in Emacs 24.2.50.2.
\end{document}

[-- Attachment #4: org-scratch.pdf --]
[-- Type: application/pdf, Size: 22856 bytes --]

[-- Attachment #5: Type: text/plain, Size: 122 bytes --]



Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR

  reply	other threads:[~2012-10-19  0:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18 13:57 [BUG] New latex exporter: Not respecting author:nil and timestamp:nil Yagnesh Raghava Yakkala
2012-10-18 16:08 ` Nicolas Goaziou
2012-10-19  0:16   ` Yagnesh Raghava Yakkala [this message]
2012-10-20 10:16     ` Nicolas Goaziou
2012-11-01  6:51       ` Yagnesh Raghava Yakkala
2012-11-01  7:12         ` Nicolas Goaziou

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=87y5j35n9q.fsf@yagnesh.org \
    --to=hi@yagnesh.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).