emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Info: (org)Customizing tables in ODT export
@ 2013-01-26 20:06 Thomas S. Dye
  2013-01-29  4:59 ` Jambunathan K
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas S. Dye @ 2013-01-26 20:06 UTC (permalink / raw)
  To: Org-mode

Aloha all,

Section 12.8.11.4 of the info version of the Org mode manual is
truncated in the middle of an emacs-lisp code block.

  (setq org-export-odt-table-styles
        (append org-export-odt-table-styles
*--- truncated here ---*
                '(("TableWithHeaderRowAndColumn" "Custom"
                   ((use-first-row-styles . t)
                    (use-first-column-styles . t)))
                  ("TableWithFirstRowandLastRow" "Custom"
                   ((use-first-row-styles . t)
                    (use-last-row-styles . t))))))

Org-mode version 7.9.3d (release_7.9.3d-874-gf11acc @
/Users/dk/.emacs.d/src/org-mode/lisp/), using 'make update' option in
the build system.

Both the html and pdf versions are OK.  Only the info version is
truncated. 

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-26 20:06 Info: (org)Customizing tables in ODT export Thomas S. Dye
@ 2013-01-29  4:59 ` Jambunathan K
  2013-01-29  5:43   ` Thomas S. Dye
  0 siblings, 1 reply; 13+ messages in thread
From: Jambunathan K @ 2013-01-29  4:59 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Org-mode

tsd@tsdye.com (Thomas S. Dye) writes:

> Aloha all,
>
> Section 12.8.11.4 of the info version of the Org mode manual is
> truncated in the middle of an emacs-lisp code block.

I have trouble understanding what is it that is truncated.  

Would you like to share a screenshot that highlights the difference
between what you see in Info manual and what you see with PDF outputs.

ps: I see that what I see in Info manual matches what is there in
org.texi.

>   (setq org-export-odt-table-styles
>         (append org-export-odt-table-styles
> *--- truncated here ---*
>                 '(("TableWithHeaderRowAndColumn" "Custom"
>                    ((use-first-row-styles . t)
>                     (use-first-column-styles . t)))
>                   ("TableWithFirstRowandLastRow" "Custom"
>                    ((use-first-row-styles . t)
>                     (use-last-row-styles . t))))))
>
> Org-mode version 7.9.3d (release_7.9.3d-874-gf11acc @
> /Users/dk/.emacs.d/src/org-mode/lisp/), using 'make update' option in
> the build system.
>
> Both the html and pdf versions are OK.  Only the info version is
> truncated. 
>
> All the best,
> Tom

-- 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-29  4:59 ` Jambunathan K
@ 2013-01-29  5:43   ` Thomas S. Dye
  2013-01-29  7:08     ` Achim Gratz
  2013-01-29 11:35     ` Jambunathan K
  0 siblings, 2 replies; 13+ messages in thread
From: Thomas S. Dye @ 2013-01-29  5:43 UTC (permalink / raw)
  To: Jambunathan K; +Cc: Org-mode

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

Aloha Jambu,

Thanks for looking into this.

Jambunathan K <kjambunathan@gmail.com> writes:

> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> Aloha all,
>>
>> Section 12.8.11.4 of the info version of the Org mode manual is
>> truncated in the middle of an emacs-lisp code block.
>
> I have trouble understanding what is it that is truncated.  
>
> Would you like to share a screenshot that highlights the difference
> between what you see in Info manual and what you see with PDF outputs.

Here it is:


[-- Attachment #2: Truncated info file --]
[-- Type: image/tiff, Size: 147662 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1000 bytes --]


I see the full file in pdf and html.

All the best,
Tom

>
> ps: I see that what I see in Info manual matches what is there in
> org.texi.
>
>>   (setq org-export-odt-table-styles
>>         (append org-export-odt-table-styles
>> *--- truncated here ---*
>>                 '(("TableWithHeaderRowAndColumn" "Custom"
>>                    ((use-first-row-styles . t)
>>                     (use-first-column-styles . t)))
>>                   ("TableWithFirstRowandLastRow" "Custom"
>>                    ((use-first-row-styles . t)
>>                     (use-last-row-styles . t))))))
>>
>> Org-mode version 7.9.3d (release_7.9.3d-874-gf11acc @
>> /Users/dk/.emacs.d/src/org-mode/lisp/), using 'make update' option in
>> the build system.
>>
>> Both the html and pdf versions are OK.  Only the info version is
>> truncated. 
>>
>> All the best,
>> Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-29  5:43   ` Thomas S. Dye
@ 2013-01-29  7:08     ` Achim Gratz
  2013-01-29 12:34       ` Thomas S. Dye
  2013-01-29 11:35     ` Jambunathan K
  1 sibling, 1 reply; 13+ messages in thread
From: Achim Gratz @ 2013-01-29  7:08 UTC (permalink / raw)
  To: emacs-orgmode

Thomas S. Dye <tsd <at> tsdye.com> writes:
> >> Section 12.8.11.4 of the info version of the Org mode manual is
> >> truncated in the middle of an emacs-lisp code block.
>
> I see the full file in pdf and html.

I get the complete section shown in Emacs and standalone info reader no problem.
 What version of TeXinfo are you using and is there any warning/error when
generating the info file from the texinfo sources?


Regards,
Achim.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-29  5:43   ` Thomas S. Dye
  2013-01-29  7:08     ` Achim Gratz
@ 2013-01-29 11:35     ` Jambunathan K
  2013-01-29 12:18       ` Thomas S. Dye
  1 sibling, 1 reply; 13+ messages in thread
From: Jambunathan K @ 2013-01-29 11:35 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Org-mode



tsd@tsdye.com (Thomas S. Dye) writes:

> Aloha Jambu,
>
> Thanks for looking into this.
>
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> tsd@tsdye.com (Thomas S. Dye) writes:
>>
>>> Aloha all,
>>>
>>> Section 12.8.11.4 of the info version of the Org mode manual is
>>> truncated in the middle of an emacs-lisp code block.
>>
>> I have trouble understanding what is it that is truncated.  
>>
>> Would you like to share a screenshot that highlights the difference
>> between what you see in Info manual and what you see with PDF outputs.
>
> Here it is:

I am able to scroll/move up/down the info node without any issues.

In the tiff file that you have attached, the section heading
corresponding to 12.8.11.4 is underlined with dots.  For me, there is no
such dotted underline in the node.

Have you tried 
        emacs -Q
 
Either you are having extra customizations or using an enhanced version
of info (info+?) from Emacswiki or from elsewhere.

> I see the full file in pdf and html.
>
> All the best,
> Tom
>
>>
>> ps: I see that what I see in Info manual matches what is there in
>> org.texi.
>>
>>>   (setq org-export-odt-table-styles
>>>         (append org-export-odt-table-styles
>>> *--- truncated here ---*
>>>                 '(("TableWithHeaderRowAndColumn" "Custom"
>>>                    ((use-first-row-styles . t)
>>>                     (use-first-column-styles . t)))
>>>                   ("TableWithFirstRowandLastRow" "Custom"
>>>                    ((use-first-row-styles . t)
>>>                     (use-last-row-styles . t))))))
>>>
>>> Org-mode version 7.9.3d (release_7.9.3d-874-gf11acc @
>>> /Users/dk/.emacs.d/src/org-mode/lisp/), using 'make update' option in
>>> the build system.
>>>
>>> Both the html and pdf versions are OK.  Only the info version is
>>> truncated. 
>>>
>>> All the best,
>>> Tom

-- 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-29 11:35     ` Jambunathan K
@ 2013-01-29 12:18       ` Thomas S. Dye
  2013-02-03 12:27         ` Jambunathan K
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas S. Dye @ 2013-01-29 12:18 UTC (permalink / raw)
  To: Jambunathan K; +Cc: Org-mode

Aloha Jambu,

Jambunathan K <kjambunathan@gmail.com> writes:

>
> I am able to scroll/move up/down the info node without any issues.
>
> In the tiff file that you have attached, the section heading
> corresponding to 12.8.11.4 is underlined with dots.  For me, there is no
> such dotted underline in the node.
>
> Have you tried 
>         emacs -Q
>  
> Either you are having extra customizations or using an enhanced version
> of info (info+?) from Emacswiki or from elsewhere.

This is the file created by 'make update' using the build system.  I
don't believe I've customized anything here beyond making 'make update'
the default synonym for 'make'.  I'll admit I'm not certain how or what
the build system does to generate the documentation, but the files
'org', 'org.html', and 'org.pdf' were all created within a minute of one
another. 

I don't think I'm using info+.

poto:dk dk$ info --version
info (GNU texinfo) 4.13

Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I'm working on a Mac.

Thanks again for looking into this.

All the best,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-29  7:08     ` Achim Gratz
@ 2013-01-29 12:34       ` Thomas S. Dye
  2013-01-29 22:03         ` Achim Gratz
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas S. Dye @ 2013-01-29 12:34 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Aloha Achim,

Achim Gratz <Stromeko@NexGo.DE> writes:

> Thomas S. Dye <tsd <at> tsdye.com> writes:
>> >> Section 12.8.11.4 of the info version of the Org mode manual is
>> >> truncated in the middle of an emacs-lisp code block.
>>
>> I see the full file in pdf and html.
>
> I get the complete section shown in Emacs and standalone info reader no problem.
>  What version of TeXinfo are you using and is there any warning/error when
> generating the info file from the texinfo sources?

I'll have to customize my bash shell to keep more of the make output.
Generating the info file happens early enough that I can't scroll back
to see when the info file is generated.

The texinfo is from the MacTeX distribution:

(/Users/dk/.emacs.d/src/org-mode/doc/./org.texi
(/Users/dk/.emacs.d/src/org-mode/doc/texinfo.tex
Loading texinfo [version 2012-01-03.18]: pdf, fonts, page headings, tables,
conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, insertions,

These are the only failures I could see in the log available to me:

Output written on orgguide.pdf (47 pages, 346216 bytes).
Transcript written on orgguide.log.
tar: Failed to set default locale
tar: Failed to set default locale

I have this warning, which doesn't seem pertinent to the documentation:

Generating autoloads for ob-comint.el...done
Making generated-autoload-file local to  *autoload-file* while let-bound!

Thanks for looking into this.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-29 12:34       ` Thomas S. Dye
@ 2013-01-29 22:03         ` Achim Gratz
  2013-01-30  0:12           ` Thomas S. Dye
  0 siblings, 1 reply; 13+ messages in thread
From: Achim Gratz @ 2013-01-29 22:03 UTC (permalink / raw)
  To: emacs-orgmode

Thomas S. Dye writes:
> (/Users/dk/.emacs.d/src/org-mode/doc/./org.texi
> (/Users/dk/.emacs.d/src/org-mode/doc/texinfo.tex
> Loading texinfo [version 2012-01-03.18]: pdf, fonts, page headings, tables,
> conditionals, indexing, sectioning, toc, environments, defuns, macros,
> cross references, insertions,

That's the output from the start of the PDF creation, there doesn't
appear to be anything obviously wrong.

> These are the only failures I could see in the log available to me:
>
> Output written on orgguide.pdf (47 pages, 346216 bytes).
> Transcript written on orgguide.log.
> tar: Failed to set default locale
> tar: Failed to set default locale

So what _is_ your locale?  This is an indication that either locale data
is completely missing from the system or that the system libraries
(glibc etc.) are different then what the exectutables run are linked against.

> I have this warning, which doesn't seem pertinent to the documentation:

I wouldn't make that assumption, especially where makeinfo is involved.
can you set LC_ALL=C or equivalently LC_ALL=POSIX and try again?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-29 22:03         ` Achim Gratz
@ 2013-01-30  0:12           ` Thomas S. Dye
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas S. Dye @ 2013-01-30  0:12 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Hi Achim,

I found my way to the top of the 'make update' output.  It looks like
makeinfo thinks all is well (assuming its complaints would be visible
here): 

makeinfo --no-split org.texi -o org
makeinfo --html --number-sections --no-split -o org.html org.texi

Achim Gratz <Stromeko@nexgo.de> writes:

>> These are the only failures I could see in the log available to me:
>>
>> Output written on orgguide.pdf (47 pages, 346216 bytes).
>> Transcript written on orgguide.log.
>> tar: Failed to set default locale
>> tar: Failed to set default locale
>
> So what _is_ your locale?  This is an indication that either locale data
> is completely missing from the system or that the system libraries
> (glibc etc.) are different then what the exectutables run are linked against.

poto:org-mode dk$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=

I don't know how to check system libraries, etc.

>
>> I have this warning, which doesn't seem pertinent to the documentation:
>
> I wouldn't make that assumption, especially where makeinfo is involved.
> can you set LC_ALL=C or equivalently LC_ALL=POSIX and try again?
>

Not quite sure how to set locale, or whether it is a good idea to make a
permanent change.  I tried this in my bash shell, but with the same
result--the documentation gets built, but that section of the manual is
truncated when I view it with info:

poto:org-mode dk$ LC_ALL=C make

Thanks for taking a look at this.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-01-29 12:18       ` Thomas S. Dye
@ 2013-02-03 12:27         ` Jambunathan K
  2013-02-03 16:24           ` Thomas S. Dye
  0 siblings, 1 reply; 13+ messages in thread
From: Jambunathan K @ 2013-02-03 12:27 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Org-mode


Is this issue resolved for you.  

Firstly, make sure that org file is indeed of "right" size and is NOT
sheared to smaller size.

Secondly, think about "What has changed in my environment, which made me
notice this aberrant behaviour.  Did I change my PC, my desk etc etc".

Thirdly, try 
        emacs -Q

FWIW, here is a report from my x86/Debian.

,----
| kjambunathan@debian-6:~/src/org-mode/doc$ ls -al org*
|   915211 Feb  2 23:26 org
|    23759 Jan 13 23:48 orgcard.tex
|   398898 Feb  3 17:49 orgguide.pdf
|    99505 Jan 13 23:48 orgguide.texi
|  1408420 Feb  3 17:49 org.html
|  1729366 Feb  3 17:49 org.pdf
|   717545 Feb  2 23:23 org.texi
|      102 Feb  2 23:26 org-version.inc
`----

tsd@tsdye.com (Thomas S. Dye) writes:

> Aloha Jambu,
>
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>>
>> I am able to scroll/move up/down the info node without any issues.
>>
>> In the tiff file that you have attached, the section heading
>> corresponding to 12.8.11.4 is underlined with dots.  For me, there is no
>> such dotted underline in the node.
>>
>> Have you tried 
>>         emacs -Q
>>  
>> Either you are having extra customizations or using an enhanced version
>> of info (info+?) from Emacswiki or from elsewhere.
>
> This is the file created by 'make update' using the build system.  I
> don't believe I've customized anything here beyond making 'make update'
> the default synonym for 'make'.  I'll admit I'm not certain how or what
> the build system does to generate the documentation, but the files
> 'org', 'org.html', and 'org.pdf' were all created within a minute of one
> another. 
>
> I don't think I'm using info+.
>
> poto:dk dk$ info --version
> info (GNU texinfo) 4.13
>
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> I'm working on a Mac.
>
> Thanks again for looking into this.
>
> All the best,
> Tom

-- 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-02-03 12:27         ` Jambunathan K
@ 2013-02-03 16:24           ` Thomas S. Dye
  2013-02-03 16:53             ` Achim Gratz
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas S. Dye @ 2013-02-03 16:24 UTC (permalink / raw)
  To: Jambunathan K; +Cc: Org-mode

Aloha Jambu,

Jambunathan K <kjambunathan@gmail.com> writes:

> Is this issue resolved for you.  

Just now, thanks to your suggestions.

> Firstly, make sure that org file is indeed of "right" size and is NOT
> sheared to smaller size.

The org file appears to be correct.  I opened it in emacs and was
surprised to find section 12.8.11.4 is complete.   

> Secondly, think about "What has changed in my environment, which made me
> notice this aberrant behaviour.  Did I change my PC, my desk etc etc".

I changed my info:

poto:doc dk$ which -a info
/opt/local/bin/info
/usr/bin/info

This is the problem. When I use /usr/bin/info (ver. 4.8), which shipped
with my Mac, all is well.  When I use /opt/local/bin/info (ver. 4.13)
from MacPorts, then the file is truncated.

Achim mentioned something about locale and the C compiler, but I
couldn't really follow where he was going.  Since MacPorts is the only
place on my system where gcc is invoked (I think, I certainly don't use
gcc on my own), then perhaps there is a problem there?

Thanks for your patience and persistence.  I really appreciate the help.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-02-03 16:24           ` Thomas S. Dye
@ 2013-02-03 16:53             ` Achim Gratz
  2013-02-03 17:09               ` Thomas S. Dye
  0 siblings, 1 reply; 13+ messages in thread
From: Achim Gratz @ 2013-02-03 16:53 UTC (permalink / raw)
  To: emacs-orgmode

Thomas S. Dye writes:
> This is the problem. When I use /usr/bin/info (ver. 4.8), which shipped
> with my Mac, all is well.  When I use /opt/local/bin/info (ver. 4.13)
> from MacPorts, then the file is truncated.

Could you re-create the info file with makeinfo-4.13, then?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Info: (org)Customizing tables in ODT export
  2013-02-03 16:53             ` Achim Gratz
@ 2013-02-03 17:09               ` Thomas S. Dye
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas S. Dye @ 2013-02-03 17:09 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Aloha Achim,

Achim Gratz <Stromeko@nexgo.de> writes:

> Thomas S. Dye writes:
>> This is the problem. When I use /usr/bin/info (ver. 4.8), which shipped
>> with my Mac, all is well.  When I use /opt/local/bin/info (ver. 4.13)
>> from MacPorts, then the file is truncated.
>
> Could you re-create the info file with makeinfo-4.13, then?

I don't see any difference between

/usr/bin/makeinfo --no-split org.texi -o org

and

/opt/local/bin/makeinfo --no-split org.texi -o org

In both cases, info 4.13 on my system truncates the display.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-02-03 17:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-26 20:06 Info: (org)Customizing tables in ODT export Thomas S. Dye
2013-01-29  4:59 ` Jambunathan K
2013-01-29  5:43   ` Thomas S. Dye
2013-01-29  7:08     ` Achim Gratz
2013-01-29 12:34       ` Thomas S. Dye
2013-01-29 22:03         ` Achim Gratz
2013-01-30  0:12           ` Thomas S. Dye
2013-01-29 11:35     ` Jambunathan K
2013-01-29 12:18       ` Thomas S. Dye
2013-02-03 12:27         ` Jambunathan K
2013-02-03 16:24           ` Thomas S. Dye
2013-02-03 16:53             ` Achim Gratz
2013-02-03 17:09               ` Thomas S. Dye

Code repositories for project(s) associated with this 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).