Sponsored Content
Full Discussion: Locally Declared Labels
Top Forums Programming Locally Declared Labels Post 302456031 by JohnGraham on Thursday 23rd of September 2010 04:47:17 AM
Old 09-23-2010
The last line essentially makes the macro evaluate to value, almost like it being "return value;" if SEARCH() were a function.
This User Gave Thanks to JohnGraham For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tape labels

Hello using solaris 2.6 I need to know how to find out the name of DLT tapes connected to the box as dev0. It tried somethings along the lines on mt stat but to no avail. If anyone can help It would be a great help. Thanks Jonathan (1 Reply)
Discussion started by: Jonathan
1 Replies

2. Shell Programming and Scripting

accessing variables declared in another perl script

Hi all, I have a perl script which declares two variables and calls another perl script which accesses those variables. But I am unable to access the variables in the called script. My script is as follows: my $ENV{a}="20"; system("perl called.pl"); and my called.pl contains: print... (3 Replies)
Discussion started by: gurukottur
3 Replies

3. Shell Programming and Scripting

shell script: Bind variable not declared

Hi Friends, I am trying to run a sql query from shell script as below but I get "Bind variable "1" not declared" error. 1.sh shell script has following: sDb="abc/xyz@aaa" a="1.sql" sqlplus -s $sDb @$a $1 1.sql file has following: spool Result.tmp append select cust_name from orders... (1 Reply)
Discussion started by: ppat7046
1 Replies

4. AIX

`pthread_rwlock_t' was not declared in this scope

Hello All, I am getting this error while compiling my application on IBM AIX 5.3. As I tried to define _XOPEN_SOURCE=500 in makefile, that didn't work. Please help us to resolve the error. (0 Replies)
Discussion started by: mustus
0 Replies

5. Shell Programming and Scripting

Help in separating variables declared in the main function

Hi! I've a C program as shown below.. The line numbers and the statements of the program are separated by a space.. 1 #include<stdio.h> 2 char a,b,c; 3 float x,y,z; 4 int main() 5 { 6 int d,e,f; 7 // further declarations 8 // further declarations 9 /* body*/ 10 } 11 void fun1() 12... (1 Reply)
Discussion started by: abk07
1 Replies

6. Shell Programming and Scripting

Assign user input to already declared array

What I am doing is creating a top menu, which a user will select a choice with a number entry. That number corresponds to a string in an array. I then want to assign that response to another array I've already declared. For example: #!/bin/bash colors=(red blue yellow) red=(cherry fire)... (2 Replies)
Discussion started by: Akilleez
2 Replies

7. Shell Programming and Scripting

**URGENT**component 'PAK_POPL_SUPPL' must be declared error

hi, I am using a shell script to run a Oracle procedure in Linux.I am getting the below error while running the procedure: (1 Reply)
Discussion started by: csrohit
1 Replies

8. Shell Programming and Scripting

Component 'PAK_POPL_SUPPL' must be declared error

Hi, I am using a shell script to run a Oracle procedure in Linux.I am getting the below error while running the procedure: ERROR at line 1: ORA-06550: line 1, column 22: PLS-00302: component 'PAK_POPL_SUPPL' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored ... (4 Replies)
Discussion started by: csrohit
4 Replies

9. UNIX for Dummies Questions & Answers

Labels in VI

Hi, Is there a concept of lables in vi editor. In mainframes ISPF editor there is a concept of labels where one can label a line say ".a" and after that wherever you are in the file, if one want to go back to that particular line where the label was set...he could do by "l .a"....Is there... (1 Reply)
Discussion started by: whoami191
1 Replies

10. Shell Programming and Scripting

PHP: declared variables, strlen vs isset

greetings, pretty new to php and i think i might be missing some fundamental limitation of isset. i have two php scripts below that are executed by crond, one using --host X and one that does not. and below that are three different attempts at generating a command line that will be executed. the... (8 Replies)
Discussion started by: crimso
8 Replies
DOT2TEX(1)						      General Commands Manual							DOT2TEX(1)

NAME
dot2tex - Graphviz to LaTeX converter SYNOPSIS
dot2tex [--prog graphviz-command] [options] dot-file > tex-file dot2tex [options] xdot-file > tex-file graphviz-command -txdot dot-file | dot2tex [options] > tex-file DESCRIPTION
This manual page documents briefly the dot2tex command. dot2tex is a tool for converting graphs generated by Graphviz to formats suitable for use with LaTeX. Currently dot2tex generates code for PSTricks and PGF/TikZ. The purpose of dot2tex is to give graphs a more LaTeX look and feel. This is accomplished by: * Typesetting labels with LaTeX, allowing mathematical notation. * Using native PSTricks and PGF/TikZ commands for drawing arrows, edges and nodes. * Using backend specific styles to customize the output. USAGE
Input data is read from standard input if no inputfile is specified. Output is written to standard output unless a destination file is set with the -o option. dot2tex relies on the xdot format generated by Graphviz. dot2tex will automatically run dot(1) on the input data if it is in the plain dot format. If you want to use other layout tools like neato(1) and circo(1), use the --prog option. OPTIONS
A summary of options is included below. -h, --help Display help message. -f fmt, --format fmt Set output format. The following values of fmt are supported: pgf PGF/TikZ. Default. pstricks or pst Use PSTricks. tikz TikZ format. -t mode, --texmode mode Text mode. Specify how text is converted. verbatim Text is displayed with all special TeX chars escaped (default). math Output all text in math mode $$. raw Output text without any processing. Note that you can locally override the text mode by assigning a special texlbl attribute to a graph element, or by using the texmode attribute. -s, --straightedges Draw edges using straight lines. Graphviz uses bezier curves to draw straight edges. Use this option to force the use of line to operations instead of curves. Does not work in duplicate mode. -o filename, --output filename Write output to file. -d, --duplicate Duplicate the xdot output. Uses the drawing information embedded in the xdot output to draw nodes and edges. --template filename Use template from file. See the HTML documentation for more details. -V, --version Print version information and exit. -w, --switchdraworder Switch drawing order of nodes and edges. By default edges are drawn before nodes. -c, --crop Use preview.sty to crop the graph. Currently only implemented for the PGF/TikZ backend. --figonly Output the graph without a document preamble. Useful if the graph is to be included in a master document. --codeonly Output only the drawing commands, without wrapping it in a tikzpicture or pspicture environment. Useful when used with the dot2texi package. --preproc Preprocess the graph through LaTeX using the preview package. Will generate a new dot file where the height and widths of nodes and edge labels are set based on the results from preview. --cache Enables output caching. dot2tex will check if the input graph has been processed before. If it has not changed the graph will not be converted. --autosize Preprocess the graph and run Graphviz on the output. Equivalent to: dot2tex --preproc dot-file | dot2tex --prog program Set graph layout program to use when the input is in plain dot format. Allowed values: dot (default), neato, circo, fdp, twopi. --usepdflatex Use pdflatex(1) instead of latex(1) for preprocessing the graph. --nominsize Ignore minimum node sizes during preprocessing. --valignmode mode Vertical alignment of node labels, where mode can have the values: center Labels are placed in the middle of the node (default). dot Use the coordinate given by the xdot output from Graphviz. --alignstr str Used to pass a default alignment string to the PSTricks put command: put[alignstr] ... Only works for the PSTricks format. PGF/TikZ users can instead pass an anchor=... style using the graphstyle option. --tikzedgelabels Bypass Graphviz' edge label placement and use PGF/TikZ instead (tikz and pgf formats only). --styleonly Use TikZ only styles when drawing nodes. No draw or shape option is added (tikz format only). --nodeoptions tikzoptions Wrap node code in a scope environment with tikzoptions as parameter (tikz format only). --edgeoptions tikzoptions Wrap edge code in a scope environment with tikzoptions as parameter (tikz format only). --debug Write detailed debug information to the file dot2tex.log in the current directory. --pgf118 Generate code compatible with PGF 1.18 and earlier. The following options are used by the output templates. -e encoding, --encoding encoding Set text encoding. Supported encodings are utf8 and latin1. --docpreamble TeXcode Insert TeX code in the document preamble. --figpreamble TeXcode Insert TeX code in the figure preamble. --figpostamble TeXcode Insert TeX code in the figure postamble. --graphstyle style Sets the <<graphstyle>> tag. --margin margin Set margin around the graph when using preview.sty. margin must be a valid TeX unit. By default margin is set to 0pt. SEE ALSO
dot(1), latex(1). /usr/share/doc/dot2tex/usage.html Full documentation for dot2tex /usr/share/doc/dot2tex/examples Example Graphviz dot files for use with dot2tex AUTHOR
dot2tex was written by Kjell Magne Fauske <kjellmf@gmail.com> This manual page was written by Peter Collingbourne <peter@pcc.me.uk>, for the Debian project (but may be used by others). November 11, 2006 DOT2TEX(1)
All times are GMT -4. The time now is 01:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy