emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Feature request [Resizeable Literal examples]
@ 2009-03-25  8:06 Yury GEORGIEVSKIY
  2009-03-25  9:17 ` Carsten Dominik
  2009-07-22 15:26 ` Column groups vertical lines are broken in 6.28trans Yury GEORGIEVSKIY
  0 siblings, 2 replies; 3+ messages in thread
From: Yury GEORGIEVSKIY @ 2009-03-25  8:06 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello,

I'm using orgmode to make user documentation.

A lot of my Literal Examples are too big to fit
on the A4 paper to print them out.

In order to fit them on the A4, I'm changing HTML font size
every time.

To be more vivid - I've attached an example to export in HTML
(example.org) and "fat" literal example (seq_diag.txt)
that will be resized.

First diagram will fit on A4 paper, while second one will not,
as it is too big.

I think may be it's a good idea to add the switch for changing
font size, where size can be expressed in percentage or/and
paper size.

It can look something like:
#+BEGIN_EXAMPLE -f 60%
or
#+BEGIN_EXAMPLE -f A4

Thanks in advance,
Yury

[-- Attachment #2: example.org --]
[-- Type: text/plain, Size: 374 bytes --]

#+TITLE:   Pretty print.
#+STARTUP: hidestars
#+OPTIONS: toc:nil

* Shrinked Sequential diagram.

#+BEGIN_HTML
<style type="text/css">
 example1 { font-size: 60%; }
</style>
<example1>
#+END_HTML

#+BEGIN_EXAMPLE
#+INCLUDE "seq_diag.txt"
#+END_EXAMPLE

#+BEGIN_HTML
</example1>
#+END_HTML

* Normal Sequential diagram.
#+BEGIN_EXAMPLE
#+INCLUDE "seq_diag.txt"
#+END_EXAMPLE

[-- Attachment #3: seq_diag.txt --]
[-- Type: text/plain, Size: 4473 bytes --]

                                        QDP Sequence diagram.

User application                                    |<--------------------- RTI ------------------------->|
                                                    |                                                     |
+------+                                            +------+                +------+   +------+   +-------+
|      |                                            |      |                |      |   |      |   |       |
|  BC  |                                            |  PP  |                |  FP  |   |  TB  |   |  AMT  |
|      |                                            |      |                |      |   |      |   |       |
+---+--+                                            +---+--+                +---+--+   +---+--+   +---+---+
    |                                                   |                       |          |          |
    |                                                   |                       |          |         +-+
    |    send_quick_data(RS_ECHO | RS_CONF | RS_REF )  +-+                      |          |         | |
    +------------------------------------------------->| |                      |          |         | +------------+
    |                                                  | |                      |          |         | |            |
    |           user can check Transmit Buffer         | |                      |          |         | |            |
    |<-------------------------------------------------+ |                      |          |         | |            |
    |                                                  | |                      |          |         | |  fill in   |
    |           get_quick_data                         | |                      |          |         | |            |
   +-+------------------------------------------------------------------------------------>|         | | aquisition |
   | |                                                 | |                      |          |         | |            |
   | |                                                 | |                      |       acq_msg      | |  message   |
   | |                                           if (RS_ECHO | RS_CONF)         |<-------------------+ |<-----------+
   | |                                                 | |         ctrl_msg     |          |         | |
   | |                                                 | +--------------------->|          |         | |
   | |                                                 | |         conf_msg     |          |         | |
   | |                                                 | |                      |          |         | |
   | |                                                 | |                      |          |         | |
   | |                                           else (RS_REF)                  |          |         | |
   | |                                                 | +----------------+     |          |         | |
   | |                                                 | |   change RTI   |     |          |         | |
   +-+                                                 | |  configuration |     |   fill   |         | |
    |                                                  | |<---------------+     +--------->|         | |
    |                                                  | |                      |  buffer  |         | |
    |                                          POWC data is ready               |          |         | |
    |<-------------------------------------------------------------------------------------+         | |
    |                                                  | |                      |          |         | |
    |                                                  +-+                      |          |         | |
    |                                                   |                       |          |         | |
    |                                                   |                       |          |         | |
    |                                                   |                       |          |         | |
    |                                                   |                       |          |         +-+


    BC  - Bus Controller. Application level.
    PP  - Process Packet.
    FP  - Feed Packet.
    TB  - Transmit Buffer.
    AMT - Acqusition Message Task thread.

[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Feature request [Resizeable Literal examples]
  2009-03-25  8:06 Feature request [Resizeable Literal examples] Yury GEORGIEVSKIY
@ 2009-03-25  9:17 ` Carsten Dominik
  2009-07-22 15:26 ` Column groups vertical lines are broken in 6.28trans Yury GEORGIEVSKIY
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2009-03-25  9:17 UTC (permalink / raw)
  To: Yury GEORGIEVSKIY; +Cc: emacs-orgmode

Why don't you just use CSS to change the font size in <pre> examples?

Having different font sizes for different examples will look terrible.

- Carsten

On Mar 25, 2009, at 9:06 AM, Yury GEORGIEVSKIY wrote:

> Hello,
>
> I'm using orgmode to make user documentation.
>
> A lot of my Literal Examples are too big to fit
> on the A4 paper to print them out.
>
> In order to fit them on the A4, I'm changing HTML font size
> every time.
>
> To be more vivid - I've attached an example to export in HTML
> (example.org) and "fat" literal example (seq_diag.txt)
> that will be resized.
>
> First diagram will fit on A4 paper, while second one will not,
> as it is too big.
>
> I think may be it's a good idea to add the switch for changing
> font size, where size can be expressed in percentage or/and
> paper size.
>
> It can look something like:
> #+BEGIN_EXAMPLE -f 60%
> or
> #+BEGIN_EXAMPLE -f A4
>
> Thanks in advance,
> Yury
> #+TITLE:   Pretty print.
> #+STARTUP: hidestars
> #+OPTIONS: toc:nil
>
> * Shrinked Sequential diagram.
>
> #+BEGIN_HTML
> <style type="text/css">
> example1 { font-size: 60%; }
> </style>
> <example1>
> #+END_HTML
>
> #+BEGIN_EXAMPLE
> #+INCLUDE "seq_diag.txt"
> #+END_EXAMPLE
>
> #+BEGIN_HTML
> </example1>
> #+END_HTML
>
> * Normal Sequential diagram.
> #+BEGIN_EXAMPLE
> #+INCLUDE "seq_diag.txt"
> #+END_EXAMPLE
>                                        QDP Sequence diagram.
>
> User application                                    | 
> <--------------------- RTI ------------------------->|
>                                                     
> |                                                     |
> +------+                                            +------ 
> +                +------+   +------+   +-------+
> |      |                                            |       
> |                |      |   |      |   |       |
> |  BC  |                                            |  PP   
> |                |  FP  |   |  TB  |   |  AMT  |
> |      |                                            |       
> |                |      |   |      |   |       |
> +---+--+                                            +---+-- 
> +                +---+--+   +---+--+   +---+---+
>    |                                                    
> |                       |          |          |
>    |                                                    
> |                       |          |         +-+
>    |    send_quick_data(RS_ECHO | RS_CONF | RS_REF )  +- 
> +                      |          |         | |
>    +------------------------------------------------->|  
> |                      |          |         | +------------+
>    |                                                  |  
> |                      |          |         | |            |
>    |           user can check Transmit Buffer         |  
> |                      |          |         | |            |
>    |<-------------------------------------------------+  
> |                      |          |         | |            |
>    |                                                  |  
> |                      |          |         | |  fill in   |
>    |           get_quick_data                         |  
> |                      |          |         | |            |
>   +- 
> + 
> ------------------------------------------------------------------------------------> 
> |         | | aquisition |
>   | |                                                 |  
> |                      |          |         | |            |
>   | |                                                 |  
> |                      |       acq_msg      | |  message   |
>   | |                                           if (RS_ECHO |  
> RS_CONF)         |<-------------------+ |<-----------+
>   | |                                                 | |          
> ctrl_msg     |          |         | |
>   | |                                                 |  
> +--------------------->|          |         | |
>   | |                                                 | |          
> conf_msg     |          |         | |
>   | |                                                 |  
> |                      |          |         | |
>   | |                                                 |  
> |                      |          |         | |
>   | |                                           else  
> (RS_REF)                  |          |         | |
>   | |                                                 |  
> +----------------+     |          |         | |
>   | |                                                 | |   change  
> RTI   |     |          |         | |
>   +-+                                                 | |   
> configuration |     |   fill   |         | |
>    |                                                  | | 
> <---------------+     +--------->|         | |
>    |                                                  |  
> |                      |  buffer  |         | |
>    |                                          POWC data is  
> ready               |          |         | |
>    | 
> < 
> -------------------------------------------------------------------------------------+ 
>          | |
>    |                                                  |  
> |                      |          |         | |
>    |                                                  +- 
> +                      |          |         | |
>    |                                                    
> |                       |          |         | |
>    |                                                    
> |                       |          |         | |
>    |                                                    
> |                       |          |         | |
>    |                                                    
> |                       |          |         +-+
>
>
>    BC  - Bus Controller. Application level.
>    PP  - Process Packet.
>    FP  - Feed Packet.
>    TB  - Transmit Buffer.
>    AMT - Acqusition Message Task thread.
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Column groups vertical lines are broken in 6.28trans
  2009-03-25  8:06 Feature request [Resizeable Literal examples] Yury GEORGIEVSKIY
  2009-03-25  9:17 ` Carsten Dominik
@ 2009-07-22 15:26 ` Yury GEORGIEVSKIY
  1 sibling, 0 replies; 3+ messages in thread
From: Yury GEORGIEVSKIY @ 2009-07-22 15:26 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I've regenerate my .org doc with 6.28trans (was with 6.24)
and Vertical Lines, I want to keep -- not working anymore.
Ex:

 | Legasy machines | # of BC | # of RTI connected |
 |-----------------+---------+--------------------|
 | /               |       < |                  < |
 | pca/ellse1      |       1 |               none |


This was OK before.


Thanks in advance,
Yury

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

end of thread, other threads:[~2009-07-22 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-25  8:06 Feature request [Resizeable Literal examples] Yury GEORGIEVSKIY
2009-03-25  9:17 ` Carsten Dominik
2009-07-22 15:26 ` Column groups vertical lines are broken in 6.28trans Yury GEORGIEVSKIY

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).