de.dante.extex.interpreter.type.muskip
Interface MudimenConvertible
- public interface MudimenConvertible
This is an interface which describes the feature to be convertible into a
mudimen.
- Version:
- $Revision: 1.2 $
- Author:
- Gerd Neugebauer
convertMudimen
public long convertMudimen(Context context,
TokenSource source,
Typesetter typesetter)
throws InterpreterException
- This method converts a register into a mudimen.
It might be necessary to read further tokens to determine which value to
use. For instance an additional register number might be required. In
this case the additional arguments Context and TokenSource can be used.
The return value is the length in scaled points.
- Parameters:
context
- the interpreter contextsource
- the source for new tokenstypesetter
- the typesetter to use for conversion
- Returns:
- the converted value in mu
- Throws:
InterpreterException
- in case of an error