Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: allow spaces in nested templates #29

Closed
teunisv opened this issue Jan 18, 2018 · 1 comment
Closed

ENH: allow spaces in nested templates #29

teunisv opened this issue Jan 18, 2018 · 1 comment

Comments

@teunisv
Copy link
Contributor

teunisv commented Jan 18, 2018

|table template|T I0                |
|check         |clone symbol|@{P0}|0|
|$P6=          |clone symbol|@{P1}  |

|table template|T I1                |
|check         |clone symbol|@{P3}|3|
|$P4=          |clone symbol|@{P1}  |
|T I0;                              |

|table template|T I2              |
|T I1;                            |
|$P5=          |clone symbol|@{P2}|


|script|

|T I2                   |
|P0|P1|P2|P3|P4?|P5?|P6?|
|0 |1 |2 |3 |1  |2  |1  |

For naming purpose (not checked if capitals or _ messes it up too)

@fhoeben
Copy link
Owner

fhoeben commented Jan 25, 2018

The spaces are allowed in the name actually, but when called they are not handled properly.
The test does work as follows:

|table template|T I0                |
|check         |clone symbol|@{P0}|0|
|$P6=          |clone symbol|@{P1}  |

|table template|T I1                |
|check         |clone symbol|@{P3}|3|
|$P4=          |clone symbol|@{P1}  |
|TI0;                              |

|table template|T I2              |
|TI1;                            |
|$P5=          |clone symbol|@{P2}|


|script|

|T I2                   |
|P0|P1|P2|P3|P4?|P5?|P6?|
|0 |1 |2 |3 |1  |2  |1  |

I'll see whether I can fix this easily...

fhoeben added a commit that referenced this issue Jan 25, 2018
@fhoeben fhoeben closed this as completed Jan 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants